diff --git a/Cargo.toml b/Cargo.toml index dd627ae27..df5743133 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ thiserror = "1.0.50" base16 = "0.2.1" base64 = { version = "0.22.1", default-features = false, features = ["alloc"] } hex = { version = "0.4.3", default-features = false } -rust_decimal = "1.10" +bigdecimal = "0.4" blake2 = { version = "0.9.0", default-features = false } reqwest = { version = "0.12.5", default-features = false, features = [ "stream", diff --git a/examples/desktop/electron/release/Casper Webclient 1.0.0.exe b/examples/desktop/electron/release/Casper Webclient 1.0.0.exe index 0e49430da..7762e0134 100644 Binary files a/examples/desktop/electron/release/Casper Webclient 1.0.0.exe and b/examples/desktop/electron/release/Casper Webclient 1.0.0.exe differ diff --git a/examples/desktop/electron/release/Casper Webclient-1.0.0.AppImage b/examples/desktop/electron/release/Casper Webclient-1.0.0.AppImage index c9c78f206..80bd8014f 100755 Binary files a/examples/desktop/electron/release/Casper Webclient-1.0.0.AppImage and b/examples/desktop/electron/release/Casper Webclient-1.0.0.AppImage differ diff --git a/examples/desktop/electron/release/builder-debug.yml b/examples/desktop/electron/release/builder-debug.yml index 36f400d1d..65321b2b1 100644 --- a/examples/desktop/electron/release/builder-debug.yml +++ b/examples/desktop/electron/release/builder-debug.yml @@ -34,4 +34,4 @@ x64: - index.js - favicon.png nsis: - script: "!include \"/opt2/casper/rustSDK-1.6/examples/desktop/electron/node_modules/app-builder-lib/templates/nsis/include/StdUtils.nsh\"\n!addincludedir \"/opt2/casper/rustSDK-1.6/examples/desktop/electron/node_modules/app-builder-lib/templates/nsis/include\"\n!macro _isUpdated _a _b _t _f\n ${StdUtils.TestParameter} $R9 \"updated\"\n StrCmp \"$R9\" \"true\" `${_t}` `${_f}`\n!macroend\n!define isUpdated `\"\" isUpdated \"\"`\n\n!macro _isForceRun _a _b _t _f\n ${StdUtils.TestParameter} $R9 \"force-run\"\n StrCmp \"$R9\" \"true\" `${_t}` `${_f}`\n!macroend\n!define isForceRun `\"\" isForceRun \"\"`\n\n!macro _isKeepShortcuts _a _b _t _f\n ${StdUtils.TestParameter} $R9 \"keep-shortcuts\"\n StrCmp \"$R9\" \"true\" `${_t}` `${_f}`\n!macroend\n!define isKeepShortcuts `\"\" isKeepShortcuts \"\"`\n\n!macro _isNoDesktopShortcut _a _b _t _f\n ${StdUtils.TestParameter} $R9 \"no-desktop-shortcut\"\n StrCmp \"$R9\" \"true\" `${_t}` `${_f}`\n!macroend\n!define isNoDesktopShortcut `\"\" isNoDesktopShortcut \"\"`\n\n!macro _isDeleteAppData _a _b _t _f\n ${StdUtils.TestParameter} $R9 \"delete-app-data\"\n StrCmp \"$R9\" \"true\" `${_t}` `${_f}`\n!macroend\n!define isDeleteAppData `\"\" isDeleteAppData \"\"`\n\n!macro _isForAllUsers _a _b _t _f\n ${StdUtils.TestParameter} $R9 \"allusers\"\n StrCmp \"$R9\" \"true\" `${_t}` `${_f}`\n!macroend\n!define isForAllUsers `\"\" isForAllUsers \"\"`\n\n!macro _isForCurrentUser _a _b _t _f\n ${StdUtils.TestParameter} $R9 \"currentuser\"\n StrCmp \"$R9\" \"true\" `${_t}` `${_f}`\n!macroend\n!define isForCurrentUser `\"\" isForCurrentUser \"\"`\n\n!macro addLangs\n !insertmacro MUI_LANGUAGE \"English\"\n !insertmacro MUI_LANGUAGE \"German\"\n !insertmacro MUI_LANGUAGE \"French\"\n !insertmacro MUI_LANGUAGE \"SpanishInternational\"\n !insertmacro MUI_LANGUAGE \"SimpChinese\"\n !insertmacro MUI_LANGUAGE \"TradChinese\"\n !insertmacro MUI_LANGUAGE \"Japanese\"\n !insertmacro MUI_LANGUAGE \"Korean\"\n !insertmacro MUI_LANGUAGE \"Italian\"\n !insertmacro MUI_LANGUAGE \"Dutch\"\n !insertmacro MUI_LANGUAGE \"Danish\"\n !insertmacro MUI_LANGUAGE \"Swedish\"\n !insertmacro MUI_LANGUAGE \"Norwegian\"\n !insertmacro MUI_LANGUAGE \"Finnish\"\n !insertmacro MUI_LANGUAGE \"Russian\"\n !insertmacro MUI_LANGUAGE \"Portuguese\"\n !insertmacro MUI_LANGUAGE \"PortugueseBR\"\n !insertmacro MUI_LANGUAGE \"Polish\"\n !insertmacro MUI_LANGUAGE \"Ukrainian\"\n !insertmacro MUI_LANGUAGE \"Czech\"\n !insertmacro MUI_LANGUAGE \"Slovak\"\n !insertmacro MUI_LANGUAGE \"Hungarian\"\n !insertmacro MUI_LANGUAGE \"Arabic\"\n !insertmacro MUI_LANGUAGE \"Turkish\"\n !insertmacro MUI_LANGUAGE \"Thai\"\n !insertmacro MUI_LANGUAGE \"Vietnamese\"\n!macroend\n\n!addplugindir /x86-unicode \"/home/greg/.cache/electron-builder/nsis/nsis-resources-3.4.1/plugins/x86-unicode\"\n!include \"/tmp/t-6pEWgV/0-messages.nsh\"\n\n!include \"common.nsh\"\n!include \"extractAppPackage.nsh\"\n\n# https://github.com/electron-userland/electron-builder/issues/3972#issuecomment-505171582\nCRCCheck off\nWindowIcon Off\nAutoCloseWindow True\nRequestExecutionLevel ${REQUEST_EXECUTION_LEVEL}\n\nFunction .onInit\n !ifndef SPLASH_IMAGE\n SetSilent silent\n !endif\n\n !insertmacro check64BitAndSetRegView\nFunctionEnd\n\nFunction .onGUIInit\n InitPluginsDir\n\n !ifdef SPLASH_IMAGE\n File /oname=$PLUGINSDIR\\splash.bmp \"${SPLASH_IMAGE}\"\n BgImage::SetBg $PLUGINSDIR\\splash.bmp\n BgImage::Redraw\n !endif\nFunctionEnd\n\nSection\n !ifdef SPLASH_IMAGE\n HideWindow\n !endif\n\n StrCpy $INSTDIR \"$PLUGINSDIR\\app\"\n !ifdef UNPACK_DIR_NAME\n StrCpy $INSTDIR \"$TEMP\\${UNPACK_DIR_NAME}\"\n !endif\n\n RMDir /r $INSTDIR\n SetOutPath $INSTDIR\n\n !ifdef APP_DIR_64\n !ifdef APP_DIR_ARM64\n !ifdef APP_DIR_32\n ${if} ${IsNativeARM64}\n File /r \"${APP_DIR_ARM64}\\*.*\"\n ${elseif} ${RunningX64}\n File /r \"${APP_DIR_64}\\*.*\"\n ${else}\n File /r \"${APP_DIR_32}\\*.*\"\n ${endIf}\n !else\n ${if} ${IsNativeARM64}\n File /r \"${APP_DIR_ARM64}\\*.*\"\n ${else}\n File /r \"${APP_DIR_64}\\*.*\"\n {endIf}\n !endif\n !else\n !ifdef APP_DIR_32\n ${if} ${RunningX64}\n File /r \"${APP_DIR_64}\\*.*\"\n ${else}\n File /r \"${APP_DIR_32}\\*.*\"\n ${endIf}\n !else\n File /r \"${APP_DIR_64}\\*.*\"\n !endif\n !endif\n !else\n !ifdef APP_DIR_32\n File /r \"${APP_DIR_32}\\*.*\"\n !else\n !insertmacro extractEmbeddedAppPackage\n !endif\n !endif\n\n System::Call 'Kernel32::SetEnvironmentVariable(t, t)i (\"PORTABLE_EXECUTABLE_DIR\", \"$EXEDIR\").r0'\n System::Call 'Kernel32::SetEnvironmentVariable(t, t)i (\"PORTABLE_EXECUTABLE_FILE\", \"$EXEPATH\").r0'\n System::Call 'Kernel32::SetEnvironmentVariable(t, t)i (\"PORTABLE_EXECUTABLE_APP_FILENAME\", \"${APP_FILENAME}\").r0'\n ${StdUtils.GetAllParameters} $R0 0\n\n !ifdef SPLASH_IMAGE\n BgImage::Destroy\n !endif\n\n\tExecWait \"$INSTDIR\\${APP_EXECUTABLE_FILENAME} $R0\" $0\n SetErrorLevel $0\n\n SetOutPath $EXEDIR\n\tRMDir /r $INSTDIR\nSectionEnd\n" + script: "!include \"/opt2/casper/rustSDK-1.6/examples/desktop/electron/node_modules/app-builder-lib/templates/nsis/include/StdUtils.nsh\"\n!addincludedir \"/opt2/casper/rustSDK-1.6/examples/desktop/electron/node_modules/app-builder-lib/templates/nsis/include\"\n!macro _isUpdated _a _b _t _f\n ${StdUtils.TestParameter} $R9 \"updated\"\n StrCmp \"$R9\" \"true\" `${_t}` `${_f}`\n!macroend\n!define isUpdated `\"\" isUpdated \"\"`\n\n!macro _isForceRun _a _b _t _f\n ${StdUtils.TestParameter} $R9 \"force-run\"\n StrCmp \"$R9\" \"true\" `${_t}` `${_f}`\n!macroend\n!define isForceRun `\"\" isForceRun \"\"`\n\n!macro _isKeepShortcuts _a _b _t _f\n ${StdUtils.TestParameter} $R9 \"keep-shortcuts\"\n StrCmp \"$R9\" \"true\" `${_t}` `${_f}`\n!macroend\n!define isKeepShortcuts `\"\" isKeepShortcuts \"\"`\n\n!macro _isNoDesktopShortcut _a _b _t _f\n ${StdUtils.TestParameter} $R9 \"no-desktop-shortcut\"\n StrCmp \"$R9\" \"true\" `${_t}` `${_f}`\n!macroend\n!define isNoDesktopShortcut `\"\" isNoDesktopShortcut \"\"`\n\n!macro _isDeleteAppData _a _b _t _f\n ${StdUtils.TestParameter} $R9 \"delete-app-data\"\n StrCmp \"$R9\" \"true\" `${_t}` `${_f}`\n!macroend\n!define isDeleteAppData `\"\" isDeleteAppData \"\"`\n\n!macro _isForAllUsers _a _b _t _f\n ${StdUtils.TestParameter} $R9 \"allusers\"\n StrCmp \"$R9\" \"true\" `${_t}` `${_f}`\n!macroend\n!define isForAllUsers `\"\" isForAllUsers \"\"`\n\n!macro _isForCurrentUser _a _b _t _f\n ${StdUtils.TestParameter} $R9 \"currentuser\"\n StrCmp \"$R9\" \"true\" `${_t}` `${_f}`\n!macroend\n!define isForCurrentUser `\"\" isForCurrentUser \"\"`\n\n!macro addLangs\n !insertmacro MUI_LANGUAGE \"English\"\n !insertmacro MUI_LANGUAGE \"German\"\n !insertmacro MUI_LANGUAGE \"French\"\n !insertmacro MUI_LANGUAGE \"SpanishInternational\"\n !insertmacro MUI_LANGUAGE \"SimpChinese\"\n !insertmacro MUI_LANGUAGE \"TradChinese\"\n !insertmacro MUI_LANGUAGE \"Japanese\"\n !insertmacro MUI_LANGUAGE \"Korean\"\n !insertmacro MUI_LANGUAGE \"Italian\"\n !insertmacro MUI_LANGUAGE \"Dutch\"\n !insertmacro MUI_LANGUAGE \"Danish\"\n !insertmacro MUI_LANGUAGE \"Swedish\"\n !insertmacro MUI_LANGUAGE \"Norwegian\"\n !insertmacro MUI_LANGUAGE \"Finnish\"\n !insertmacro MUI_LANGUAGE \"Russian\"\n !insertmacro MUI_LANGUAGE \"Portuguese\"\n !insertmacro MUI_LANGUAGE \"PortugueseBR\"\n !insertmacro MUI_LANGUAGE \"Polish\"\n !insertmacro MUI_LANGUAGE \"Ukrainian\"\n !insertmacro MUI_LANGUAGE \"Czech\"\n !insertmacro MUI_LANGUAGE \"Slovak\"\n !insertmacro MUI_LANGUAGE \"Hungarian\"\n !insertmacro MUI_LANGUAGE \"Arabic\"\n !insertmacro MUI_LANGUAGE \"Turkish\"\n !insertmacro MUI_LANGUAGE \"Thai\"\n !insertmacro MUI_LANGUAGE \"Vietnamese\"\n!macroend\n\n!addplugindir /x86-unicode \"/home/greg/.cache/electron-builder/nsis/nsis-resources-3.4.1/plugins/x86-unicode\"\n!include \"/tmp/t-OrZj93/0-messages.nsh\"\n\n!include \"common.nsh\"\n!include \"extractAppPackage.nsh\"\n\n# https://github.com/electron-userland/electron-builder/issues/3972#issuecomment-505171582\nCRCCheck off\nWindowIcon Off\nAutoCloseWindow True\nRequestExecutionLevel ${REQUEST_EXECUTION_LEVEL}\n\nFunction .onInit\n !ifndef SPLASH_IMAGE\n SetSilent silent\n !endif\n\n !insertmacro check64BitAndSetRegView\nFunctionEnd\n\nFunction .onGUIInit\n InitPluginsDir\n\n !ifdef SPLASH_IMAGE\n File /oname=$PLUGINSDIR\\splash.bmp \"${SPLASH_IMAGE}\"\n BgImage::SetBg $PLUGINSDIR\\splash.bmp\n BgImage::Redraw\n !endif\nFunctionEnd\n\nSection\n !ifdef SPLASH_IMAGE\n HideWindow\n !endif\n\n StrCpy $INSTDIR \"$PLUGINSDIR\\app\"\n !ifdef UNPACK_DIR_NAME\n StrCpy $INSTDIR \"$TEMP\\${UNPACK_DIR_NAME}\"\n !endif\n\n RMDir /r $INSTDIR\n SetOutPath $INSTDIR\n\n !ifdef APP_DIR_64\n !ifdef APP_DIR_ARM64\n !ifdef APP_DIR_32\n ${if} ${IsNativeARM64}\n File /r \"${APP_DIR_ARM64}\\*.*\"\n ${elseif} ${RunningX64}\n File /r \"${APP_DIR_64}\\*.*\"\n ${else}\n File /r \"${APP_DIR_32}\\*.*\"\n ${endIf}\n !else\n ${if} ${IsNativeARM64}\n File /r \"${APP_DIR_ARM64}\\*.*\"\n ${else}\n File /r \"${APP_DIR_64}\\*.*\"\n {endIf}\n !endif\n !else\n !ifdef APP_DIR_32\n ${if} ${RunningX64}\n File /r \"${APP_DIR_64}\\*.*\"\n ${else}\n File /r \"${APP_DIR_32}\\*.*\"\n ${endIf}\n !else\n File /r \"${APP_DIR_64}\\*.*\"\n !endif\n !endif\n !else\n !ifdef APP_DIR_32\n File /r \"${APP_DIR_32}\\*.*\"\n !else\n !insertmacro extractEmbeddedAppPackage\n !endif\n !endif\n\n System::Call 'Kernel32::SetEnvironmentVariable(t, t)i (\"PORTABLE_EXECUTABLE_DIR\", \"$EXEDIR\").r0'\n System::Call 'Kernel32::SetEnvironmentVariable(t, t)i (\"PORTABLE_EXECUTABLE_FILE\", \"$EXEPATH\").r0'\n System::Call 'Kernel32::SetEnvironmentVariable(t, t)i (\"PORTABLE_EXECUTABLE_APP_FILENAME\", \"${APP_FILENAME}\").r0'\n ${StdUtils.GetAllParameters} $R0 0\n\n !ifdef SPLASH_IMAGE\n BgImage::Destroy\n !endif\n\n\tExecWait \"$INSTDIR\\${APP_EXECUTABLE_FILENAME} $R0\" $0\n SetErrorLevel $0\n\n SetOutPath $EXEDIR\n\tRMDir /r $INSTDIR\nSectionEnd\n" diff --git a/examples/desktop/electron/release/casper-webclient_1.0.0_amd64.snap b/examples/desktop/electron/release/casper-webclient_1.0.0_amd64.snap index f9d054834..a5f54656a 100644 Binary files a/examples/desktop/electron/release/casper-webclient_1.0.0_amd64.snap and b/examples/desktop/electron/release/casper-webclient_1.0.0_amd64.snap differ diff --git a/examples/frontend/angular/dist/casper/assets/casper_rust_wasm_sdk_bg.wasm b/examples/frontend/angular/dist/casper/assets/casper_rust_wasm_sdk_bg.wasm index 6f5553643..67d6f7842 100644 Binary files a/examples/frontend/angular/dist/casper/assets/casper_rust_wasm_sdk_bg.wasm and b/examples/frontend/angular/dist/casper/assets/casper_rust_wasm_sdk_bg.wasm differ diff --git a/examples/frontend/angular/dist/casper/index.html b/examples/frontend/angular/dist/casper/index.html index 35293cdf4..0c0d76b79 100644 --- a/examples/frontend/angular/dist/casper/index.html +++ b/examples/frontend/angular/dist/casper/index.html @@ -11,5 +11,5 @@ - + diff --git a/examples/frontend/angular/dist/casper/main.a5cf8c0530d9c77a.js b/examples/frontend/angular/dist/casper/main.a5cf8c0530d9c77a.js deleted file mode 100644 index fc6ed26f7..000000000 --- a/examples/frontend/angular/dist/casper/main.a5cf8c0530d9c77a.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkcasper=self.webpackChunkcasper||[]).push([[792],{5168:(Ki,za,An)=>{function Br(t,e,n,r,o,i,s){try{var c=t[i](s),l=c.value}catch(u){return void n(u)}c.done?e(l):Promise.resolve(l).then(r,o)}function A(t){return function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function s(l){Br(i,r,o,s,c,"next",l)}function c(l){Br(i,r,o,s,c,"throw",l)}s(void 0)})}}function At(t,e){return Object.is(t,e)}let me=null,pn=!1,dr=1;const yt=Symbol("SIGNAL");function Q(t){const e=me;return me=t,e}const qa={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function ad(t){if(pn)throw new Error("");if(null===me)return;me.consumerOnSignalRead(t);const e=me.nextProducerIndex++;Ja(me),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function ld(t){Ja(t);for(let e=0;e0}function Ja(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function Xg(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function em(t){return void 0!==t.producerNode}const dd=Symbol("UNSET"),_d=Symbol("COMPUTING"),Ka=Symbol("ERRORED"),_M={...qa,value:dd,dirty:!0,error:null,equal:At,producerMustRecompute:t=>t.value===dd||t.value===_d,producerRecomputeValue(t){if(t.value===_d)throw new Error("Detected cycle in computations.");const e=t.value;t.value=_d;const n=Ga(t);let r;try{r=t.computation()}catch(o){r=Ka,t.error=o}finally{cd(t,n)}e!==dd&&e!==Ka&&r!==Ka&&t.equal(e,r)?t.value=e:(t.value=r,t.version++)}};let tm=function fM(){throw new Error};function nm(){tm()}let Za=null;function rm(t,e){Zg()||nm(),t.equal(t.value,e)||(t.value=e,function yM(t){t.version++,function uM(){dr++}(),Kg(t),Za?.()}(t))}const mM={...qa,equal:At,value:void 0};function He(t){return"function"==typeof t}function im(t){const n=t(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const fd=im(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function pd(t,e){if(t){const n=t.indexOf(e);0<=n&&t.splice(n,1)}}class en{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(He(r))try{r()}catch(i){e=i instanceof fd?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{cm(i)}catch(s){e=e??[],s instanceof fd?e=[...e,...s.errors]:e.push(s)}}if(e)throw new fd(e)}}add(e){var n;if(e&&e!==this)if(this.closed)cm(e);else{if(e instanceof en){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(e)}}_hasParent(e){const{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){const{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&pd(n,e)}remove(e){const{_finalizers:n}=this;n&&pd(n,e),e instanceof en&&e._removeParent(this)}}en.EMPTY=(()=>{const t=new en;return t.closed=!0,t})();const sm=en.EMPTY;function am(t){return t instanceof en||t&&"closed"in t&&He(t.remove)&&He(t.add)&&He(t.unsubscribe)}function cm(t){He(t)?t():t.unsubscribe()}const Ur={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ya={setTimeout(t,e,...n){const{delegate:r}=Ya;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){const{delegate:e}=Ya;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function lm(t){Ya.setTimeout(()=>{const{onUnhandledError:e}=Ur;if(!e)throw t;e(t)})}function um(){}const bM=hd("C",void 0,void 0);function hd(t,e,n){return{kind:t,value:e,error:n}}let $r=null;function Qa(t){if(Ur.useDeprecatedSynchronousErrorHandling){const e=!$r;if(e&&($r={errorThrown:!1,error:null}),t(),e){const{errorThrown:n,error:r}=$r;if($r=null,n)throw r}}else t()}class gd extends en{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,am(e)&&e.add(this)):this.destination=TM}static create(e,n,r){return new yd(e,n,r)}next(e){this.isStopped?wd(function DM(t){return hd("N",t,void 0)}(e),this):this._next(e)}error(e){this.isStopped?wd(function vM(t){return hd("E",void 0,t)}(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?wd(bM,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const CM=Function.prototype.bind;function md(t,e){return CM.call(t,e)}class IM{constructor(e){this.partialObserver=e}next(e){const{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){Xa(r)}}error(e){const{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){Xa(r)}else Xa(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){Xa(n)}}}class yd extends gd{constructor(e,n,r){let o;if(super(),He(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ur.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&md(e.next,i),error:e.error&&md(e.error,i),complete:e.complete&&md(e.complete,i)}):o=e}this.destination=new IM(o)}}function Xa(t){Ur.useDeprecatedSynchronousErrorHandling?function EM(t){Ur.useDeprecatedSynchronousErrorHandling&&$r&&($r.errorThrown=!0,$r.error=t)}(t):lm(t)}function wd(t,e){const{onStoppedNotification:n}=Ur;n&&Ya.setTimeout(()=>n(t,e))}const TM={closed:!0,next:um,error:function SM(t){throw t},complete:um},bd="function"==typeof Symbol&&Symbol.observable||"@@observable";function MM(t){return t}let Nt=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function AM(t){return t&&t instanceof gd||function kM(t){return t&&He(t.next)&&He(t.error)&&He(t.complete)}(t)&&am(t)}(n)?n:new yd(n,r,o);return Qa(()=>{const{operator:s,source:c}=this;i.add(s?s.call(i,c):c?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=_m(r))((o,i)=>{const s=new yd({next:c=>{try{n(c)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[bd](){return this}pipe(...n){return function dm(t){return 0===t.length?MM:1===t.length?t[0]:function(n){return t.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=_m(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=e=>new t(e),t})();function _m(t){var e;return null!==(e=t??Ur.Promise)&&void 0!==e?e:Promise}const NM=im(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let zr=(()=>{class t extends Nt{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new fm(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new NM}next(n){Qa(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Qa(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Qa(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?sm:(this.currentObservers=null,i.push(n),new en(()=>{this.currentObservers=null,pd(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Nt;return n.source=this,n}}return t.create=(e,n)=>new fm(e,n),t})();class fm extends zr{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,e)}error(e){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,e)}complete(){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===n||n.call(e)}_subscribe(e){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(e))&&void 0!==r?r:sm}}class vd extends zr{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){const{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}}function qr(t){return e=>{if(function RM(t){return He(t?.lift)}(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function _r(t,e,n,r,o){return new FM(t,e,n,r,o)}class FM extends gd{constructor(e,n,r,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(c){try{n(c)}catch(l){e.error(l)}}:super._next,this._error=o?function(c){try{o(c)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}function fr(t,e){return qr((n,r)=>{let o=0;n.subscribe(_r(r,i=>{r.next(t.call(e,i,o++))}))})}typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const Rm="https://g.co/ng/security#xss";class R extends Error{constructor(e,n){super(function Fo(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}(e,n)),this.code=e}}function Jn(t){return{toString:t}.toString()}const xo="__parameters__";function Lo(t,e,n){return Jn(()=>{const r=function kd(t){return function(...n){if(t){const r=t(...n);for(const o in r)this[o]=r[o]}}}(e);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return c.annotation=s,c;function c(l,u,d){const _=l.hasOwnProperty(xo)?l[xo]:Object.defineProperty(l,xo,{value:[]})[xo];for(;_.length<=d;)_.push(null);return(_[d]=_[d]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}const Ne=globalThis;function we(t){for(let e in t)if(t[e]===we)return e;throw Error("Could not find renamed property on target object.")}function Ok(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function Qe(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Qe).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function Ad(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const xk=we({__forward_ref__:we});function Se(t){return t.__forward_ref__=Se,t.toString=function(){return Qe(this())},t}function J(t){return oc(t)?t():t}function oc(t){return"function"==typeof t&&t.hasOwnProperty(xk)&&t.__forward_ref__===Se}function K(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Nn(t){return{providers:t.providers||[],imports:t.imports||[]}}function ic(t){return Pm(t,ac)||Pm(t,Lm)}function Pm(t,e){return t.hasOwnProperty(e)?t[e]:null}function sc(t){return t&&(t.hasOwnProperty(Nd)||t.hasOwnProperty(Bk))?t[Nd]:null}const ac=we({\u0275prov:we}),Nd=we({\u0275inj:we}),Lm=we({ngInjectableDef:we}),Bk=we({ngInjectorDef:we});class P{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=K({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Pd(t){return t&&!!t.\u0275providers}const Qi=we({\u0275cmp:we}),Ld=we({\u0275dir:we}),Vd=we({\u0275pipe:we}),Kn=we({\u0275fac:we}),Xi=we({__NG_ELEMENT_ID__:we}),Bm=we({__NG_ENV_ID__:we});function X(t){return"string"==typeof t?t:null==t?"":String(t)}function jd(t,e){throw new R(-201,!1)}var le=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(le||{});let Bd;function Hm(){return Bd}function Rt(t){const e=Bd;return Bd=t,e}function Um(t,e,n){const r=ic(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&le.Optional?null:void 0!==e?e:void jd()}const es={},Hd="__NG_DI_FLAG__",cc="ngTempTokenPath",Gk=/\n/gm,$m="__source";let Vo;function gr(t){const e=Vo;return Vo=t,e}function Kk(t,e=le.Default){if(void 0===Vo)throw new R(-203,!1);return null===Vo?Um(t,void 0,e):Vo.get(t,e&le.Optional?null:void 0,e)}function z(t,e=le.Default){return(Hm()||Kk)(J(t),e)}function B(t,e=le.Default){return z(t,lc(e))}function lc(t){return typeof t>"u"||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Ud(t){const e=[];for(let n=0;nArray.isArray(n)?jo(n,e):e(n))}function qm(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function uc(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function Gt(t,e,n){let r=Bo(t,e);return r>=0?t[1|r]=n:(r=~r,function Gm(t,e,n,r){let o=t.length;if(o==e)t.push(n,r);else if(1===o)t.push(r,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;)t[o]=t[o-2],o--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function Gd(t,e){const n=Bo(t,e);if(n>=0)return t[1|n]}function Bo(t,e){return function Wm(t,e,n){let r=0,o=t.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=t[i<e?o=i:r=i+1}return~(o<e){s=i-1;break}}}for(;i-1){let i;for(;++oi?"":o[d+1].toLowerCase(),2&r&&u!==_){if(gn(r))return!1;s=!0}}}}else{if(!s&&!gn(r)&&!gn(l))return!1;if(s&&gn(l))continue;s=!1,r=l|1&r}}return gn(r)||s}function gn(t){return!(1&t)}function aA(t,e,n,r){if(null===e)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+c+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!gn(s)&&(e+=ey(i,o),o=""),r=s,i=i||!gn(r);n++}return""!==o&&(e+=ey(i,o)),e}function lt(t){return Jn(()=>{const e=ny(t),n={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===fc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||hn.Emulated,styles:t.styles||_e,_:null,schemas:t.schemas||null,tView:null,id:""};ry(n);const r=t.dependencies;return n.directiveDefs=pc(r,!1),n.pipeDefs=pc(r,!0),n.id=function yA(t){let e=0;const n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const o of n)e=Math.imul(31,e)+o.charCodeAt(0)|0;return e+=2147483648,"c"+e}(n),n})}function hA(t){return ie(t)||Xe(t)}function gA(t){return null!==t}function Zn(t){return Jn(()=>({type:t.type,bootstrap:t.bootstrap||_e,declarations:t.declarations||_e,imports:t.imports||_e,exports:t.exports||_e,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function ty(t,e){if(null==t)return Rn;const n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];let i,s,c=mr.None;Array.isArray(o)?(c=o[0],i=o[1],s=o[2]??i):(i=o,s=o),e?(n[i]=c!==mr.None?[r,c]:r,e[i]=s):n[i]=r}return n}function ne(t){return Jn(()=>{const e=ny(t);return ry(e),e})}function ie(t){return t[Qi]||null}function Xe(t){return t[Ld]||null}function st(t){return t[Vd]||null}function ny(t){const e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Rn,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||_e,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:ty(t.inputs,e),outputs:ty(t.outputs),debugInfo:null}}function ry(t){t.features?.forEach(e=>e(t))}function pc(t,e){if(!t)return null;const n=e?st:hA;return()=>("function"==typeof t?t():t).map(r=>n(r)).filter(gA)}function oy(...t){return{\u0275providers:Zd(0,t),\u0275fromNgModule:!0}}function Zd(t,...e){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return jo(e,s=>{const c=s;hc(c,i,[],r)&&(o||=[],o.push(c))}),void 0!==o&&iy(o,i),n}function iy(t,e){for(let n=0;n{e(i,r)})}}function hc(t,e,n,r){if(!(t=J(t)))return!1;let o=null,i=sc(t);const s=!i&&ie(t);if(i||s){if(s&&!s.standalone)return!1;o=t}else{const l=t.ngModule;if(i=sc(l),!i)return!1;o=l}const c=r.has(o);if(s){if(c)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)hc(u,e,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!c){let u;r.add(o);try{jo(i.imports,d=>{hc(d,e,n,r)&&(u||=[],u.push(d))})}finally{}void 0!==u&&iy(u,e)}if(!c){const u=Wr(o)||(()=>new o);e({provide:o,useFactory:u,deps:_e},o),e({provide:Wd,useValue:o,multi:!0},o),e({provide:Fn,useValue:()=>z(o),multi:!0},o)}const l=i.providers;if(null!=l&&!c){const u=t;Yd(l,d=>{e(d,u)})}}}return o!==t&&void 0!==t.providers}function Yd(t,e){for(let n of t)Pd(n)&&(n=n.\u0275providers),Array.isArray(n)?Yd(n,e):e(n)}const wA=we({provide:String,useValue:we});function Qd(t){return null!==t&&"object"==typeof t&&wA in t}function Kr(t){return"function"==typeof t}const Xd=new P(""),gc={},vA={};let e_;function mc(){return void 0===e_&&(e_=new _c),e_}class tn{}class Ho extends tn{get destroyed(){return this._destroyed}constructor(e,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,n_(e,s=>this.processProvider(s)),this.records.set(Jm,Uo(void 0,this)),o.has("environment")&&this.records.set(tn,Uo(void 0,this));const i=this.records.get(Xd);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Wd,_e,le.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const e=Q(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Q(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();const n=gr(this),r=Rt(void 0);try{return e()}finally{gr(n),Rt(r)}}get(e,n=es,r=le.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Bm))return e[Bm](this);r=lc(r);const i=gr(this),s=Rt(void 0);try{if(!(r&le.SkipSelf)){let l=this.records.get(e);if(void 0===l){const u=function SA(t){return"function"==typeof t||"object"==typeof t&&t instanceof P}(e)&&ic(e);l=u&&this.injectableDefInScope(u)?Uo(t_(e),gc):null,this.records.set(e,l)}if(null!=l)return this.hydrate(e,l)}return(r&le.Self?mc():this.parent).get(e,n=r&le.Optional&&n===es?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[cc]=c[cc]||[]).unshift(Qe(e)),i)throw c;return function Yk(t,e,n,r){const o=t[cc];throw e[$m]&&o.unshift(e[$m]),t.message=function Qk(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let o=Qe(e);if(Array.isArray(e))o=e.map(Qe).join(" -> ");else if("object"==typeof e){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let c=e[s];i.push(s+":"+("string"==typeof c?JSON.stringify(c):Qe(c)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(Gk,"\n ")}`}("\n"+t.message,o,n,r),t.ngTokenPath=o,t[cc]=null,t}(c,e,"R3InjectorError",this.source)}throw c}finally{Rt(s),gr(i)}}resolveInjectorInitializers(){const e=Q(null),n=gr(this),r=Rt(void 0);try{const i=this.get(Fn,_e,le.Self);for(const s of i)s()}finally{gr(n),Rt(r),Q(e)}}toString(){const e=[],n=this.records;for(const r of n.keys())e.push(Qe(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new R(205,!1)}processProvider(e){let n=Kr(e=J(e))?e:J(e&&e.provide);const r=function EA(t){return Qd(t)?Uo(void 0,t.useValue):Uo(cy(t),gc)}(e);if(!Kr(e)&&!0===e.multi){let o=this.records.get(n);o||(o=Uo(void 0,gc,!0),o.factory=()=>Ud(o.multi),this.records.set(n,o)),n=e,o.multi.push(e)}this.records.set(n,r)}hydrate(e,n){const r=Q(null);try{return n.value===gc&&(n.value=vA,n.value=n.factory()),"object"==typeof n.value&&n.value&&function IA(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Q(r)}}injectableDefInScope(e){if(!e.providedIn)return!1;const n=J(e.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){const n=this._onDestroyHooks.indexOf(e);-1!==n&&this._onDestroyHooks.splice(n,1)}}function t_(t){const e=ic(t),n=null!==e?e.factory:Wr(t);if(null!==n)return n;if(t instanceof P)throw new R(204,!1);if(t instanceof Function)return function DA(t){if(t.length>0)throw new R(204,!1);const n=function jk(t){return t&&(t[ac]||t[Lm])||null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new R(204,!1)}function cy(t,e,n){let r;if(Kr(t)){const o=J(t);return Wr(o)||t_(o)}if(Qd(t))r=()=>J(t.useValue);else if(function ay(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...Ud(t.deps||[]));else if(function sy(t){return!(!t||!t.useExisting)}(t))r=()=>z(J(t.useExisting));else{const o=J(t&&(t.useClass||t.provide));if(!function CA(t){return!!t.deps}(t))return Wr(o)||t_(o);r=()=>new o(...Ud(t.deps))}return r}function Uo(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function n_(t,e){for(const n of t)Array.isArray(n)?n_(n,e):n&&Pd(n)?n_(n.\u0275providers,e):e(n)}const Oe=0,F=1,q=2,We=3,mn=4,at=5,wt=6,zo=7,Te=8,Je=9,On=10,Z=11,is=12,_y=13,qo=14,xe=15,Zr=16,Go=17,Yn=18,Wo=19,fy=20,yr=21,bc=22,nn=23,U=25,o_=1,xn=7,Jo=9,Ue=10;var Dc=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(Dc||{});function it(t){return Array.isArray(t)&&"object"==typeof t[o_]}function dt(t){return Array.isArray(t)&&!0===t[o_]}function i_(t){return!!(4&t.flags)}function Yr(t){return t.componentOffset>-1}function Ec(t){return!(1&~t.flags)}function yn(t){return!!t.template}function as(t){return!!(512&t[q])}class jA{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function my(t,e,n,r){null!==e?e.applyValueToInputSignal(e,r):t[n]=r}function Qn(){return yy}function yy(t){return t.type.prototype.ngOnChanges&&(t.setInput=HA),BA}function BA(){const t=by(this),e=t?.current;if(e){const n=t.previous;if(n===Rn)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function HA(t,e,n,r,o){const i=this.declaredInputs[r],s=by(t)||function UA(t,e){return t[wy]=e}(t,{previous:Rn,current:null}),c=s.current||(s.current={}),l=s.previous,u=l[i];c[i]=new jA(u&&u.currentValue,n,l===Rn),my(t,e,o,n)}Qn.ngInherit=!0;const wy="__ngSimpleChanges__";function by(t){return t[wy]||null}const Pn=function(t,e,n){},vy="svg";function fe(t){for(;Array.isArray(t);)t=t[Oe];return t}function cs(t,e){return fe(e[t])}function bt(t,e){return fe(e[t.index])}function ls(t,e){return t.data[e]}function Wt(t,e){const n=e[t];return it(n)?n:n[Oe]}function u_(t){return!(128&~t[q])}function rn(t,e){return null==e?null:t[e]}function Ey(t){t[Go]=0}function Cy(t){1024&t[q]||(t[q]|=1024,u_(t)&&Cc(t))}function us(t){return!!(9216&t[q]||t[nn]?.dirty)}function d_(t){t[On].changeDetectionScheduler?.notify(7),64&t[q]&&(t[q]|=1024),us(t)&&Cc(t)}function Cc(t){t[On].changeDetectionScheduler?.notify(0);let e=Xn(t);for(;null!==e&&!(8192&e[q])&&(e[q]|=8192,u_(e));)e=Xn(e)}function Ic(t,e){if(!(256&~t[q]))throw new R(911,!1);null===t[yr]&&(t[yr]=[]),t[yr].push(e)}function Xn(t){const e=t[We];return dt(e)?e[We]:e}const Y={lFrame:Ly(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Sy=!1;function Ty(){return Y.bindingsEnabled}function Xr(){return null!==Y.skipHydrationRootTNode}function I(){return Y.lFrame.lView}function re(){return Y.lFrame.tView}function De(t){return Y.lFrame.contextLView=t,t[Te]}function Ee(t){return Y.lFrame.contextLView=null,t}function be(){let t=My();for(;null!==t&&64===t.type;)t=t.parent;return t}function My(){return Y.lFrame.currentTNode}function wn(t,e){const n=Y.lFrame;n.currentTNode=t,n.isParent=e}function p_(){return Y.lFrame.isParent}function h_(){Y.lFrame.isParent=!1}function Ny(){return Sy}function Ry(t){Sy=t}function vt(){const t=Y.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function bn(){return Y.lFrame.bindingIndex++}function tr(t){const e=Y.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function nN(t,e){const n=Y.lFrame;n.bindingIndex=n.bindingRootIndex=t,g_(e)}function g_(t){Y.lFrame.currentDirectiveIndex=t}function y_(){return Y.lFrame.currentQueryIndex}function Tc(t){Y.lFrame.currentQueryIndex=t}function oN(t){const e=t[F];return 2===e.type?e.declTNode:1===e.type?t[at]:null}function xy(t,e,n){if(n&le.SkipSelf){let o=e,i=t;for(;!(o=o.parent,null!==o||n&le.Host||(o=oN(i),null===o||(i=i[qo],10&o.type))););if(null===o)return!1;e=o,t=i}const r=Y.lFrame=Py();return r.currentTNode=e,r.lView=t,!0}function w_(t){const e=Py(),n=t[F];Y.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function Py(){const t=Y.lFrame,e=null===t?null:t.child;return null===e?Ly(t):e}function Ly(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function Vy(){const t=Y.lFrame;return Y.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const jy=Vy;function b_(){const t=Vy();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function ct(){return Y.lFrame.selectedIndex}function eo(t){Y.lFrame.selectedIndex=t}function Me(){const t=Y.lFrame;return ls(t.tView,t.selectedIndex)}function Mc(){Y.lFrame.currentNamespace=vy}let Uy=!0;function _s(){return Uy}function Ln(t){Uy=t}function kc(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[l]<0&&(t[Go]+=65536),(c>14>16&&(3&t[q])===e&&(t[q]+=16384,zy(c,i)):zy(c,i)}const Ko=-1;class fs{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}const E_={};class to{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,r){r=lc(r);const o=this.injector.get(e,E_,r);return o!==E_||n===E_?o:this.parentInjector.get(e,n,r)}}function C_(t){return t!==Ko}function ps(t){return 32767&t}function hs(t,e){let n=function fN(t){return t>>16}(t),r=e;for(;n>0;)r=r[qo],n--;return r}let I_=!0;function Rc(t){const e=I_;return I_=t,e}const Gy=255,Wy=5;let hN=0;const Vn={};function Fc(t,e){const n=Jy(t,e);if(-1!==n)return n;const r=e[F];r.firstCreatePass&&(t.injectorIndex=e.length,S_(r.data,t),S_(e,null),S_(r.blueprint,null));const o=Oc(t,e),i=t.injectorIndex;if(C_(o)){const s=ps(o),c=hs(o,e),l=c[F].data;for(let u=0;u<8;u++)e[i+u]=c[s+u]|l[s+u]}return e[i+8]=o,i}function S_(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Jy(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Oc(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,o=e;for(;null!==o;){if(r=tw(o),null===r)return Ko;if(n++,o=o[qo],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ko}function T_(t,e,n){!function gN(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Xi)&&(r=n[Xi]),null==r&&(r=n[Xi]=hN++);const o=r&Gy;e.data[t+(o>>Wy)]|=1<=0?e&Gy:bN:e}(n);if("function"==typeof i){if(!xy(e,t,r))return r&le.Host?Ky(o,0,r):Zy(e,n,r,o);try{let s;if(s=i(r),null!=s||r&le.Optional)return s;jd()}finally{jy()}}else if("number"==typeof i){let s=null,c=Jy(t,e),l=Ko,u=r&le.Host?e[xe][at]:null;for((-1===c||r&le.SkipSelf)&&(l=-1===c?Oc(t,e):e[c+8],l!==Ko&&ew(r,!1)?(s=e[F],c=ps(l),e=hs(l,e)):c=-1);-1!==c;){const d=e[F];if(Xy(i,c,d.data)){const _=yN(c,e,n,s,r,u);if(_!==Vn)return _}l=e[c+8],l!==Ko&&ew(r,e[F].data[c+8]===u)&&Xy(i,c,e)?(s=d,c=ps(l),e=hs(l,e)):c=-1}}return o}function yN(t,e,n,r,o,i){const s=e[F],c=s.data[t+8],d=xc(c,s,n,null==r?Yr(c)&&I_:r!=s&&!!(3&c.type),o&le.Host&&i===c);return null!==d?no(e,s,d,c):Vn}function xc(t,e,n,r,o){const i=t.providerIndexes,s=e.data,c=1048575&i,l=t.directiveStart,d=i>>20,h=o?c+d:t.directiveEnd;for(let p=r?c:c+d;p=l&&g.type===n)return p}if(o){const p=s[l];if(p&&yn(p)&&p.type===n)return l}return null}function no(t,e,n,r){let o=t[n];const i=e.data;if(function uN(t){return t instanceof fs}(o)){const s=o;s.resolving&&function $k(t,e){throw e&&e.join(" > "),new R(-200,t)}(function pe(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():X(t)}(i[n]));const c=Rc(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?Rt(s.injectImpl):null;xy(t,r,le.Default);try{o=t[n]=s.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&function cN(t,e,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){const s=yy(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}o&&(n.preOrderHooks??=[]).push(0-t,o),i&&((n.preOrderHooks??=[]).push(t,i),(n.preOrderCheckHooks??=[]).push(t,i))}(n,i[n],e)}finally{null!==u&&Rt(u),Rc(c),s.resolving=!1,jy()}}return o}function Xy(t,e,n){return!!(n[e+(t>>Wy)]&1<{const e=t.prototype.constructor,n=e[Kn]||M_(e),r=Object.prototype;let o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){const i=o[Kn]||M_(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function M_(t){return oc(t)?()=>{const e=M_(J(t));return e&&e()}:Wr(t)}function tw(t){const e=t[F],n=e.type;return 2===n?e.declTNode:1===n?t[at]:null}function sw(t,e=null,n=null,r){const o=function aw(t,e=null,n=null,r,o=new Set){const i=[n||_e,oy(t)];return r=r||("object"==typeof t?void 0:Qe(t)),new Ho(i,e||mc(),r||null,o)}(t,e,n,r);return o.resolveInjectorInitializers(),o}class nt{static#e=this.THROW_IF_NOT_FOUND=es;static#t=this.NULL=new _c;static create(e,n){if(Array.isArray(e))return sw({name:""},n,e,"");{const r=e.name??"";return sw({name:r},e.parent,e.providers,r)}}static#n=this.\u0275prov=K({token:nt,providedIn:"any",factory:()=>z(Jm)});static#r=this.__NG_ELEMENT_ID__=-1}new P("").__NG_ELEMENT_ID__=t=>{const e=be();if(null===e)throw new R(204,!1);if(2&e.type)return e.value;if(t&le.Optional)return null;throw new R(204,!1)};function A_(t){return t.ngOriginalError}let gs=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=NN;static#t=this.__NG_ENV_ID__=n=>n}return t})();class AN extends gs{constructor(e){super(),this._lView=e}onDestroy(e){return Ic(this._lView,e),()=>function __(t,e){if(null===t[yr])return;const n=t[yr].indexOf(e);-1!==n&&t[yr].splice(n,1)}(this._lView,e)}}function NN(){return new AN(I())}let wr=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new vd(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=K({token:t,providedIn:"root",factory:()=>new t})}return t})();const Ve=class RN extends zr{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,function uy(){return void 0!==Hm()||null!=function Jk(){return Vo}()}()&&(this.destroyRef=B(gs,{optional:!0})??void 0,this.pendingTasks=B(wr,{optional:!0})??void 0)}emit(e){const n=Q(null);try{super.next(e)}finally{Q(n)}}subscribe(e,n,r){let o=e,i=n||(()=>null),s=r;if(e&&"object"==typeof e){const l=e;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));const c=super.subscribe({next:o,error:i,complete:s});return e instanceof en&&e.add(c),c}wrapInTimeout(e){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{e(n),void 0!==r&&this.pendingTasks?.remove(r)})}}};function Vc(...t){}function lw(t){let e,n;function r(){t=Vc;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==e&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function uw(t){return queueMicrotask(()=>t()),()=>{t=Vc}}class ye{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ve(!1),this.onMicrotaskEmpty=new Ve(!1),this.onStable=new Ve(!1),this.onError=new Ve(!1),typeof Zone>"u")throw new R(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.callbackScheduled=!1,function xN(t){const e=()=>{!function ON(t){t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,Zone.root.run(()=>{lw(()=>{t.callbackScheduled=!1,R_(t),t.isCheckStableRunning=!0,N_(t),t.isCheckStableRunning=!1})}),R_(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,c)=>{if(function PN(t){return fw(t,"__ignore_ng_zone__")}(c))return n.invokeTask(o,i,s,c);try{return dw(t),n.invokeTask(o,i,s,c)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||t.shouldCoalesceRunChangeDetection)&&e(),_w(t)}},onInvoke:(n,r,o,i,s,c,l)=>{try{return dw(t),n.invoke(o,i,s,c,l)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function LN(t){return fw(t,"__scheduler_tick__")}(c)&&e(),_w(t)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,R_(t),N_(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ye.isInAngularZone())throw new R(909,!1)}static assertNotInAngularZone(){if(ye.isInAngularZone())throw new R(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,FN,Vc,Vc);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}}const FN={};function N_(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function R_(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function dw(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function _w(t){t._nesting--,N_(t)}class F_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ve,this.onMicrotaskEmpty=new Ve,this.onStable=new Ve,this.onError=new Ve}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,o){return e.apply(n,r)}}function fw(t,e){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[e]}class vn{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&A_(e);for(;n&&A_(n);)n=A_(n);return n||null}}const jN=new P("",{providedIn:"root",factory:()=>{const t=B(ye),e=B(vn);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function BN(){return Qo(be(),I())}function Qo(t,e){return new on(bt(t,e))}let on=(()=>{class t{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=BN}return t})();function hw(t){return t instanceof on?t.nativeElement:t}function HN(){return this._results[Symbol.iterator]()}class O_{static#e=Symbol.iterator;get changes(){return this._changes??=new Ve}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=O_.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=HN)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;const r=function Ft(t){return t.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function nA(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rlR}),lR="ng",xw=new P(""),ro=new P("",{providedIn:"platform",factory:()=>"unknown"}),Pw=new P("",{providedIn:"root",factory:()=>br().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Lw=()=>null;function z_(t,e,n=!1){return Lw(t,e,n)}const qw=new P("",{providedIn:"root",factory:()=>!1});let Zc,Yc;function ni(t){return function K_(){if(void 0===Zc&&(Zc=null,Ne.trustedTypes))try{Zc=Ne.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Zc}()?.createHTML(t)||t}function Jw(t){return function Z_(){if(void 0===Yc&&(Yc=null,Ne.trustedTypes))try{Yc=Ne.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Yc}()?.createHTML(t)||t}class Yw{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Rm})`}}function vr(t){return t instanceof Yw?t.changingThisBreaksApplicationSecurity:t}class kR{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const n=(new window.DOMParser).parseFromString(ni(e),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(e):(n.firstChild?.remove(),n)}catch{return null}}}class AR{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const n=this.inertDocument.createElement("template");return n.innerHTML=ni(e),n}}const RR=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function nr(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function Ss(...t){const e={};for(const n of t)for(const r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}const Xw=nr("area,br,col,hr,img,wbr"),eb=nr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),tb=nr("rp,rt"),Q_=Ss(Xw,Ss(eb,nr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ss(tb,nr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ss(tb,eb)),X_=nr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),nb=Ss(X_,nr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),nr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),FR=nr("script,style,template");class OR{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let n=e.firstChild,r=!0,o=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)o.push(n),n=LR(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=PR(n);if(i){n=i;break}n=o.pop()}return this.buf.join("")}startElement(e){const n=rb(e).toLowerCase();if(!Q_.hasOwnProperty(n))return this.sanitizedSomething=!0,!FR.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=e.attributes;for(let o=0;o"),!0}endElement(e){const n=rb(e).toLowerCase();Q_.hasOwnProperty(n)&&!Xw.hasOwnProperty(n)&&(this.buf.push(""))}chars(e){this.buf.push(ib(e))}}function PR(t){const e=t.nextSibling;if(e&&t!==e.previousSibling)throw ob(e);return e}function LR(t){const e=t.firstChild;if(e&&function xR(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,e))throw ob(e);return e}function rb(t){const e=t.nodeName;return"string"==typeof e?e:"FORM"}function ob(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const VR=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jR=/([^\#-~ |!])/g;function ib(t){return t.replace(/&/g,"&").replace(VR,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(jR,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let Qc;function ef(t){return"content"in t&&function HR(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ri=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(ri||{});function sb(t){const e=function Ts(){const t=I();return t&&t[On].sanitizer}();return e?Jw(e.sanitize(ri.HTML,t)||""):function Is(t,e){const n=function MR(t){return t instanceof Yw&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${Rm})`)}return n===e}(t,"HTML")?Jw(vr(t)):function BR(t,e){let n=null;try{Qc=Qc||function Qw(t){const e=new AR(t);return function NR(){try{return!!(new window.DOMParser).parseFromString(ni(""),"text/html")}catch{return!1}}()?new kR(e):e}(t);let r=e?String(e):"";n=Qc.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Qc.getInertBodyElement(r)}while(r!==i);return ni((new OR).sanitizeChildren(ef(n)||n))}finally{if(n){const r=ef(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}(br(),X(t))}const JR=/^>|^->||--!>|)/g,ZR="\u200b$1\u200b";var Dr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Dr||{});let rf;function sf(t,e){return rf(t,e)}function ii(t,e,n,r,o){if(null!=r){let i,s=!1;dt(r)?i=r:it(r)&&(s=!0,r=r[Oe]);const c=fe(r);0===t&&null!==n?null==o?vb(e,n,c):oo(e,n,c,o||null,!0):1===t&&null!==n?oo(e,n,c,o||null,!0):2===t?function ks(t,e,n){t.removeChild(null,e,n)}(e,c,s):3===t&&e.destroyNode(c),null!=i&&function gF(t,e,n,r,o){const i=n[xn];i!==fe(n)&&ii(e,t,r,i,o);for(let c=Ue;ce.replace(KR,ZR))}(e))}function tl(t,e,n){return t.createElement(e,n)}function yb(t,e){e[On].changeDetectionScheduler?.notify(8),ol(t,e,e[Z],2,null,null)}function wb(t,e){const n=t[Jo],r=e[We];(it(r)||e[xe]!==r[We][xe])&&(t[q]|=Dc.HasTransplantedViews),null===n?t[Jo]=[e]:n.push(e)}function lf(t,e){const n=t[Jo],r=n.indexOf(e);n.splice(r,1)}function Ms(t,e){if(t.length<=Ue)return;const n=Ue+e,r=t[n];if(r){const o=r[Zr];null!==o&&o!==t&&lf(o,r),e>0&&(t[n-1][mn]=r[mn]);const i=uc(t,Ue+e);!function cF(t,e){yb(t,e),e[Oe]=null,e[at]=null}(r[F],r);const s=i[Yn];null!==s&&s.detachView(i[F]),r[We]=null,r[mn]=null,r[q]&=-129}return r}function nl(t,e){if(!(256&e[q])){const n=e[Z];n.destroyNode&&ol(t,e,n,3,null,null),function uF(t){let e=t[is];if(!e)return uf(t[F],t);for(;e;){let n=null;if(it(e))n=e[is];else{const r=e[Ue];r&&(n=r)}if(!n){for(;e&&!e[mn]&&e!==t;)it(e)&&uf(e[F],e),e=e[We];null===e&&(e=t),it(e)&&uf(e[F],e),n=e&&e[mn]}e=n}}(e)}}function uf(t,e){if(256&e[q])return;const n=Q(null);try{e[q]&=-129,e[q]|=256,e[nn]&&ud(e[nn]),function fF(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(e[zo]=null);const o=e[yr];if(null!==o){e[yr]=null;for(let i=0;i-1){const{encapsulation:i}=t.data[r.directiveStart+o];if(i===hn.None||i===hn.Emulated)return null}return bt(r,n)}}(t,e.parent,n)}function oo(t,e,n,r,o){t.insertBefore(e,n,r,o)}function vb(t,e,n){t.appendChild(e,n)}function Db(t,e,n,r,o){null!==r?oo(t,e,n,r,o):vb(t,e,n)}function _f(t,e){return t.parentNode(e)}function Eb(t,e,n){return Ib(t,e,n)}let ff,Ib=function Cb(t,e,n){return 40&t.type?bt(t,n):null};function rl(t,e,n,r){const o=df(t,r,e),i=e[Z],c=Eb(r.parent||e[at],r,e);if(null!=o)if(Array.isArray(n))for(let l=0;lU&&Rb(t,e,U,!1),Pn(s?2:0,o),n(r,o)}finally{eo(i),Pn(s?3:1,o)}}function mf(t,e,n){if(i_(e)){const r=Q(null);try{const i=e.directiveEnd;for(let s=e.directiveStart;snull;function Lb(t,e,n,r,o){for(let i in e){if(!e.hasOwnProperty(i))continue;const s=e[i];if(void 0===s)continue;r??={};let c,l=mr.None;Array.isArray(s)?(c=s[0],l=s[1]):c=s;let u=i;if(null!==o){if(!o.hasOwnProperty(i))continue;u=o[i]}0===t?Vb(r,n,u,c,l):Vb(r,n,u,c)}return r}function Vb(t,e,n,r,o){let i;t.hasOwnProperty(n)?(i=t[n]).push(e,r):i=t[n]=[e,r],void 0!==o&&i.push(o)}function Lt(t,e,n,r,o,i,s,c){const l=bt(e,n);let d,u=e.inputs;!c&&null!=u&&(d=u[r])?(If(t,n,d,r,o),Yr(e)&&function AF(t,e){const n=Wt(e,t);16&n[q]||(n[q]|=64)}(n,e.index)):3&e.type&&(r=function kF(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(r),o=null!=s?s(o,e.value||"",r):o,i.setProperty(l,r,o))}function vf(t,e,n,r){if(Ty()){const o=null===r?null:{"":-1},i=function PF(t,e){const n=t.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(s)!=c&&s.push(c),s.push(n,r,i)}}(t,e,r,As(t,n,o.hostVars,ee),o)}function jn(t,e,n,r,o,i){const s=bt(t,e);!function Ef(t,e,n,r,o,i,s){if(null==i)t.removeAttribute(e,o,n);else{const c=null==s?X(i):s(i,r||"",o);t.setAttribute(e,o,c,n)}}(e[Z],s,i,t.value,n,r,o)}function UF(t,e,n,r,o,i){const s=i[e];if(null!==s)for(let c=0;c0&&(n[o-1][mn]=e),r{Cc(t.lView)},consumerOnSignalRead(){this.lView[nn]=this}},QF={...qa,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=Xn(t.lView);for(;e&&!Kb(e[F]);)e=Xn(e);e&&Cy(e)},consumerOnSignalRead(){this.lView[nn]=this}};function Kb(t){return 2!==t.type}const XF=100;function cl(t,e=!0,n=0){const r=t[On],o=r.rendererFactory;o.begin?.();try{!function eO(t,e){const n=Ny();try{Ry(!0),Mf(t,e);let r=0;for(;us(t);){if(r===XF)throw new R(103,!1);r++,Mf(t,1)}}finally{Ry(n)}}(t,n)}catch(s){throw e&&al(t,s),s}finally{o.end?.(),r.inlineEffectRunner?.flush()}}function tO(t,e,n,r){const o=e[q];if(!(256&~o))return;e[On].inlineEffectRunner?.flush(),w_(e);let c=!0,l=null,u=null;Kb(t)?(u=function WF(t){return t[nn]??function JF(t){const e=Jb.pop()??Object.create(ZF);return e.lView=t,e}(t)}(e),l=Ga(u)):null===function Hr(){return me}()?(c=!1,u=function YF(t){const e=t[nn]??Object.create(QF);return e.lView=t,e}(e),l=Ga(u)):e[nn]&&(ud(e[nn]),e[nn]=null);try{Ey(e),function Fy(t){return Y.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&Ob(t,e,n,2,r);const d=!(3&~o);if(d){const p=t.preOrderCheckHooks;null!==p&&Ac(e,p,null)}else{const p=t.preOrderHooks;null!==p&&Nc(e,p,0,null),v_(e,0)}if(function nO(t){for(let e=Iw(t);null!==e;e=Sw(e)){if(!(e[q]&Dc.HasTransplantedViews))continue;const n=e[Jo];for(let r=0;r-1&&(Ms(e,r),uc(n,r))}this._attachedToViewContainer=!1}nl(this._lView[F],this._lView)}onDestroy(e){Ic(this._lView,e)}markForCheck(){Rs(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[q]&=-129}reattach(){d_(this._lView),this._lView[q]|=128}detectChanges(){this._lView[q]|=1024,cl(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new R(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const e=as(this._lView),n=this._lView[Zr];null!==n&&!e&&lf(n,this._lView),yb(this._lView[F],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new R(902,!1);this._appRef=e;const n=as(this._lView),r=this._lView[Zr];null!==r&&!n&&wb(r,this._lView),d_(this._lView)}}let or=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=sO}return t})();const oO=or,iO=class extends oO{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){const o=si(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:r});return new Fs(o)}};function sO(){return ll(be(),I())}function ll(t,e){return 4&t.type?new iO(e,t,Qo(t,e)):null}let bv=()=>null;function lo(t,e){return bv(t,e)}class li{}const Hs=new P("",{providedIn:"root",factory:()=>!1}),vv=new P("");class QO{}class Dv{}class ex{resolveComponentFactory(e){throw function XO(t){const e=Error(`No component factory found for ${Qe(t)}.`);return e.ngComponent=t,e}(e)}}class hl{static#e=this.NULL=new ex}class jf{}let uo=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function tx(){const t=I(),n=Wt(be().index,t);return(it(n)?n:t)[Z]}()}return t})(),nx=(()=>{class t{static#e=this.\u0275prov=K({token:t,providedIn:"root",factory:()=>null})}return t})();const Cv=new Set;function Dt(t){Cv.has(t)||(Cv.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}let gl=(()=>{class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const n=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const r of n)r()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=K({token:t,providedIn:"root",factory:()=>new t})}return t})();function yl(t,e,n){let r=n?t.styles:null,o=n?t.classes:null,i=0;if(null!==e)for(let s=0;s0&&Ab(t,n,i.join(" "))}}(p,ce,y,r),void 0!==n&&function mx(t,e,n){const r=t.projection=[];for(let o=0;o{class t{static#e=this.__NG_ELEMENT_ID__=wx}return t})();function wx(){return Fv(be(),I())}const bx=Bn,Nv=class extends bx{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Qo(this._hostTNode,this._hostLView)}get injector(){return new tt(this._hostTNode,this._hostLView)}get parentInjector(){const e=Oc(this._hostTNode,this._hostLView);if(C_(e)){const n=hs(e,this._hostLView),r=ps(e);return new tt(n[F].data[r+8],n)}return new tt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=Rv(this._lContainer);return null!==n&&n[e]||null}get length(){return this._lContainer.length-Ue}createEmbeddedView(e,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=lo(this._lContainer,e.ssrId),c=e.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(c,o,ao(this._hostTNode,s)),c}createComponent(e,n,r,o,i){const s=e&&!function os(t){return"function"==typeof t}(e);let c;if(s)c=n;else{const g=n||{};c=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}const l=s?e:new zs(ie(e)),u=r||this.parentInjector;if(!i&&null==l.ngModule){const y=(s?u:this.parentInjector).get(tn,null);y&&(i=y)}const d=ie(l.componentType??{}),_=lo(this._lContainer,d?.id??null),p=l.create(u,o,_?.firstChild??null,i);return this.insertImpl(p.hostView,c,ao(this._hostTNode,_)),p}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){const o=e._lView;if(function GA(t){return dt(t[We])}(o)){const c=this.indexOf(e);if(-1!==c)this.detach(c);else{const l=o[We],u=new Nv(l,l[at],l[We]);u.detach(u.indexOf(e))}}const i=this._adjustIndex(n),s=this._lContainer;return ai(s,o,i,r),e.attachToViewContainerRef(),qm($f(s),i,e),e}move(e,n){return this.insert(e,n)}indexOf(e){const n=Rv(this._lContainer);return null!==n?n.indexOf(e):-1}remove(e){const n=this._adjustIndex(e,-1),r=Ms(this._lContainer,n);r&&(uc($f(this._lContainer),n),nl(r[F],r))}detach(e){const n=this._adjustIndex(e,-1),r=Ms(this._lContainer,n);return r&&null!=uc($f(this._lContainer),n)?new Fs(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function Rv(t){return t[8]}function $f(t){return t[8]||(t[8]=[])}function Fv(t,e){let n;const r=e[t.index];return dt(r)?n=r:(n=Hb(r,e,null,t),e[t.index]=n,sl(e,n)),Ov(n,e,t,r),new Nv(n,t,e)}let Ov=function Pv(t,e,n,r){if(t[xn])return;let o;o=8&n.type?fe(r):function vx(t,e){const n=t[Z],r=n.createComment(""),o=bt(e,t);return oo(n,_f(n,o),r,function pF(t,e){return t.nextSibling(e)}(n,o),!1),r}(e,n),t[xn]=o},zf=()=>!1;class qf{constructor(e){this.queryList=e,this.matches=null}clone(){return new qf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Gf{constructor(e=[]){this.queries=e}createEmbeddedView(e){const n=e.queries;if(null!==n){const r=null!==e.contentQueries?e.contentQueries[0]:n.length,o=[];for(let i=0;ie.trim())}(e):e}}class Wf{constructor(e=[]){this.queries=e}elementStart(e,n){for(let r=0;r0)r.push(s[c/2]);else{const u=i[c+1],d=e[-l];for(let _=Ue;_(ad(e),e.value);return n[yt]=e,n}(t),r=n[yt];return e?.equal&&(r.equal=e.equal),n.set=o=>rm(r,o),n.update=o=>function gM(t,e){Zg()||nm(),rm(t,e(t.value))}(r,o),n.asReadonly=qv.bind(n),n}function qv(){const t=this[yt];if(void 0===t.readonlyFn){const e=()=>this();e[yt]=t,t.readonlyFn=e}return t.readonlyFn}function ve(t){let e=function rD(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const r=[t];for(;e;){let o;if(yn(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new R(903,!1);o=e.\u0275dir}if(o){if(n){r.push(o);const s=t;s.inputs=bl(t.inputs),s.inputTransforms=bl(t.inputTransforms),s.declaredInputs=bl(t.declaredInputs),s.outputs=bl(t.outputs);const c=o.hostBindings;c&&zx(t,c);const l=o.viewQuery,u=o.contentQueries;if(l&&Ux(t,l),u&&$x(t,u),Bx(t,o),Ok(t.outputs,o.outputs),yn(o)&&o.data.animation){const d=t.data;d.animation=(d.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s=0;r--){const o=t[r];o.hostVars=e+=o.hostVars,o.hostAttrs=ns(o.hostAttrs,n=ns(n,o.hostAttrs))}}(r)}function Bx(t,e){for(const n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;const r=e.inputs[n];if(void 0!==r&&(t.inputs[n]=r,t.declaredInputs[n]=e.declaredInputs[n],null!==e.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!e.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=e.inputTransforms[o]}}}function bl(t){return t===Rn?{}:t===_e?[]:t}function Ux(t,e){const n=t.viewQuery;t.viewQuery=n?(r,o)=>{e(r,o),n(r,o)}:e}function $x(t,e){const n=t.contentQueries;t.contentQueries=n?(r,o,i)=>{e(r,o,i),n(r,o,i)}:e}function zx(t,e){const n=t.hostBindings;t.hostBindings=n?(r,o)=>{e(r,o),n(r,o)}:e}class fo{}class aD extends fo{constructor(e){super(),this.componentFactoryResolver=new kv(this),this.instance=null;const n=new Ho([...e.providers,{provide:fo,useValue:this},{provide:hl,useValue:this.componentFactoryResolver}],e.parent||mc(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function vl(t){return!!function tp(t){return null!==t&&("function"==typeof t||"object"==typeof t)}(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Hn(t,e,n){return t[e]=n}function $e(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function po(t,e,n,r){const o=$e(t,e,n);return $e(t,e+1,r)||o}function Ws(t,e,n,r,o,i,s,c,l,u){const d=n+U,_=e.firstCreatePass?function oP(t,e,n,r,o,i,s,c,l){const u=e.consts,d=so(e,t,4,s||null,c||null);vf(e,n,d,rn(u,l)),kc(e,d);const _=d.tView=bf(2,d,r,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u,null);return null!==e.queries&&(e.queries.template(e,d),_.queries=e.queries.embeddedTView(d)),d}(d,e,t,r,o,i,s,c,l):e.data[d];wn(_,!1);const h=lD(e,t,_,n);_s()&&rl(e,t,h,_),ft(h,t);const p=Hb(h,t,h,_);return t[d]=p,sl(t,p),function xv(t,e,n){return zf(t,e,n)}(p,_,t),Ec(_)&&yf(e,t,_),null!=l&&wf(t,_,u),_}function ae(t,e,n,r,o,i,s,c){const l=I(),u=re();return Ws(l,u,t,e,n,r,o,rn(u.consts,i),s,c),ae}let lD=function uD(t,e,n,r){return Ln(!0),e[Z].createComment("")};function Ct(t,e,n,r){const o=I();return $e(o,bn(),e)&&(re(),jn(Me(),o,t,e,n,r)),Ct}function bi(t,e,n,r){return $e(t,bn(),n)?e+X(n)+r:ee}function vi(t,e,n,r,o,i){const c=po(t,function er(){return Y.lFrame.bindingIndex}(),n,o);return tr(2),c?e+X(n)+r+X(o)+i:ee}function Ml(t,e){return t<<17|e<<2}function Ir(t){return t>>17&32767}function _p(t){return 2|t}function go(t){return(131068&t)>>2}function fp(t,e){return-131069&t|e<<2}function pp(t){return 1|t}function HD(t,e,n,r){const o=t[n+1],i=null===e;let s=r?Ir(o):go(o),c=!1;for(;0!==s&&(!1===c||i);){const u=t[s+1];$P(t[s],e)&&(c=!0,t[s+1]=r?pp(u):_p(u)),s=r?Ir(u):go(u)}c&&(t[n+1]=r?_p(o):pp(o))}function $P(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Bo(t,e)>=0}const rt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function UD(t){return t.substring(rt.key,rt.keyEnd)}function $D(t,e){const n=rt.textEnd;return n===e?-1:(e=rt.keyEnd=function WP(t,e,n){for(;e32;)e++;return e}(t,rt.key=e,n),Mi(t,e,n))}function Mi(t,e,n){for(;e=0;n=$D(e,n))Gt(t,UD(e),!0)}function KD(t,e){return e>=t.expandoStartIndex}function ZD(t,e,n,r){const o=t.data;if(null===o[n+1]){const i=o[ct()],s=KD(t,n);eE(i,r)&&null===e&&!s&&(e=!1),e=function YP(t,e,n,r){const o=function m_(t){const e=Y.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let i=r?e.residualClasses:e.residualStyles;if(null===o)0===(r?e.classBindings:e.styleBindings)&&(n=Ys(n=gp(null,t,e,n,r),e.attrs,r),i=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==o)if(n=gp(o,t,e,n,r),null===i){let l=function QP(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==go(r))return t[Ir(r)]}(t,e,r);void 0!==l&&Array.isArray(l)&&(l=gp(null,t,e,l[1],r),l=Ys(l,e.attrs,r),function XP(t,e,n,r){t[Ir(n?e.classBindings:e.styleBindings)]=r}(t,e,r,l))}else i=function e2(t,e,n){let r;const o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i0)&&(u=!0)):d=n,o)if(0!==l){const h=Ir(t[c+1]);t[r+1]=Ml(h,c),0!==h&&(t[h+1]=fp(t[h+1],r)),t[c+1]=function jP(t,e){return 131071&t|e<<17}(t[c+1],r)}else t[r+1]=Ml(c,0),0!==c&&(t[c+1]=fp(t[c+1],r)),c=r;else t[r+1]=Ml(l,0),0===c?c=r:t[l+1]=fp(t[l+1],r),l=r;u&&(t[r+1]=_p(t[r+1])),HD(t,d,r,!0),HD(t,d,r,!1),function UP(t,e,n,r,o){const i=o?t.residualClasses:t.residualStyles;null!=i&&"string"==typeof e&&Bo(i,e)>=0&&(n[r+1]=pp(n[r+1]))}(e,d,t,r,i),s=Ml(c,l),i?e.classBindings=s:e.styleBindings=s}(o,i,e,n,s,r)}}function gp(t,e,n,r,o){let i=null;const s=n.directiveEnd;let c=n.directiveStylingLast;for(-1===c?c=n.directiveStart:c++;c0;){const l=t[o],u=Array.isArray(l),d=u?l[1]:l,_=null===d;let h=n[o+1];h===ee&&(h=_?_e:void 0);let p=_?Gd(h,r):d===r?h:void 0;if(u&&!Nl(p)&&(p=Gd(l,r)),Nl(p)&&(c=p,s))return c;const g=t[o+1];o=s?Ir(g):go(g)}if(null!==e){let l=i?e.residualClasses:e.residualStyles;null!=l&&(c=Gd(l,r))}return c}function Nl(t){return void 0!==t}function eE(t,e){return!!(t.flags&(e?8:16))}function L(t,e,n,r){const o=I(),i=re(),s=U+t,c=o[Z],l=i.firstCreatePass?function T2(t,e,n,r,o,i){const s=e.consts,l=so(e,t,2,r,rn(s,o));return vf(e,n,l,rn(s,i)),null!==l.attrs&&yl(l,l.attrs,!1),null!==l.mergedAttrs&&yl(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(s,i,o,e,n,r):i.data[s],u=oE(i,o,l,c,e,t);o[s]=u;const d=Ec(l);return wn(l,!0),Nb(c,u,l),!function _i(t){return!(32&~t.flags)}(l)&&_s()&&rl(i,o,u,l),0===function WA(){return Y.lFrame.elementDepthCount}()&&ft(u,o),function JA(){Y.lFrame.elementDepthCount++}(),d&&(yf(i,o,l),mf(i,l,o)),null!==r&&wf(o,l),L}function V(){let t=be();p_()?h_():(t=t.parent,wn(t,!1));const e=t;(function ZA(t){return Y.skipHydrationRootTNode===t})(e)&&function eN(){Y.skipHydrationRootTNode=null}(),function KA(){Y.lFrame.elementDepthCount--}();const n=re();return n.firstCreatePass&&(kc(n,t),i_(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function dN(t){return!!(8&t.flags)}(e)&&hp(n,e,I(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function _N(t){return!!(16&t.flags)}(e)&&hp(n,e,I(),e.stylesWithoutHost,!1),V}function pt(t,e,n,r){return L(t,e,n,r),V(),pt}let oE=(t,e,n,r,o,i)=>(Ln(!0),tl(r,o,function Hy(){return Y.lFrame.currentNamespace}()));function an(t,e,n){const r=I(),o=re(),i=t+U,s=o.firstCreatePass?function A2(t,e,n,r,o){const i=e.consts,s=rn(i,r),c=so(e,t,8,"ng-container",s);return null!==s&&yl(c,s,!0),vf(e,n,c,rn(i,o)),null!==e.queries&&e.queries.elementStart(e,c),c}(i,o,r,e,n):o.data[i];wn(s,!0);const c=iE(o,r,s,t);return r[i]=c,_s()&&rl(o,r,c,s),ft(c,r),Ec(s)&&(yf(o,r,s),mf(o,s,r)),null!=n&&wf(r,s),an}function cn(){let t=be();const e=re();return p_()?h_():(t=t.parent,wn(t,!1)),e.firstCreatePass&&(kc(e,t),i_(t)&&e.queries.elementEnd(t)),cn}function mo(t,e,n){return an(t,e,n),cn(),mo}let iE=(t,e,n,r)=>(Ln(!0),cf(e[Z],""));function je(){return I()}const Ai="en-US";let uE=Ai;let kE=(t,e,n)=>{};function oe(t,e,n,r){const o=I(),i=re(),s=be();return function Dp(t,e,n,r,o,i,s){const c=Ec(r),u=t.firstCreatePass&&zb(t),d=e[Te],_=$b(e);let h=!0;if(3&r.type||s){const y=bt(r,e),D=s?s(y):y,C=_.length,E=s?$=>s(fe($[r.index])):r.index;let O=null;if(!s&&c&&(O=function DL(t,e,n,r){const o=t.cleanup;if(null!=o)for(let i=0;il?c[l]:null}"string"==typeof s&&(i+=2)}return null}(t,e,o,r.index)),null!==O)(O.__ngLastListenerFn__||O).__ngNextListenerFn__=i,O.__ngLastListenerFn__=i,h=!1;else{i=FE(r,e,d,i),kE(y,o,i);const $=n.listen(D,o,i);_.push(i,$),u&&u.push(o,E,C,C+1)}}else i=FE(r,e,d,i);const p=r.outputs;let g;if(h&&null!==p&&(g=p[o])){const y=g.length;if(y)for(let D=0;D-1?Wt(t.index,e):e,5);let c=RE(e,n,r,i),l=o.__ngNextListenerFn__;for(;l;)c=RE(e,n,l,i)&&c,l=l.__ngNextListenerFn__;return c}}function H(t=1){return function iN(t){return(Y.lFrame.contextLView=function Iy(t,e){for(;t>0;)e=e[qo],t--;return e}(t,Y.lFrame.contextLView))[Te]}(t)}function EL(t,e){let n=null;const r=function cA(t){const e=t.attrs;if(null!=e){const n=e.indexOf(5);if(!(1&n))return e[n+1]}return null}(t);for(let o=0;o(Ln(!0),function af(t,e){return t.createText(e)}(e[Z],r));function Ni(t){return ht("",t,""),Ni}function ht(t,e,n){const r=I(),o=bi(r,t,e,n);return o!==ee&&rr(r,ct(),o),ht}function ra(t,e,n,r,o){const i=I(),s=vi(i,t,e,n,r,o);return s!==ee&&rr(i,ct(),s),ra}function Sp(t,e,n,r,o){if(t=J(t),Array.isArray(t))for(let i=0;i>20;if(Kr(t)||!t.multi){const p=new fs(u,o,S),g=Mp(l,e,o?d:d+h,_);-1===g?(T_(Fc(c,s),i,l),Tp(i,t,e.length),e.push(l),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(p),s.push(p)):(n[g]=p,s[g]=p)}else{const p=Mp(l,e,d+h,_),g=Mp(l,e,d,d+h),D=g>=0&&n[g];if(o&&!D||!o&&!(p>=0&&n[p])){T_(Fc(c,s),i,l);const C=function GL(t,e,n,r,o){const i=new fs(t,n,S);return i.multi=[],i.index=e,i.componentProviders=0,dC(i,o,r&&!n),i}(o?qL:zL,n.length,o,r,u);!o&&D&&(n[g].providerFactory=C),Tp(i,t,e.length,0),e.push(l),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(C),s.push(C)}else Tp(i,t,p>-1?p:g,dC(n[o?g:p],u,!o&&r));!o&&r&&D&&n[g].componentProviders++}}}function Tp(t,e,n,r){const o=Kr(e),i=function bA(t){return!!t.useClass}(e);if(o||i){const l=(i?J(e.useClass):e).prototype.ngOnDestroy;if(l){const u=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){const d=u.indexOf(n);-1===d?u.push(n,[r,l]):u[d+1].push(r,l)}else u.push(n,l)}}}function dC(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Mp(t,e,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function $L(t,e,n){const r=re();if(r.firstCreatePass){const o=yn(t);Sp(n,r.data,r.blueprint,o,!0),Sp(e,r.data,r.blueprint,o,!1)}}(r,o?o(t):t,e)}}let WL=(()=>{class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Zd(0,n.type),o=r.length>0?function cD(t,e,n=null){return new aD({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=K({token:t,providedIn:"environment",factory:()=>new t(z(tn))})}return t})();function gt(t){Dt("NgStandalone"),t.getStandaloneInjector=e=>e.get(WL).getOrCreateStandaloneInjector(t)}function Vl(t,e,n){const r=vt()+t,o=I();return o[r]===ee?Hn(o,r,n?e.call(n):e()):function Gs(t,e){return t[e]}(o,r)}function Sr(t,e,n,r){return function hC(t,e,n,r,o,i){const s=e+n;return $e(t,s,o)?Hn(t,s+1,i?r.call(i,o):r(o)):oa(t,s+1)}(I(),vt(),t,e,n,r)}function Ri(t,e,n,r,o){return function gC(t,e,n,r,o,i,s){const c=e+n;return po(t,c,o,i)?Hn(t,c+2,s?r.call(s,o,i):r(o,i)):oa(t,c+2)}(I(),vt(),t,e,n,r,o)}function pC(t,e,n,r,o,i){return function mC(t,e,n,r,o,i,s,c){const l=e+n;return function Dl(t,e,n,r,o){const i=po(t,e,n,r);return $e(t,e+2,o)||i}(t,l,o,i,s)?Hn(t,l+3,c?r.call(c,o,i,s):r(o,i,s)):oa(t,l+3)}(I(),vt(),t,e,n,r,o,i)}function oa(t,e){const n=t[e];return n===ee?void 0:n}function bo(t,e){return ll(t,e)}const jC=new P("");function $l(t){return!!t&&"function"==typeof t.then}function BC(t){return!!t&&"function"==typeof t.subscribe}const HC=new P("");let zl=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=B(HC,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if($l(i))n.push(i);else if(BC(i)){const s=new Promise((c,l)=>{i.subscribe({complete:c,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const Vp=new P("");let zn=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=B(jN),this.afterRenderEffectManager=B(gl),this.zonelessEnabled=B(Hs),this.externalTestViews=new Set,this.beforeRender=new zr,this.afterTick=new zr,this.componentTypes=[],this.components=[],this.isStable=B(wr).hasPendingTasks.pipe(fr(n=>!n)),this._injector=B(tn)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Dv;if(!this._injector.get(zl).done)throw!o&&function Jr(t){const e=ie(t)||Xe(t)||st(t);return null!==e&&e.standalone}(n),new R(405,!1);let s;s=o?n:this._injector.get(hl).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const c=function oj(t){return t.isBoundToModule}(s)?void 0:this._injector.get(fo),u=s.create(nt.NULL,[],r||s.selector,c),d=u.location.nativeElement,_=u.injector.get(jC,null);return _?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),ql(this.components,u),_?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){this._tick(!0)}_tick(n){if(this._runningTick)throw new R(101,!1);const r=Q(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(n)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,Q(r),this.afterTick.next()}}detectChangesInAttachedViews(n){let r=null;this._injector.destroyed||(r=this._injector.get(jf,null,{optional:!0}));let o=0;const i=this.afterRenderEffectManager;for(;o<10;){const s=0===o;if(n||!s){this.beforeRender.next(s);for(let{_lView:c,notifyErrorHandler:l}of this._views)sj(c,l,s,this.zonelessEnabled)}else r?.begin?.(),r?.end?.();if(o++,i.executeInternalCallbacks(),!this.allViews.some(({_lView:c})=>us(c))&&(i.execute(),!this.allViews.some(({_lView:c})=>us(c))))break}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;ql(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Vp,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>ql(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new R(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ql(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function sj(t,e,n,r){(n||us(t))&&cl(t,e,n&&!r?0:1)}let uj=(()=>{class t{constructor(){this.zone=B(ye),this.changeDetectionScheduler=B(li),this.applicationRef=B(zn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function jp({ngZoneFactory:t,ignoreChangesOutsideZone:e}){return t??=()=>new ye(function Bp(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}()),[{provide:ye,useFactory:t},{provide:Fn,multi:!0,useFactory:()=>{const n=B(uj,{optional:!0});return()=>n.initialize()}},{provide:Fn,multi:!0,useFactory:()=>{const n=B(_j);return()=>{n.initialize()}}},!0===e?{provide:vv,useValue:!0}:[]]}let _j=(()=>{class t{constructor(){this.subscription=new en,this.initialized=!1,this.zone=B(ye),this.pendingTasks=B(wr)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{ye.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{ye.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ca=(()=>{class t{constructor(){this.appRef=B(zn),this.taskService=B(wr),this.ngZone=B(ye),this.zonelessEnabled=B(Hs),this.disableScheduling=B(vv,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new en,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof F_||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 3:case 2:case 0:case 4:case 5:case 1:this.shouldRefreshViews=!0}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?uw:lw;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=r(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=r(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&ye.isInAngularZone())}tick(n){if(this.runningTick||this.appRef.destroyed)return;const r=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(n)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(r),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,uw(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(r)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.shouldRefreshViews=!1,this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const ir=new P("",{providedIn:"root",factory:()=>B(ir,le.Optional|le.SkipSelf)||function fj(){return typeof $localize<"u"&&$localize.locale||Ai}()}),Up=new P("");let Tr=null;let Zt=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=wj}return t})();function wj(t){return function bj(t,e,n){if(Yr(t)&&!n){const r=Wt(t.index,e);return new Fs(r,r)}return 175&t.type?new Fs(e[xe],e):null}(be(),I(),!(16&~t))}class r0{constructor(){}supports(e){return vl(e)}create(e){return new Ij(e)}}const Cj=(t,e)=>e;class Ij{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Cj}forEachItem(e){let n;for(n=this._itHead;null!==n;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,c),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,c,s,o)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,o){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,i,o)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,i,o)):e=this._addAfter(new Sj(n,r),i,o),e}_verifyReinsertion(e,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;null!==e;){const n=e._next;this._addToRemovals(this._unlink(e)),e=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const o=e._prevRemoved,i=e._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){const o=null===n?this._itHead:n._next;return e._next=o,e._prev=n,null===o?this._itTail=e:o._prev=e,null===n?this._itHead=e:n._next=e,null===this._linkedRecords&&(this._linkedRecords=new o0),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const n=e._prev,r=e._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new o0),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Sj{constructor(e,n){this.item=e,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Tj{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){const n=e._prevDup,r=e._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class o0{constructor(){this.map=new Map}put(e){const n=e.trackById;let r=this.map.get(n);r||(r=new Tj,this.map.set(n,r)),r.add(e)}get(e,n){const o=this.map.get(e);return o?o.get(e,n):null}remove(e){const n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function s0(t,e,n){const r=t.previousIndex;if(null===r)return r;let o=0;return n&&r{class t{static#e=this.\u0275prov=K({token:t,providedIn:"root",factory:c0});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||c0()),deps:[[t,new zd,new $d]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new R(901,!1)}}return t})();function Gj(t){try{const{rootComponent:e,appProviders:n,platformProviders:r}=t,o=function yj(t=[]){if(Tr)return Tr;const e=function YC(t=[],e){return nt.create({name:e,providers:[{provide:Xd,useValue:"platform"},{provide:Up,useValue:new Set([()=>Tr=null])},...t]})}(t);return Tr=e,function UC(){!function pM(t){tm=t}(()=>{throw new R(600,!1)})}(),function QC(t){t.get(xw,null)?.forEach(n=>n())}(e),e}(r),i=[jp({}),{provide:li,useExisting:ca},...n||[]],c=new aD({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,l=c.get(ye);return l.run(()=>{c.resolveInjectorInitializers();const u=c.get(vn,null);let d;l.runOutsideAngular(()=>{d=l.onError.subscribe({next:p=>{u.handleError(p)}})});const _=()=>c.destroy(),h=o.get(Up);return h.add(_),c.onDestroy(()=>{d.unsubscribe(),h.delete(_)}),function $C(t,e,n){try{const r=n();return $l(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(u,l,()=>{const p=c.get(zl);return p.runInitializers(),p.donePromise.then(()=>{!function dE(t){"string"==typeof t&&(uE=t.toLowerCase().replace(/_/g,"-"))}(c.get(ir,Ai)||Ai);const y=c.get(zn);return void 0!==e&&y.bootstrap(e),y})})})}catch(e){return Promise.reject(e)}}const S0=new P("");function _a(t,e){Dt("NgSignals");const n=function dM(t){const e=Object.create(_M);e.computation=t;const n=()=>{if(Jg(e),ad(e),e.value===Ka)throw e.error;return e.value};return n[yt]=e,n}(t);return e?.equal&&(n[yt].equal=e.equal),n}function qn(t){const e=Q(null);try{return t()}finally{Q(e)}}function Xp(t){return t[t.length-1]}function Mr(t){return this instanceof Mr?(this.v=t,this):new Mr(t)}function j0(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t=function rh(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=t[i]&&function(s){return new Promise(function(c,l){!function o(i,s,c,l){Promise.resolve(l).then(function(u){i({value:u,done:c})},s)}(c,l,(s=t[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const B0=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function H0(t){return He(t?.then)}function U0(t){return He(t[bd])}function $0(t){return Symbol.asyncIterator&&He(t?.[Symbol.asyncIterator])}function z0(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const q0=function $4(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function G0(t){return He(t?.[q0])}function W0(t){return function V0(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(t,e||[]),i=[];return o={},c("next"),c("throw"),c("return",function s(p){return function(g){return Promise.resolve(g).then(p,_)}}),o[Symbol.asyncIterator]=function(){return this},o;function c(p,g){r[p]&&(o[p]=function(y){return new Promise(function(D,C){i.push([p,y,D,C])>1||l(p,y)})},g&&(o[p]=g(o[p])))}function l(p,g){try{!function u(p){p.value instanceof Mr?Promise.resolve(p.value.v).then(d,_):h(i[0][2],p)}(r[p](g))}catch(y){h(i[0][3],y)}}function d(p){l("next",p)}function _(p){l("throw",p)}function h(p,g){p(g),i.shift(),i.length&&l(i[0][0],i[0][1])}}(this,arguments,function*(){const n=t.getReader();try{for(;;){const{value:r,done:o}=yield Mr(n.read());if(o)return yield Mr(void 0);yield yield Mr(r)}}finally{n.releaseLock()}})}function J0(t){return He(t?.getReader)}function Do(t){if(t instanceof Nt)return t;if(null!=t){if(U0(t))return function z4(t){return new Nt(e=>{const n=t[bd]();if(He(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(B0(t))return function q4(t){return new Nt(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,lm)})}(t);if($0(t))return K0(t);if(G0(t))return function W4(t){return new Nt(e=>{for(const n of t)if(e.next(n),e.closed)return;e.complete()})}(t);if(J0(t))return function J4(t){return K0(W0(t))}(t)}throw z0(t)}function K0(t){return new Nt(e=>{(function K4(t,e){var n,r,o,i;return function P0(t,e,n,r){return new(n||(n=Promise))(function(i,s){function c(d){try{u(r.next(d))}catch(_){s(_)}}function l(d){try{u(r.throw(d))}catch(_){s(_)}}function u(d){d.done?i(d.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(d.value).then(c,l)}u((r=r.apply(t,e||[])).next())})}(this,void 0,void 0,function*(){try{for(n=j0(t);!(r=yield n.next()).done;)if(e.next(r.value),e.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}e.complete()})})(t,e).catch(n=>e.error(n))})}function kr(t,e,n,r=0,o=!1){const i=e.schedule(function(){n(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function Z0(t,e=0){return qr((n,r)=>{n.subscribe(_r(r,o=>kr(r,t,()=>r.next(o),e),()=>kr(r,t,()=>r.complete(),e),o=>kr(r,t,()=>r.error(o),e)))})}function Y0(t,e=0){return qr((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function Q0(t,e){if(!t)throw new Error("Iterable cannot be null");return new Nt(n=>{kr(n,e,()=>{const r=t[Symbol.asyncIterator]();kr(n,e,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function oh(t,e){return e?function tB(t,e){if(null!=t){if(U0(t))return function Z4(t,e){return Do(t).pipe(Y0(e),Z0(e))}(t,e);if(B0(t))return function Q4(t,e){return new Nt(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}(t,e);if(H0(t))return function Y4(t,e){return Do(t).pipe(Y0(e),Z0(e))}(t,e);if($0(t))return Q0(t,e);if(G0(t))return function X4(t,e){return new Nt(n=>{let r;return kr(n,e,()=>{r=t[q0](),kr(n,e,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>He(r?.return)&&r.return()})}(t,e);if(J0(t))return function eB(t,e){return Q0(W0(t),e)}(t,e)}throw z0(t)}(t,e):Do(t)}function X0(...t){return oh(t,function v4(t){return function w4(t){return t&&He(t.schedule)}(Xp(t))?t.pop():void 0}(t))}function ih(t,e,n=1/0){return He(e)?ih((r,o)=>fr((i,s)=>e(r,i,o,s))(Do(t(r,o))),n):("number"==typeof e&&(n=e),qr((r,o)=>function nB(t,e,n,r,o,i,s,c){const l=[];let u=0,d=0,_=!1;const h=()=>{_&&!l.length&&!u&&e.complete()},p=y=>u{i&&e.next(y),u++;let D=!1;Do(n(y,d++)).subscribe(_r(e,C=>{o?.(C),i?p(C):e.next(C)},()=>{D=!0},void 0,()=>{if(D)try{for(u--;l.length&&ug(C)):g(C)}h()}catch(C){e.error(C)}}))};return t.subscribe(_r(e,p,()=>{_=!0,h()})),()=>{c?.()}}(r,o,t,n)))}function eI(t){return qr((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}let tI=null;function fa(){return tI}class aB{}const ln=new P("");function uI(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}const hh=/\s+/,dI=[];let Ar=(()=>{class t{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=dI,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(hh):dI}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(hh):n}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const r of n)this._updateState(r,!0);else if(null!=n)for(const r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){const o=this.stateMap.get(n);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){(n=n.trim()).length>0&&n.split(hh).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(r){return new(r||t)(S(on),S(uo))};static#t=this.\u0275dir=ne({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return t})();class JB{constructor(e,n,r,o){this.$implicit=e,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ha=(()=>{class t{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new JB(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const c=r.get(i);r.move(c,s),fI(c,o)}});for(let o=0,i=r.length;o{fI(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||t)(S(Bn),S(or),S(Jp))};static#t=this.\u0275dir=ne({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return t})();function fI(t,e){t.context.$implicit=e.item}let In=(()=>{class t{constructor(n,r){this._viewContainer=n,this._context=new KB,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){pI("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){pI("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||t)(S(Bn),S(or))};static#t=this.\u0275dir=ne({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return t})();class KB{constructor(){this.$implicit=null,this.ngIf=null}}function pI(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Qe(e)}'.`)}let gI=(()=>{class t{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,o),get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static#e=this.\u0275fac=function(r){return new(r||t)(S(Bn))};static#t=this.\u0275dir=ne({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Qn]})}return t})(),Ye=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=Zn({type:t});static#n=this.\u0275inj=Nn({})}return t})();function wI(t){return"server"===t}class bI{}class gu{}class mu{}class _n{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?"string"==typeof e?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof _n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){const n=new _n;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof _n?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){const n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(e.name,n);const o=("a"===e.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=e.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(c=>-1===i.indexOf(c)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(e,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}}class YH{encodeKey(e){return AI(e)}encodeValue(e){return AI(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const XH=/%(\d[a-f0-9])/gi,eU={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function AI(t){return encodeURIComponent(t).replace(XH,(e,n)=>eU[n]??e)}function yu(t){return`${t}`}class Nr{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new YH,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function QH(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,c]=-1==i?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,i)),e.decodeValue(o.slice(i+1))],l=n.get(s)||[];l.push(c),n.set(s,l)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{const r=e.fromObject[n],o=Array.isArray(r)?r.map(yu):[yu(r)];this.map.set(n,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){const n=[];return Object.keys(e).forEach(r=>{const o=e[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const n=this.encoder.encodeKey(e);return this.map.get(e).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const n=new Nr({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const n=("a"===e.op?this.map.get(e.param):void 0)||[];n.push(yu(e.value)),this.map.set(e.param,n);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let r=this.map.get(e.param)||[];const o=r.indexOf(yu(e.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class tU{constructor(){this.map=new Map}set(e,n){return this.map.set(e,n),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}}function NI(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function RI(t){return typeof Blob<"u"&&t instanceof Blob}function FI(t){return typeof FormData<"u"&&t instanceof FormData}class ya{constructor(e,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function nU(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new _n,this.context??=new tU,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const c=n.indexOf("?");this.urlWithParams=n+(-1===c?"?":ch.set(p,e.setHeaders[p]),u)),e.setParams&&(d=Object.keys(e.setParams).reduce((h,p)=>h.set(p,e.setParams[p]),d)),new ya(n,r,s,{params:d,headers:u,context:_,reportProgress:l,responseType:o,withCredentials:c,transferCache:i})}}var Rr=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Rr||{});class Eh{constructor(e,n=200,r="OK"){this.headers=e.headers||new _n,this.status=void 0!==e.status?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class wu extends Eh{constructor(e={}){super(e),this.type=Rr.ResponseHeader}clone(e={}){return new wu({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Eo extends Eh{constructor(e={}){super(e),this.type=Rr.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new Eo({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Li extends Eh{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function Ch(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}let sU=(()=>{class t{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof ya)i=n;else{let l,u;l=o.headers instanceof _n?o.headers:new _n(o.headers),o.params&&(u=o.params instanceof Nr?o.params:new Nr({fromObject:o.params})),i=new ya(n,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=X0(i).pipe(function rB(t,e){return He(e)?ih(t,e,1):ih(t,1)}(l=>this.handler.handle(l)));if(n instanceof ya||"events"===o.observe)return s;const c=s.pipe(function oB(t,e){return qr((n,r)=>{let o=0;n.subscribe(_r(r,i=>t.call(e,i,o++)&&r.next(i)))})}(l=>l instanceof Eo));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return c.pipe(fr(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return c.pipe(fr(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return c.pipe(fr(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return c.pipe(fr(l=>l.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new Nr).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,Ch(o,r))}post(n,r,o={}){return this.request("POST",n,Ch(o,r))}put(n,r,o={}){return this.request("PUT",n,Ch(o,r))}static#e=this.\u0275fac=function(r){return new(r||t)(z(gu))};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac})}return t})();const aU=/^\)\]\}',?\n/;function xI(t){if(t.url)return t.url;const e="X-Request-URL".toLocaleLowerCase();return t.headers.get(e)}let Ih=(()=>{class t{constructor(){this.fetchImpl=B(lU,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=B(ye)}handle(n){return new Nt(r=>{const o=new AbortController;return this.doRequest(n,o.signal,r).then(Sh,i=>r.error(new Li({error:i}))),()=>o.abort()})}doRequest(n,r,o){var i=this;return A(function*(){const s=i.createRequestInit(n);let c;try{const g=i.ngZone.runOutsideAngular(()=>i.fetchImpl(n.urlWithParams,{signal:r,...s}));(function uU(t){t.then(Sh,Sh)})(g),o.next({type:Rr.Sent}),c=yield g}catch(g){return void o.error(new Li({error:g,status:g.status??0,statusText:g.statusText,url:n.urlWithParams,headers:g.headers}))}const l=new _n(c.headers),u=c.statusText,d=xI(c)??n.urlWithParams;let _=c.status,h=null;if(n.reportProgress&&o.next(new wu({headers:l,status:_,statusText:u,url:d})),c.body){const g=c.headers.get("content-length"),y=[],D=c.body.getReader();let E,O,C=0;const $=typeof Zone<"u"&&Zone.current;yield i.ngZone.runOutsideAngular(A(function*(){for(;;){const{done:ce,value:Fe}=yield D.read();if(ce)break;if(y.push(Fe),C+=Fe.length,n.reportProgress){O="text"===n.responseType?(O??"")+(E??=new TextDecoder).decode(Fe,{stream:!0}):void 0;const Xt=()=>o.next({type:Rr.DownloadProgress,total:g?+g:void 0,loaded:C,partialText:O});$?$.run(Xt):Xt()}}}));const te=i.concatChunks(y,C);try{const ce=c.headers.get("Content-Type")??"";h=i.parseBody(n,te,ce)}catch(ce){return void o.error(new Li({error:ce,headers:new _n(c.headers),status:c.status,statusText:c.statusText,url:xI(c)??n.urlWithParams}))}}0===_&&(_=h?200:0),_>=200&&_<300?(o.next(new Eo({body:h,headers:l,status:_,statusText:u,url:d})),o.complete()):o.error(new Li({error:h,headers:l,status:_,statusText:u,url:d}))})()}parseBody(n,r,o){switch(n.responseType){case"json":const i=(new TextDecoder).decode(r).replace(aU,"");return""===i?null:JSON.parse(i);case"text":return(new TextDecoder).decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){const r={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){const i=n.detectContentTypeHeader();null!==i&&(r["Content-Type"]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o}}concatChunks(n,r){const o=new Uint8Array(r);let i=0;for(const s of n)o.set(s,i),i+=s.length;return o}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac})}return t})();class lU{}function Sh(){}function PI(t,e){return e(t)}function dU(t,e){return(n,r)=>e.intercept(n,{handle:o=>t(o,r)})}const fU=new P(""),wa=new P(""),LI=new P(""),VI=new P("",{providedIn:"root",factory:()=>!0});function pU(){let t=null;return(e,n)=>{null===t&&(t=(B(fU,{optional:!0})??[]).reduceRight(dU,PI));const r=B(wr);if(B(VI)){const i=r.add();return t(e,n).pipe(eI(()=>r.remove(i)))}return t(e,n)}}let jI=(()=>{class t extends gu{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=B(wr),this.contributeToStability=B(VI)}handle(n){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(wa),...this.injector.get(LI,[])]));this.chain=r.reduceRight((o,i)=>function _U(t,e,n){return(r,o)=>function ly(t,e){t instanceof Ho&&t.assertNotDestroyed();const r=gr(t),o=Rt(void 0);try{return e()}finally{gr(r),Rt(o)}}(n,()=>e(r,i=>t(i,o)))}(o,i,this.injector),PI)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(eI(()=>this.pendingTasks.remove(r)))}return this.chain(n,r=>this.backend.handle(r))}static#e=this.\u0275fac=function(r){return new(r||t)(z(mu),z(tn))};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac})}return t})();const wU=/^\)\]\}',?\n/;let HI=(()=>{class t{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new R(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?oh(r.\u0275loadImpl()):X0(null)).pipe(function iB(t,e){return qr((n,r)=>{let o=null,i=0,s=!1;const c=()=>s&&!o&&r.complete();n.subscribe(_r(r,l=>{o?.unsubscribe();let u=0;const d=i++;Do(t(l,d)).subscribe(o=_r(r,_=>r.next(e?e(l,_,d,u++):_),()=>{o=null,c()}))},()=>{s=!0,c()}))})}(()=>new Nt(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((y,D)=>s.setRequestHeader(y,D.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const y=n.detectContentTypeHeader();null!==y&&s.setRequestHeader("Content-Type",y)}if(n.responseType){const y=n.responseType.toLowerCase();s.responseType="json"!==y?y:"text"}const c=n.serializeBody();let l=null;const u=()=>{if(null!==l)return l;const y=s.statusText||"OK",D=new _n(s.getAllResponseHeaders()),C=function bU(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(s)||n.url;return l=new wu({headers:D,status:s.status,statusText:y,url:C}),l},d=()=>{let{headers:y,status:D,statusText:C,url:E}=u(),O=null;204!==D&&(O=typeof s.response>"u"?s.responseText:s.response),0===D&&(D=O?200:0);let $=D>=200&&D<300;if("json"===n.responseType&&"string"==typeof O){const te=O;O=O.replace(wU,"");try{O=""!==O?JSON.parse(O):null}catch(ce){O=te,$&&($=!1,O={error:ce,text:O})}}$?(i.next(new Eo({body:O,headers:y,status:D,statusText:C,url:E||void 0})),i.complete()):i.error(new Li({error:O,headers:y,status:D,statusText:C,url:E||void 0}))},_=y=>{const{url:D}=u(),C=new Li({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});i.error(C)};let h=!1;const p=y=>{h||(i.next(u()),h=!0);let D={type:Rr.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(D.total=y.total),"text"===n.responseType&&s.responseText&&(D.partialText=s.responseText),i.next(D)},g=y=>{let D={type:Rr.UploadProgress,loaded:y.loaded};y.lengthComputable&&(D.total=y.total),i.next(D)};return s.addEventListener("load",d),s.addEventListener("error",_),s.addEventListener("timeout",_),s.addEventListener("abort",_),n.reportProgress&&(s.addEventListener("progress",p),null!==c&&s.upload&&s.upload.addEventListener("progress",g)),s.send(c),i.next({type:Rr.Sent}),()=>{s.removeEventListener("error",_),s.removeEventListener("abort",_),s.removeEventListener("load",d),s.removeEventListener("timeout",_),n.reportProgress&&(s.removeEventListener("progress",p),null!==c&&s.upload&&s.upload.removeEventListener("progress",g)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||t)(z(bI))};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac})}return t})();const Th=new P(""),UI=new P("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),$I=new P("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class zI{}let EU=(()=>{class t{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=uI(n,this.cookieName),this.lastCookieString=n),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||t)(z(ln),z(ro),z(UI))};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac})}return t})();function CU(t,e){const n=t.url.toLowerCase();if(!B(Th)||"GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e(t);const r=B(zI).getToken(),o=B($I);return null!=r&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,r)})),e(t)}var Fr=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Fr||{});function IU(...t){const e=[sU,HI,jI,{provide:gu,useExisting:jI},{provide:mu,useFactory:()=>B(Ih,{optional:!0})??B(HI)},{provide:wa,useValue:CU,multi:!0},{provide:Th,useValue:!0},{provide:zI,useClass:EU}];for(const n of t)e.push(...n.\u0275providers);return function rs(t){return{\u0275providers:t}}(e)}const qI=new P("");function SU(){return function Co(t,e){return{\u0275kind:t,\u0275providers:e}}(Fr.LegacyInterceptors,[{provide:qI,useFactory:pU},{provide:wa,useExisting:qI,multi:!0}])}let TU=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=Zn({type:t});static#n=this.\u0275inj=Nn({providers:[IU(SU())]})}return t})();class PU extends aB{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Mh extends PU{static makeCurrent(){!function sB(t){tI??=t}(new Mh)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.remove()}createElement(e,n){return(n=n||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return"window"===n?window:"document"===n?e:"body"===n?e.body:null}getBaseHref(e){const n=function LU(){return ba=ba||document.querySelector("base"),ba?ba.getAttribute("href"):null}();return null==n?null:function VU(t){return new URL(t,document.baseURI).pathname}(n)}resetBaseElement(){ba=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return uI(document.cookie,e)}}let ba=null,BU=(()=>{class t{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac})}return t})();const vu=new P("");let XI=(()=>{class t{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new R(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||t)(z(vu),z(ye))};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac})}return t})();class kh{constructor(e){this._doc=e}}const Ah="ng-app-id";let eS=(()=>{class t{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=wI(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${Ah}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(Ah),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Ah,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||t)(z(ln),z(ys),z(Pw,8),z(ro))};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac})}return t})();const Nh={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Rh=/%COMP%/g,zU=new P("",{providedIn:"root",factory:()=>!0});function nS(t,e){return e.map(n=>n.replace(Rh,t))}let rS=(()=>{class t{constructor(n,r,o,i,s,c,l,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=c,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=wI(c),this.defaultRenderer=new Fh(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===hn.ShadowDom&&(r={...r,encapsulation:hn.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof iS?o.applyToHost(n):o instanceof Oh&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,c=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,_=this.platformIsServer;switch(r.encapsulation){case hn.Emulated:i=new iS(l,u,r,this.appId,d,s,c,_);break;case hn.ShadowDom:return new JU(l,u,n,r,s,c,this.nonce,_);default:i=new Oh(l,u,r,d,s,c,_)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||t)(z(XI),z(eS),z(ys),z(zU),z(ln),z(ro),z(ye),z(Pw))};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac})}return t})();class Fh{constructor(e,n,r,o){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(Nh[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(oS(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(oS(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){n.remove()}selectRootElement(e,n){let r="string"==typeof e?this.doc.querySelector(e):e;if(!r)throw new R(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,o){if(o){n=o+":"+n;const i=Nh[o];i?e.setAttributeNS(i,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){const o=Nh[r];o?e.removeAttributeNS(o,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,o){o&(Dr.DashCase|Dr.Important)?e.style.setProperty(n,r,o&Dr.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&Dr.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){null!=e&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if("string"==typeof e&&!(e=fa().getGlobalEventTarget(this.doc,e)))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if("__ngUnwrap__"===n)return e;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))&&n.preventDefault()}}}function oS(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class JU extends Fh{constructor(e,n,r,o,i,s,c,l){super(e,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const u=nS(o.id,o.styles);for(const d of u){const _=document.createElement("style");c&&_.setAttribute("nonce",c),_.textContent=d,this.shadowRoot.appendChild(_)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(null,n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Oh extends Fh{constructor(e,n,r,o,i,s,c,l){super(e,i,s,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=l?nS(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class iS extends Oh{constructor(e,n,r,o,i,s,c,l){const u=o+"-"+r.id;super(e,n,r,i,s,c,l,u),this.contentAttr=function qU(t){return"_ngcontent-%COMP%".replace(Rh,t)}(u),this.hostAttr=function GU(t){return"_nghost-%COMP%".replace(Rh,t)}(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){const r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}}let KU=(()=>{class t extends kh{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||t)(z(ln))};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac})}return t})(),ZU=(()=>{class t extends kh{constructor(n){super(n),this.delegate=B(S0,{optional:!0})}supports(n){return!!this.delegate&&this.delegate.supports(n)}addEventListener(n,r,o){return this.delegate.addEventListener(n,r,o)}removeEventListener(n,r,o){return this.delegate.removeEventListener(n,r,o)}static#e=this.\u0275fac=function(r){return new(r||t)(z(ln))};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac})}return t})();const sS=["alt","control","meta","shift"],YU={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},QU={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};function aS(t){return{appProviders:[...s3,...t?.providers??[]],platformProviders:o3}}const o3=[{provide:ro,useValue:"browser"},{provide:xw,useValue:function t3(){Mh.makeCurrent()},multi:!0},{provide:ln,useFactory:function r3(){return function cR(t){L_=t}(document),document},deps:[]}],s3=[{provide:Xd,useValue:"root"},{provide:vn,useFactory:function n3(){return new vn},deps:[]},{provide:vu,useClass:KU,multi:!0,deps:[ln,ye,ro]},{provide:vu,useClass:(()=>{class t extends kh{constructor(n){super(n)}supports(n){return null!=t.parseEventName(n)}addEventListener(n,r,o){const i=t.parseEventName(r),s=t.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>fa().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=t._normalizeKey(r.pop());let s="",c=r.indexOf("code");if(c>-1&&(r.splice(c,1),s="code."),sS.forEach(u=>{const d=r.indexOf(u);d>-1&&(r.splice(d,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=YU[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),sS.forEach(s=>{s!==o&&(0,QU[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{t.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||t)(z(ln))};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac})}return t})(),multi:!0,deps:[ln]},{provide:vu,useClass:ZU,multi:!0},rS,eS,XI,{provide:jf,useExisting:rS},{provide:bI,useClass:BU,deps:[]},[]];let a;const cr=new Array(128).fill(void 0);function N(t){return cr[t]}cr.push(void 0,null,!0,!1);let va=cr.length;function v(t){const e=N(t);return function u3(t){t<132||(cr[t]=va,va=t)}(t),e}const uS=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};typeof TextDecoder<"u"&&uS.decode();let Da=null;function Vi(){return(null===Da||0===Da.byteLength)&&(Da=new Uint8Array(a.memory.buffer)),Da}function M(t,e){return t>>>=0,uS.decode(Vi().subarray(t,t+e))}function T(t){va===cr.length&&cr.push(cr.length+1);const e=va;return va=cr[e],cr[e]=t,e}let m=0;const Eu=typeof TextEncoder<"u"?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},d3="function"==typeof Eu.encodeInto?function(t,e){return Eu.encodeInto(t,e)}:function(t,e){const n=Eu.encode(t);return e.set(n),{read:t.length,written:n.length}};function w(t,e,n){if(void 0===n){const c=Eu.encode(t),l=e(c.length,1)>>>0;return Vi().subarray(l,l+c.length).set(c),m=c.length,l}let r=t.length,o=e(r,1)>>>0;const i=Vi();let s=0;for(;s127)break;i[o+s]=c}if(s!==r){0!==s&&(t=t.slice(s)),o=n(o,r,r=s+3*t.length,1)>>>0;const c=Vi().subarray(o+s,o+r);s+=d3(t,c).written,o=n(o,r,s,1)>>>0}return m=s,o}function b(t){return null==t}let Ea=null;function f(){return(null===Ea||0===Ea.byteLength)&&(Ea=new Int32Array(a.memory.buffer)),Ea}function xh(t){const e=typeof t;if("number"==e||"boolean"==e||null==t)return`${t}`;if("string"==e)return`"${t}"`;if("symbol"==e){const o=t.description;return null==o?"Symbol":`Symbol(${o})`}if("function"==e){const o=t.name;return"string"==typeof o&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(t)){const o=t.length;let i="[";o>0&&(i+=xh(t[0]));for(let s=1;s1))return toString.call(t);if(r=n[1],"Object"==r)try{return"Object("+JSON.stringify(t)+")"}catch{return"Object"}return t instanceof Error?`${t.name}: ${t.message}\n${t.stack}`:r}const dS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>{a.__wbindgen_export_2.get(t.dtor)(t.a,t.b)});function _S(t,e,n,r){const o={a:t,b:e,cnt:1,dtor:n},i=(...s)=>{o.cnt++;const c=o.a;o.a=0;try{return r(c,o.b,...s)}finally{0==--o.cnt?(a.__wbindgen_export_2.get(o.dtor)(c,o.b),dS.unregister(o)):o.a=c}};return i.original=o,dS.register(i,o,o),i}function _3(t,e,n){a._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf18b011da91a71a4(t,e,T(n))}function f3(t,e,n){a._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h828ea3939073e4cd(t,e,T(n))}function fn(t,e){const n=e(1*t.length,1)>>>0;return Vi().set(t,n/1),m=t.length,n}function k(t,e){if(!(t instanceof e))throw new Error(`expected instance of ${e.name}`);return t.ptr}function ji(t,e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.jsonPrettyPrint(i,T(t),b(e)?3:e);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return v(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}function pS(){return v(a.getTimestamp())}function de(t,e){try{return t.apply(this,e)}catch(n){a.__wbindgen_exn_store(T(n))}}let Ca=null;function gS(t,e){const n=e(4*t.length,4)>>>0,r=function hS(){return(null===Ca||0===Ca.byteLength)&&(Ca=new Uint32Array(a.memory.buffer)),Ca}();for(let o=0;o"u"||new FinalizationRegistry(t=>a.__wbg_accessrights_free(t>>>0));const yS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_accounthash_free(t>>>0));class Qt{static __wrap(e){e>>>=0;const n=Object.create(Qt.prototype);return n.__wbg_ptr=e,yS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,yS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_accounthash_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.accounthash_new_js_alias(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromFormattedStr(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.accounthash_fromFormattedStr(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Qt.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromPublicKey(e){k(e,Pr);var n=e.__destroy_into_raw();const r=a.accounthash_fromPublicKey(n);return Qt.__wrap(r)}toFormattedString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.accounthash_toFormattedString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}toHexString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.accounthash_toHexString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}static fromUint8Array(e){const n=fn(e,a.__wbindgen_malloc),o=a.accounthash_fromUint8Array(n,m);return Qt.__wrap(o)}toJson(){return v(a.accounthash_toJson(this.__wbg_ptr))}}const wS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_accountidentifier_free(t>>>0));class So{static __wrap(e){e>>>=0;const n=Object.create(So.prototype);return n.__wbg_ptr=e,wS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,wS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_accountidentifier_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.accountidentifier_fromFormattedStr(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromFormattedStr(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.accountidentifier_fromFormattedStr(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return So.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromPublicKey(e){k(e,Pr);var n=e.__destroy_into_raw();const r=a.accountidentifier_fromPublicKey(n);return So.__wrap(r)}static fromAccountHash(e){k(e,Qt);var n=e.__destroy_into_raw();const r=a.accountidentifier_fromAccountHash(n);return So.__wrap(r)}toJson(){return v(a.accountidentifier_toJson(this.__wbg_ptr))}}const bS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_argssimple_free(t>>>0));class Lh{static __wrap(e){e>>>=0;const n=Object.create(Lh.prototype);return n.__wbg_ptr=e,bS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,bS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_argssimple_free(e)}}const vS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_blockhash_free(t>>>0));class Or{static __wrap(e){e>>>=0;const n=Object.create(Or.prototype);return n.__wbg_ptr=e,vS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,vS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_blockhash_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.blockhash_new_js_alias(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromDigest(e){try{const s=a.__wbindgen_add_to_stack_pointer(-16);k(e,Be);var n=e.__destroy_into_raw();a.blockhash_fromDigest(s,n);var r=f()[s/4+0],o=f()[s/4+1];if(f()[s/4+2])throw v(o);return Or.__wrap(r)}finally{a.__wbindgen_add_to_stack_pointer(16)}}toJson(){return v(a.blockhash_toJson(this.__wbg_ptr))}toString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.blockhash_toString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}}const DS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_blockidentifier_free(t>>>0));class Le{static __wrap(e){e>>>=0;const n=Object.create(Le.prototype);return n.__wbg_ptr=e,DS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,DS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_blockidentifier_free(e)}constructor(e){k(e,Le);var n=e.__destroy_into_raw();const r=a.blockidentifier_new(n);return this.__wbg_ptr=r>>>0,this}static from_hash(e){k(e,Or);var n=e.__destroy_into_raw();const r=a.blockidentifier_from_hash(n);return Le.__wrap(r)}static fromHeight(e){const n=a.blockidentifier_fromHeight(e);return Le.__wrap(n)}toJson(){return v(a.blockidentifier_toJson(this.__wbg_ptr))}}typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_body_free(t>>>0));const CS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_bytes_free(t>>>0));class lr{static __wrap(e){e>>>=0;const n=Object.create(lr.prototype);return n.__wbg_ptr=e,CS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,CS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_bytes_free(e)}constructor(){const e=a.bytes_new();return this.__wbg_ptr=e>>>0,this}static fromUint8Array(e){const n=a.bytes_fromUint8Array(T(e));return lr.__wrap(n)}}const w3=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_casperwallet_free(t>>>0));class b3{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,w3.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_casperwallet_free(e)}constructor(){const e=a.casperwallet_new();return this.__wbg_ptr=e>>>0,this}signDeploy(e,n){k(e,ue);var r=e.__destroy_into_raw(),o=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc);return v(a.casperwallet_signDeploy(this.__wbg_ptr,r,o,m))}signDeployHash(e,n){const r=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;var i=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc);return v(a.casperwallet_signDeployHash(this.__wbg_ptr,r,o,i,m))}signMessage(e,n){const r=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;var i=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc);return v(a.casperwallet_signMessage(this.__wbg_ptr,r,o,i,m))}connect(){return v(a.casperwallet_connect(this.__wbg_ptr))}disconnect(){return v(a.casperwallet_disconnect(this.__wbg_ptr))}isConnected(){return v(a.casperwallet_isConnected(this.__wbg_ptr))}getVersion(){return v(a.casperwallet_getVersion(this.__wbg_ptr))}getActivePublicKey(){return v(a.casperwallet_getActivePublicKey(this.__wbg_ptr))}switchAccount(){return v(a.casperwallet_switchAccount(this.__wbg_ptr))}}const IS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_contracthash_free(t>>>0));class Ia{static __wrap(e){e>>>=0;const n=Object.create(Ia.prototype);return n.__wbg_ptr=e,IS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,IS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_contracthash_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.contracthash_new_js_alias(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromFormattedStr(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.contracthash_fromFormattedStr(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Ia.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}toFormattedString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.contracthash_toFormattedString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}static fromUint8Array(e){const n=fn(e,a.__wbindgen_malloc),o=a.contracthash_fromUint8Array(n,m);return Ia.__wrap(o)}}const SS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_contractpackagehash_free(t>>>0));class Sa{static __wrap(e){e>>>=0;const n=Object.create(Sa.prototype);return n.__wbg_ptr=e,SS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,SS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_contractpackagehash_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.contractpackagehash_new_js_alias(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromFormattedStr(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.contractpackagehash_fromFormattedStr(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Sa.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}toFormattedString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.contractpackagehash_toFormattedString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}static fromUint8Array(e){const n=fn(e,a.__wbindgen_malloc),o=a.contractpackagehash_fromUint8Array(n,m);return Sa.__wrap(o)}}const TS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_deploy_free(t>>>0));class ue{static __wrap(e){e>>>=0;const n=Object.create(ue.prototype);return n.__wbg_ptr=e,TS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,TS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_deploy_free(e)}constructor(e){const n=a.deploy_new(T(e));return this.__wbg_ptr=n>>>0,this}toJson(){return v(a.deploy_toJson(this.__wbg_ptr))}static withPaymentAndSession(e,n,r){try{const d=a.__wbindgen_add_to_stack_pointer(-16);k(e,Ut);var o=e.__destroy_into_raw();k(n,ko);var i=n.__destroy_into_raw();k(r,Gn);var s=r.__destroy_into_raw();a.deploy_withPaymentAndSession(d,o,i,s);var c=f()[d/4+0],l=f()[d/4+1];if(f()[d/4+2])throw v(l);return ue.__wrap(c)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static withTransfer(e,n,r,o,i){try{const p=a.__wbindgen_add_to_stack_pointer(-16),g=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),y=m,D=w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),C=m;var s=b(r)?0:w(r,a.__wbindgen_malloc,a.__wbindgen_realloc),c=m;k(o,Ut);var l=o.__destroy_into_raw();k(i,Gn);var u=i.__destroy_into_raw();a.deploy_withTransfer(p,g,y,D,C,s,c,l,u);var d=f()[p/4+0],_=f()[p/4+1];if(f()[p/4+2])throw v(_);return ue.__wrap(d)}finally{a.__wbindgen_add_to_stack_pointer(16)}}withTTL(e,n){const r=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;var i=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const c=a.deploy_withTTL(this.__wbg_ptr,r,o,i,m);return ue.__wrap(c)}withTimestamp(e,n){const r=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;var i=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const c=a.deploy_withTimestamp(this.__wbg_ptr,r,o,i,m);return ue.__wrap(c)}withChainName(e,n){const r=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;var i=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const c=a.deploy_withChainName(this.__wbg_ptr,r,o,i,m);return ue.__wrap(c)}withAccount(e,n){k(e,Pr);var r=e.__destroy_into_raw(),o=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const s=a.deploy_withAccount(this.__wbg_ptr,r,o,m);return ue.__wrap(s)}withEntryPointName(e,n){const r=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;var i=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const c=a.deploy_withEntryPointName(this.__wbg_ptr,r,o,i,m);return ue.__wrap(c)}withHash(e,n){k(e,Ia);var r=e.__destroy_into_raw(),o=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const s=a.deploy_withHash(this.__wbg_ptr,r,o,m);return ue.__wrap(s)}withPackageHash(e,n){k(e,Sa);var r=e.__destroy_into_raw(),o=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const s=a.deploy_withPackageHash(this.__wbg_ptr,r,o,m);return ue.__wrap(s)}withModuleBytes(e,n){k(e,lr);var r=e.__destroy_into_raw(),o=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const s=a.deploy_withModuleBytes(this.__wbg_ptr,r,o,m);return ue.__wrap(s)}withSecretKey(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const o=a.deploy_withSecretKey(this.__wbg_ptr,n,m);return ue.__wrap(o)}withStandardPayment(e,n){const r=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;var i=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const c=a.deploy_withStandardPayment(this.__wbg_ptr,r,o,i,m);return ue.__wrap(c)}withPayment(e,n){var r=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;const i=a.deploy_withPayment(this.__wbg_ptr,T(e),r,o);return ue.__wrap(i)}withSession(e,n){var r=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;const i=a.deploy_withSession(this.__wbg_ptr,T(e),r,o);return ue.__wrap(i)}validateDeploySize(){return 0!==a.deploy_validateDeploySize(this.__wbg_ptr)}get hash(){const e=a.deploy_hash(this.__wbg_ptr);return xr.__wrap(e)}sign(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=a.deploy_sign(this.__wbg_ptr,n,m);return ue.__wrap(o)}addSignature(e,n){const r=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m,i=w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),c=a.deploy_addSignature(this.__wbg_ptr,r,o,i,m);return ue.__wrap(c)}TTL(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.deploy_TTL(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}timestamp(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.deploy_timestamp(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}chainName(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.deploy_chainName(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}account(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.deploy_account(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}args(){return v(a.deploy_args(this.__wbg_ptr))}addArg(e,n){try{const l=a.__wbindgen_add_to_stack_pointer(-16);var r=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;a.deploy_addArg(l,this.__wbg_ptr,T(e),r,o);var i=f()[l/4+0],s=f()[l/4+1];if(f()[l/4+2])throw v(s);return ue.__wrap(i)}finally{a.__wbindgen_add_to_stack_pointer(16)}}}const MS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_deployhash_free(t>>>0));class xr{static __wrap(e){e>>>=0;const n=Object.create(xr.prototype);return n.__wbg_ptr=e,MS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,MS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_deployhash_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.deployhash_new_js_alias(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromDigest(e){try{const s=a.__wbindgen_add_to_stack_pointer(-16);k(e,Be);var n=e.__destroy_into_raw();a.deployhash_fromDigest(s,n);var r=f()[s/4+0],o=f()[s/4+1];if(f()[s/4+2])throw v(o);return xr.__wrap(r)}finally{a.__wbindgen_add_to_stack_pointer(16)}}toJson(){return v(a.deployhash_toJson(this.__wbg_ptr))}toString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.deployhash_toString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}}typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_deployprocessed_free(t>>>0));const v3=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_deploystrparams_free(t>>>0));class Ut{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,v3.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_deploystrparams_free(e)}constructor(e,n,r,o,i){const s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),c=m,l=w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),u=m;var d=b(r)?0:w(r,a.__wbindgen_malloc,a.__wbindgen_realloc),_=m,h=b(o)?0:w(o,a.__wbindgen_malloc,a.__wbindgen_realloc),p=m,g=b(i)?0:w(i,a.__wbindgen_malloc,a.__wbindgen_realloc);const D=a.deploystrparams_new(s,c,l,u,d,_,h,p,g,m);return this.__wbg_ptr=D>>>0,this}get secret_key(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_secret_key(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set secret_key(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.deploystrparams_set_secret_key(this.__wbg_ptr,n,m)}get timestamp(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_timestamp(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set timestamp(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.deploystrparams_set_timestamp(this.__wbg_ptr,n,m)}setDefaultTimestamp(){a.deploystrparams_setDefaultTimestamp(this.__wbg_ptr)}get ttl(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_ttl(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set ttl(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.deploystrparams_set_ttl(this.__wbg_ptr,n,m)}setDefaultTTL(){a.deploystrparams_setDefaultTTL(this.__wbg_ptr)}get chain_name(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_chain_name(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set chain_name(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.deploystrparams_set_chain_name(this.__wbg_ptr,n,m)}get session_account(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_session_account(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_account(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.deploystrparams_set_session_account(this.__wbg_ptr,n,m)}}const D3=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_deploysubscription_free(t>>>0));class Vh{static __unwrap(e){return e instanceof Vh?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,D3.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_deploysubscription_free(e)}get deployHash(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_deployprocessed_deploy_hash(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}set deployHash(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_deployprocessed_deploy_hash(this.__wbg_ptr,n,m)}get eventHandlerFn(){return v(a.__wbg_get_deploysubscription_eventHandlerFn(this.__wbg_ptr))}set eventHandlerFn(e){a.__wbg_set_deploysubscription_eventHandlerFn(this.__wbg_ptr,T(e))}constructor(e,n){const r=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),i=a.deploysubscription_new(r,m,T(n));return this.__wbg_ptr=i>>>0,this}}const AS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_deploywatcher_free(t>>>0));class jh{static __wrap(e){e>>>=0;const n=Object.create(jh.prototype);return n.__wbg_ptr=e,AS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,AS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_deploywatcher_free(e)}constructor(e,n){const r=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),i=a.deploywatcher_new(r,m,!b(n),b(n)?BigInt(0):n);return this.__wbg_ptr=i>>>0,this}subscribe(e){try{const o=a.__wbindgen_add_to_stack_pointer(-16),i=gS(e,a.__wbindgen_malloc);a.deploywatcher_subscribe(o,this.__wbg_ptr,i,m);var n=f()[o/4+0];if(f()[o/4+1])throw v(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}unsubscribe(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.deploywatcher_unsubscribe(this.__wbg_ptr,n,m)}start(){return v(a.deploywatcher_start(this.__wbg_ptr))}stop(){a.deploywatcher_stop(this.__wbg_ptr)}}const NS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_dictionaryaddr_free(t>>>0));class Tu{static __wrap(e){e>>>=0;const n=Object.create(Tu.prototype);return n.__wbg_ptr=e,NS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,NS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_dictionaryaddr_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=fn(e,a.__wbindgen_malloc);a.dictionaryaddr_new(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}}const RS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_dictionaryitemidentifier_free(t>>>0));class $t{static __wrap(e){e>>>=0;const n=Object.create($t.prototype);return n.__wbg_ptr=e,RS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,RS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_dictionaryitemidentifier_free(e)}static newFromAccountInfo(e,n,r){try{const c=a.__wbindgen_add_to_stack_pointer(-16),l=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),u=m,d=w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),_=m,h=w(r,a.__wbindgen_malloc,a.__wbindgen_realloc);a.dictionaryitemidentifier_newFromAccountInfo(c,l,u,d,_,h,m);var o=f()[c/4+0],i=f()[c/4+1];if(f()[c/4+2])throw v(i);return $t.__wrap(o)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static newFromContractInfo(e,n,r){try{const c=a.__wbindgen_add_to_stack_pointer(-16),l=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),u=m,d=w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),_=m,h=w(r,a.__wbindgen_malloc,a.__wbindgen_realloc);a.dictionaryitemidentifier_newFromContractInfo(c,l,u,d,_,h,m);var o=f()[c/4+0],i=f()[c/4+1];if(f()[c/4+2])throw v(i);return $t.__wrap(o)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static newFromSeedUref(e,n){try{const s=a.__wbindgen_add_to_stack_pointer(-16),c=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),l=m,u=w(n,a.__wbindgen_malloc,a.__wbindgen_realloc);a.dictionaryitemidentifier_newFromSeedUref(s,c,l,u,m);var r=f()[s/4+0],o=f()[s/4+1];if(f()[s/4+2])throw v(o);return $t.__wrap(r)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static newFromDictionaryKey(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.dictionaryitemidentifier_newFromDictionaryKey(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return $t.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}toJson(){return v(a.dictionaryitemidentifier_toJson(this.__wbg_ptr))}}const FS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_dictionaryitemstrparams_free(t>>>0));class To{static __wrap(e){e>>>=0;const n=Object.create(To.prototype);return n.__wbg_ptr=e,FS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,FS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_dictionaryitemstrparams_free(e)}constructor(){const e=a.dictionaryitemstrparams_new();return this.__wbg_ptr=e>>>0,this}setAccountNamedKey(e,n,r){const o=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),i=m,s=w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),c=m,l=w(r,a.__wbindgen_malloc,a.__wbindgen_realloc);a.dictionaryitemstrparams_setAccountNamedKey(this.__wbg_ptr,o,i,s,c,l,m)}setContractNamedKey(e,n,r){const o=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),i=m,s=w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),c=m,l=w(r,a.__wbindgen_malloc,a.__wbindgen_realloc);a.dictionaryitemstrparams_setContractNamedKey(this.__wbg_ptr,o,i,s,c,l,m)}setUref(e,n){const r=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m,i=w(n,a.__wbindgen_malloc,a.__wbindgen_realloc);a.dictionaryitemstrparams_setUref(this.__wbg_ptr,r,o,i,m)}setDictionary(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.dictionaryitemstrparams_setDictionary(this.__wbg_ptr,n,m)}toJson(){return v(a.dictionaryitemstrparams_toJson(this.__wbg_ptr))}}const OS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_digest_free(t>>>0));class Be{static __wrap(e){e>>>=0;const n=Object.create(Be.prototype);return n.__wbg_ptr=e,OS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,OS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_digest_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.digest_new_js_alias(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromString(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.digest_fromString(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Be.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromRaw(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=fn(e,a.__wbindgen_malloc);a.digest_fromRaw(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Be.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}toJson(){return v(a.digest_toJson(this.__wbg_ptr))}toString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.digest_toString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}}const E3=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_eraid_free(t>>>0));class C3{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,E3.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_eraid_free(e)}constructor(e){const n=a.eraid_new(e);return this.__wbg_ptr=n>>>0,this}value(){const e=a.eraid_value(this.__wbg_ptr);return BigInt.asUintN(64,e)}}typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_eventparseresult_free(t>>>0)),typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_executionresult_free(t>>>0)),typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_failure_free(t>>>0));const LS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getaccountresult_free(t>>>0));class Bh{static __wrap(e){e>>>=0;const n=Object.create(Bh.prototype);return n.__wbg_ptr=e,LS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,LS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getaccountresult_free(e)}get api_version(){return v(a.getaccountresult_api_version(this.__wbg_ptr))}get account(){return v(a.getaccountresult_account(this.__wbg_ptr))}get merkle_proof(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.getaccountresult_merkle_proof(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}toJson(){return v(a.getaccountresult_toJson(this.__wbg_ptr))}}const VS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getauctioninforesult_free(t>>>0));class Hh{static __wrap(e){e>>>=0;const n=Object.create(Hh.prototype);return n.__wbg_ptr=e,VS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,VS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getauctioninforesult_free(e)}get api_version(){return v(a.getauctioninforesult_api_version(this.__wbg_ptr))}get auction_state(){return v(a.getauctioninforesult_auction_state(this.__wbg_ptr))}toJson(){return v(a.getauctioninforesult_toJson(this.__wbg_ptr))}}const jS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getbalanceresult_free(t>>>0));class Uh{static __wrap(e){e>>>=0;const n=Object.create(Uh.prototype);return n.__wbg_ptr=e,jS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,jS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getbalanceresult_free(e)}get api_version(){return v(a.getbalanceresult_api_version(this.__wbg_ptr))}get balance_value(){return v(a.getbalanceresult_balance_value(this.__wbg_ptr))}get merkle_proof(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.getbalanceresult_merkle_proof(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}toJson(){return v(a.getbalanceresult_toJson(this.__wbg_ptr))}}const BS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getblockresult_free(t>>>0));class $h{static __wrap(e){e>>>=0;const n=Object.create($h.prototype);return n.__wbg_ptr=e,BS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,BS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getblockresult_free(e)}get api_version(){return v(a.getblockresult_api_version(this.__wbg_ptr))}get block(){return v(a.getblockresult_block(this.__wbg_ptr))}toJson(){return v(a.getblockresult_toJson(this.__wbg_ptr))}}const HS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getblocktransfersresult_free(t>>>0));class zh{static __wrap(e){e>>>=0;const n=Object.create(zh.prototype);return n.__wbg_ptr=e,HS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,HS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getblocktransfersresult_free(e)}get api_version(){return v(a.getblocktransfersresult_api_version(this.__wbg_ptr))}get block_hash(){const e=a.getblocktransfersresult_block_hash(this.__wbg_ptr);return 0===e?void 0:Or.__wrap(e)}get transfers(){return v(a.getblocktransfersresult_transfers(this.__wbg_ptr))}toJson(){return v(a.getblocktransfersresult_toJson(this.__wbg_ptr))}}const US=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getchainspecresult_free(t>>>0));class qh{static __wrap(e){e>>>=0;const n=Object.create(qh.prototype);return n.__wbg_ptr=e,US.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,US.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getchainspecresult_free(e)}get api_version(){return v(a.getchainspecresult_api_version(this.__wbg_ptr))}get chainspec_bytes(){return v(a.getchainspecresult_chainspec_bytes(this.__wbg_ptr))}toJson(){return v(a.getchainspecresult_toJson(this.__wbg_ptr))}}const $S=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getdeployresult_free(t>>>0));class Gh{static __wrap(e){e>>>=0;const n=Object.create(Gh.prototype);return n.__wbg_ptr=e,$S.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,$S.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getdeployresult_free(e)}get api_version(){return v(a.getdeployresult_api_version(this.__wbg_ptr))}get deploy(){const e=a.getdeployresult_deploy(this.__wbg_ptr);return ue.__wrap(e)}toJson(){return v(a.getdeployresult_toJson(this.__wbg_ptr))}}const zS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getdictionaryitemresult_free(t>>>0));class Wh{static __wrap(e){e>>>=0;const n=Object.create(Wh.prototype);return n.__wbg_ptr=e,zS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,zS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getdictionaryitemresult_free(e)}get api_version(){return v(a.getdictionaryitemresult_api_version(this.__wbg_ptr))}get dictionary_key(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.getdictionaryitemresult_dictionary_key(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}get stored_value(){return v(a.getdictionaryitemresult_stored_value(this.__wbg_ptr))}get merkle_proof(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.getdictionaryitemresult_merkle_proof(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}toJson(){return v(a.getdictionaryitemresult_toJson(this.__wbg_ptr))}}const qS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_geterainforesult_free(t>>>0));class Jh{static __wrap(e){e>>>=0;const n=Object.create(Jh.prototype);return n.__wbg_ptr=e,qS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,qS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_geterainforesult_free(e)}get api_version(){return v(a.geterainforesult_api_version(this.__wbg_ptr))}get era_summary(){return v(a.geterainforesult_era_summary(this.__wbg_ptr))}toJson(){return v(a.geterainforesult_toJson(this.__wbg_ptr))}}const GS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_geterasummaryresult_free(t>>>0));class Kh{static __wrap(e){e>>>=0;const n=Object.create(Kh.prototype);return n.__wbg_ptr=e,GS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,GS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_geterasummaryresult_free(e)}get api_version(){return v(a.geterasummaryresult_api_version(this.__wbg_ptr))}get era_summary(){return v(a.geterasummaryresult_era_summary(this.__wbg_ptr))}toJson(){return v(a.geterasummaryresult_toJson(this.__wbg_ptr))}}const WS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getnodestatusresult_free(t>>>0));class Zh{static __wrap(e){e>>>=0;const n=Object.create(Zh.prototype);return n.__wbg_ptr=e,WS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,WS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getnodestatusresult_free(e)}get api_version(){return v(a.getnodestatusresult_api_version(this.__wbg_ptr))}get chainspec_name(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.getnodestatusresult_chainspec_name(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}get starting_state_root_hash(){const e=a.getnodestatusresult_starting_state_root_hash(this.__wbg_ptr);return Be.__wrap(e)}get peers(){return v(a.getnodestatusresult_peers(this.__wbg_ptr))}get last_added_block_info(){return v(a.getnodestatusresult_last_added_block_info(this.__wbg_ptr))}get our_public_signing_key(){const e=a.getnodestatusresult_our_public_signing_key(this.__wbg_ptr);return 0===e?void 0:Pr.__wrap(e)}get round_length(){return v(a.getnodestatusresult_round_length(this.__wbg_ptr))}get next_upgrade(){return v(a.getnodestatusresult_next_upgrade(this.__wbg_ptr))}get build_version(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.getnodestatusresult_build_version(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}get uptime(){return v(a.getnodestatusresult_uptime(this.__wbg_ptr))}get reactor_state(){return v(a.getnodestatusresult_reactor_state(this.__wbg_ptr))}get last_progress(){return v(a.getnodestatusresult_last_progress(this.__wbg_ptr))}get available_block_range(){return v(a.getnodestatusresult_available_block_range(this.__wbg_ptr))}get block_sync(){return v(a.getnodestatusresult_block_sync(this.__wbg_ptr))}toJson(){return v(a.getnodestatusresult_toJson(this.__wbg_ptr))}}const JS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getpeersresult_free(t>>>0));class Yh{static __wrap(e){e>>>=0;const n=Object.create(Yh.prototype);return n.__wbg_ptr=e,JS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,JS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getpeersresult_free(e)}get api_version(){return v(a.getpeersresult_api_version(this.__wbg_ptr))}get peers(){return v(a.getpeersresult_peers(this.__wbg_ptr))}toJson(){return v(a.getpeersresult_toJson(this.__wbg_ptr))}}const KS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getstateroothashresult_free(t>>>0));class Qh{static __wrap(e){e>>>=0;const n=Object.create(Qh.prototype);return n.__wbg_ptr=e,KS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,KS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getstateroothashresult_free(e)}get api_version(){return v(a.getstateroothashresult_api_version(this.__wbg_ptr))}get state_root_hash(){const e=a.getstateroothashresult_state_root_hash(this.__wbg_ptr);return 0===e?void 0:Be.__wrap(e)}get state_root_hash_as_string(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.getstateroothashresult_state_root_hash_as_string(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}toString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.getstateroothashresult_toString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}toJson(){return v(a.getstateroothashresult_toJson(this.__wbg_ptr))}}const ZS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getvalidatorchangesresult_free(t>>>0));class Xh{static __wrap(e){e>>>=0;const n=Object.create(Xh.prototype);return n.__wbg_ptr=e,ZS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ZS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getvalidatorchangesresult_free(e)}get api_version(){return v(a.getvalidatorchangesresult_api_version(this.__wbg_ptr))}get changes(){return v(a.getvalidatorchangesresult_changes(this.__wbg_ptr))}toJson(){return v(a.getvalidatorchangesresult_toJson(this.__wbg_ptr))}}const YS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_globalstateidentifier_free(t>>>0));class Mt{static __wrap(e){e>>>=0;const n=Object.create(Mt.prototype);return n.__wbg_ptr=e,YS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,YS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_globalstateidentifier_free(e)}constructor(e){k(e,Mt);var n=e.__destroy_into_raw();const r=a.globalstateidentifier_new(n);return this.__wbg_ptr=r>>>0,this}static fromBlockHash(e){k(e,Or);var n=e.__destroy_into_raw();const r=a.globalstateidentifier_fromBlockHash(n);return Mt.__wrap(r)}static fromBlockHeight(e){const n=a.globalstateidentifier_fromBlockHeight(e);return Mt.__wrap(n)}static fromStateRootHash(e){k(e,Be);var n=e.__destroy_into_raw();const r=a.globalstateidentifier_fromStateRootHash(n);return Mt.__wrap(r)}toJson(){return v(a.globalstateidentifier_toJson(this.__wbg_ptr))}}const QS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_hashaddr_free(t>>>0));class Au{static __wrap(e){e>>>=0;const n=Object.create(Au.prototype);return n.__wbg_ptr=e,QS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,QS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_hashaddr_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=fn(e,a.__wbindgen_malloc);a.hashaddr_new(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}}typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_intounderlyingbytesource_free(t>>>0)),typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_intounderlyingsink_free(t>>>0)),typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_intounderlyingsource_free(t>>>0));const XS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_key_free(t>>>0));class Re{static __wrap(e){e>>>=0;const n=Object.create(Re.prototype);return n.__wbg_ptr=e,XS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,XS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_key_free(e)}constructor(e){try{const s=a.__wbindgen_add_to_stack_pointer(-16);k(e,Re);var n=e.__destroy_into_raw();a.key_new(s,n);var r=f()[s/4+0],o=f()[s/4+1];if(f()[s/4+2])throw v(o);return this.__wbg_ptr=r>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}toJson(){return v(a.key_toJson(this.__wbg_ptr))}static fromURef(e){k(e,Tn);var n=e.__destroy_into_raw();const r=a.key_fromURef(n);return Re.__wrap(r)}static fromDeployInfo(e){k(e,xr);var n=e.__destroy_into_raw();const r=a.key_fromDeployInfo(n);return Re.__wrap(r)}static fromAccount(e){k(e,Qt);var n=e.__destroy_into_raw();const r=a.key_fromAccount(n);return Re.__wrap(r)}static fromHash(e){k(e,Au);var n=e.__destroy_into_raw();const r=a.key_fromHash(n);return Re.__wrap(r)}static fromTransfer(e){const n=fn(e,a.__wbindgen_malloc),o=a.key_fromTransfer(n,m);return ig.__wrap(o)}static fromEraInfo(e){k(e,C3);var n=e.__destroy_into_raw();const r=a.key_fromEraInfo(n);return Re.__wrap(r)}static fromBalance(e){k(e,Ru);var n=e.__destroy_into_raw();const r=a.key_fromBalance(n);return Re.__wrap(r)}static fromBid(e){k(e,Qt);var n=e.__destroy_into_raw();const r=a.key_fromBid(n);return Re.__wrap(r)}static fromWithdraw(e){k(e,Qt);var n=e.__destroy_into_raw();const r=a.key_fromWithdraw(n);return Re.__wrap(r)}static fromDictionaryAddr(e){k(e,Tu);var n=e.__destroy_into_raw();const r=a.key_fromDictionaryAddr(n);return Re.__wrap(r)}asDictionaryAddr(){const e=a.key_asDictionaryAddr(this.__wbg_ptr);return 0===e?void 0:Tu.__wrap(e)}static fromEraSummary(){const e=a.key_fromEraSummary();return Re.__wrap(e)}static fromUnbond(e){k(e,Qt);var n=e.__destroy_into_raw();const r=a.key_fromUnbond(n);return Re.__wrap(r)}static fromChainspecRegistry(){const e=a.key_fromChainspecRegistry();return Re.__wrap(e)}static fromChecksumRegistry(){const e=a.key_fromChecksumRegistry();return Re.__wrap(e)}toFormattedString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.key_toFormattedString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}static fromFormattedString(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.key_fromFormattedString(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Re.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromDictionaryKey(e,n){k(e,Tn);var r=e.__destroy_into_raw();const o=fn(n,a.__wbindgen_malloc),s=a.key_fromDictionaryKey(r,o,m);return Re.__wrap(s)}isDictionaryKey(){return 0!==a.key_isDictionaryKey(this.__wbg_ptr)}intoAccount(){const e=this.__destroy_into_raw(),n=a.key_intoAccount(e);return 0===n?void 0:Qt.__wrap(n)}intoHash(){const e=this.__destroy_into_raw(),n=a.key_intoHash(e);return 0===n?void 0:Au.__wrap(n)}asBalance(){const e=a.key_asBalance(this.__wbg_ptr);return 0===e?void 0:Ru.__wrap(e)}intoURef(){const e=this.__destroy_into_raw(),n=a.key_intoURef(e);return 0===n?void 0:Tn.__wrap(n)}urefToHash(){const e=a.key_urefToHash(this.__wbg_ptr);return 0===e?void 0:Re.__wrap(e)}withdrawToUnbond(){const e=a.key_withdrawToUnbond(this.__wbg_ptr);return 0===e?void 0:Re.__wrap(e)}}const e1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_listrpcsresult_free(t>>>0));class eg{static __wrap(e){e>>>=0;const n=Object.create(eg.prototype);return n.__wbg_ptr=e,e1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,e1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_listrpcsresult_free(e)}get api_version(){return v(a.listrpcsresult_api_version(this.__wbg_ptr))}get name(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.listrpcsresult_name(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}get schema(){return v(a.listrpcsresult_schema(this.__wbg_ptr))}toJson(){return v(a.listrpcsresult_toJson(this.__wbg_ptr))}}const t1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_path_free(t>>>0));class Mo{static __wrap(e){e>>>=0;const n=Object.create(Mo.prototype);return n.__wbg_ptr=e,t1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,t1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_path_free(e)}constructor(e){const n=a.path_new(T(e));return this.__wbg_ptr=n>>>0,this}static fromArray(e){const n=a.path_fromArray(T(e));return Mo.__wrap(n)}toJson(){return v(a.path_toJson(this.__wbg_ptr))}toString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.path_toString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}is_empty(){return 0!==a.path_is_empty(this.__wbg_ptr)}}const k3=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_paymentstrparams_free(t>>>0));class Gn{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,k3.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_paymentstrparams_free(e)}constructor(e,n,r,o,i,s,c,l,u,d,_){var h=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),p=m,g=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),y=m,D=b(r)?0:w(r,a.__wbindgen_malloc,a.__wbindgen_realloc),C=m,E=b(o)?0:w(o,a.__wbindgen_malloc,a.__wbindgen_realloc),O=m,$=b(i)?0:w(i,a.__wbindgen_malloc,a.__wbindgen_realloc),te=m,ce=b(s)?0:w(s,a.__wbindgen_malloc,a.__wbindgen_realloc),Fe=m,Xt=b(l)?0:w(l,a.__wbindgen_malloc,a.__wbindgen_realloc),Ji=m,$a=b(u)?0:w(u,a.__wbindgen_malloc,a.__wbindgen_realloc),Ug=m,$g=b(d)?0:w(d,a.__wbindgen_malloc,a.__wbindgen_realloc),zg=m,qg=b(_)?0:w(_,a.__wbindgen_malloc,a.__wbindgen_realloc),Gg=m;const Wg=a.paymentstrparams_new(h,p,g,y,D,C,E,O,$,te,ce,Fe,b(c)?0:T(c),Xt,Ji,$a,Ug,$g,zg,qg,Gg);return this.__wbg_ptr=Wg>>>0,this}get payment_amount(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_amount(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_amount(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_amount(this.__wbg_ptr,n,m)}get payment_hash(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_hash(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_hash(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_hash(this.__wbg_ptr,n,m)}get payment_name(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_name(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_name(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_name(this.__wbg_ptr,n,m)}get payment_package_hash(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_package_hash(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_package_hash(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_package_hash(this.__wbg_ptr,n,m)}get payment_package_name(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_package_name(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_package_name(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_package_name(this.__wbg_ptr,n,m)}get payment_path(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_path(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_path(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_path(this.__wbg_ptr,n,m)}get payment_args_simple(){return v(a.paymentstrparams_payment_args_simple(this.__wbg_ptr))}set payment_args_simple(e){a.paymentstrparams_set_payment_args_simple(this.__wbg_ptr,T(e))}get payment_args_json(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_args_json(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_args_json(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_args_json(this.__wbg_ptr,n,m)}get payment_args_complex(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_args_complex(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_args_complex(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_args_complex(this.__wbg_ptr,n,m)}get payment_version(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_version(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_version(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_version(this.__wbg_ptr,n,m)}get payment_entry_point(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_entry_point(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_entry_point(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_entry_point(this.__wbg_ptr,n,m)}}typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_peerentry_free(t>>>0));const n1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_publickey_free(t>>>0));class Pr{static __wrap(e){e>>>=0;const n=Object.create(Pr.prototype);return n.__wbg_ptr=e,n1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,n1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_publickey_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.publickey_new_js_alias(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromUint8Array(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=fn(e,a.__wbindgen_malloc);a.publickey_fromUint8Array(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Pr.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}toAccountHash(){const e=a.publickey_toAccountHash(this.__wbg_ptr);return Qt.__wrap(e)}toPurseUref(){const e=a.publickey_toPurseUref(this.__wbg_ptr);return Tn.__wrap(e)}toJson(){return v(a.publickey_toJson(this.__wbg_ptr))}}const r1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_purseidentifier_free(t>>>0));class Bi{static __wrap(e){e>>>=0;const n=Object.create(Bi.prototype);return n.__wbg_ptr=e,r1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,r1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_purseidentifier_free(e)}constructor(e){k(e,Pr);var n=e.__destroy_into_raw();const r=a.purseidentifier_fromPublicKey(n);return this.__wbg_ptr=r>>>0,this}static fromAccountHash(e){k(e,Qt);var n=e.__destroy_into_raw();const r=a.purseidentifier_fromAccountHash(n);return Bi.__wrap(r)}static fromURef(e){k(e,Tn);var n=e.__destroy_into_raw();const r=a.purseidentifier_fromURef(n);return Bi.__wrap(r)}toJson(){return v(a.purseidentifier_toJson(this.__wbg_ptr))}}const o1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_putdeployresult_free(t>>>0));class tg{static __wrap(e){e>>>=0;const n=Object.create(tg.prototype);return n.__wbg_ptr=e,o1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,o1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_putdeployresult_free(e)}get api_version(){return v(a.putdeployresult_api_version(this.__wbg_ptr))}get deploy_hash(){const e=a.putdeployresult_deploy_hash(this.__wbg_ptr);return xr.__wrap(e)}toJson(){return v(a.putdeployresult_toJson(this.__wbg_ptr))}}const i1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_querybalanceresult_free(t>>>0));class ng{static __wrap(e){e>>>=0;const n=Object.create(ng.prototype);return n.__wbg_ptr=e,i1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,i1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_querybalanceresult_free(e)}get api_version(){return v(a.querybalanceresult_api_version(this.__wbg_ptr))}get balance(){return v(a.querybalanceresult_balance(this.__wbg_ptr))}toJson(){return v(a.querybalanceresult_toJson(this.__wbg_ptr))}}const s1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_queryglobalstateresult_free(t>>>0));class rg{static __wrap(e){e>>>=0;const n=Object.create(rg.prototype);return n.__wbg_ptr=e,s1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,s1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_queryglobalstateresult_free(e)}get api_version(){return v(a.queryglobalstateresult_api_version(this.__wbg_ptr))}get block_header(){return v(a.queryglobalstateresult_block_header(this.__wbg_ptr))}get stored_value(){return v(a.queryglobalstateresult_stored_value(this.__wbg_ptr))}get merkle_proof(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.queryglobalstateresult_merkle_proof(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}toJson(){return v(a.queryglobalstateresult_toJson(this.__wbg_ptr))}}const N3=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_sdk_free(t>>>0));class R3{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,N3.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_sdk_free(e)}deploy(e,n,r,o,i){k(e,Ut);var s=e.__destroy_into_raw();k(n,ko);var c=n.__destroy_into_raw();k(r,Gn);var l=r.__destroy_into_raw(),u=b(i)?0:w(i,a.__wbindgen_malloc,a.__wbindgen_realloc),d=m;return v(a.sdk_deploy(this.__wbg_ptr,s,c,l,b(o)?3:o,u,d))}get_balance_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_balance_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Ma.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_balance(e){let n=0;return b(e)||(k(e,Ma),n=e.__destroy_into_raw()),v(a.sdk_get_balance(this.__wbg_ptr,n))}state_get_balance(e){let n=0;return b(e)||(k(e,Ma),n=e.__destroy_into_raw()),v(a.sdk_state_get_balance(this.__wbg_ptr,n))}get_era_summary_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_era_summary_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Pu.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_era_summary(e){let n=0;return b(e)||(k(e,Pu),n=e.__destroy_into_raw()),v(a.sdk_get_era_summary(this.__wbg_ptr,n))}query_global_state_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_query_global_state_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Hu.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}query_global_state(e){let n=0;return b(e)||(k(e,Hu),n=e.__destroy_into_raw()),v(a.sdk_query_global_state(this.__wbg_ptr,n))}query_contract_key_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_query_contract_key_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Bu.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}query_contract_key(e){let n=0;return b(e)||(k(e,Bu),n=e.__destroy_into_raw()),v(a.sdk_query_contract_key(this.__wbg_ptr,n))}get_auction_info_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_auction_info_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Fu.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_auction_info(e){let n=0;return b(e)||(k(e,Fu),n=e.__destroy_into_raw()),v(a.sdk_get_auction_info(this.__wbg_ptr,n))}get_block_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_block_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return ka.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_block(e){let n=0;return b(e)||(k(e,ka),n=e.__destroy_into_raw()),v(a.sdk_get_block(this.__wbg_ptr,n))}chain_get_block(e){let n=0;return b(e)||(k(e,ka),n=e.__destroy_into_raw()),v(a.sdk_chain_get_block(this.__wbg_ptr,n))}get_dictionary_item_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_dictionary_item_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Na.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_dictionary_item(e){let n=0;return b(e)||(k(e,Na),n=e.__destroy_into_raw()),v(a.sdk_get_dictionary_item(this.__wbg_ptr,n))}state_get_dictionary_item(e){let n=0;return b(e)||(k(e,Na),n=e.__destroy_into_raw()),v(a.sdk_state_get_dictionary_item(this.__wbg_ptr,n))}get_era_info_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_era_info_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return xu.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_era_info(e){let n=0;return b(e)||(k(e,xu),n=e.__destroy_into_raw()),v(a.sdk_get_era_info(this.__wbg_ptr,n))}make_deploy(e,n,r){try{const d=a.__wbindgen_add_to_stack_pointer(-16);k(e,Ut);var o=e.__destroy_into_raw();k(n,ko);var i=n.__destroy_into_raw();k(r,Gn);var s=r.__destroy_into_raw();a.sdk_make_deploy(d,this.__wbg_ptr,o,i,s);var c=f()[d/4+0],l=f()[d/4+1];if(f()[d/4+2])throw v(l);return ue.__wrap(c)}finally{a.__wbindgen_add_to_stack_pointer(16)}}call_entrypoint(e,n,r,o){k(e,Ut);var i=e.__destroy_into_raw();k(n,ko);var s=n.__destroy_into_raw();const c=w(r,a.__wbindgen_malloc,a.__wbindgen_realloc),l=m;var u=b(o)?0:w(o,a.__wbindgen_malloc,a.__wbindgen_realloc);return v(a.sdk_call_entrypoint(this.__wbg_ptr,i,s,c,l,u,m))}transfer(e,n,r,o,i,s,c){const l=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),u=m,d=w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),_=m;var h=b(r)?0:w(r,a.__wbindgen_malloc,a.__wbindgen_realloc),p=m;k(o,Ut);var g=o.__destroy_into_raw();k(i,Gn);var y=i.__destroy_into_raw(),D=b(c)?0:w(c,a.__wbindgen_malloc,a.__wbindgen_realloc),C=m;return v(a.sdk_transfer(this.__wbg_ptr,l,u,d,_,h,p,g,y,b(s)?3:s,D,C))}get_deploy_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_deploy_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Aa.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_deploy(e){let n=0;return b(e)||(k(e,Aa),n=e.__destroy_into_raw()),v(a.sdk_get_deploy(this.__wbg_ptr,n))}info_get_deploy(e){let n=0;return b(e)||(k(e,Aa),n=e.__destroy_into_raw()),v(a.sdk_info_get_deploy(this.__wbg_ptr,n))}get_speculative_exec_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_speculative_exec_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Lu.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}speculative_exec(e){let n=0;return b(e)||(k(e,Lu),n=e.__destroy_into_raw()),v(a.sdk_speculative_exec(this.__wbg_ptr,n))}sign_deploy(e,n){k(e,ue);var r=e.__destroy_into_raw();const o=w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),s=a.sdk_sign_deploy(this.__wbg_ptr,r,o,m);return ue.__wrap(s)}query_contract_dict_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_query_contract_dict_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return ju.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}query_contract_dict(e){let n=0;return b(e)||(k(e,ju),n=e.__destroy_into_raw()),v(a.sdk_query_contract_dict(this.__wbg_ptr,n))}constructor(e,n){var r=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const i=a.sdk_new(r,m,b(n)?3:n);return this.__wbg_ptr=i>>>0,this}getNodeAddress(e){let n,r;try{const l=a.__wbindgen_add_to_stack_pointer(-16);var o=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sdk_getNodeAddress(l,this.__wbg_ptr,o,m);var s=f()[l/4+0],c=f()[l/4+1];return n=s,r=c,M(s,c)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(n,r,1)}}setNodeAddress(e){try{const s=a.__wbindgen_add_to_stack_pointer(-16);var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sdk_setNodeAddress(s,this.__wbg_ptr,n,m);var o=f()[s/4+0];if(f()[s/4+1])throw v(o)}finally{a.__wbindgen_add_to_stack_pointer(16)}}getVerbosity(e){return a.sdk_getVerbosity(this.__wbg_ptr,b(e)?3:e)}setVerbosity(e){try{const o=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_setVerbosity(o,this.__wbg_ptr,b(e)?3:e);var n=f()[o/4+0];if(f()[o/4+1])throw v(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}put_deploy(e,n,r){k(e,ue);var o=e.__destroy_into_raw(),i=b(r)?0:w(r,a.__wbindgen_malloc,a.__wbindgen_realloc),s=m;return v(a.sdk_put_deploy(this.__wbg_ptr,o,b(n)?3:n,i,s))}account_put_deploy(e,n,r){k(e,ue);var o=e.__destroy_into_raw(),i=b(r)?0:w(r,a.__wbindgen_malloc,a.__wbindgen_realloc),s=m;return v(a.sdk_account_put_deploy(this.__wbg_ptr,o,b(n)?3:n,i,s))}get_account_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_account_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Ta.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_account(e){let n=0;return b(e)||(k(e,Ta),n=e.__destroy_into_raw()),v(a.sdk_get_account(this.__wbg_ptr,n))}state_get_account_info(e){let n=0;return b(e)||(k(e,Ta),n=e.__destroy_into_raw()),v(a.sdk_state_get_account_info(this.__wbg_ptr,n))}get_block_transfers_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_block_transfers_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Ou.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_block_transfers(e){let n=0;return b(e)||(k(e,Ou),n=e.__destroy_into_raw()),v(a.sdk_get_block_transfers(this.__wbg_ptr,n))}get_state_root_hash_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_state_root_hash_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Ra.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_state_root_hash(e){let n=0;return b(e)||(k(e,Ra),n=e.__destroy_into_raw()),v(a.sdk_get_state_root_hash(this.__wbg_ptr,n))}chain_get_state_root_hash(e){let n=0;return b(e)||(k(e,Ra),n=e.__destroy_into_raw()),v(a.sdk_chain_get_state_root_hash(this.__wbg_ptr,n))}query_balance_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_query_balance_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Vu.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}query_balance(e){let n=0;return b(e)||(k(e,Vu),n=e.__destroy_into_raw()),v(a.sdk_query_balance(this.__wbg_ptr,n))}make_transfer(e,n,r,o,i){try{const p=a.__wbindgen_add_to_stack_pointer(-16),g=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),y=m,D=w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),C=m;var s=b(r)?0:w(r,a.__wbindgen_malloc,a.__wbindgen_realloc),c=m;k(o,Ut);var l=o.__destroy_into_raw();k(i,Gn);var u=i.__destroy_into_raw();a.sdk_make_transfer(p,this.__wbg_ptr,g,y,D,C,s,c,l,u);var d=f()[p/4+0],_=f()[p/4+1];if(f()[p/4+2])throw v(_);return ue.__wrap(d)}finally{a.__wbindgen_add_to_stack_pointer(16)}}watchDeploy(e,n){const r=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),i=a.sdk_watchDeploy(this.__wbg_ptr,r,m,!b(n),b(n)?0:n);return jh.__wrap(i)}waitDeploy(e,n,r){const o=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),i=m,s=w(n,a.__wbindgen_malloc,a.__wbindgen_realloc);return v(a.sdk_waitDeploy(this.__wbg_ptr,o,i,s,m,!b(r),b(r)?0:r))}get_chainspec(e,n){var r=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;return v(a.sdk_get_chainspec(this.__wbg_ptr,b(e)?3:e,r,o))}get_node_status(e,n){var r=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;return v(a.sdk_get_node_status(this.__wbg_ptr,b(e)?3:e,r,o))}get_peers(e,n){var r=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;return v(a.sdk_get_peers(this.__wbg_ptr,b(e)?3:e,r,o))}get_validator_changes(e,n){var r=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;return v(a.sdk_get_validator_changes(this.__wbg_ptr,b(e)?3:e,r,o))}list_rpcs(e,n){var r=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;return v(a.sdk_list_rpcs(this.__wbg_ptr,b(e)?3:e,r,o))}install(e,n,r,o){k(e,Ut);var i=e.__destroy_into_raw();k(n,ko);var s=n.__destroy_into_raw();const c=w(r,a.__wbindgen_malloc,a.__wbindgen_realloc),l=m;var u=b(o)?0:w(o,a.__wbindgen_malloc,a.__wbindgen_realloc);return v(a.sdk_install(this.__wbg_ptr,i,s,c,l,u,m))}speculative_deploy(e,n,r,o,i,s,c){k(e,Ut);var l=e.__destroy_into_raw();k(n,ko);var u=n.__destroy_into_raw();k(r,Gn);var d=r.__destroy_into_raw(),_=b(o)?0:w(o,a.__wbindgen_malloc,a.__wbindgen_realloc),h=m;let p=0;b(i)||(k(i,Le),p=i.__destroy_into_raw());var g=b(c)?0:w(c,a.__wbindgen_malloc,a.__wbindgen_realloc),y=m;return v(a.sdk_speculative_deploy(this.__wbg_ptr,l,u,d,_,h,p,b(s)?3:s,g,y))}speculative_transfer(e,n,r,o,i,s,c,l,u){const d=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),_=m,h=w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),p=m;var g=b(r)?0:w(r,a.__wbindgen_malloc,a.__wbindgen_realloc),y=m;k(o,Ut);var D=o.__destroy_into_raw();k(i,Gn);var C=i.__destroy_into_raw(),E=b(s)?0:w(s,a.__wbindgen_malloc,a.__wbindgen_realloc),O=m;let $=0;b(c)||(k(c,Le),$=c.__destroy_into_raw());var te=b(u)?0:w(u,a.__wbindgen_malloc,a.__wbindgen_realloc),ce=m;return v(a.sdk_speculative_transfer(this.__wbg_ptr,d,_,h,p,g,y,D,C,E,O,$,b(l)?3:l,te,ce))}}const F3=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_sessionstrparams_free(t>>>0));class ko{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,F3.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_sessionstrparams_free(e)}constructor(e,n,r,o,i,s,c,l,u,d,_,h){var p=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc),g=m,y=b(n)?0:w(n,a.__wbindgen_malloc,a.__wbindgen_realloc),D=m,C=b(r)?0:w(r,a.__wbindgen_malloc,a.__wbindgen_realloc),E=m,O=b(o)?0:w(o,a.__wbindgen_malloc,a.__wbindgen_realloc),$=m,te=b(i)?0:w(i,a.__wbindgen_malloc,a.__wbindgen_realloc),ce=m;let Fe=0;b(s)||(k(s,lr),Fe=s.__destroy_into_raw());var Xt=b(l)?0:w(l,a.__wbindgen_malloc,a.__wbindgen_realloc),Ji=m,$a=b(u)?0:w(u,a.__wbindgen_malloc,a.__wbindgen_realloc),Ug=m,$g=b(d)?0:w(d,a.__wbindgen_malloc,a.__wbindgen_realloc),zg=m,qg=b(_)?0:w(_,a.__wbindgen_malloc,a.__wbindgen_realloc),Gg=m;const Wg=a.sessionstrparams_new(p,g,y,D,C,E,O,$,te,ce,Fe,b(c)?0:T(c),Xt,Ji,$a,Ug,$g,zg,qg,Gg,b(h)?16777215:h?1:0);return this.__wbg_ptr=Wg>>>0,this}get session_hash(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.sessionstrparams_session_hash(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_hash(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_hash(this.__wbg_ptr,n,m)}get session_name(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.sessionstrparams_session_name(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_name(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_name(this.__wbg_ptr,n,m)}get session_package_hash(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.sessionstrparams_session_package_hash(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_package_hash(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_package_hash(this.__wbg_ptr,n,m)}get session_package_name(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.sessionstrparams_session_package_name(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_package_name(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_package_name(this.__wbg_ptr,n,m)}get session_path(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.sessionstrparams_session_path(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_path(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_path(this.__wbg_ptr,n,m)}get session_bytes(){const e=a.sessionstrparams_session_bytes(this.__wbg_ptr);return 0===e?void 0:lr.__wrap(e)}set session_bytes(e){k(e,lr);var n=e.__destroy_into_raw();a.sessionstrparams_set_session_bytes(this.__wbg_ptr,n)}get session_args_simple(){const e=a.sessionstrparams_session_args_simple(this.__wbg_ptr);return 0===e?void 0:Lh.__wrap(e)}set session_args_simple(e){a.sessionstrparams_set_session_args_simple(this.__wbg_ptr,T(e))}get session_args_json(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.sessionstrparams_session_args_json(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_args_json(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_args_json(this.__wbg_ptr,n,m)}get session_args_complex(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.sessionstrparams_session_args_complex(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_args_complex(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_args_complex(this.__wbg_ptr,n,m)}get session_version(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.sessionstrparams_session_version(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_version(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_version(this.__wbg_ptr,n,m)}get session_entry_point(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.sessionstrparams_session_entry_point(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_entry_point(e){const n=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_entry_point(this.__wbg_ptr,n,m)}get is_session_transfer(){const e=a.sessionstrparams_is_session_transfer(this.__wbg_ptr);return 16777215===e?void 0:0!==e}set is_session_transfer(e){a.sessionstrparams_set_is_session_transfer(this.__wbg_ptr,e)}}typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_signatureresponse_free(t>>>0));const a1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_speculativeexecresult_free(t>>>0));class og{static __wrap(e){e>>>=0;const n=Object.create(og.prototype);return n.__wbg_ptr=e,a1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,a1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_speculativeexecresult_free(e)}get api_version(){return v(a.speculativeexecresult_api_version(this.__wbg_ptr))}get block_hash(){const e=a.speculativeexecresult_block_hash(this.__wbg_ptr);return Or.__wrap(e)}get execution_result(){return v(a.speculativeexecresult_execution_result(this.__wbg_ptr))}toJson(){return v(a.speculativeexecresult_toJson(this.__wbg_ptr))}}typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_success_free(t>>>0));const l1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_transferaddr_free(t>>>0));class ig{static __wrap(e){e>>>=0;const n=Object.create(ig.prototype);return n.__wbg_ptr=e,l1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,l1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_transferaddr_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=fn(e,a.__wbindgen_malloc);a.transferaddr_new(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}}const u1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_uref_free(t>>>0));class Tn{static __wrap(e){e>>>=0;const n=Object.create(Tn.prototype);return n.__wbg_ptr=e,u1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,u1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_uref_free(e)}constructor(e,n){try{const s=a.__wbindgen_add_to_stack_pointer(-16),c=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.uref_new_js_alias(s,c,m,n);var r=f()[s/4+0],o=f()[s/4+1];if(f()[s/4+2])throw v(o);return this.__wbg_ptr=r>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromFormattedStr(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.uref_fromFormattedStr(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return Tn.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromUint8Array(e,n){const r=fn(e,a.__wbindgen_malloc),i=a.uref_fromUint8Array(r,m,n);return Tn.__wrap(i)}toFormattedString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.uref_toFormattedString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}toJson(){return v(a.uref_toJson(this.__wbg_ptr))}}const d1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_urefaddr_free(t>>>0));class Ru{static __wrap(e){e>>>=0;const n=Object.create(Ru.prototype);return n.__wbg_ptr=e,d1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,d1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_urefaddr_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=fn(e,a.__wbindgen_malloc);a.urefaddr_new(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw v(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}}const _1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getaccountoptions_free(t>>>0));class Ta{static __wrap(e){e>>>=0;const n=Object.create(Ta.prototype);return n.__wbg_ptr=e,_1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,_1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getaccountoptions_free(e)}get account_identifier(){const e=a.__wbg_get_getaccountoptions_account_identifier(this.__wbg_ptr);return 0===e?void 0:So.__wrap(e)}set account_identifier(e){let n=0;b(e)||(k(e,So),n=e.__destroy_into_raw()),a.__wbg_set_getaccountoptions_account_identifier(this.__wbg_ptr,n)}get account_identifier_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getaccountoptions_account_identifier_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set account_identifier_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getaccountoptions_account_identifier_as_string(this.__wbg_ptr,n,m)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getaccountoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getaccountoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get maybe_block_identifier(){const e=a.__wbg_get_getaccountoptions_maybe_block_identifier(this.__wbg_ptr);return 0===e?void 0:Le.__wrap(e)}set maybe_block_identifier(e){let n=0;b(e)||(k(e,Le),n=e.__destroy_into_raw()),a.__wbg_set_getaccountoptions_maybe_block_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getaccountoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getaccountoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getaccountoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getaccountoptions_verbosity(this.__wbg_ptr,b(e)?3:e)}}const f1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getauctioninfooptions_free(t>>>0));class Fu{static __wrap(e){e>>>=0;const n=Object.create(Fu.prototype);return n.__wbg_ptr=e,f1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,f1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getauctioninfooptions_free(e)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getauctioninfooptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getauctioninfooptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get maybe_block_identifier(){const e=a.__wbg_get_getauctioninfooptions_maybe_block_identifier(this.__wbg_ptr);return 0===e?void 0:Le.__wrap(e)}set maybe_block_identifier(e){let n=0;b(e)||(k(e,Le),n=e.__destroy_into_raw()),a.__wbg_set_getauctioninfooptions_maybe_block_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getauctioninfooptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getauctioninfooptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getauctioninfooptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getauctioninfooptions_verbosity(this.__wbg_ptr,b(e)?3:e)}}const p1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getbalanceoptions_free(t>>>0));class Ma{static __wrap(e){e>>>=0;const n=Object.create(Ma.prototype);return n.__wbg_ptr=e,p1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,p1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getbalanceoptions_free(e)}get state_root_hash_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getbalanceoptions_state_root_hash_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set state_root_hash_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getbalanceoptions_state_root_hash_as_string(this.__wbg_ptr,n,m)}get state_root_hash(){const e=a.__wbg_get_getbalanceoptions_state_root_hash(this.__wbg_ptr);return 0===e?void 0:Be.__wrap(e)}set state_root_hash(e){let n=0;b(e)||(k(e,Be),n=e.__destroy_into_raw()),a.__wbg_set_getbalanceoptions_state_root_hash(this.__wbg_ptr,n)}get purse_uref_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getbalanceoptions_purse_uref_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set purse_uref_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getbalanceoptions_purse_uref_as_string(this.__wbg_ptr,n,m)}get purse_uref(){const e=a.__wbg_get_getbalanceoptions_purse_uref(this.__wbg_ptr);return 0===e?void 0:Tn.__wrap(e)}set purse_uref(e){let n=0;b(e)||(k(e,Tn),n=e.__destroy_into_raw()),a.__wbg_set_getbalanceoptions_purse_uref(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getbalanceoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getbalanceoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getbalanceoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getbalanceoptions_verbosity(this.__wbg_ptr,b(e)?3:e)}}const h1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getblockoptions_free(t>>>0));class ka{static __wrap(e){e>>>=0;const n=Object.create(ka.prototype);return n.__wbg_ptr=e,h1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,h1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getblockoptions_free(e)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getauctioninfooptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getauctioninfooptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get maybe_block_identifier(){const e=a.__wbg_get_getauctioninfooptions_maybe_block_identifier(this.__wbg_ptr);return 0===e?void 0:Le.__wrap(e)}set maybe_block_identifier(e){let n=0;b(e)||(k(e,Le),n=e.__destroy_into_raw()),a.__wbg_set_getauctioninfooptions_maybe_block_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getauctioninfooptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getauctioninfooptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getauctioninfooptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getauctioninfooptions_verbosity(this.__wbg_ptr,b(e)?3:e)}}const g1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getblocktransfersoptions_free(t>>>0));class Ou{static __wrap(e){e>>>=0;const n=Object.create(Ou.prototype);return n.__wbg_ptr=e,g1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,g1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getblocktransfersoptions_free(e)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getblocktransfersoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getblocktransfersoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get maybe_block_identifier(){const e=a.__wbg_get_getaccountoptions_maybe_block_identifier(this.__wbg_ptr);return 0===e?void 0:Le.__wrap(e)}set maybe_block_identifier(e){let n=0;b(e)||(k(e,Le),n=e.__destroy_into_raw()),a.__wbg_set_getaccountoptions_maybe_block_identifier(this.__wbg_ptr,n)}get verbosity(){const e=a.__wbg_get_getblocktransfersoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getblocktransfersoptions_verbosity(this.__wbg_ptr,b(e)?3:e)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getblocktransfersoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getblocktransfersoptions_node_address(this.__wbg_ptr,n,m)}}const m1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getdeployoptions_free(t>>>0));class Aa{static __wrap(e){e>>>=0;const n=Object.create(Aa.prototype);return n.__wbg_ptr=e,m1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,m1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getdeployoptions_free(e)}get deploy_hash_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getdeployoptions_deploy_hash_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set deploy_hash_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getdeployoptions_deploy_hash_as_string(this.__wbg_ptr,n,m)}get deploy_hash(){const e=a.__wbg_get_getdeployoptions_deploy_hash(this.__wbg_ptr);return 0===e?void 0:xr.__wrap(e)}set deploy_hash(e){let n=0;b(e)||(k(e,xr),n=e.__destroy_into_raw()),a.__wbg_set_getdeployoptions_deploy_hash(this.__wbg_ptr,n)}get finalized_approvals(){const e=a.__wbg_get_getdeployoptions_finalized_approvals(this.__wbg_ptr);return 16777215===e?void 0:0!==e}set finalized_approvals(e){a.__wbg_set_getdeployoptions_finalized_approvals(this.__wbg_ptr,b(e)?16777215:e?1:0)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getdeployoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getdeployoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getdeployoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getdeployoptions_verbosity(this.__wbg_ptr,b(e)?3:e)}}const y1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getdictionaryitemoptions_free(t>>>0));class Na{static __wrap(e){e>>>=0;const n=Object.create(Na.prototype);return n.__wbg_ptr=e,y1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,y1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getdictionaryitemoptions_free(e)}get state_root_hash_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getdictionaryitemoptions_state_root_hash_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set state_root_hash_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getdictionaryitemoptions_state_root_hash_as_string(this.__wbg_ptr,n,m)}get state_root_hash(){const e=a.__wbg_get_getdictionaryitemoptions_state_root_hash(this.__wbg_ptr);return 0===e?void 0:Be.__wrap(e)}set state_root_hash(e){let n=0;b(e)||(k(e,Be),n=e.__destroy_into_raw()),a.__wbg_set_getdictionaryitemoptions_state_root_hash(this.__wbg_ptr,n)}get dictionary_item_params(){const e=a.__wbg_get_getdictionaryitemoptions_dictionary_item_params(this.__wbg_ptr);return 0===e?void 0:To.__wrap(e)}set dictionary_item_params(e){let n=0;b(e)||(k(e,To),n=e.__destroy_into_raw()),a.__wbg_set_getdictionaryitemoptions_dictionary_item_params(this.__wbg_ptr,n)}get dictionary_item_identifier(){const e=a.__wbg_get_getdictionaryitemoptions_dictionary_item_identifier(this.__wbg_ptr);return 0===e?void 0:$t.__wrap(e)}set dictionary_item_identifier(e){let n=0;b(e)||(k(e,$t),n=e.__destroy_into_raw()),a.__wbg_set_getdictionaryitemoptions_dictionary_item_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getdictionaryitemoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getdictionaryitemoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getdictionaryitemoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getdictionaryitemoptions_verbosity(this.__wbg_ptr,b(e)?3:e)}}const w1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_geterainfooptions_free(t>>>0));class xu{static __wrap(e){e>>>=0;const n=Object.create(xu.prototype);return n.__wbg_ptr=e,w1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,w1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_geterainfooptions_free(e)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getauctioninfooptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getauctioninfooptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get maybe_block_identifier(){const e=a.__wbg_get_getauctioninfooptions_maybe_block_identifier(this.__wbg_ptr);return 0===e?void 0:Le.__wrap(e)}set maybe_block_identifier(e){let n=0;b(e)||(k(e,Le),n=e.__destroy_into_raw()),a.__wbg_set_getauctioninfooptions_maybe_block_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getauctioninfooptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getauctioninfooptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getauctioninfooptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getauctioninfooptions_verbosity(this.__wbg_ptr,b(e)?3:e)}}const b1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_geterasummaryoptions_free(t>>>0));class Pu{static __wrap(e){e>>>=0;const n=Object.create(Pu.prototype);return n.__wbg_ptr=e,b1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,b1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_geterasummaryoptions_free(e)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_geterasummaryoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_geterasummaryoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get maybe_block_identifier(){const e=a.__wbg_get_geterasummaryoptions_maybe_block_identifier(this.__wbg_ptr);return 0===e?void 0:Le.__wrap(e)}set maybe_block_identifier(e){let n=0;b(e)||(k(e,Le),n=e.__destroy_into_raw()),a.__wbg_set_geterasummaryoptions_maybe_block_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_geterasummaryoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_geterasummaryoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_geterasummaryoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_geterasummaryoptions_verbosity(this.__wbg_ptr,b(e)?3:e)}}const v1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getspeculativeexecoptions_free(t>>>0));class Lu{static __wrap(e){e>>>=0;const n=Object.create(Lu.prototype);return n.__wbg_ptr=e,v1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,v1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getspeculativeexecoptions_free(e)}get deploy_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getspeculativeexecoptions_deploy_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set deploy_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getspeculativeexecoptions_deploy_as_string(this.__wbg_ptr,n,m)}get deploy(){const e=a.__wbg_get_getspeculativeexecoptions_deploy(this.__wbg_ptr);return 0===e?void 0:ue.__wrap(e)}set deploy(e){let n=0;b(e)||(k(e,ue),n=e.__destroy_into_raw()),a.__wbg_set_getspeculativeexecoptions_deploy(this.__wbg_ptr,n)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getspeculativeexecoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getspeculativeexecoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get maybe_block_identifier(){const e=a.__wbg_get_getspeculativeexecoptions_maybe_block_identifier(this.__wbg_ptr);return 0===e?void 0:Le.__wrap(e)}set maybe_block_identifier(e){let n=0;b(e)||(k(e,Le),n=e.__destroy_into_raw()),a.__wbg_set_getspeculativeexecoptions_maybe_block_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getspeculativeexecoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getspeculativeexecoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getspeculativeexecoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getspeculativeexecoptions_verbosity(this.__wbg_ptr,b(e)?3:e)}}const D1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getstateroothashoptions_free(t>>>0));class Ra{static __wrap(e){e>>>=0;const n=Object.create(Ra.prototype);return n.__wbg_ptr=e,D1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,D1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getstateroothashoptions_free(e)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getblocktransfersoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getblocktransfersoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get maybe_block_identifier(){const e=a.__wbg_get_getaccountoptions_maybe_block_identifier(this.__wbg_ptr);return 0===e?void 0:Le.__wrap(e)}set maybe_block_identifier(e){let n=0;b(e)||(k(e,Le),n=e.__destroy_into_raw()),a.__wbg_set_getaccountoptions_maybe_block_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getblocktransfersoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getblocktransfersoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getblocktransfersoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getblocktransfersoptions_verbosity(this.__wbg_ptr,b(e)?3:e)}}const E1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_querybalanceoptions_free(t>>>0));class Vu{static __wrap(e){e>>>=0;const n=Object.create(Vu.prototype);return n.__wbg_ptr=e,E1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,E1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_querybalanceoptions_free(e)}get purse_identifier_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getaccountoptions_account_identifier_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set purse_identifier_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getaccountoptions_account_identifier_as_string(this.__wbg_ptr,n,m)}get purse_identifier(){const e=a.__wbg_get_querybalanceoptions_purse_identifier(this.__wbg_ptr);return 0===e?void 0:Bi.__wrap(e)}set purse_identifier(e){let n=0;b(e)||(k(e,Bi),n=e.__destroy_into_raw()),a.__wbg_set_querybalanceoptions_purse_identifier(this.__wbg_ptr,n)}get global_state_identifier(){const e=a.__wbg_get_querybalanceoptions_global_state_identifier(this.__wbg_ptr);return 0===e?void 0:Mt.__wrap(e)}set global_state_identifier(e){let n=0;b(e)||(k(e,Mt),n=e.__destroy_into_raw()),a.__wbg_set_querybalanceoptions_global_state_identifier(this.__wbg_ptr,n)}get state_root_hash_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getaccountoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set state_root_hash_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getaccountoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get state_root_hash(){const e=a.__wbg_get_querybalanceoptions_state_root_hash(this.__wbg_ptr);return 0===e?void 0:Be.__wrap(e)}set state_root_hash(e){let n=0;b(e)||(k(e,Be),n=e.__destroy_into_raw()),a.__wbg_set_querybalanceoptions_state_root_hash(this.__wbg_ptr,n)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getaccountoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getaccountoptions_node_address(this.__wbg_ptr,n,m)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querybalanceoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querybalanceoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_querybalanceoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_querybalanceoptions_verbosity(this.__wbg_ptr,b(e)?3:e)}}const C1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_querycontractdictoptions_free(t>>>0));class ju{static __wrap(e){e>>>=0;const n=Object.create(ju.prototype);return n.__wbg_ptr=e,C1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,C1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_querycontractdictoptions_free(e)}get state_root_hash_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractdictoptions_state_root_hash_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set state_root_hash_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractdictoptions_state_root_hash_as_string(this.__wbg_ptr,n,m)}get state_root_hash(){const e=a.__wbg_get_querycontractdictoptions_state_root_hash(this.__wbg_ptr);return 0===e?void 0:Be.__wrap(e)}set state_root_hash(e){let n=0;b(e)||(k(e,Be),n=e.__destroy_into_raw()),a.__wbg_set_querycontractdictoptions_state_root_hash(this.__wbg_ptr,n)}get dictionary_item_params(){const e=a.__wbg_get_querycontractdictoptions_dictionary_item_params(this.__wbg_ptr);return 0===e?void 0:To.__wrap(e)}set dictionary_item_params(e){let n=0;b(e)||(k(e,To),n=e.__destroy_into_raw()),a.__wbg_set_querycontractdictoptions_dictionary_item_params(this.__wbg_ptr,n)}get dictionary_item_identifier(){const e=a.__wbg_get_querycontractdictoptions_dictionary_item_identifier(this.__wbg_ptr);return 0===e?void 0:$t.__wrap(e)}set dictionary_item_identifier(e){let n=0;b(e)||(k(e,$t),n=e.__destroy_into_raw()),a.__wbg_set_querycontractdictoptions_dictionary_item_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractdictoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractdictoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_querycontractdictoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_querycontractdictoptions_verbosity(this.__wbg_ptr,b(e)?3:e)}}const I1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_querycontractkeyoptions_free(t>>>0));class Bu{static __wrap(e){e>>>=0;const n=Object.create(Bu.prototype);return n.__wbg_ptr=e,I1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,I1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_querycontractkeyoptions_free(e)}get global_state_identifier(){const e=a.__wbg_get_querycontractkeyoptions_global_state_identifier(this.__wbg_ptr);return 0===e?void 0:Mt.__wrap(e)}set global_state_identifier(e){let n=0;b(e)||(k(e,Mt),n=e.__destroy_into_raw()),a.__wbg_set_querycontractkeyoptions_global_state_identifier(this.__wbg_ptr,n)}get state_root_hash_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractkeyoptions_state_root_hash_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set state_root_hash_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractkeyoptions_state_root_hash_as_string(this.__wbg_ptr,n,m)}get state_root_hash(){const e=a.__wbg_get_querycontractkeyoptions_state_root_hash(this.__wbg_ptr);return 0===e?void 0:Be.__wrap(e)}set state_root_hash(e){let n=0;b(e)||(k(e,Be),n=e.__destroy_into_raw()),a.__wbg_set_querycontractkeyoptions_state_root_hash(this.__wbg_ptr,n)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractkeyoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractkeyoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get contract_key_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractkeyoptions_contract_key_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set contract_key_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractkeyoptions_contract_key_as_string(this.__wbg_ptr,n,m)}get contract_key(){const e=a.__wbg_get_querycontractkeyoptions_contract_key(this.__wbg_ptr);return 0===e?void 0:Re.__wrap(e)}set contract_key(e){let n=0;b(e)||(k(e,Re),n=e.__destroy_into_raw()),a.__wbg_set_querycontractkeyoptions_contract_key(this.__wbg_ptr,n)}get path_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractkeyoptions_path_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set path_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractkeyoptions_path_as_string(this.__wbg_ptr,n,m)}get path(){const e=a.__wbg_get_querycontractkeyoptions_path(this.__wbg_ptr);return 0===e?void 0:Mo.__wrap(e)}set path(e){let n=0;b(e)||(k(e,Mo),n=e.__destroy_into_raw()),a.__wbg_set_querycontractkeyoptions_path(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractkeyoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractkeyoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_querycontractkeyoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_querycontractkeyoptions_verbosity(this.__wbg_ptr,b(e)?3:e)}}const S1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_queryglobalstateoptions_free(t>>>0));class Hu{static __wrap(e){e>>>=0;const n=Object.create(Hu.prototype);return n.__wbg_ptr=e,S1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,S1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_queryglobalstateoptions_free(e)}get global_state_identifier(){const e=a.__wbg_get_querycontractkeyoptions_global_state_identifier(this.__wbg_ptr);return 0===e?void 0:Mt.__wrap(e)}set global_state_identifier(e){let n=0;b(e)||(k(e,Mt),n=e.__destroy_into_raw()),a.__wbg_set_querycontractkeyoptions_global_state_identifier(this.__wbg_ptr,n)}get state_root_hash_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractkeyoptions_state_root_hash_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set state_root_hash_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractkeyoptions_state_root_hash_as_string(this.__wbg_ptr,n,m)}get state_root_hash(){const e=a.__wbg_get_querycontractkeyoptions_state_root_hash(this.__wbg_ptr);return 0===e?void 0:Be.__wrap(e)}set state_root_hash(e){let n=0;b(e)||(k(e,Be),n=e.__destroy_into_raw()),a.__wbg_set_querycontractkeyoptions_state_root_hash(this.__wbg_ptr,n)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractkeyoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractkeyoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get key_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractkeyoptions_contract_key_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set key_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractkeyoptions_contract_key_as_string(this.__wbg_ptr,n,m)}get key(){const e=a.__wbg_get_querycontractkeyoptions_contract_key(this.__wbg_ptr);return 0===e?void 0:Re.__wrap(e)}set key(e){let n=0;b(e)||(k(e,Re),n=e.__destroy_into_raw()),a.__wbg_set_querycontractkeyoptions_contract_key(this.__wbg_ptr,n)}get path_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractkeyoptions_path_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set path_as_string(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractkeyoptions_path_as_string(this.__wbg_ptr,n,m)}get path(){const e=a.__wbg_get_querycontractkeyoptions_path(this.__wbg_ptr);return 0===e?void 0:Mo.__wrap(e)}set path(e){let n=0;b(e)||(k(e,Mo),n=e.__destroy_into_raw()),a.__wbg_set_querycontractkeyoptions_path(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractkeyoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=b(e)?0:w(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractkeyoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_querycontractkeyoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_querycontractkeyoptions_verbosity(this.__wbg_ptr,b(e)?3:e)}}function sg(){return(sg=A(function*(t,e){if("function"==typeof Response&&t instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return yield WebAssembly.instantiateStreaming(t,e)}catch(r){if("application/wasm"==t.headers.get("Content-Type"))throw r;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",r)}const n=yield t.arrayBuffer();return yield WebAssembly.instantiate(n,e)}{const n=yield WebAssembly.instantiate(t,e);return n instanceof WebAssembly.Instance?{instance:n,module:t}:n}})).apply(this,arguments)}function T1(){const t={wbg:{}};return t.wbg.__wbindgen_object_drop_ref=function(e){v(e)},t.wbg.__wbg_getdictionaryitemresult_new=function(e){return T(Wh.__wrap(e))},t.wbg.__wbindgen_error_new=function(e,n){return T(new Error(M(e,n)))},t.wbg.__wbg_putdeployresult_new=function(e){return T(tg.__wrap(e))},t.wbg.__wbg_getdeployresult_new=function(e){return T(Gh.__wrap(e))},t.wbg.__wbg_getstateroothashresult_new=function(e){return T(Qh.__wrap(e))},t.wbg.__wbg_getaccountresult_new=function(e){return T(Bh.__wrap(e))},t.wbg.__wbg_querybalanceresult_new=function(e){return T(ng.__wrap(e))},t.wbg.__wbg_getblockresult_new=function(e){return T($h.__wrap(e))},t.wbg.__wbg_deploy_new=function(e){return T(ue.__wrap(e))},t.wbg.__wbg_getvalidatorchangesresult_new=function(e){return T(Xh.__wrap(e))},t.wbg.__wbg_getpeersresult_new=function(e){return T(Yh.__wrap(e))},t.wbg.__wbg_geterainforesult_new=function(e){return T(Jh.__wrap(e))},t.wbg.__wbg_isConnected_99de68533d79b4b6=function(){return de(function(e){return T(N(e).isConnected())},arguments)},t.wbg.__wbindgen_boolean_get=function(e){const n=N(e);return"boolean"==typeof n?n?1:0:2},t.wbg.__wbg_getblocktransfersresult_new=function(e){return T(zh.__wrap(e))},t.wbg.__wbg_disconnectFromSite_c93f135e3be08357=function(){return de(function(e){return T(N(e).disconnectFromSite())},arguments)},t.wbg.__wbg_requestSwitchAccount_e86874ef2727a0e9=function(){return de(function(e){return T(N(e).requestSwitchAccount())},arguments)},t.wbg.__wbg_queryglobalstateresult_new=function(e){return T(rg.__wrap(e))},t.wbg.__wbg_getauctioninforesult_new=function(e){return T(Hh.__wrap(e))},t.wbg.__wbg_speculativeexecresult_new=function(e){return T(og.__wrap(e))},t.wbg.__wbg_geterasummaryresult_new=function(e){return T(Kh.__wrap(e))},t.wbg.__wbg_getVersion_3559bc92be807ecf=function(){return de(function(e){return T(N(e).getVersion())},arguments)},t.wbg.__wbindgen_string_get=function(e,n){const r=N(n),o="string"==typeof r?r:void 0;var i=b(o)?0:w(o,a.__wbindgen_malloc,a.__wbindgen_realloc),s=m;f()[e/4+1]=s,f()[e/4+0]=i},t.wbg.__wbindgen_string_new=function(e,n){return T(M(e,n))},t.wbg.__wbg_getnodestatusresult_new=function(e){return T(Zh.__wrap(e))},t.wbg.__wbg_getbalanceresult_new=function(e){return T(Uh.__wrap(e))},t.wbg.__wbg_getchainspecresult_new=function(e){return T(qh.__wrap(e))},t.wbg.__wbg_listrpcsresult_new=function(e){return T(eg.__wrap(e))},t.wbg.__wbindgen_object_clone_ref=function(e){return T(N(e))},t.wbg.__wbg_signMessage_98e328c414af0536=function(){return de(function(e,n,r,o,i){return T(N(e).signMessage(M(n,r),M(o,i)))},arguments)},t.wbg.__wbg_requestConnection_9f20dae96a78466a=function(){return de(function(e){return T(N(e).requestConnection())},arguments)},t.wbg.__wbg_getActivePublicKey_9bed721d5f33dde7=function(){return de(function(e){return T(N(e).getActivePublicKey())},arguments)},t.wbg.__wbg_deploysubscription_unwrap=function(e){return Vh.__unwrap(v(e))},t.wbg.__wbindgen_is_undefined=function(e){return void 0===N(e)},t.wbg.__wbg_CasperWalletProvider_eab6752fc5d28d32=function(){return T(CasperWalletProvider())},t.wbg.__wbindgen_cb_drop=function(e){const n=v(e).original;return 1==n.cnt--&&(n.a=0,!0)},t.wbg.__wbg_error_adb09b59c60c9cab=function(e,n){console.error(M(e,n))},t.wbg.__wbindgen_jsval_eq=function(e,n){return N(e)===N(n)},t.wbg.__wbg_sign_0b9f2afaf89b6291=function(){return de(function(e,n,r,o,i){return T(N(e).sign(M(n,r),M(o,i)))},arguments)},t.wbg.__wbindgen_is_null=function(e){return null===N(e)},t.wbg.__wbg_fetch_1e4e8ed1f64c7e28=function(e){return T(fetch(N(e)))},t.wbg.__wbg_done_2ffa852272310e47=function(e){return N(e).done},t.wbg.__wbg_value_9f6eeb1e2aab8d96=function(e){return T(N(e).value)},t.wbg.__wbg_getReader_ab94afcb5cb7689a=function(){return de(function(e){return T(N(e).getReader())},arguments)},t.wbg.__wbg_queueMicrotask_3cbae2ec6b6cd3d6=function(e){return T(N(e).queueMicrotask)},t.wbg.__wbindgen_is_function=function(e){return"function"==typeof N(e)},t.wbg.__wbg_queueMicrotask_481971b0d87f3dd4=function(e){queueMicrotask(N(e))},t.wbg.__wbg_fetch_921fad6ef9e883dd=function(e,n){return T(N(e).fetch(N(n)))},t.wbg.__wbg_instanceof_Response_849eb93e75734b6e=function(e){let n;try{n=N(e)instanceof Response}catch{n=!1}return n},t.wbg.__wbg_url_5f6dc4009ac5f99d=function(e,n){const o=w(N(n).url,a.__wbindgen_malloc,a.__wbindgen_realloc),i=m;f()[e/4+1]=i,f()[e/4+0]=o},t.wbg.__wbg_status_61a01141acd3cf74=function(e){return N(e).status},t.wbg.__wbg_headers_9620bfada380764a=function(e){return T(N(e).headers)},t.wbg.__wbg_body_9545a94f397829db=function(e){const n=N(e).body;return b(n)?0:T(n)},t.wbg.__wbg_arrayBuffer_29931d52c7206b02=function(){return de(function(e){return T(N(e).arrayBuffer())},arguments)},t.wbg.__wbg_signal_a61f78a3478fd9bc=function(e){return T(N(e).signal)},t.wbg.__wbg_new_0d76b0581eca6298=function(){return de(function(){return T(new AbortController)},arguments)},t.wbg.__wbg_abort_2aa7521d5690750e=function(e){N(e).abort()},t.wbg.__wbg_byobRequest_72fca99f9c32c193=function(e){const n=N(e).byobRequest;return b(n)?0:T(n)},t.wbg.__wbg_close_184931724d961ccc=function(){return de(function(e){N(e).close()},arguments)},t.wbg.__wbg_read_e7d0f8a49be01d86=function(e){return T(N(e).read())},t.wbg.__wbg_releaseLock_5c49db976c08b864=function(e){N(e).releaseLock()},t.wbg.__wbg_cancel_6ee33d4006737aef=function(e){return T(N(e).cancel())},t.wbg.__wbg_view_7f0ce470793a340f=function(e){const n=N(e).view;return b(n)?0:T(n)},t.wbg.__wbg_respond_b1a43b2e3a06d525=function(){return de(function(e,n){N(e).respond(n>>>0)},arguments)},t.wbg.__wbg_newwithstrandinit_3fd6fba4083ff2d0=function(){return de(function(e,n,r){return T(new Request(M(e,n),N(r)))},arguments)},t.wbg.__wbg_new_ab6fd82b10560829=function(){return de(function(){return T(new Headers)},arguments)},t.wbg.__wbg_append_7bfcb4937d1d5e29=function(){return de(function(e,n,r,o,i){N(e).append(M(n,r),M(o,i))},arguments)},t.wbg.__wbg_close_a994f9425dab445c=function(){return de(function(e){N(e).close()},arguments)},t.wbg.__wbg_enqueue_ea194723156c0cc2=function(){return de(function(e,n){N(e).enqueue(N(n))},arguments)},t.wbg.__wbg_crypto_1d1f22824a6a080c=function(e){return T(N(e).crypto)},t.wbg.__wbindgen_is_object=function(e){const n=N(e);return"object"==typeof n&&null!==n},t.wbg.__wbg_process_4a72847cc503995b=function(e){return T(N(e).process)},t.wbg.__wbg_versions_f686565e586dd935=function(e){return T(N(e).versions)},t.wbg.__wbg_node_104a2ff8d6ea03a2=function(e){return T(N(e).node)},t.wbg.__wbindgen_is_string=function(e){return"string"==typeof N(e)},t.wbg.__wbg_require_cca90b1a94a0255b=function(){return de(function(){return T(module.require)},arguments)},t.wbg.__wbg_msCrypto_eb05e62b530a1508=function(e){return T(N(e).msCrypto)},t.wbg.__wbg_randomFillSync_5c9c955aa56b6049=function(){return de(function(e,n){N(e).randomFillSync(v(n))},arguments)},t.wbg.__wbg_getRandomValues_3aa56aa6edec874c=function(){return de(function(e,n){N(e).getRandomValues(N(n))},arguments)},t.wbg.__wbg_get_bd8e338fbd5f5cc8=function(e,n){return T(N(e)[n>>>0])},t.wbg.__wbg_length_cd7af8117672b8b8=function(e){return N(e).length},t.wbg.__wbg_new_16b304a2cfa7ff4a=function(){return T(new Array)},t.wbg.__wbg_newnoargs_e258087cd0daa0ea=function(e,n){return T(new Function(M(e,n)))},t.wbg.__wbg_next_40fc327bfc8770e6=function(e){return T(N(e).next)},t.wbg.__wbg_next_196c84450b364254=function(){return de(function(e){return T(N(e).next())},arguments)},t.wbg.__wbg_done_298b57d23c0fc80c=function(e){return N(e).done},t.wbg.__wbg_value_d93c65011f51a456=function(e){return T(N(e).value)},t.wbg.__wbg_iterator_2cee6dadfd956dfa=function(){return T(Symbol.iterator)},t.wbg.__wbg_get_e3c254076557e348=function(){return de(function(e,n){return T(Reflect.get(N(e),N(n)))},arguments)},t.wbg.__wbg_call_27c0f87801dedf93=function(){return de(function(e,n){return T(N(e).call(N(n)))},arguments)},t.wbg.__wbg_new_72fb9a18b5ae2624=function(){return T(new Object)},t.wbg.__wbg_self_ce0dbfc45cf2f5be=function(){return de(function(){return T(self.self)},arguments)},t.wbg.__wbg_window_c6fb939a7f436783=function(){return de(function(){return T(window.window)},arguments)},t.wbg.__wbg_globalThis_d1e6af4856ba331b=function(){return de(function(){return T(globalThis.globalThis)},arguments)},t.wbg.__wbg_global_207b558942527489=function(){return de(function(){return T(global.global)},arguments)},t.wbg.__wbg_push_a5b05aedc7234f9f=function(e,n){return N(e).push(N(n))},t.wbg.__wbg_new_28c511d9baebfa89=function(e,n){return T(new Error(M(e,n)))},t.wbg.__wbg_apply_6d0b9cd50eb480c3=function(){return de(function(e,n,r){return T(N(e).apply(N(n),N(r)))},arguments)},t.wbg.__wbg_call_b3ca7c6051f9bec1=function(){return de(function(e,n,r){return T(N(e).call(N(n),N(r)))},arguments)},t.wbg.__wbg_getTime_2bc4375165f02d15=function(e){return N(e).getTime()},t.wbg.__wbg_new0_7d84e5b2cd9fdc73=function(){return T(new Date)},t.wbg.__wbg_instanceof_Object_71ca3c0a59266746=function(e){let n;try{n=N(e)instanceof Object}catch{n=!1}return n},t.wbg.__wbg_new_81740750da40724f=function(e,n){try{var r={a:e,b:n};const i=new Promise((s,c)=>{const l=r.a;r.a=0;try{return function y3(t,e,n,r){a.wasm_bindgen__convert__closures__invoke2_mut__h232935261d0e3333(t,e,T(n),T(r))}(l,r.b,s,c)}finally{r.a=l}});return T(i)}finally{r.a=r.b=0}},t.wbg.__wbg_resolve_b0083a7967828ec8=function(e){return T(Promise.resolve(N(e)))},t.wbg.__wbg_catch_0260e338d10f79ae=function(e,n){return T(N(e).catch(N(n)))},t.wbg.__wbg_then_0c86a60e8fcfe9f6=function(e,n){return T(N(e).then(N(n)))},t.wbg.__wbg_then_a73caa9a87991566=function(e,n,r){return T(N(e).then(N(n),N(r)))},t.wbg.__wbg_buffer_12d079cc21e14bdb=function(e){return T(N(e).buffer)},t.wbg.__wbg_newwithbyteoffsetandlength_aa4a17c33a06e5cb=function(e,n,r){return T(new Uint8Array(N(e),n>>>0,r>>>0))},t.wbg.__wbg_new_63b92bc8671ed464=function(e){return T(new Uint8Array(N(e)))},t.wbg.__wbg_set_a47bac70306a19a7=function(e,n,r){N(e).set(N(n),r>>>0)},t.wbg.__wbg_length_c20a40f15020d68a=function(e){return N(e).length},t.wbg.__wbg_newwithlength_e9b4878cebadb3d3=function(e){return T(new Uint8Array(e>>>0))},t.wbg.__wbg_buffer_dd7f74bc60f1faab=function(e){return T(N(e).buffer)},t.wbg.__wbg_subarray_a1f73cd4b5b42fe1=function(e,n,r){return T(N(e).subarray(n>>>0,r>>>0))},t.wbg.__wbg_byteLength_58f7b4fab1919d44=function(e){return N(e).byteLength},t.wbg.__wbg_byteOffset_81d60f7392524f62=function(e){return N(e).byteOffset},t.wbg.__wbg_getindex_03d06b4e7ea3475e=function(e,n){return N(e)[n>>>0]},t.wbg.__wbg_has_0af94d20077affa2=function(){return de(function(e,n){return Reflect.has(N(e),N(n))},arguments)},t.wbg.__wbg_set_1f9b04f170055d33=function(){return de(function(e,n,r){return Reflect.set(N(e),N(n),N(r))},arguments)},t.wbg.__wbg_parse_66d1801634e099ac=function(){return de(function(e,n){return T(JSON.parse(M(e,n)))},arguments)},t.wbg.__wbg_stringify_8887fe74e1c50d81=function(){return de(function(e){return T(JSON.stringify(N(e)))},arguments)},t.wbg.__wbindgen_debug_string=function(e,n){const o=w(xh(N(n)),a.__wbindgen_malloc,a.__wbindgen_realloc),i=m;f()[e/4+1]=i,f()[e/4+0]=o},t.wbg.__wbindgen_throw=function(e,n){throw new Error(M(e,n))},t.wbg.__wbindgen_memory=function(){return T(a.memory)},t.wbg.__wbindgen_closure_wrapper4133=function(e,n,r){return T(_S(e,n,807,_3))},t.wbg.__wbindgen_closure_wrapper4199=function(e,n,r){return T(_S(e,n,826,f3))},t}function k1(t){return ag.apply(this,arguments)}function ag(){return ag=A(function*(t){if(void 0!==a)return a;typeof t>"u"&&(t=new URL("casper_rust_wasm_sdk_bg.wasm","file:///opt2/casper/rustSDK-1.6/pkg/casper_rust_wasm_sdk.js"));const e=T1();("string"==typeof t||"function"==typeof Request&&t instanceof Request||"function"==typeof URL&&t instanceof URL)&&(t=fetch(t));const{instance:n,module:r}=yield function x3(t,e){return sg.apply(this,arguments)}(yield t,e);return function M1(t,e){return a=t.exports,k1.__wbindgen_wasm_module=e,Ea=null,Ca=null,Da=null,a}(n,r)}),ag.apply(this,arguments)}const P3=k1,Fa=new P("SDK"),A1=new P("wasm_asset_path"),N1=new P("node_address"),R1=new P("verbosity"),j3=function V3(t,e){const n={value:void 0};return[{provide:HC,useFactory:(r,o,i)=>A(function*(){return n.value=yield e({wasm_asset_path:r,node_address:o,verbosity:i})}),multi:!0,deps:[A1,N1,R1]},{provide:t,useFactory:()=>{if(!B(zl).done)throw new Error(`Cannot inject ${t} until bootstrap is complete.`);return n.value}}]}(Fa,function(){var t=A(function*(e){return(yield P3(e.wasm_asset_path))&&new R3(e.node_address,e.verbosity)});return function(n){return t.apply(this,arguments)}}());let B3=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=Zn({type:t});static#n=this.\u0275inj=Nn({providers:j3,imports:[Ye]})}return t})();const ur=new P("EnvironmentConfig"),cg=new P("EnvironmentConfig"),F1=["deploy","transfer","put_deploy","speculative_deploy","speculative_transfer","speculative_exec","sign_deploy","call_entrypoint","install"],H3=["make_deploy","make_transfer",...F1],Ao={wasm_asset_path:"assets/casper_rust_wasm_sdk_bg.wasm",default_action:"get_node_status",verbosity:Cu.High,minimum_transfer:"2500000000",TTL:"30m",gas_fee_transfer:"100000000",action_needs_secret_key:F1,action_needs_public_key:H3,networks:{"node-launcher":{node_address:"http://localhost:7777",stream_address:"http://localhost:9999/events/main",chain_name:"casper-net-1"},ntcl:{node_address:"http://localhost:11101",stream_address:"http://localhost:18101/events/main",chain_name:"casper-net-1"},integration:{node_address:"https://rpc.integration.casperlabs.io",stream_address:"https://events.integration.casperlabs.io/events/main",chain_name:"integration-test"},testnet:{node_address:"https://rpc.testnet.casperlabs.io",stream_address:"https://events.testnet.casperlabs.io/events/main",chain_name:"casper-test"},mainnet:{node_address:"https://rpc.mainnet.casperlabs.io",stream_address:"https://events.mainnet.casperlabs.io/events/main",chain_name:"casper"},custom:{node_address:"http://3.136.227.9:7777",stream_address:"http://3.136.227.9:9999/events/main",chain_name:"casper-test"},dev:{node_address:"http://localhost:4200",stream_address:"http://localhost:4200/events/main",chain_name:"casper-net-1"}},localhost:"localhost",app_port:"4200",default_port:"7777",default_protocol:"http://"},lg={production:!0,default_network:"integration",localhost_to_gateway:!1},{isArray:U3}=Array,{getPrototypeOf:$3,prototype:z3,keys:q3}=Object;const{isArray:J3}=Array;function Y3(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function Q3(...t){const e=function b4(t){return He(Xp(t))?t.pop():void 0}(t),{args:n,keys:r}=function G3(t){if(1===t.length){const e=t[0];if(U3(e))return{args:e,keys:null};if(function W3(t){return t&&"object"==typeof t&&$3(t)===z3}(e)){const n=q3(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}(t),o=new Nt(i=>{const{length:s}=n;if(!s)return void i.complete();const c=new Array(s);let l=s,u=s;for(let d=0;d{_||(_=!0,u--),c[d]=h},()=>l--,void 0,()=>{(!l||!_)&&(u||i.next(r?Y3(r,c):c),i.complete())}))}});return e?o.pipe(function Z3(t){return fr(e=>function K3(t,e){return J3(e)?t(...e):t(e)}(t,e))}(e)):o}let O1=(()=>{class t{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static#e=this.\u0275fac=function(r){return new(r||t)(S(uo),S(on))};static#t=this.\u0275dir=ne({type:t})}return t})(),No=(()=>{class t extends O1{static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=_t(t)))(o||t)}})();static#t=this.\u0275dir=ne({type:t,features:[ve]})}return t})();const Wn=new P(""),X3={provide:Wn,useExisting:Se(()=>ug),multi:!0};let ug=(()=>{class t extends No{writeValue(n){this.setProperty("checked",n)}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=_t(t)))(o||t)}})();static#t=this.\u0275dir=ne({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){1&r&&oe("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[Pe([X3]),ve]})}return t})();const e6={provide:Wn,useExisting:Se(()=>Oa),multi:!0},n6=new P("");let Oa=(()=>{class t extends O1{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function t6(){const t=fa()?fa().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static#e=this.\u0275fac=function(r){return new(r||t)(S(uo),S(on),S(n6,8))};static#t=this.\u0275dir=ne({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&oe("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[Pe([e6]),ve]})}return t})();function Lr(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function x1(t){return null!=t&&"number"==typeof t.length}const mt=new P(""),Vr=new P(""),r6=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class o6{static min(e){return function P1(t){return e=>{if(Lr(e.value)||Lr(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n{if(Lr(e.value)||Lr(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}(e)}static required(e){return function V1(t){return Lr(t.value)?{required:!0}:null}(e)}static requiredTrue(e){return function j1(t){return!0===t.value?null:{required:!0}}(e)}static email(e){return function B1(t){return Lr(t.value)||r6.test(t.value)?null:{email:!0}}(e)}static minLength(e){return function H1(t){return e=>Lr(e.value)||!x1(e.value)?null:e.value.lengthx1(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function $1(t){if(!t)return Uu;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),r=>{if(Lr(r.value))return null;const o=r.value;return e.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}function Uu(t){return null}function z1(t){return null!=t}function q1(t){return $l(t)?oh(t):t}function G1(t){let e={};return t.forEach(n=>{e=null!=n?{...e,...n}:e}),0===Object.keys(e).length?null:e}function W1(t,e){return e.map(n=>n(t))}function J1(t){return t.map(e=>function i6(t){return!t.validate}(e)?e:n=>e.validate(n))}function K1(t){if(!t)return null;const e=t.filter(z1);return 0==e.length?null:function(n){return G1(W1(n,e))}}function dg(t){return null!=t?K1(J1(t)):null}function Z1(t){if(!t)return null;const e=t.filter(z1);return 0==e.length?null:function(n){return Q3(W1(n,e).map(q1)).pipe(fr(G1))}}function _g(t){return null!=t?Z1(J1(t)):null}function Y1(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function Q1(t){return t._rawValidators}function X1(t){return t._rawAsyncValidators}function fg(t){return t?Array.isArray(t)?t:[t]:[]}function $u(t,e){return Array.isArray(t)?t.includes(e):t===e}function eT(t,e){const n=fg(e);return fg(t).forEach(o=>{$u(n,o)||n.push(o)}),n}function tT(t,e){return fg(e).filter(n=>!$u(t,n))}class nT{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=dg(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=_g(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,n){return!!this.control&&this.control.hasError(e,n)}getError(e,n){return this.control?this.control.getError(e,n):null}}class kt extends nT{get formDirective(){return null}get path(){return null}}class jr extends nT{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class rT{constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let pg=(()=>{class t extends rT{constructor(n){super(n)}static#e=this.\u0275fac=function(r){return new(r||t)(S(jr,2))};static#t=this.\u0275dir=ne({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&kl("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[ve]})}return t})(),zu=(()=>{class t extends rT{constructor(n){super(n)}static#e=this.\u0275fac=function(r){return new(r||t)(S(kt,10))};static#t=this.\u0275dir=ne({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){2&r&&kl("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[ve]})}return t})();const xa="VALID",Gu="INVALID",Hi="PENDING",Pa="DISABLED";class Ui{}class iT extends Ui{constructor(e,n){super(),this.value=e,this.source=n}}class mg extends Ui{constructor(e,n){super(),this.pristine=e,this.source=n}}class yg extends Ui{constructor(e,n){super(),this.touched=e,this.source=n}}class Wu extends Ui{constructor(e,n){super(),this.status=e,this.source=n}}class u6 extends Ui{constructor(e){super(),this.source=e}}class d6 extends Ui{constructor(e){super(),this.source=e}}function wg(t){return(Ju(t)?t.validators:t)||null}function bg(t,e){return(Ju(e)?e.asyncValidators:t)||null}function Ju(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function sT(t,e,n){const r=t.controls;if(!(e?Object.keys(r):r).length)throw new R(1e3,"");if(!r[n])throw new R(1001,"")}function aT(t,e,n){t._forEachChild((r,o)=>{if(void 0===n[o])throw new R(1002,"")})}class Ku{constructor(e,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=_a(()=>this.statusReactive()),this.statusReactive=ui(void 0),this._pristine=_a(()=>this.pristineReactive()),this.pristineReactive=ui(!0),this._touched=_a(()=>this.touchedReactive()),this.touchedReactive=ui(!1),this._events=new zr,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return qn(this.statusReactive)}set status(e){qn(()=>this.statusReactive.set(e))}get valid(){return this.status===xa}get invalid(){return this.status===Gu}get pending(){return this.status==Hi}get disabled(){return this.status===Pa}get enabled(){return this.status!==Pa}get pristine(){return qn(this.pristineReactive)}set pristine(e){qn(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return qn(this.touchedReactive)}set touched(e){qn(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(eT(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(eT(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(tT(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(tT(e,this._rawAsyncValidators))}hasValidator(e){return $u(this._rawValidators,e)}hasAsyncValidator(e){return $u(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){const n=!1===this.touched;this.touched=!0;const r=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched({...e,sourceControl:r}),n&&!1!==e.emitEvent&&this._events.next(new yg(!0,r))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(e))}markAsUntouched(e={}){const n=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=e.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:r})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r),n&&!1!==e.emitEvent&&this._events.next(new yg(!1,r))}markAsDirty(e={}){const n=!0===this.pristine;this.pristine=!1;const r=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty({...e,sourceControl:r}),n&&!1!==e.emitEvent&&this._events.next(new mg(!1,r))}markAsPristine(e={}){const n=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=e.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),n&&!1!==e.emitEvent&&this._events.next(new mg(!0,r))}markAsPending(e={}){this.status=Hi;const n=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new Wu(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending({...e,sourceControl:n})}disable(e={}){const n=this._parentMarkedDirty(e.onlySelf);this.status=Pa,this.errors=null,this._forEachChild(o=>{o.disable({...e,onlySelf:!0})}),this._updateValue();const r=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new iT(this.value,r)),this._events.next(new Wu(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...e,skipPristineCheck:n},this),this._onDisabledChange.forEach(o=>o(!0))}enable(e={}){const n=this._parentMarkedDirty(e.onlySelf);this.status=xa,this._forEachChild(r=>{r.enable({...e,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors({...e,skipPristineCheck:n},this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e,n){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===xa||this.status===Hi)&&this._runAsyncValidator(r,e.emitEvent)}const n=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new iT(this.value,n)),this._events.next(new Wu(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity({...e,sourceControl:n})}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Pa:xa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,n){if(this.asyncValidator){this.status=Hi,this._hasOwnPendingAsyncValidator={emitEvent:!1!==n};const r=q1(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(!1!==n.emitEvent,this,n.shouldHaveEmitted)}get(e){let n=e;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(e,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,n,r){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||r)&&this._events.next(new Wu(this.status,n)),this._parent&&this._parent._updateControlsErrors(e,n,r)}_initObservables(){this.valueChanges=new Ve,this.statusChanges=new Ve}_calculateStatus(){return this._allControlsDisabled()?Pa:this.errors?Gu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Hi)?Hi:this._anyControlsHaveStatus(Gu)?Gu:xa}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,n){const r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),o&&this._events.next(new mg(this.pristine,n))}_updateTouched(e={},n){this.touched=this._anyControlsTouched(),this._events.next(new yg(this.touched,n)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Ju(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=function _6(t){return Array.isArray(t)?dg(t):t||null}(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=function f6(t){return Array.isArray(t)?_g(t):t||null}(this._rawAsyncValidators)}}class La extends Ku{constructor(e,n,r){super(wg(n),bg(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,r={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){aT(this,0,e),Object.keys(e).forEach(r=>{sT(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){null!=e&&(Object.keys(e).forEach(r=>{const o=this.controls[r];o&&o.patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((r,o)=>{r.reset(e?e[o]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,r)=>(e[r]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&e(r,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&e(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(e,n){let r=e;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}}class cT extends La{}const $i=new P("CallSetDisabledState",{providedIn:"root",factory:()=>Zu}),Zu="always";function Va(t,e,n=Zu){vg(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||"always"===n)&&e.valueAccessor.setDisabledState?.(t.disabled),function h6(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&lT(t,e)})}(t,e),function m6(t,e){const n=(r,o)=>{e.valueAccessor.writeValue(r),o&&e.viewToModelUpdate(r)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function g6(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&lT(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function p6(t,e){if(e.valueAccessor.setDisabledState){const n=r=>{e.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function Qu(t,e,n=!0){const r=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r)),ed(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Xu(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function vg(t,e){const n=Q1(t);null!==e.validator?t.setValidators(Y1(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const r=X1(t);null!==e.asyncValidator?t.setAsyncValidators(Y1(r,e.asyncValidator)):"function"==typeof r&&t.setAsyncValidators([r]);const o=()=>t.updateValueAndValidity();Xu(e._rawValidators,o),Xu(e._rawAsyncValidators,o)}function ed(t,e){let n=!1;if(null!==t){if(null!==e.validator){const o=Q1(t);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==e.validator);i.length!==o.length&&(n=!0,t.setValidators(i))}}if(null!==e.asyncValidator){const o=X1(t);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==e.asyncValidator);i.length!==o.length&&(n=!0,t.setAsyncValidators(i))}}}const r=()=>{};return Xu(e._rawValidators,r),Xu(e._rawAsyncValidators,r),n}function lT(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function _T(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function fT(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}Promise.resolve();const zi=class extends Ku{constructor(e=null,n,r){super(wg(n),bg(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Ju(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=fT(e)?e.value:e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){_T(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){_T(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){fT(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};Promise.resolve();let yT=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275dir=ne({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return t})();const Sg=new P(""),N6={provide:kt,useExisting:Se(()=>qi)};let qi=(()=>{class t extends kt{get submitted(){return qn(this._submittedReactive)}set submitted(n){this._submittedReactive.set(n)}constructor(n,r,o){super(),this.callSetDisabledState=o,this._submitted=_a(()=>this._submittedReactive()),this._submittedReactive=ui(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ve,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ed(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){const r=this.form.get(n.path);return Va(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){Qu(n.control||null,n,!1),function v6(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this._submittedReactive.set(!0),function dT(t,e){t._syncPendingControls(),e.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(n),this.form._events.next(new u6(this.control)),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this._submittedReactive.set(!1),this.form._events.next(new d6(this.form))}_updateDomValue(){this.directives.forEach(n=>{const r=n.control,o=this.form.get(n.path);r!==o&&(Qu(r||null,n),(t=>t instanceof zi)(o)&&(Va(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const r=this.form.get(n.path);(function uT(t,e){vg(t,e)})(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const r=this.form.get(n.path);r&&function y6(t,e){return ed(t,e)}(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){vg(this.form,this),this._oldForm&&ed(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||t)(S(mt,10),S(Vr,10),S($i,8))};static#t=this.\u0275dir=ne({type:t,selectors:[["","formGroup",""]],hostBindings:function(r,o){1&r&&oe("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Pe([N6]),ve,Qn]})}return t})();const O6={provide:jr,useExisting:Se(()=>td)};let td=(()=>{class t extends jr{set isDisabled(n){}static#e=this._ngModelWarningSentOnce=!1;constructor(n,r,o,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new Ve,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Cg(t,e){if(!e)return null;let n,r,o;return Array.isArray(e),e.forEach(i=>{i.constructor===Oa?n=i:function b6(t){return Object.getPrototypeOf(t.constructor)===No}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){this._added||this._setUpControl(),function Eg(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return function Yu(t,e){return[...e.path,t]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(r){return new(r||t)(S(kt,13),S(mt,10),S(Vr,10),S(Wn,10),S(Sg,8))};static#n=this.\u0275dir=ne({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[Pe([O6]),ve,Qn]})}return t})();let Ro=(()=>{class t{constructor(){this._validator=Uu}ngOnChanges(n){if(this.inputName in n){const r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Uu,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275dir=ne({type:t,features:[Qn]})}return t})();const W6={provide:mt,useExisting:Se(()=>Rg),multi:!0};let Rg=(()=>{class t extends Ro{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>function ST(t){return"number"==typeof t?t:parseInt(t,10)}(n),this.createValidator=n=>U1(n)}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=_t(t)))(o||t)}})();static#t=this.\u0275dir=ne({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){2&r&&Ct("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Pe([W6]),ve]})}return t})();const J6={provide:mt,useExisting:Se(()=>Fg),multi:!0};let Fg=(()=>{class t extends Ro{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>$1(n)}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=_t(t)))(o||t)}})();static#t=this.\u0275dir=ne({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(r,o){2&r&&Ct("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[Pe([J6]),ve]})}return t})(),K6=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=Zn({type:t});static#n=this.\u0275inj=Nn({})}return t})();class FT extends Ku{constructor(e,n,r){super(wg(n),bg(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,n={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(e,n,r={}){this.controls.splice(e,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(e,n={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(e,n,r={}){let o=this._adjustIndex(e);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),n&&(this.controls.splice(o,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,n={}){aT(this,0,e),e.forEach((r,o)=>{sT(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){null!=e&&(e.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e=[],n={}){this._forEachChild((r,o)=>{r.reset(e[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((n,r)=>{e(n,r)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(n=>n.enabled&&e(n))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}}function OT(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}let Z6=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){const n=new t;return n.useNonNullable=!0,n}group(n,r=null){const o=this._reduceControls(n);let i={};return OT(r)?i=r:null!==r&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new La(o,i)}record(n,r=null){const o=this._reduceControls(n);return new cT(o,r)}control(n,r,o){let i={};return this.useNonNullable?(OT(r)?i=r:(i.validators=r,i.asyncValidators=o),new zi(n,{...i,nonNullable:!0})):new zi(n,r,o)}array(n,r,o){const i=n.map(s=>this._createControl(s));return new FT(i,r,o)}_reduceControls(n){const r={};return Object.keys(n).forEach(o=>{r[o]=this._createControl(n[o])}),r}_createControl(n){return n instanceof zi||n instanceof Ku?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Gi=(()=>{class t{static withConfig(n){return{ngModule:t,providers:[{provide:Sg,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:$i,useValue:n.callSetDisabledState??Zu}]}}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=Zn({type:t});static#n=this.\u0275inj=Nn({imports:[K6]})}return t})();const Wi={id:"stateRootHashElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"State Root Hash",name:"state_root_hash",controlName:"stateRootHash",placeholder:"0x",e2e:"stateRootHashElt"},Og={id:"paymentAmountElt",type:"tel",wrap_class:"col-lg-3 mb-2",class:"form-control",label:"Payment Amount",name:"payment_amount",controlName:"paymentAmount",placeholder:"",e2e:"paymentAmountElt",change:"motesToCSPR"},nd={id:"TTLElt",type:"search",wrap_class:"col-lg-2 mb-2",class:"form-control",label:"TTL",name:"ttl",controlName:"TTL",e2e:"TTLElt",config_name:"TTL"},xT={id:"sessionHashElt",type:"search",wrap_class:"col-xl-6 mb-2",class:"form-control",label:"Smart Contract hash or Package hash",name:"session_hash",controlName:"sessionHash",placeholder:"Contract Hash or Package Hash",e2e:"sessionHashElt",disabled_when:["has_wasm","sessionName.value"]},PT={id:"callPackageElt",type:"checkbox",wrap_class:"col-lg-2 mb-2",class:"form-check-input mt-0",label:"Call Package",name:"call_package",controlName:"callPackage",placeholder:"",e2e:"callPackageElt",label_class:"form-label",disabled_when:["has_wasm"]},LT={id:"versionElt",type:"search",wrap_class:"col-lg-3 mb-2",class:"form-control",label:"Version",name:"version",controlName:"version",placeholder:"1, empty for last version",e2e:"versionElt",disabled_when:["has_wasm"]},VT={id:"sessionNameElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Smart Contract name or Package name",name:"session_name",controlName:"sessionName",placeholder:"Counter",e2e:"sessionNameElt",disabled_when:["has_wasm","sessionHash.value"]},jT={id:"entryPointElt",type:"search",wrap_class:"col-lg-5 mb-2",class:"form-control",label:"Entry point",name:"entry_point",controlName:"entryPoint",placeholder:"counter_inc",e2e:"entryPointElt",disabled_when:["has_wasm"]},xg={id:"argsSimpleElt",type:"search",wrap_class:"col-lg-8 mb-2",class:"form-control",label:"Args",name:"args_simple",controlName:"argsSimple",placeholder:"foo:Bool='true', bar:String='value'",e2e:"argsSimpleElt",disabled_when:["argsJson.value"],storage_name:"args_simple"},Pg={id:"argsJsonElt",type:"textarea",wrap_class:"col-lg-8 mb-2",class:"form-control",label:"Args Json",name:"args_json",controlName:"argsJson",placeholder:'Args as Json [{ "name": "foo", "type": "U256", "value": 1 }]',e2e:"argsJsonElt",disabled_when:["argsSimple.value"],storage_name:"args_json"},BT={id:"seedContractHashElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Contract Hash",name:"seed_contract_hash",controlName:"seedContractHash",placeholder:"hash-0x",e2e:"seedContractHashElt",enabled_when:["newFromContractInfo"]},HT={id:"seedNameElt",type:"search",wrap_class:"col-lg-6 mb-2",class:"form-control",label:"Dictionary Name",name:"seed_name",controlName:"seedName",placeholder:"events",e2e:"seedNameElt",enabled_when:["newFromContractInfo","newFromAccountInfo"]},UT={id:"itemKeyElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Dictionary Item key",name:"item_key",controlName:"itemKey",placeholder:"Item key string",e2e:"itemKeyElt",enabled_when:["newFromContractInfo","newFromAccountInfo","newFromSeedUref"]},$T={id:"queryKeyElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Key",name:"query_key",controlName:"queryKey",placeholder:"uref-0x || hash-0x || account-hash-0x",e2e:"queryKeyElt"},l$={...$T,label:"Contract Hash",placeholder:"hash-0x"},zT={id:"queryPathElt",type:"search",wrap_class:"col-lg-4 mb-2",class:"form-control",label:"Path",name:"query_path",controlName:"queryPath",placeholder:"counter/count",e2e:"queryPathElt"},Lg={id:"deployJsonElt",type:"textarea",wrap_class:"col-lg-12",class:"form-control",label:"Deploy as Json string",name:"deploy_json",controlName:"deployJson",placeholder:"Deploy as Json string",e2e:"deployJsonElt",state_name:["deploy_json"]},Mn=[[{input:{id:"blockIdentifierHeightElt",type:"search",wrap_class:"col-lg-3 col-xl-2 mb-2",class:"form-control",label:"Block Height",name:"block_identifier_height",controlName:"blockIdentifierHeight",placeholder:"Block Height",e2e:"blockIdentifierHeightElt"}},{input:{id:"blockIdentifierHashElt",type:"search",wrap_class:"col-lg-9 col-xl-8 mb-2",class:"form-control",label:"Block Hash",name:"block_identifier_hash",controlName:"blockIdentifierHash",placeholder:"Block Hash",e2e:"blockIdentifierHashElt"}}]],d$=[...Mn,[{input:{id:"accountIdentifierElt",type:"search",wrap_class:"col-lg-9",class:"form-control",label:"Account identifier",name:"account_identifier",controlName:"accountIdentifier",placeholder:"Public Key, AccountHash, Purse URef",e2e:"accountIdentifierElt",state_name:["account_hash","public_key","main_purse"]},required:!0}]],_$=[[{input:Wi}],[{input:{id:"purseUrefElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Purse Uref",name:"purse_uref",controlName:"purseUref",placeholder:"uref-0x",e2e:"purseUrefElt",state_name:["main_purse"]},required:!0}]],f$=[...Mn,[{input:Wi}],[{input:{id:"purseIdentifierElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Purse Identifier",name:"purse_identifier",controlName:"purseIdentifier",placeholder:"Public Key, AccountHash, Purse URef",e2e:"purseIdentifierElt",state_name:["main_purse","account_hash","public_key"]},required:!0}]],p$=[...Mn,[{input:Wi}],[{input:$T,required:!0}],[{input:zT}]],h$=[[{input:Wi}],[{input:BT,required:!0}],[{input:HT,required:!0}],[{input:UT,required:!0}]],g$=[[{input:Wi}],[{input:l$,required:!0}],[{input:zT}]],m$=[[{input:Wi}],[{select:{id:"selectDictIdentifierElt",type:"textarea",wrap_class:"mt-3 col-lg-5 mb-4",class:"form-select form-control form-control-sm",label:"Dictionary identifier",label_class:"input-group-text",name:"select_dict_identifier",controlName:"selectDictIdentifier",e2e:"selectDictIdentifierElt",state_name:["select_dict_identifier"],options:[{value:"newFromSeedUref",label:"From Dictionary Uref"},{value:"newFromContractInfo",label:"From Contract Info",default:!0},{value:"newFromAccountInfo",label:"From Account Info"},{value:"newFromDictionaryKey",label:"From Dictionary Key"}]}}],[{input:BT,required:!0}],[{input:{id:"seedAccountHashElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Account Hash",name:"seed_account_hash",controlName:"seedAccountHash",placeholder:"account-hash-0x",e2e:"seedAccountHashElt",enabled_when:["newFromAccountInfo"]},required:!0}],[{input:{id:"seedUrefElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Dictionary Uref",name:"seed_uref",controlName:"seedUref",placeholder:"uref-0x",e2e:"seedUrefElt",enabled_when:["newFromSeedUref"]},required:!0}],[{input:HT,required:!0}],[{input:UT,required:!0}],[{input:{id:"seedKeyElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Dictionary Key",name:"seed_key",controlName:"seedKey",placeholder:"dictionary-0x",e2e:"seedKeyElt",enabled_when:["newFromDictionaryKey"]},required:!0}]],Vg=[[{input:{id:"transferAmountElt",type:"tel",wrap_class:"col-lg-3 mb-2",class:"form-control",label:"Transfer Amount",name:"transfer_amount",controlName:"transferAmount",e2e:"transferAmountElt",config_name:"minimum_transfer",maxlength:"28",pattern:"\\d*",change:"motesToCSPR"},required:!0},{input:nd}],[{input:{id:"targetAccountElt",type:"search",wrap_class:"col-xl-9",class:"form-control",label:"Target Account",name:"target_account",controlName:"targetAccount",placeholder:"Public Key, AccountHash, Purse URef",e2e:"targetAccountElt"},required:!0}]],w$=[...Mn,...Vg],b$=[[{input:Og,required:!0},{input:nd},{wasm_button:!0}],[{input:xg}],[{textarea:Pg}]],jg=[[{input:Og,required:!0},{input:nd},{wasm_button:!0}],[{input:xT,required:!0},{input:PT},{input:LT}],[{input:VT,required:!0}],[{input:jT,required:!0}],[{input:xg}],[{textarea:Pg}]],v$=[...Mn,...jg],D$=[[{input:Og,required:!0},{input:nd}],[{input:xT},{input:PT},{input:LT}],[{input:VT}],[{input:jT}],[{input:xg}],[{textarea:Pg}]],E$=[...Mn,[{file_button:!0}],[{textarea:Lg,required:!0}]],rd=new Map([["call_entrypoint",D$],["deploy",jg],["get_account",d$],["get_balance",_$],["get_block",Mn],["get_block_transfers",Mn],["get_deploy",[[{input:{id:"deployHashElt",type:"search",wrap_class:"col-xl-7",class:"form-control",label:"Deploy Hash",name:"deploy_hash",controlName:"deployHash",placeholder:"0x",e2e:"deployHashElt"},required:!0},{input:{id:"finalizedApprovalsElt",type:"checkbox",wrap_class:"col-lg-3 mt-3 mt-xl-0",class:"form-check-input mt-0",label:"Finalized approvals",name:"finalized_approvals",controlName:"finalizedApprovals",placeholder:"",e2e:"finalizedApprovalsElt",label_class:"form-label"}}]]],["get_dictionary_item",m$],["get_era_info",Mn],["get_era_summary",Mn],["get_state_root_hash",Mn],["install",b$],["make_deploy",jg],["make_transfer",Vg],["put_deploy",[[{file_button:!0}],[{textarea:Lg,required:!0}]]],["query_balance",f$],["query_contract_dict",h$],["query_contract_key",g$],["query_global_state",p$],["sign_deploy",[[{file_button:!0}],[{textarea:Lg,required:!0}]]],["speculative_deploy",v$],["speculative_exec",E$],["speculative_transfer",w$],["transfer",Vg]]);let kn=(()=>{class t{constructor(){this.state=new vd({})}setState(n){const o={...this.state.getValue(),...n};this.state.next(o)}getState(){return this.state.asObservable()}getValue(){return this.state.getValue()}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ba=(()=>{class t{constructor(n){this.document=n,this.prefix="casper-client",this.window=this.document.defaultView}setState(n){const o={...JSON.parse(this.window?.localStorage.getItem(this.prefix)||"{}"),...n};this.window?.localStorage.setItem(this.prefix,JSON.stringify(o))}get(n){return(JSON.parse(this.window?.localStorage.getItem(this.prefix)||"{}")||{})[n]}static#e=this.\u0275fac=function(r){return new(r||t)(z(ln))};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ha=(()=>{class t{constructor(n,r,o,i){this.config=n,this.formBuilder=r,this.stateService=o,this.storageService=i,this.stateService.getState().subscribe(s=>{this.has_wasm=!!s?.has_wasm,s?.select_dict_identifier&&(this.select_dict_identifier=s.select_dict_identifier),s?.action&&this.action!==s.action&&(s.action&&(this.action=s.action),this.initializeForm()),s&&(this.state=s),this.action&&this.updateForm()}),this.form=this.defaultForm}get defaultForm(){const n={};return rd.forEach(r=>{r.forEach(o=>{o.forEach(i=>{const s=i.input?.controlName||i.textarea?.controlName||"";if(s&&(n[s]=new zi),i.select?.options){const c=i.select?.options.find(l=>l.default)?.value||"";this.stateService.setState({select_dict_identifier:c})}})})}),this.formBuilder.group(n)}initializeForm(){Object.values(this.form.controls).forEach(r=>{r.clearValidators(),r.markAsPristine(),r.disable()});const n=this.action&&rd.get(this.action);n&&n.forEach(r=>{r.forEach(o=>{if(!o.input&&!o.textarea)return;const s=this.form.get(o.input?.controlName||o.textarea?.controlName||"");if(!s)return;const c=o.input?.state_name||o.textarea?.state_name||o.select?.state_name||[],l=c&&c.find(_=>this.state[_]),u=o.input?.storage_name||o.textarea?.storage_name||o.select?.storage_name||"";let d=l?this.state[l]:"";if(d=u?this.storageService.get(u):d,d)d&&s.setValue(d);else if(o.input?.config_name){const _=this.config[o.input?.config_name]||"";_&&s.setValue(_),_&&(o.input.placeholder_config_value=_)}s.enable(),o.required&&(o.input&&(o.input.required=!0),o.textarea&&(o.textarea.required=!0),s.setValidators([o6.required]))})})}updateForm(){const n=this.action&&rd.get(this.action);if(!n)return;const r=[];n.forEach(o=>{o.forEach(({input:i,textarea:s})=>{const c=i?.controlName||s?.controlName;if(!c)return;const l=this.form.get(c);if(l){if(s){const u=s?.state_name||[],d=u&&u.find(h=>this.state[h]),_=d?this.state[d]:"";if(_&&l.setValue(_),s.disabled_when){const h=l.value&&s.disabled_when?.find(y=>y.includes("value")),p=h&&h.split(".")[0],g=p&&this.form?.get(p);g&&(g.disable(),r.push(p)),r.includes(s.controlName)||l.enable()}}else if(i&&i.enabled_when)"get_dictionary_item"===this.action&&this.select_dict_identifier&&!i.enabled_when?.includes(this.select_dict_identifier)?l.disable():this.select_dict_identifier&&l.enable();else if(i&&i.disabled_when){const u=l.value&&i.disabled_when?.find(h=>h.includes("value")),d=u&&u.split(".")[0],_=d&&this.form?.get(d);_&&(_.disable(),r.push(d)),this.has_wasm&&i?.disabled_when?.includes("has_wasm")?(l.reset(),l.disable()):r.includes(i.controlName)||l.enable()}if(i||s){const u=i?.storage_name||s?.storage_name||"";u&&this.storageService.setState({[u]:l.value})}}})})}get formFields(){return rd}static#e=this.\u0275fac=function(r){return new(r||t)(z(ur),z(Z6),z(kn),z(Ba))};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const S$=["template"],T$=(t,e)=>[t,e],M$=(t,e,n)=>[t,e,n];function k$(t,e){if(1&t&&(L(0,"span",10),se(1),V()),2&t){let n;const r=H(2),o=r.inputField,i=r.parentForm,s=H();j(),ht("(",s.motesToCSPR(null==(n=i.get(o.controlName))?null:n.value)," CSPR)")}}function A$(t,e){if(1&t){const n=je();an(0,3),L(1,"input",11),oe("change",function(){De(n);const o=H(2).inputField;return Ee(H().onChange(o))}),V(),cn()}if(2&t){const n=H(2),r=n.inputField,o=n.parentForm,i=H();x("formGroup",o),j(),x("id",r.id)("type",r.type)("name",r.name)("maxlength",r.maxlength||"")("pattern",r.pattern||"")("formControlName",r.controlName)("placeholder",r.placeholder_config_value?"e.g. "+r.placeholder_config_value:r.placeholder||"")("ngClass",pC(10,M$,r.class||"form-control",i.isInvalid(r.controlName)?"is-invalid":"",i.isRequired(r)?"is-required":"")),Ct("e2e-id",r.e2e)}}function N$(t,e){if(1&t&&(L(0,"label",12),se(1),V()),2&t){const n=H(2).inputField;x("for",n.id),j(),ht("e.g. ",n.placeholder,"")}}function R$(t,e){if(1&t&&(L(0,"label",12),se(1),V()),2&t){const n=H(2).inputField;x("for",n.id),j(),ht("e.g. ",n.placeholder_config_value,"")}}function F$(t,e){if(1&t&&(L(0,"div",4)(1,"label",5),se(2),ae(3,k$,2,1,"span",6),V(),L(4,"div",7),ae(5,A$,2,14,"ng-container",8)(6,N$,2,2,"label",9)(7,R$,2,2,"label",9),V()()),2&t){let n,r;const o=H(),i=o.inputField,s=o.parentForm,c=wo(2);x("ngClass",i.wrap_class),j(),x("for",i.id)("ngClass",Ri(10,T$,i.label_class||"",null!=(n=s.get(i.controlName))&&n.disabled?"disabled":"")),j(),ra("",i.label,"",i.required?" *":""," "),j(),x("ngIf",(null==i.change?null:i.change.includes("motesToCSPR"))&&(null==(r=s.get(i.controlName))?null:r.value)),j(2),x("ngIf","checkbox"!==i.type)("ngIfElse",c),j(),x("ngIf",i.placeholder),j(),x("ngIf",i.placeholder_config_value)}}function O$(t,e){if(1&t&&pt(0,"input",13),2&t){const n=H().inputField;x("id",n.id)("name",n.name)("formControlName",n.controlName),Ct("e2e-id",n.e2e)}}function x$(t,e){if(1&t&&ae(0,F$,8,13,"div",2)(1,O$,1,4,"ng-template",3,1,bo),2&t){let n;const r=e.inputField,o=e.parentForm;x("ngIf",!(H().hidden_when_disabled&&null!=(n=o.get(r.controlName))&&n.disabled)),j(),x("formGroup",o)}}let qT=(()=>{class t{constructor(n){this.formService=n}onChange(n){this.parentForm?.get(n.controlName)&&n.disabled_when?.find(i=>i.includes("value"))&&this.formService.updateForm()}isInvalid(n){const r=this.parentForm?.get(n);return!(!r?.enabled||!r?.dirty||r?.value||r?.valid)}isRequired(n){const r=this.parentForm?.get(n.controlName);return!(!r?.enabled||r?.dirty||r?.value||!n.required)}motesToCSPR(n){if(n)return function h3(t){let e,n;try{const u=a.__wbindgen_add_to_stack_pointer(-16),d=w(t,a.__wbindgen_malloc,a.__wbindgen_realloc);a.motesToCSPR(u,d,m);var r=f()[u/4+0],o=f()[u/4+1],i=f()[u/4+2],s=f()[u/4+3],c=r,l=o;if(s)throw c=0,l=0,v(i);return e=c,n=l,M(c,l)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}(n=this.parse_commas(n))}parse_commas(n){return n.replace(/[,.]/g,"")}static#e=this.\u0275fac=function(r){return new(r||t)(S(Ha))};static#t=this.\u0275cmp=lt({type:t,selectors:[["ui-input"]],viewQuery:function(r,o){if(1&r&&jt(S$,7),2&r){let i;Bt(i=Ht())&&(o.template=i.first)}},inputs:{inputField:"inputField",parentForm:"parentForm",hidden_when_disabled:"hidden_when_disabled"},standalone:!0,features:[gt],decls:2,vars:0,consts:[["template",""],["checkboxContent",""],[3,"ngClass",4,"ngIf"],[3,"formGroup"],[3,"ngClass"],[3,"for","ngClass"],["class","fw-light small text-nowrap",4,"ngIf"],[1,"form-floating"],[3,"formGroup",4,"ngIf","ngIfElse"],[3,"for",4,"ngIf"],[1,"fw-light","small","text-nowrap"],[3,"change","id","type","name","maxlength","pattern","formControlName","placeholder","ngClass"],[3,"for"],["type","checkbox",3,"id","name","formControlName"]],template:function(r,o){1&r&&ae(0,x$,3,2,"ng-template",null,0,bo)},dependencies:[Ye,Ar,In,Gi,Oa,ug,pg,zu,Rg,Fg,qi,td],styles:["[_nghost-%COMP%]{display:none}label[_ngcontent-%COMP%]{max-width:100%}.form-floating[_ngcontent-%COMP%] > label[_ngcontent-%COMP%], label.disabled[_ngcontent-%COMP%]{color:#d3d3d3}"],changeDetection:0})}return t})();const P$=["template"],GT=t=>[t];function L$(t,e){if(1&t&&(L(0,"option",6),se(1),V()),2&t){const n=e.$implicit,r=H(2);Ep("value",n.value),x("selected",n.default||r.select_dict_identifier===n.value),j(),ht(" ",n.label," ")}}function V$(t,e){if(1&t){const n=je();L(0,"div",1)(1,"div",2)(2,"label",3),se(3,"Dictionary identifier"),V(),L(4,"select",4),oe("change",function(o){return De(n),Ee(H().onChange(o))}),ae(5,L$,2,3,"option",5),se(6),V()()()}if(2&t){const n=e.inputField,r=H();x("ngClass",n.wrap_class),j(2),x("for",n.id)("ngClass",Sr(9,GT,n.label_class||"")),j(2),x("id",n.id)("name",n.name)("ngClass",Sr(11,GT,n.class||"form-control")),Ct("e2e-id",n.e2e),j(),x("ngForOf",n.options),j(),ht(" ",r.select_dict_identifier," ")}}let WT=(()=>{class t{constructor(n,r,o){this.config=n,this.stateService=r,this.changeDetectorRef=o}ngAfterViewInit(){var n=this;return A(function*(){n.setStateSubscription()})()}ngOnDestroy(){this.stateSubscription&&this.stateSubscription.unsubscribe()}setStateSubscription(){this.stateSubscription=this.stateService.getState().subscribe(n=>{setTimeout(()=>{n.select_dict_identifier&&(this.select_dict_identifier=n.select_dict_identifier),this.changeDetectorRef.markForCheck()})})}onChange(n){const r=n.target?.value;this.stateService.setState({select_dict_identifier:r})}static#e=this.\u0275fac=function(r){return new(r||t)(S(ur),S(kn),S(Zt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["ui-select"]],viewQuery:function(r,o){if(1&r&&jt(P$,7),2&r){let i;Bt(i=Ht())&&(o.template=i.first)}},inputs:{inputField:"inputField",parentForm:"parentForm"},standalone:!0,features:[gt],decls:2,vars:0,consts:[["template",""],[3,"ngClass"],[1,"input-group"],[3,"for","ngClass"],[3,"change","id","name","ngClass"],[3,"value","selected",4,"ngFor","ngForOf"],[3,"value","selected"]],template:function(r,o){1&r&&ae(0,V$,7,13,"ng-template",null,0,bo)},dependencies:[Ye,Ar,ha],changeDetection:0})}return t})();const j$=["template"],B$=(t,e)=>[t,e];function H$(t,e){if(1&t&&(L(0,"label",6),se(1),V()),2&t){const n=H().inputField,r=H();x("for",n.id),j(),Ni(r.currentPlaceholder||n.placeholder)}}function U$(t,e){if(1&t){const n=je();L(0,"div",1)(1,"div",2),an(2,3),L(3,"textarea",4),oe("change",function(o){const i=De(n).inputField;return Ee(H().onChange(o,i))})("focus",function(o){return De(n),Ee(H().onFocus(o))})("blur",function(o){return De(n),Ee(H().onBlur(o))}),se(4," "),V(),ae(5,H$,2,2,"label",5),cn(),V()()}if(2&t){const n=e.inputField,r=e.parentForm,o=H();x("ngClass",n.wrap_class),j(2),x("formGroup",r),j(),x("id",n.id)("name",n.name)("formControlName",n.controlName)("placeholder",o.currentPlaceholder||n.placeholder||"")("ngClass",Ri(9,B$,n.class||"form-control",o.isInvalid(n.controlName)?"is-invalid":"")),Ct("e2e-id",n.e2e),j(2),x("ngIf",n.placeholder)}}let JT=(()=>{class t{constructor(n){this.formService=n,this.update_deploy_json=new Ve,this.jsonPattern=/\[\{.*?\}\]/g}ngOnInit(){this.originalPlaceholder=this.inputField.placeholder||""}ngAfterViewInit(){this.initializePlaceholder()}isInvalid(n){const r=this.parentForm?.get(n);return!!this.parentForm?.touched&&!!r?.invalid}onChange(n,r){const o=n.target;o.name.includes("deploy_json")?this.update_deploy_json.emit(o.value):this.updateForm(r)}onFocus(n){this.currentPlaceholder=this.removeJsonParts(n.target.placeholder)}onBlur(n){n.target.value||(this.currentPlaceholder=this.originalPlaceholder)}updateForm(n){this.parentForm?.get(n.controlName)&&n.disabled_when?.find(i=>i.includes("value"))&&this.formService.updateForm()}removeJsonParts(n){return n.replace(this.jsonPattern,"").trim()}initializePlaceholder(){const n=this.parentForm.get(this.inputField.controlName);this.currentPlaceholder=n&&n.value?this.removeJsonParts(this.originalPlaceholder):this.originalPlaceholder}static#e=this.\u0275fac=function(r){return new(r||t)(S(Ha))};static#t=this.\u0275cmp=lt({type:t,selectors:[["ui-textarea"]],viewQuery:function(r,o){if(1&r&&jt(j$,7),2&r){let i;Bt(i=Ht())&&(o.template=i.first)}},inputs:{inputField:"inputField",parentForm:"parentForm"},outputs:{update_deploy_json:"update_deploy_json"},standalone:!0,features:[gt],decls:2,vars:0,consts:[["template",""],[3,"ngClass"],[1,"form-floating","mt-3"],[3,"formGroup"],[3,"change","focus","blur","id","name","formControlName","placeholder","ngClass"],[3,"for",4,"ngIf"],[3,"for"]],template:function(r,o){1&r&&ae(0,U$,6,12,"ng-template",null,0,bo)},dependencies:[Ye,Ar,In,Gi,Oa,pg,zu,qi,td],styles:["textarea[_ngcontent-%COMP%]{min-height:350px!important;white-space:pre-wrap}@media (max-width: 767px){textarea[_ngcontent-%COMP%]{min-height:200px!important}}.form-floating[_ngcontent-%COMP%] > label[_ngcontent-%COMP%], label.disabled[_ngcontent-%COMP%]{color:#d3d3d3}"],changeDetection:0})}return t})();const $$=["wasmElt"],z$=["template"];function q$(t,e){if(1&t){const n=je();L(0,"button",6),oe("click",function(){return De(n),Ee(H(2).onWasmClick())}),se(1," Wasm Module Bytes "),V()}}function G$(t,e){if(1&t){const n=je();L(0,"span",7),oe("click",function(){return De(n),Ee(H(2).resetWasmClick())}),se(1),Mc(),L(2,"svg",8),pt(3,"path",9),V()()}if(2&t){const n=H(2);j(),ht(" ",n.file_name," ")}}function W$(t,e){if(1&t){const n=je();L(0,"div",2)(1,"input",3,1),oe("change",function(o){return De(n),Ee(H().onWasmSelected(o))}),V(),ae(3,q$,2,0,"button",4)(4,G$,4,1,"span",5),V()}if(2&t){const n=H();j(3),x("ngIf",!n.file_name),j(),x("ngIf",n.file_name)}}let KT=(()=>{class t{constructor(){this.select_wasm=new Ve}onWasmSelected(n){var r=this;return A(function*(){r.file_name=r.wasmElt?.nativeElement.value.split("\\").pop();const o=n.target.files?.item(0),i=yield o?.arrayBuffer();r.wasm=i&&new Uint8Array(i),r.wasm?.buffer||r.resetWasmClick(),r.select_wasm.emit(r.wasm)})()}onWasmClick(){this.wasmElt.nativeElement.click()}resetWasmClick(){this.wasmElt.nativeElement.value="",this.wasm=void 0,this.file_name="",this.select_wasm.emit(void 0)}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-submit-wasm"]],viewQuery:function(r,o){if(1&r&&(jt($$,5),jt(z$,7)),2&r){let i;Bt(i=Ht())&&(o.wasmElt=i.first),Bt(i=Ht())&&(o.template=i.first)}},outputs:{select_wasm:"select_wasm"},standalone:!0,features:[gt],decls:2,vars:0,consts:[["template",""],["wasmElt",""],[1,"col-sm-2","mb-2"],["name","wasm","type","file","id","wasmElt","accept",".wasm","e2e-id","wasmElt",1,"visually-hidden",3,"change"],["class","btn btn-secondary",3,"click",4,"ngIf"],["class","btn btn-light","e2e-id","wasmName",3,"click",4,"ngIf"],[1,"btn","btn-secondary",3,"click"],["e2e-id","wasmName",1,"btn","btn-light",3,"click"],["fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-6","h-6","ml-1","cursor-pointer","shrink-0"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"]],template:function(r,o){1&r&&ae(0,W$,5,2,"ng-template",null,0,bo)},dependencies:[Ye,In],styles:["[_nghost-%COMP%]{display:none}"],changeDetection:0})}return t})(),Ua=(()=>{class t{constructor(){this.error=new vd("")}setError(n){this.error.getValue()!==n&&this.error.next(n)}getError(){return this.error.asObservable()}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const J$=["template"],K$=["deployFileElt"];function Z$(t,e){if(1&t){const n=je();L(0,"div",2)(1,"input",3,1),oe("change",function(o){return De(n),Ee(H().onDeployFileSelected(o))}),V(),L(3,"button",4),oe("click",function(){return De(n),Ee(H().deployFileClick())}),se(4," Load deploy file "),V()()}}let ZT=(()=>{class t{constructor(n){this.errorService=n,this.select_file=new Ve}onDeployFileSelected(n){var r=this;return A(function*(){const o=n.target.files?.item(0);let i;if(r.deploy_json="",o){if(i=yield o.text(),!i.trim())return;i=i.trim();try{const s=JSON.parse(i);r.deploy_json=s}catch{const s="Error parsing deploy";console.error(s),r.errorService.setError(s)}}r.select_file.emit(r.deploy_json),r.deployFileElt.nativeElement.value=""})()}deployFileClick(){this.deployFileElt.nativeElement.click()}static#e=this.\u0275fac=function(r){return new(r||t)(S(Ua))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-submit-file"]],viewQuery:function(r,o){if(1&r&&(jt(J$,7),jt(K$,5)),2&r){let i;Bt(i=Ht())&&(o.template=i.first),Bt(i=Ht())&&(o.deployFileElt=i.first)}},outputs:{select_file:"select_file"},standalone:!0,features:[gt],decls:2,vars:0,consts:[["template",""],["deployFileElt",""],[1,"col-sm-2","mt-2"],["name","deploy_file","type","file","id","deployFileElt","accept",".json, .txt, .deploy","e2e-id","deployFileElt",1,"visually-hidden",3,"change"],[1,"btn","btn-secondary",3,"click"]],template:function(r,o){1&r&&ae(0,Z$,5,0,"ng-template",null,0,bo)},dependencies:[Ye],styles:["[_nghost-%COMP%]{display:none}"],changeDetection:0})}return t})();const Bg=(t,e)=>({parentForm:t,inputField:e});function Y$(t,e){1&t&&mo(0)}function Q$(t,e){if(1&t&&(an(0),pt(1,"ui-input",7,0),ae(3,Y$,1,0,"ng-container",8),cn()),2&t){const n=wo(2),r=H().$implicit,o=H(3);j(),x("parentForm",o.form)("inputField",r.input)("hidden_when_disabled","get_dictionary_item"===o.action),j(2),x("ngTemplateOutlet",n.template)("ngTemplateOutletContext",Ri(5,Bg,o.form,r.input))}}function X$(t,e){1&t&&mo(0)}function e8(t,e){if(1&t){const n=je();an(0),L(1,"ui-textarea",9,0),oe("update_deploy_json",function(o){return De(n),Ee(H(4).updateDeployJson(o))}),V(),ae(3,X$,1,0,"ng-container",8),cn()}if(2&t){const n=wo(2),r=H().$implicit,o=H(3);j(),x("parentForm",o.form)("inputField",r.textarea),j(2),x("ngTemplateOutlet",n.template)("ngTemplateOutletContext",Ri(4,Bg,o.form,r.textarea))}}function t8(t,e){1&t&&mo(0)}function n8(t,e){if(1&t&&(an(0),pt(1,"ui-select",10,0),ae(3,t8,1,0,"ng-container",8),cn()),2&t){const n=wo(2),r=H().$implicit,o=H(3);j(),x("parentForm",o.form)("inputField",r.select),j(2),x("ngTemplateOutlet",n.template)("ngTemplateOutletContext",Ri(4,Bg,o.form,r.select))}}function r8(t,e){1&t&&mo(0)}function o8(t,e){if(1&t){const n=je();an(0),L(1,"comp-submit-wasm",11,1),oe("select_wasm",function(o){return De(n),Ee(H(4).onWasmSelected(o))}),V(),ae(3,r8,1,0,"ng-container",12),cn()}if(2&t){const n=wo(2);j(3),x("ngTemplateOutlet",n.template)}}function i8(t,e){1&t&&mo(0)}function s8(t,e){if(1&t){const n=je();an(0),L(1,"comp-submit-file",13,1),oe("select_file",function(o){return De(n),Ee(H(4).onDeployFileSelected(o))}),V(),ae(3,i8,1,0,"ng-container",12),cn()}if(2&t){const n=wo(2);j(3),x("ngTemplateOutlet",n.template)}}function a8(t,e){if(1&t&&(an(0),ae(1,Q$,4,8,"ng-container",6)(2,e8,4,7,"ng-container",6)(3,n8,4,7,"ng-container",6)(4,o8,4,1,"ng-container",6)(5,s8,4,1,"ng-container",6),cn()),2&t){const n=e.$implicit;j(),x("ngIf",n.input),j(),x("ngIf",n.textarea),j(),x("ngIf",n.select),j(),x("ngIf",n.wasm_button),j(),x("ngIf",n.file_button)}}function c8(t,e){if(1&t&&(an(0),L(1,"div",5),ae(2,a8,6,5,"ng-container",4),V(),cn()),2&t){const n=e.$implicit;j(2),x("ngForOf",n)}}function l8(t,e){if(1&t&&(L(0,"form",3),ae(1,c8,3,1,"ng-container",4),V()),2&t){const n=H();x("formGroup",n.form),j(),x("ngForOf",n.formFields.get(n.action))}}let YT=(()=>{class t{constructor(n,r,o,i){this.config=n,this.formService=r,this.stateService=o,this.changeDetectorRef=i,this.formFields=this.formService.formFields,this.wasm_selected=new Ve,this.verbosity=this.config.verbosity}ngOnDestroy(){this.stateSubscription&&this.stateSubscription.unsubscribe()}ngAfterViewInit(){var n=this;return A(function*(){n.setStateSubscription()})()}setStateSubscription(){this.stateSubscription=this.stateService.getState().subscribe(n=>{n.action&&(this.action=n.action),this.changeDetectorRef.markForCheck()})}onWasmSelected(n){var r=this;return A(function*(){n&&r.wasm_selected.emit(n),r.stateService.setState({has_wasm:!!n})})()}onDeployFileSelected(n){var r=this;return A(function*(){n=n&&ji(new ue(n).toJson(),r.verbosity),r.updateDeployJson(n)})()}updateDeployJson(n){n&&this.stateService.setState({deploy_json:n})}static#e=this.\u0275fac=function(r){return new(r||t)(S(ur),S(Ha),S(kn),S(Zt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-form"]],inputs:{form:"form"},outputs:{wasm_selected:"wasm_selected"},standalone:!0,features:[gt],decls:1,vars:1,consts:[["inputTemplate",""],["submitTemplate",""],["class","mt-3",3,"formGroup",4,"ngIf"],[1,"mt-3",3,"formGroup"],[4,"ngFor","ngForOf"],[1,"row","align-items-end"],[4,"ngIf"],[3,"parentForm","inputField","hidden_when_disabled"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"update_deploy_json","parentForm","inputField"],[3,"parentForm","inputField"],[3,"select_wasm"],[4,"ngTemplateOutlet"],[3,"select_file"]],template:function(r,o){1&r&&ae(0,l8,2,2,"form",2),2&r&&x("ngIf",o.action&&o.formFields&&o.formFields.has(o.action))},dependencies:[Ye,ha,In,gI,Gi,yT,zu,qi,qT,KT,ZT,JT,WT],changeDetection:0})}return t})();const QT=new P("highlight");var u8=An(7278),d8=An.n(u8);let XT=(()=>{class t{constructor(n){this.highlightWebworkerFactory=n}highlightMessage(n){var r=this;return A(function*(){r.activateWorker();const o=r.hightlightWebworker&&(yield r.hightlightWebworker.postMessage(n).catch(i=>{console.error(i)}));return r.terminateWorker(),o})()}activateWorker(){if(this.webworker)return;const n=this.highlightWebworkerFactory();this.webworker=n[0],this.hightlightWebworker=n[1]}terminateWorker(){this.webworker&&(this.webworker.terminate(),delete this.webworker)}static#e=this.\u0275fac=function(r){return new(r||t)(z(QT))};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const _8={provide:QT,useValue:function(){const t=new Worker(An.tu(new URL(An.p+An.u(755),An.b)),{name:"highlight.worker",type:void 0});return[t,new(d8())(t)]}};let f8=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=Zn({type:t});static#n=this.\u0275inj=Nn({providers:[_8,XT],imports:[Ye]})}return t})(),od=(()=>{class t{constructor(n,r){this.highlightService=n,this.document=r,this.result=new zr,this.window=this.document.defaultView}getResult(){return this.result.asObservable()}setResult(n){var r=this;return A(function*(){const o=n,i=yield r.highlightService.highlightMessage(o),s="string"==typeof n;r.result.next({result:s?o:JSON.stringify(o),resultHtml:s?o:i})})()}copyClipboard(n){this.window?.navigator.clipboard.writeText(n).catch(r=>console.error(r))}static#e=this.\u0275fac=function(r){return new(r||t)(z(XT),z(ln))};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),p8=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=Zn({type:t});static#n=this.\u0275inj=Nn({providers:[od],imports:[Ye,f8]})}return t})();const h8=["resultElt"],g8=["codeElt"];function m8(t,e){if(1&t&&(L(0,"div",15,0)(2,"div",16),pt(3,"code",17,1),V()()),2&t){const n=H(2);j(3),x("innerHtml",n.resultHtml,sb)}}function y8(t,e){if(1&t){const n=je();L(0,"div",4)(1,"div",5)(2,"span"),Mc(),L(3,"svg",6),oe("click",function(){De(n);const o=H();return Ee(o.copy(o.result))}),pt(4,"rect",7)(5,"path",8),V()(),function By(){!function aN(){Y.lFrame.currentNamespace=null}()}(),L(6,"span",9),oe("click",function(){return De(n),Ee(H().reset())}),Mc(),L(7,"svg",10),pt(8,"path",11)(9,"path",12)(10,"path",13),V()()(),ae(11,m8,5,1,"div",14),V()}if(2&t){const n=H();j(11),x("ngIf",n.resultHtml)}}let eM=(()=>{class t{constructor(n,r){this.resultService=n,this.changeDetectorRef=r}ngAfterViewInit(){this.getResultSubscription=this.resultService.getResult().subscribe(n=>{this.result=n.result,this.resultHtml=n.resultHtml,this.changeDetectorRef.markForCheck()})}ngOnDestroy(){this.getResultSubscription&&this.getResultSubscription.unsubscribe()}copy(n){this.resultService.copyClipboard(ji(JSON.parse(n),Cu.High))}reset(){this.result="",this.resultHtml="",this.resultService.setResult("")}static#e=this.\u0275fac=function(r){return new(r||t)(S(od),S(Zt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-result"]],viewQuery:function(r,o){if(1&r&&(jt(h8,5),jt(g8,5,on)),2&r){let i;Bt(i=Ht())&&(o.resultElt=i.first),Bt(i=Ht())&&(o.contentChildren=i.first)}},standalone:!0,features:[gt],decls:2,vars:1,consts:[["resultElt",""],["codeElt",""],[1,"mt-3"],["class","row",4,"ngIf"],[1,"row"],[1,"col-xs-12","d-flex","flex-row","justify-content-between","mb-2"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"shrink-0","ml-2","w-5","min-w-5","text-gray-500","cursor-pointer",3,"click"],["x","9","y","9","width","13","height","13","rx","2","ry","2"],["d","M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"],["e2e-id","clear result",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","currentColor","viewBox","0 0 16 16",1,"bi","bi-journal-x","cursor-pointer"],["fill-rule","evenodd","d","M6.146 6.146a.5.5 0 0 1 .708 0L8 7.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 8l1.147 1.146a.5.5 0 0 1-.708.708L8 8.707 6.854 9.854a.5.5 0 0 1-.708-.708L7.293 8 6.146 6.854a.5.5 0 0 1 0-.708z"],["d","M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"],["d","M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"],["class","col-xs-12",4,"ngIf"],[1,"col-xs-12"],[1,"card"],["e2e-id","result",1,"card-body",3,"innerHtml"]],template:function(r,o){1&r&&(L(0,"section",2),ae(1,y8,12,1,"div",3),V()),2&r&&(j(),x("ngIf",o.result))},dependencies:[Ye,In],styles:["code[_ngcontent-%COMP%]{white-space:pre-wrap;overflow-x:hidden;word-wrap:break-word;max-width:100%}.card[_ngcontent-%COMP%]{max-height:calc(95vh - 20px);overflow-y:auto;margin-bottom:20px}@media (max-width: 767px){[_nghost-%COMP%] .hljs-string{overflow-wrap:break-word;word-break:break-all;max-width:100%}}[_nghost-%COMP%] .hljs-attr{font-weight:700}@media (max-width: 767px){code[_ngcontent-%COMP%]{font-size:.8em}}"],changeDetection:0})}return t})();const w8=["selectNetworkElt"],tM=t=>[t];function b8(t,e){if(1&t&&(L(0,"option",18),se(1),V()),2&t){const n=e.$implicit,r=H();x("value",null==n?null:n.name)("selected",n.node_address===r.node_address),j(),ra(" ",null==n?null:n.name," (",n.node_address,") ")}}function v8(t,e){if(1&t&&(L(0,"option",18),se(1),V()),2&t){const n=e.$implicit,r=H(2);x("value",r.changePort(n))("selected",r.changePort(n)===r.node_address),j(),ra(" ",r.changePort(n)," (",r.chain_name,") ")}}function D8(t,e){if(1&t&&(L(0,"optgroup",19),ae(1,v8,2,4,"option",15),V()),2&t){const n=H();j(),x("ngForOf",n.peers)}}function E8(t,e){if(1&t){const n=je();L(0,"div",20)(1,"div",21)(2,"label",22)(3,"span",23),se(4,"Net."),V(),L(5,"span",24),se(6,"Network"),V()(),L(7,"input",25,1),oe("change",function(o){return De(n),Ee(H().onCustomNetworkChange(o))}),V()(),L(9,"div",26)(10,"label",27)(11,"span",23),se(12,"Chai."),V(),L(13,"span",24),se(14,"Chain"),V()(),L(15,"input",28,1),oe("change",function(o){return De(n),Ee(H().onCcustomChainChange(o))}),V()()()}if(2&t){const n=H();j(7),x("value",n.node_address||"")("ngClass",Sr(4,tM,n.isCustomNetworkInvalid()?"is-invalid":"")),j(8),x("value",n.chain_name||"")("ngClass",Sr(6,tM,n.iscustomChainInvalid()?"is-invalid":""))}}let nM=(()=>{class t{constructor(n,r,o,i,s,c,l){this.sdk=n,this.config=r,this.env=o,this.document=i,this.stateService=s,this.storageService=c,this.changeDetectorRef=l,this.networks=this.config.networks,this.network=this.config.network,this.chain_name=this.network.chain_name,this.node_address=this.network.node_address,this.is_production=this.env.production,this.localhost_to_gateway=this.env.localhost_to_gateway,this.window=this.document.defaultView,this.is_electron=this.isElectron()}ngAfterViewInit(){var n=this;return A(function*(){n.storageService.get("chain_name")&&n.storageService.get("node_address")&&(n.chain_name=n.storageService.get("chain_name")||n.chain_name,n.node_address=n.storageService.get("node_address")||n.node_address,n.network=n.networks.find(r=>r.node_address==n.node_address)||n.network),n.stateService.setState({chain_name:n.chain_name,node_address:n.node_address}),n.setNodeAddress(),n.changeDetectorRef.markForCheck()})()}selectNetwork(n){let r=n.target?.value||this.selectNetworkElt.nativeElement.value;r=r&&this.networks.find(o=>o.name==r),this.network=r,this.chain_name=r.chain_name,this.node_address=r.node_address,this.setNodeAddress(),this.stateService.setState({chain_name:r.chain_name}),this.storageService.setState({node_address:this.node_address,chain_name:this.chain_name})}changePort(n){const r=n.address.split(":");return[this.config.default_protocol,r.shift(),":",this.config.default_port].join("")}onCustomNetworkChange(n){this.node_address=n.target?.value||this.network.node_address;const r=this.networks.find(o=>"custom"===o.name);r&&(r.node_address=this.node_address,this.sdk.setNodeAddress(this.node_address),this.stateService.setState({node_address:this.node_address}),this.storageService.setState({node_address:this.node_address}))}isCustomNetworkInvalid(){return!1}onCcustomChainChange(n){this.chain_name=n.target?.value||this.network.chain_name;const r=this.networks.find(o=>"custom"===o.name);r&&(r.chain_name=this.chain_name,this.stateService.setState({chain_name:this.chain_name}),this.storageService.setState({chain_name:this.chain_name}))}iscustomChainInvalid(){return!1}isElectron(){return typeof this.window<"u"&&window.location?.origin?.startsWith("file://")}setNodeAddress(){if(this.is_electron)this.sdk.setNodeAddress(this.node_address);else{const n=this.networks.find(r=>r.node_address==this.node_address);this.is_production&&!this.localhost_to_gateway&&n&&["ntcl","node-launcher"].includes(n?.name)?this.sdk.setNodeAddress(this.node_address):n&&this.sdk.setNodeAddress([this.window?.location?.href,n?.name].join(""))}}static#e=this.\u0275fac=function(r){return new(r||t)(S(Fa),S(ur),S(cg),S(ln),S(kn),S(Ba),S(Zt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-header"]],viewQuery:function(r,o){if(1&r&&jt(w8,5),2&r){let i;Bt(i=Ht())&&(o.selectNetworkElt=i.first)}},inputs:{peers:"peers"},standalone:!0,features:[gt],decls:20,vars:7,consts:[["selectNetworkElt",""],["publicKeyElt",""],[1,"navbar","navbar-light"],[1,"col-5","col-md-2"],[1,"navbar-brand"],["src","assets/logo.png","alt","CasperLabs"],[1,"col-7","col-md-4","col-lg-4","col-xl-5","d-flex","flex-column","flex-xl-row","justify-content-end","px-2","pt-2"],["e2e-id","chain_name",1,"badge","rounded-pill","bg-success","mb-2","ellipsis-container","px-2","me-xl-3",3,"hidden"],["e2e-id","node_address",1,"badge","rounded-pill","bg-success","mb-2","ellipsis-container","px-2","me-xl-3",3,"hidden"],[1,"col-12","col-md-6","col-lg-5"],[1,"form-inline"],[1,"input-group"],["for","selectActionElt","for","selectNetworkElt",1,"input-group-text"],["id","selectNetworkElt","e2e-id","selectNetworkElt",1,"form-select","form-control","form-control-sm",3,"change"],["label","default"],[3,"value","selected",4,"ngFor","ngForOf"],["label","fetched",4,"ngIf"],["class","input-group mt-2 justify-content-between",4,"ngIf"],[3,"value","selected"],["label","fetched"],[1,"input-group","mt-2","justify-content-between"],[1,"col-7"],["for","customNetworkElt",1,"input-group-text"],[1,"d-none","d-md-inline","d-lg-none"],[1,"d-md-none","d-lg-inline"],["type","search","name","customNetwork","id","customNetworkElt","e2e-id","customNetworkElt",1,"form-control","form-control-xs",3,"change","value","ngClass"],[1,"col-4"],["for","publicKeyElt",1,"input-group-text"],["type","search","name","customChain","id","customChainElt","e2e-id","customChainElt",1,"form-control","form-control-xs",3,"change","value","ngClass"]],template:function(r,o){if(1&r){const i=je();L(0,"nav",2)(1,"div",3)(2,"a",4),pt(3,"img",5),V()(),L(4,"div",6)(5,"span",7),se(6),V(),L(7,"span",8),se(8),V()(),L(9,"div",9)(10,"form",10)(11,"div",11)(12,"label",12),se(13,"RPC"),V(),L(14,"select",13,0),oe("change",function(c){return De(i),Ee(o.selectNetwork(c))}),L(16,"optgroup",14),ae(17,b8,2,4,"option",15),V(),ae(18,D8,2,1,"optgroup",16),V()(),ae(19,E8,17,8,"div",17),V()()()}2&r&&(j(5),x("hidden",!o.chain_name),j(),Ni(o.chain_name),j(),x("hidden",!o.node_address),j(),Ni(o.node_address),j(9),x("ngForOf",o.networks),j(),x("ngIf",o.peers),j(),x("ngIf","custom"===(null==o.network?null:o.network.name)))},dependencies:[Ye,Ar,ha,In],styles:[".ellipsis-container[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:auto}"],changeDetection:0})}return t})();function C8(t,e){if(1&t&&(L(0,"section",1)(1,"pre",2),se(2),V()()),2&t){const n=H();j(2),Ni(n.error)}}let rM=(()=>{class t{constructor(n,r){this.errorService=n,this.changeDetectorRef=r}ngAfterViewInit(){var n=this;return A(function*(){n.seterrorSubscription()})()}ngOnDestroy(){this.errorSubscription&&this.errorSubscription.unsubscribe()}seterrorSubscription(){var n=this;this.errorSubscription=this.errorService.getError().subscribe(function(){var r=A(function*(o){n.error!==o&&(n.error=o,n.changeDetectorRef.markForCheck())});return function(o){return r.apply(this,arguments)}}())}static#e=this.\u0275fac=function(r){return new(r||t)(S(Ua),S(Zt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-error"]],standalone:!0,features:[gt],decls:1,vars:1,consts:[["class","mt-3","e2e-id","error",4,"ngIf"],["e2e-id","error",1,"mt-3"],[1,"error","alert","alert-warning","d-flex"]],template:function(r,o){1&r&&ae(0,C8,3,1,"section",0),2&r&&x("ngIf",o.error)},dependencies:[Ye,In],styles:[".error[_ngcontent-%COMP%]{display:block;font-family:monospace;white-space:pre-wrap;word-break:break-word}"],changeDetection:0})}return t})();function I8(t,e){if(1&t){const n=je();L(0,"div",4)(1,"span",5),se(2),V(),L(3,"button",6),oe("click",function(){return De(n),Ee(H().get_state_root_hash())}),se(4,"Refresh"),V()()}if(2&t){const n=H();j(2),ht("state root hash is ",n.state_root_hash,"")}}function S8(t,e){if(1&t&&(L(0,"div",7)(1,"span",8),se(2),V()()),2&t){const n=H();j(2),ht("account hash is ",n.account_hash,"")}}function T8(t,e){if(1&t&&(L(0,"div",7)(1,"span",9),se(2),V()()),2&t){const n=H();j(2),ht("main purse is ",n.main_purse,"")}}let oM=(()=>{class t{constructor(n,r){this.stateService=n,this.changeDetectorRef=r,this.get_state_root_hash_output=new Ve}ngOnDestroy(){this.stateSubscription&&this.stateSubscription.unsubscribe()}setStateSubscription(){this.stateSubscription=this.stateService.getState().subscribe(n=>{n.account_hash&&(this.account_hash=n.account_hash),n.main_purse&&(this.main_purse=n.main_purse),n.state_root_hash&&(this.state_root_hash=n.state_root_hash),n&&this.changeDetectorRef.markForCheck()})}ngAfterViewInit(){var n=this;return A(function*(){n.setStateSubscription()})()}get_state_root_hash(){this.get_state_root_hash_output.emit(!0)}static#e=this.\u0275fac=function(r){return new(r||t)(S(kn),S(Zt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-status"]],outputs:{get_state_root_hash_output:"get_state_root_hash_output"},standalone:!0,features:[gt],decls:5,vars:3,consts:[[1,"row"],[1,"col-sm-12"],["class","alert alert-success d-flex flex-md-row flex-column justify-content-between align-items-center mb-1 mb-md-3",4,"ngIf"],["class","alert alert-warning d-flex mb-1 mb-md-3",4,"ngIf"],[1,"alert","alert-success","d-flex","flex-md-row","flex-column","justify-content-between","align-items-center","mb-1","mb-md-3"],["e2e-id","state_root_hash",1,"ellipsis-container"],[1,"btn","me-0",3,"click"],[1,"alert","alert-warning","d-flex","mb-1","mb-md-3"],["e2e-id","account_hash",1,"ellipsis-container"],["e2e-id","main_purse",1,"ellipsis-container"]],template:function(r,o){1&r&&(L(0,"div",0)(1,"div",1),ae(2,I8,5,1,"div",2)(3,S8,3,1,"div",3)(4,T8,3,1,"div",3),V()()),2&r&&(j(2),x("ngIf",o.state_root_hash),j(),x("ngIf",o.account_hash),j(),x("ngIf",o.main_purse))},dependencies:[Ye,In],styles:[".ellipsis-container[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:auto;font-size:.8em;max-width:260px}@media (min-width: 380px){.ellipsis-container[_ngcontent-%COMP%]{max-width:320px}}@media (min-width: 425px){.ellipsis-container[_ngcontent-%COMP%]{max-width:360px}}@media (min-width: 576px){.ellipsis-container[_ngcontent-%COMP%]{max-width:480px}}@media (min-width: 768px){.ellipsis-container[_ngcontent-%COMP%]{max-width:none;font-size:1em}}.btn[_ngcontent-%COMP%]{white-space:nowrap}@media (max-width: 767px){.btn[_ngcontent-%COMP%]{font-size:.8em;padding-bottom:0}}"],changeDetection:0})}return t})();function M8(t,e){if(1&t&&(L(0,"option",10),se(1),V()),2&t){const n=e.$implicit,r=H();x("value",n)("selected",r.action===n),j(),ht(" ",n," ")}}function k8(t,e){if(1&t&&(L(0,"option",10),se(1),V()),2&t){const n=e.$implicit,r=H();x("value",n)("selected",r.action===n),j(),ht(" ",n," ")}}function A8(t,e){if(1&t&&(L(0,"option",10),se(1),V()),2&t){const n=e.$implicit,r=H();x("value",n)("selected",r.action===n),j(),ht(" ",n," ")}}function N8(t,e){if(1&t&&(L(0,"option",11),se(1),V()),2&t){const n=e.$implicit;x("value",n),j(),ht(" ",n," ")}}let iM=(()=>{class t{constructor(n,r,o){this.sdk=n,this.stateService=r,this.changeDetectorRef=o,this.select_action=new Ve}ngAfterViewInit(){var n=this;return A(function*(){n.sdk_methods=Object.getOwnPropertyNames(Object.getPrototypeOf(n.sdk)).filter(r=>"function"==typeof n.sdk[r]).filter(r=>!["free","constructor","__destroy_into_raw","getNodeAddress","setNodeAddress","getVerbosity","setVerbosity","watchDeploy","waitDeploy"].includes(r)).filter(r=>!r.endsWith("_options")).filter(r=>!r.startsWith("chain_")).filter(r=>!r.startsWith("state_")).filter(r=>!r.startsWith("info_")).filter(r=>!r.startsWith("account")).sort(),n.sdk_deploy_methods=n.sdk_methods.filter(r=>["deploy","speculative_deploy","speculative_transfer","transfer"].includes(r)),n.sdk_deploy_utils_methods=n.sdk_methods.filter(r=>["make_deploy","make_transfer","sign_deploy","put_deploy"].includes(r)),n.sdk_contract_methods=n.sdk_methods.filter(r=>["call_entrypoint","install","query_contract_dict","query_contract_key"].includes(r)),n.sdk_rpc_methods=n.sdk_methods.filter(r=>!n.sdk_deploy_methods.concat(n.sdk_deploy_utils_methods,n.sdk_contract_methods).includes(r)),n.setStateSubscription()})()}ngOnDestroy(){this.stateSubscription&&this.stateSubscription.unsubscribe()}setStateSubscription(){this.stateSubscription=this.stateService.getState().subscribe(n=>{n.action&&(this.action=n.action),this.changeDetectorRef.markForCheck()})}selectAction(n){this.select_action.emit(n.target.value)}static#e=this.\u0275fac=function(r){return new(r||t)(S(Fa),S(kn),S(Zt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-action"]],outputs:{select_action:"select_action"},standalone:!0,features:[gt],decls:14,vars:4,consts:[["selectActionElt",""],[1,"input-group"],["for","selectActionElt",1,"input-group-text"],["id","selectActionElt","e2e-id","selectActionElt",1,"form-select","form-control","form-control-sm",3,"change"],["label","rpc"],[3,"value","selected",4,"ngFor","ngForOf"],["label","deploy utils"],["label","deploy"],["label","contract"],[3,"value",4,"ngFor","ngForOf"],[3,"value","selected"],[3,"value"]],template:function(r,o){if(1&r){const i=je();L(0,"div",1)(1,"label",2),se(2,"Action"),V(),L(3,"select",3,0),oe("change",function(c){return De(i),Ee(o.selectAction(c))}),pt(5,"option"),L(6,"optgroup",4),ae(7,M8,2,3,"option",5),V(),L(8,"optgroup",6),ae(9,k8,2,3,"option",5),V(),L(10,"optgroup",7),ae(11,A8,2,3,"option",5),V(),L(12,"optgroup",8),ae(13,N8,2,2,"option",9),V()()()}2&r&&(j(7),x("ngForOf",o.sdk_rpc_methods),j(2),x("ngForOf",o.sdk_deploy_utils_methods),j(2),x("ngForOf",o.sdk_deploy_methods),j(2),x("ngForOf",o.sdk_contract_methods))},dependencies:[Ye,ha],changeDetection:0})}return t})();const R8=["*"],F8=t=>[t];let sM=(()=>{class t{constructor(n,r){this.stateService=n,this.changeDetectorRef=r,this.submit_action=new Ve}ngAfterViewInit(){var n=this;return A(function*(){n.setStateSubscription()})()}ngOnDestroy(){this.stateSubscription&&this.stateSubscription.unsubscribe()}setStateSubscription(){this.stateSubscription=this.stateService.getState().subscribe(n=>{n.action&&(this.action=n.action),this.changeDetectorRef.markForCheck()})}submitAction(n){this.submit_action.emit(n)}static#e=this.\u0275fac=function(r){return new(r||t)(S(kn),S(Zt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-submit-action"]],inputs:{class:"class",e2e:"e2e"},outputs:{submit_action:"submit_action"},standalone:!0,features:[gt],ngContentSelectors:R8,decls:2,vars:4,consts:[["type","button",1,"btn",3,"click","ngClass"]],template:function(r,o){1&r&&(function OE(t){const e=I()[xe][at];if(!e.projection){const r=e.projection=function dc(t,e){const n=[];for(let r=0;r{class t{constructor(n,r,o,i,s,c){this.config=n,this.sdk=r,this.resultService=o,this.formService=i,this.errorService=s,this.stateService=c,this.verbosity=Cu.High,this.setStateSubscription()}setStateSubscription(){this.stateService.getState().subscribe(n=>{n.chain_name&&(this.chain_name=n.chain_name),this.public_key=n.public_key||"",n.secret_key&&(this.secret_key=n.secret_key),n.deploy_json&&(this.deploy_json=n.deploy_json),n.verbosity&&(this.verbosity=n.verbosity),n.select_dict_identifier&&(this.select_dict_identifier=n.select_dict_identifier)})}get_account(n){var r=this;return A(function*(){let o;if(o=n||r.getIdentifier("accountIdentifier")?.value?.trim(),!o)return void r.errorService.setError("account_identifier is missing".toString());const i=r.sdk.get_account_options({account_identifier_as_string:o});if(i){r.getIdentifieBlock(i);try{const s=yield r.sdk.get_account(i);return n||r.resultService.setResult(s.toJson()),s}catch(s){return void(s&&r.errorService.setError(s.toString()))}}else r.errorService.setError("get_account_options is missing".toString())})()}get_deploy(){var n=this;return A(function*(){const r=n.getIdentifier("finalizedApprovals")?.value,o=n.getIdentifier("deployHash")?.value?.trim();if(!o)return void n.errorService.setError("deploy_hash_as_string is missing".toString());const i=n.sdk.get_deploy_options({deploy_hash_as_string:o});i.finalized_approvals=r;try{const s=yield n.sdk.get_deploy(i);s&&n.resultService.setResult(s.toJson())}catch(s){s&&n.errorService.setError(s.toString())}})()}get_peers(){var n=this;return A(function*(){let r;try{const o=yield n.sdk.get_peers();o&&n.resultService.setResult(o.toJson()),o&&(r=o.peers)}catch(o){o&&n.errorService.setError(o.toString())}return r})()}get_node_status(){var n=this;return A(function*(){const r=yield n.sdk.get_node_status();return r&&n.resultService.setResult(r.toJson()),r})()}get_state_root_hash(n){var r=this;return A(function*(){let o="";const i=r.sdk.get_state_root_hash_options({});if(i||r.errorService.setError("get_state_root_hash options are missing".toString()),n)o=(yield r.sdk.get_state_root_hash(i)).toString();else{r.getIdentifieBlock(i);const s=yield r.sdk.get_state_root_hash(i);s&&r.resultService.setResult(s.toJson())}return o})()}get_auction_info(){var n=this;return A(function*(){try{const r=n.sdk.get_auction_info_options({});n.getIdentifieBlock(r);const o=yield n.sdk.get_auction_info(r);o&&n.resultService.setResult(o.toJson())}catch(r){r&&n.errorService.setError(r.toString())}})()}get_balance(){var n=this;return A(function*(){const r=n.getIdentifier("purseUref")?.value?.trim(),o=n.getIdentifier("stateRootHash")?.value?.trim();if(r)try{const i=n.sdk.get_balance_options({state_root_hash_as_string:o||"",purse_uref_as_string:r}),s=yield n.sdk.get_balance(i);s&&n.resultService.setResult(s.toJson())}catch(i){i&&n.errorService.setError(i.toString())}else n.errorService.setError("purse_uref_as_string is missing".toString())})()}get_block(){var n=this;return A(function*(){try{const r=n.sdk.get_block_options({});n.getIdentifieBlock(r);const o=yield n.sdk.get_block(r);o&&n.resultService.setResult(o.toJson())}catch(r){r&&n.errorService.setError(r.toString())}})()}get_block_transfers(){var n=this;return A(function*(){try{const r=n.sdk.get_block_transfers_options({});n.getIdentifieBlock(r);const o=yield n.sdk.get_block_transfers(r);o&&n.resultService.setResult(o.toJson())}catch(r){r&&n.errorService.setError(r.toString())}})()}get_chainspec(){var n=this;return A(function*(){try{const r=yield n.sdk.get_chainspec(),o=function p3(t){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=w(t,a.__wbindgen_malloc,a.__wbindgen_realloc);a.hexToString(i,s,m);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}(r?.chainspec_bytes.chainspec_bytes);o&&n.resultService.setResult(o)}catch(r){r&&n.errorService.setError(r.toString())}})()}get_era_info(){var n=this;return A(function*(){const r=n.sdk.get_era_info_options({});n.getIdentifieBlock(r);try{const o=yield n.sdk.get_era_info(r);o&&n.resultService.setResult(o.toJson())}catch(o){o&&n.errorService.setError(o.toString())}})()}get_era_summary(){var n=this;return A(function*(){const r=n.sdk.get_era_summary_options({});n.getIdentifieBlock(r);try{const o=yield n.sdk.get_era_summary(r);o&&n.resultService.setResult(o.toJson())}catch(o){o&&n.errorService.setError(o.toString())}})()}get_validator_changes(){var n=this;return A(function*(){try{const r=yield n.sdk.get_validator_changes();r&&n.resultService.setResult(r.toJson())}catch(r){r&&n.errorService.setError(r.toString())}})()}list_rpcs(){var n=this;return A(function*(){try{const r=yield n.sdk.list_rpcs();r&&n.resultService.setResult(r.toJson())}catch(r){r&&n.errorService.setError(r.toString())}})()}query_balance(){var n=this;return A(function*(){const r=n.getIdentifier("purseIdentifier")?.value?.trim();if(!r)return void n.errorService.setError("deploy_hash_as_string is missing".toString());const o=n.sdk.query_balance_options({purse_identifier_as_string:r});n.getGlobalIdentifier(o);try{const i=yield n.sdk.query_balance(o);i&&n.resultService.setResult(i.balance)}catch(i){i&&n.errorService.setError(i.toString())}})()}query_global_state(){var n=this;return A(function*(){const r=n.getIdentifier("queryPath")?.value?.trim()||"",o=n.getIdentifier("queryKey")?.value?.trim();if(!o)return void n.errorService.setError("key_as_string is missing".toString());const i=n.sdk.query_global_state_options({key_as_string:o,path_as_string:r});n.getGlobalIdentifier(i);try{const s=yield n.sdk.query_global_state(i);s&&n.resultService.setResult(s.toJson())}catch(s){s&&n.errorService.setError(s.toString())}})()}deploy(n=!0,r,o){var i=this;return A(function*(){const s=pS(),c=i.getIdentifier("TTL")?.value?.trim()||"";if(!n&&!i.public_key)return void i.errorService.setError("public_key is missing".toString());if(n&&!i.secret_key)return void i.errorService.setError("secret_key is missing".toString());const l=new Ut(i.chain_name,i.public_key,i.secret_key,s,c),u=new Gn,d=i.getIdentifier("paymentAmount")?.value?.trim();if(!d)return void i.errorService.setError("paymentAmount is missing".toString());u.payment_amount=d;const _=i.get_session_params(o);try{let h;if(r){const p={maybe_block_id_as_string:void 0,maybe_block_identifier:void 0};i.getIdentifieBlock(p);const{maybe_block_id_as_string:g,maybe_block_identifier:y}=p;h=yield i.sdk.speculative_deploy(l,_,u,g,y)}else h=n?yield i.sdk.deploy(l,_,u):i.sdk.make_deploy(l,_,u);if(h){const p=h.toJson();i.deploy_json=ji(p,i.verbosity),i.deploy_json&&i.resultService.setResult(p),!n&&i.updateDeployJson(i.deploy_json)}return h}catch(h){return void(h&&i.errorService.setError(h))}})()}install(n){var r=this;return A(function*(){const o=r.getIdentifier("paymentAmount")?.value?.trim();if(!o)return void r.errorService.setError("paymentAmount is missing".toString());if(!r.public_key||!r.secret_key)return void r.errorService.setError("public_key or secret_key is missing".toString());n?.buffer||r.errorService.setError("wasmBuffer is missing".toString());const s=new Ut(r.chain_name,r.public_key,r.secret_key),c=r.get_session_params(n);try{const l=yield r.sdk.install(s,c,o);l&&r.resultService.setResult(l.toJson())}catch(l){l&&r.errorService.setError(l.toString())}})()}transfer(n=!0,r){var o=this;return A(function*(){const i=pS(),s=o.getIdentifier("TTL")?.value?.trim()||"";if(!n&&!o.public_key)return void o.errorService.setError("public_key is missing".toString());if(n&&!o.secret_key)return void o.errorService.setError("secret_key is missing".toString());const c=new Ut(o.chain_name,o.public_key,o.secret_key,i,s),l=new Gn;l.payment_amount=o.config.gas_fee_transfer.toString();const u=o.getIdentifier("transferAmount")?.value?.trim(),d=o.getIdentifier("targetAccount")?.value?.trim();if(u&&d)try{let _;if(r){const h={maybe_block_id_as_string:void 0,maybe_block_identifier:void 0};o.getIdentifieBlock(h);const{maybe_block_id_as_string:p,maybe_block_identifier:g}=h;_=yield o.sdk.speculative_transfer(u,d,void 0,c,l,p,g)}else _=n?yield o.sdk.transfer(u,d,void 0,c,l):o.sdk.make_transfer(u,d,void 0,c,l);if(_){const h=_.toJson();o.deploy_json=ji(h,o.verbosity),o.deploy_json&&o.resultService.setResult(h),!n&&o.updateDeployJson(o.deploy_json)}return _}catch(_){return void(_&&o.errorService.setError(_))}else o.errorService.setError("transfer_amount or target_account is missing".toString())})()}put_deploy(){var n=this;return A(function*(){const r=n.getIdentifier("deployJson")?.value?.trim();if(!r)return void n.errorService.setError("deployJson is missing".toString());const o=new ue(JSON.parse(r)),i=yield n.sdk.put_deploy(o);return i&&n.resultService.setResult(i.toJson()),i})()}speculative_exec(){var n=this;return A(function*(){const r=n.getIdentifier("deployJson")?.value?.trim();if(!r)return void n.errorService.setError("signed_deploy_as_string is missing".toString());const o=new ue(JSON.parse(r)),i=n.sdk.get_speculative_exec_options({deploy:o.toJson()});n.getIdentifieBlock(i);const s=yield n.sdk.speculative_exec(i);return s&&n.resultService.setResult(s.toJson()),s})()}sign_deploy(){var n=this;return A(function*(){if(!n.secret_key)return void n.errorService.setError("secret_key is missing".toString());const r=n.getIdentifier("deployJson")?.value?.trim();if(!r)return void n.errorService.setError("deploy_to_sign is missing".toString());let o;try{o=new ue(JSON.parse(r))}catch(i){return void(i&&n.errorService.setError(i))}o?(o=o.sign(n.secret_key),n.deploy_json=ji(o.toJson(),n.verbosity),n.getIdentifier("deployJson")?.setValue(n.deploy_json),n.updateDeployJson(n.deploy_json)):n.errorService.setError("signed_deploy_as_string is missing".toString())})()}wallet_sign_deploy(){var n=this;return A(function*(){const r=n.getIdentifier("deployJson")?.value?.trim();if(!r)return void n.errorService.setError("deploy_to_sign is missing".toString());let o;try{o=new ue(JSON.parse(r))}catch(i){return void(i&&n.errorService.setError(i))}try{o=yield(new b3).signDeploy(o,n.public_key)}catch(i){return void(i&&n.errorService.setError(i))}n.deploy_json=ji(o.toJson(),n.verbosity),n.getIdentifier("deployJson")?.setValue(n.deploy_json),n.updateDeployJson(n.deploy_json)})()}updateDeployJson(n){n&&this.stateService.setState({deploy_json:n})}make_deploy(n){var r=this;return A(function*(){yield r.deploy(!1,!1,n)})()}make_transfer(){var n=this;return A(function*(){yield n.transfer(!1)})()}speculative_transfer(){var n=this;return A(function*(){yield n.transfer(!1,!0)})()}speculative_deploy(n){var r=this;return A(function*(){yield r.deploy(!1,!0,n)})()}call_entrypoint(){var n=this;return A(function*(){if(!n.public_key||!n.secret_key)return void n.errorService.setError("public_key or secret_key is missing".toString());const r=new Ut(n.chain_name,n.public_key,n.secret_key),o=n.get_session_params(),i=n.getIdentifier("paymentAmount")?.value?.trim();if(i)try{const s=yield n.sdk.call_entrypoint(r,o,i);s&&n.resultService.setResult(s.toJson())}catch(s){s&&n.errorService.setError(s.toString())}else n.errorService.setError("paymentAmount is missing".toString())})()}query_contract_dict(){var n=this;return A(function*(){const r=n.getIdentifier("stateRootHash")?.value?.trim(),o=n.getIdentifier("itemKey")?.value?.trim();if(!o)return void n.errorService.setError("itemKey is missing".toString());const i=n.getIdentifier("seedContractHash")?.value?.trim()||"",s=n.getIdentifier("seedName")?.value?.trim();if(!s)return void n.errorService.setError("seedName is missing".toString());let c;if(i&&(c=new To,c.setContractNamedKey(i,s,o)),!c)return void n.errorService.setError("dictionary_item_params is missing".toString());const l=n.sdk.query_contract_dict_options({state_root_hash_as_string:r||""});l.dictionary_item_params=c;try{const u=yield n.sdk.query_contract_dict(l);u&&n.resultService.setResult(u.toJson())}catch(u){u&&n.errorService.setError(u.toString())}})()}query_contract_key(){var n=this;return A(function*(){const r=n.getIdentifier("stateRootHash")?.value?.trim(),o=n.getIdentifier("queryKey")?.value?.trim();if(!o)return void n.errorService.setError("key_as_string is missing".toString());const i=n.getIdentifier("queryPath")?.value.toString().trim().replace(/^\/+|\/+$/g,""),s=n.sdk.query_contract_key_options({state_root_hash_as_string:r||"",key_as_string:o,path_as_string:i});try{const c=yield n.sdk.query_contract_key(s);c&&n.resultService.setResult(c.toJson())}catch(c){c&&n.errorService.setError(c.toString())}})()}get_dictionary_item(){var n=this;return A(function*(){const r=n.getIdentifier("stateRootHash")?.value?.trim(),o=n.getIdentifier("itemKey")?.value?.trim(),i=n.getIdentifier("seedKey")?.value?.trim();if(!o&&!i)return void n.errorService.setError("seedKey or itemKey is missing".toString());const s=n.getIdentifier("seedUref")?.value?.trim();let c;if(s&&"newFromSeedUref"===n.select_dict_identifier)c=$t.newFromSeedUref(s,o);else if(i&&"newFromDictionaryKey"===n.select_dict_identifier)c=$t.newFromDictionaryKey(i);else{const u=n.getIdentifier("seedContractHash")?.value?.trim(),d=n.getIdentifier("seedAccountHash")?.value?.trim(),_=n.getIdentifier("seedName")?.value?.trim();if(!_)return void n.errorService.setError("seed_name is missing".toString());u&&"newFromContractInfo"===n.select_dict_identifier?c=$t.newFromContractInfo(u,_,o):d&&"newFromAccountInfo"===n.select_dict_identifier&&(c=$t.newFromAccountInfo(d,_,o))}if(!c)return void n.errorService.setError("dictionary_item_identifier is missing".toString());const l=n.sdk.get_dictionary_item_options({state_root_hash_as_string:r||""});l.dictionary_item_identifier=c;try{const u=yield n.sdk.state_get_dictionary_item(l);u&&n.resultService.setResult(u.toJson())}catch(u){u&&n.errorService.setError(u.toString())}})()}getIdentifier(n){return this.formService.form.get(n)}getIdentifieBlock(n){const r=this.getIdentifier("blockIdentifierHeight")?.value?.trim(),o=this.getIdentifier("blockIdentifierHash")?.value?.trim();if(o)n.maybe_block_id_as_string=o,n.maybe_block_identifier=void 0;else if(r){const i=Le.fromHeight(BigInt(r));n.maybe_block_id_as_string=void 0,n.maybe_block_identifier=i}else n.maybe_block_id_as_string=void 0,n.maybe_block_identifier=void 0}getGlobalIdentifier(n){const r=this.getIdentifier("stateRootHash")?.value?.trim();let o;if(r)o=Mt.fromStateRootHash(new Be(r));else{const i=this.getIdentifier("blockIdentifierHeight")?.value?.trim(),s=this.getIdentifier("blockIdentifierHash")?.value?.trim();s?o=Mt.fromBlockHash(new Or(s)):i&&(o=Mt.fromBlockHeight(BigInt(i)))}o&&(n.global_state_identifier=o)}get_session_params(n){const r=new ko,o=this.getIdentifier("entryPoint")?.value?.trim();o&&(r.session_entry_point=o);const i=this.getIdentifier("argsSimple")?.value?.trim().split(",").map(_=>_.trim()).filter(_=>""!==_),s=this.getIdentifier("argsJson")?.value?.trim();i?.length?r.session_args_simple=i:s&&(r.session_args_json=s);const c=this.getIdentifier("callPackage")?.value,l=this.getIdentifier("sessionHash")?.value?.trim(),u=this.getIdentifier("sessionName")?.value?.trim();c?l?r.session_package_hash=l:u&&(r.session_package_name=u):l?r.session_hash=l:u&&(r.session_name=u),n&&(r.session_bytes=lr.fromUint8Array(n));const d=this.getIdentifier("version")?.value?.trim();return d&&(r.session_version=d),r}static#e=this.\u0275fac=function(r){return new(r||t)(z(ur),z(Fa),z(od),z(Ha),z(Ua),z(kn))};static#t=this.\u0275prov=K({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const O8=["publicKeyElt"],x8=t=>[t];let cM=(()=>{class t{constructor(n,r,o,i,s){this.config=n,this.stateService=r,this.clientService=o,this.storageService=i,this.changeDetectorRef=s}ngAfterViewInit(){var n=this;return A(function*(){n.setStateSubscription(),n.public_key=n.storageService.get("public_key")||n.public_key,n.public_key&&(yield n.updateAccount(),n.stateService.setState({public_key:n.public_key}))})()}ngOnDestroy(){this.stateSubscription&&this.stateSubscription.unsubscribe()}setStateSubscription(){var n=this;this.stateSubscription=this.stateService.getState().subscribe(function(){var r=A(function*(o){o.action&&(n.action=o.action),o.public_key&&n.public_key!=o.public_key?(o.public_key&&(n.public_key=o.public_key),o.secret_key&&(n.secret_key=o.secret_key),yield n.updateAccount()):o.public_key&&o.public_key&&(n.public_key=o.public_key),n.changeDetectorRef.markForCheck()});return function(o){return r.apply(this,arguments)}}())}onPublicKeyChange(){var n=this;return A(function*(){const r=n.publicKeyElt&&n.publicKeyElt.nativeElement.value.toString().trim();n.public_key="",n.stateService.setState({public_key:r,secret_key:""}),n.storageService.setState({public_key:r})})()}isInvalid(){return!(this.config.action_needs_public_key&&!this.config.action_needs_public_key?.includes(this.action)||this.publicKeyElt?.nativeElement.value?.trim())}updateAccount(){var n=this;return A(function*(){const r=yield n.clientService.get_account(n.public_key);if(r&&!r.account)return;const o=r?.account?.account_hash,i=r?.account?.main_purse;n.stateService.setState({account_hash:o,main_purse:i}),n.storageService.setState({account_hash:o,main_purse:i})})()}static#e=this.\u0275fac=function(r){return new(r||t)(S(ur),S(kn),S(aM),S(Ba),S(Zt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-public-key"]],viewQuery:function(r,o){if(1&r&&jt(O8,5),2&r){let i;Bt(i=Ht())&&(o.publicKeyElt=i.first)}},standalone:!0,features:[gt],decls:7,vars:4,consts:[["publicKeyElt",""],["for","publicKeyElt",1,"input-group-text"],[1,"d-none","d-md-inline","d-lg-none"],[1,"d-md-none","d-lg-inline"],["type","search","name","public_key","placeholder","e.g. 0x","id","publicKeyElt","e2e-id","publicKeyElt",1,"form-control","form-control-xs",3,"input","value","ngClass"]],template:function(r,o){if(1&r){const i=je();L(0,"label",1)(1,"span",2),se(2,"Pub. Key"),V(),L(3,"span",3),se(4,"Public Key"),V()(),L(5,"input",4,0),oe("input",function(){return De(i),Ee(o.onPublicKeyChange())}),V()}2&r&&(j(5),x("value",o.public_key||"")("ngClass",Sr(2,x8,o.isInvalid()?"is-invalid":"")))},dependencies:[Ye,Ar],changeDetection:0})}return t})();const P8=["secretKeyElt"],L8=t=>[t];function V8(t,e){if(1&t){const n=je();L(0,"button",4),oe("click",function(){return De(n),Ee(H().onSecretKeyClick())}),se(1," Load Secret Key\n"),V()}if(2&t){const n=H();x("ngClass",Sr(1,L8,n.isInvalid()?"btn-warning":"btn-secondary"))}}function j8(t,e){if(1&t){const n=je();L(0,"button",5),oe("click",function(){return De(n),Ee(H().onSecretKeyClick())}),se(1," Secret Key Loaded\n"),V()}}let lM=(()=>{class t{constructor(n,r,o,i,s){this.config=n,this.stateService=r,this.errorService=o,this.storageService=i,this.changeDetectorRef=s}ngAfterViewInit(){var n=this;return A(function*(){n.setStateSubscription()})()}ngOnDestroy(){this.stateSubscription&&this.stateSubscription.unsubscribe()}setStateSubscription(){var n=this;this.stateSubscription=this.stateService.getState().subscribe(function(){var r=A(function*(o){o.action&&(n.action=o.action),n.changeDetectorRef.markForCheck()});return function(o){return r.apply(this,arguments)}}())}onSecretKeyClick(){this.secretKeyElt.nativeElement.click()}onPemSelected(n){var r=this;return A(function*(){const o=n.target.files?.item(0);let i="";if(o){let s=yield o.text();if(!s.trim())return;s=s.trim(),r.errorService.setError("");try{i=function g3(t){try{const o=a.__wbindgen_add_to_stack_pointer(-16),i=w(t,a.__wbindgen_malloc,a.__wbindgen_realloc);a.publicKeyFromSecretKey(o,i,m);var e=f()[o/4+0],n=f()[o/4+1];if(f()[o/4+2])throw v(n);return v(e)}finally{a.__wbindgen_add_to_stack_pointer(16)}}(s)}catch(c){r.errorService.setError(c)}i&&(r.secret_key=s)}else r.secret_key="";r.stateService.setState({public_key:i,secret_key:r.secret_key}),r.storageService.setState({public_key:i}),r.secretKeyElt.nativeElement.value="",r.changeDetectorRef.markForCheck()})()}isInvalid(){return!(this.config.action_needs_secret_key&&!this.config.action_needs_secret_key?.includes(this.action)||this.secret_key)}static#e=this.\u0275fac=function(r){return new(r||t)(S(ur),S(kn),S(Ua),S(Ba),S(Zt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-secret-key"]],viewQuery:function(r,o){if(1&r&&jt(P8,5),2&r){let i;Bt(i=Ht())&&(o.secretKeyElt=i.first)}},standalone:!0,features:[gt],decls:4,vars:2,consts:[["secretKeyElt",""],["name","secret_key","type","file","id","secretKeyElt","accept",".pem","e2e-id","secretKeyElt",1,"visually-hidden",3,"change"],["class","btn",3,"ngClass","click",4,"ngIf"],["class","btn btn-light",3,"click",4,"ngIf"],[1,"btn",3,"click","ngClass"],[1,"btn","btn-light",3,"click"]],template:function(r,o){if(1&r){const i=je();L(0,"input",1,0),oe("change",function(c){return De(i),Ee(o.onPemSelected(c))}),V(),ae(2,V8,2,3,"button",2)(3,j8,2,0,"button",3)}2&r&&(j(2),x("ngIf",!o.secret_key),j(),x("ngIf",o.secret_key))},dependencies:[Ye,Ar,In],changeDetection:0})}return t})();const B8=["selectDictIdentifierElt"],Hg=()=>["sign_deploy"];function H8(t,e){if(1&t){const n=je();L(0,"comp-submit-action",12),oe("submit_action",function(o){return De(n),Ee(H().submitAction(o))}),se(1,"Go"),V()}2&t&&(Al("btn-success ms-1 ms-sm-2 ms-xl-3"),x("e2e","submit"))}function U8(t,e){if(1&t){const n=je();L(0,"comp-submit-action",12),oe("submit_action",function(o){return De(n),Ee(H().submitAction(o))}),se(1,"Sign "),V()}2&t&&(Al("btn-warning mt-3"),x("e2e","sign"))}function $8(t,e){if(1&t){const n=je();L(0,"button",13),oe("click",function(){return De(n),Ee(H().walletSign())}),se(1," Casper Wallet Sign "),V()}2&t&&(Al("btn-warning mt-3 ms-3"),Ct("e2e","wallet_sign"))}let z8=(()=>{class t{constructor(n,r,o,i,s,c,l,u,d){this.sdk=n,this.config=r,this.env=o,this.clientService=i,this.resultService=s,this.stateService=c,this.formService=l,this.errorService=u,this.storageService=d,this.form=this.formService.form}ngOnInit(){var n=this;return A(function*(){console.info(n.sdk)})()}ngOnDestroy(){this.stateSubscription&&this.stateSubscription.unsubscribe()}setStateSubscription(){this.stateSubscription=this.stateService.getState().subscribe(n=>{n.action&&(this.action=n.action)})}ngAfterViewInit(){var n=this;return A(function*(){const o=n.storageService.get("action")||n.config.default_action.toString();try{o==n.config.default_action.toString()&&(yield n.handleAction(o,!0)),yield n.get_state_root_hash(!0)}catch(i){console.error(i),n.errorService.setError(i)}n.stateService.setState({action:o}),n.setStateSubscription()})()}selectAction(n){var r=this;return A(function*(){yield r.cleanResult(),r.stateService.setState({action:n}),yield r.handleAction(n),r.storageService.setState({action:n})})()}submitAction(n){var r=this;return A(function*(){yield r.cleanResult(),(r.form.disabled||r.form.valid)&&(yield r.handleAction(n,!0))})()}walletSign(){var n=this;return A(function*(){n.clientService.wallet_sign_deploy()})()}handleAction(n,r){var o=this;return A(function*(){const i=o[n];if(i&&"function"==typeof i){if(r)try{yield i.bind(o)()}catch(s){o.errorService.setError(s)}}else{const s=`Method ${n} is not defined on the component.`;console.error(s),o.errorService.setError(s)}})()}onWasmSelected(n){var r=this;return A(function*(){n&&(r.wasm=n)})()}cleanResult(){var n=this;return A(function*(){n.errorService.setError(""),yield n.resultService.setResult("")})()}call_entrypoint(){var n=this;return A(function*(){return yield n.clientService.call_entrypoint()})()}deploy(n=!0,r){var o=this;return A(function*(){return yield o.clientService.deploy(n,r,o.wasm)})()}get_account(n){var r=this;return A(function*(){return yield r.clientService.get_account(n)})()}get_auction_info(){var n=this;return A(function*(){return yield n.clientService.get_auction_info()})()}get_balance(){var n=this;return A(function*(){return yield n.clientService.get_balance()})()}get_block(){var n=this;return A(function*(){return yield n.clientService.get_block()})()}get_block_transfers(){var n=this;return A(function*(){return yield n.clientService.get_block_transfers()})()}get_chainspec(){var n=this;return A(function*(){return yield n.clientService.get_chainspec()})()}get_deploy(){var n=this;return A(function*(){return yield n.clientService.get_deploy()})()}get_dictionary_item(){var n=this;return A(function*(){return yield n.clientService.get_dictionary_item()})()}get_era_info(){var n=this;return A(function*(){return yield n.clientService.get_era_info()})()}get_era_summary(){var n=this;return A(function*(){return yield n.clientService.get_era_summary()})()}get_node_status(){var n=this;return A(function*(){return yield n.clientService.get_node_status()})()}get_peers(){var n=this;return A(function*(){return n.peers=yield n.clientService.get_peers(),n.peers})()}get_state_root_hash(n){var r=this;return A(function*(){const o=yield r.clientService.get_state_root_hash(n);return r.stateService.setState({state_root_hash:o}),o})()}get_validator_changes(){var n=this;return A(function*(){return yield n.clientService.get_validator_changes()})()}install(){var n=this;return A(function*(){return yield n.clientService.install(n.wasm)})()}list_rpcs(){var n=this;return A(function*(){return yield n.clientService.list_rpcs()})()}make_deploy(){var n=this;return A(function*(){return yield n.clientService.make_deploy(n.wasm)})()}make_transfer(){var n=this;return A(function*(){return yield n.clientService.make_transfer()})()}put_deploy(){var n=this;return A(function*(){return yield n.clientService.put_deploy()})()}query_balance(){var n=this;return A(function*(){return yield n.clientService.query_balance()})()}query_contract_dict(){var n=this;return A(function*(){return yield n.clientService.query_contract_dict()})()}query_contract_key(){var n=this;return A(function*(){return yield n.clientService.query_contract_key()})()}query_global_state(){var n=this;return A(function*(){return yield n.clientService.query_global_state()})()}sign_deploy(){var n=this;return A(function*(){return yield n.clientService.sign_deploy()})()}speculative_deploy(){var n=this;return A(function*(){return yield n.clientService.speculative_deploy(n.wasm)})()}speculative_exec(){var n=this;return A(function*(){return yield n.clientService.speculative_exec()})()}speculative_transfer(){var n=this;return A(function*(){return yield n.clientService.speculative_transfer()})()}transfer(n=!0,r){var o=this;return A(function*(){return yield o.clientService.transfer(n,r)})()}static#e=this.\u0275fac=function(r){return new(r||t)(S(Fa),S(ur),S(cg),S(aM),S(od),S(kn),S(Ha),S(Ua),S(Ba))};static#t=this.\u0275cmp=lt({type:t,selectors:[["app-root"]],viewQuery:function(r,o){if(1&r&&jt(B8,5),2&r){let i;Bt(i=Ht())&&(o.selectDictIdentifierElt=i.first)}},standalone:!0,features:[gt],decls:16,vars:8,consts:[[1,"container"],[3,"peers"],[3,"get_state_root_hash_output"],[1,"row","flex-column-reverse","flex-column-reverse","flex-md-row"],[1,"col-12","col-md-6","col-lg-5","my-1","my-md-0","d-flex","justify-content-between"],[1,"w-100",3,"select_action"],[3,"class","e2e","submit_action",4,"ngIf"],[1,"col-12","col-md-6","col-lg-7","my-1","my-md-0","d-flex","justify-content-end","ps-md-0"],[1,"input-group"],[1,"d-flex","justify-content-end","ms-1","ms-sm-2","ms-xl-3"],[3,"wasm_selected","form"],["type","button","class","btn",3,"class","click",4,"ngIf"],[3,"submit_action","e2e"],["type","button",1,"btn",3,"click"]],template:function(r,o){1&r&&(L(0,"main",0),pt(1,"comp-header",1),L(2,"comp-status",2),oe("get_state_root_hash_output",function(s){return o.get_state_root_hash(s)}),V(),L(3,"div",3)(4,"div",4)(5,"comp-action",5),oe("select_action",function(s){return o.selectAction(s)}),V(),ae(6,H8,2,3,"comp-submit-action",6),V(),L(7,"div",7),pt(8,"comp-public-key",8),L(9,"div",9),pt(10,"comp-secret-key"),V()()(),pt(11,"comp-error"),L(12,"comp-form",10),oe("wasm_selected",function(s){return o.onWasmSelected(s)}),V(),ae(13,U8,2,3,"comp-submit-action",6)(14,$8,2,3,"button",11),pt(15,"comp-result"),V()),2&r&&(j(),x("peers",o.peers),j(5),x("ngIf",!Vl(5,Hg).includes(o.action)),j(6),x("form",o.form),j(),x("ngIf",Vl(6,Hg).includes(o.action)),j(),x("ngIf",Vl(7,Hg).includes(o.action)))},dependencies:[Ye,In,Gi,YT,eM,nM,rM,oM,iM,sM,cM,lM],changeDetection:0})}return t})(),id=Object.entries(Ao.networks).map(([t,e])=>({name:t,...e}));lg.production&&(id=id.filter(t=>"dev"!==t.name)),Ao.networks=id,Ao.network=id.find(t=>t.name==lg.default_network.toString()),function e3(t,e){return Gj({rootComponent:t,...aS(e)})}(z8,{providers:[{provide:cg,useValue:lg},{provide:ur,useValue:Ao},{provide:A1,useValue:Ao.wasm_asset_path},{provide:N1,useValue:Ao.network?.node_address},{provide:R1,useValue:Cu[Ao.verbosity]},oy([TU,B3,p8])]}).then(()=>{}).catch(()=>{})},7278:Ki=>{var za=0;function An(A,At){var me=At.data;if(Array.isArray(me)&&!(me.length<2)){var pn=me[0],dr=me[1],yt=me[2],Q=A._callbacks[pn];Q&&(delete A._callbacks[pn],Q(dr,yt))}}function Br(A){var At=this;At._worker=A,At._callbacks={},A.addEventListener("message",function(me){An(At,me)})}Br.prototype.postMessage=function(A){var At=this,me=za++,pn=[me,A];return new Promise(function(dr,yt){if(At._callbacks[me]=function(Hr,sd){if(Hr)return yt(new Error(Hr.message));dr(sd)},typeof At._worker.controller<"u"){var Q=new MessageChannel;Q.port1.onmessage=function(Hr){An(At,Hr)},At._worker.controller.postMessage(pn,[Q.port2])}else At._worker.postMessage(pn)})},Ki.exports=Br}},Ki=>{Ki(Ki.s=5168)}]); \ No newline at end of file diff --git a/examples/frontend/angular/dist/casper/main.dc746019ec96101d.js b/examples/frontend/angular/dist/casper/main.dc746019ec96101d.js new file mode 100644 index 000000000..b0d85bcf8 --- /dev/null +++ b/examples/frontend/angular/dist/casper/main.dc746019ec96101d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcasper=self.webpackChunkcasper||[]).push([[792],{5168:(Ki,za,Mn)=>{function Br(t,e,n,r,o,i,s){try{var c=t[i](s),l=c.value}catch(u){return void n(u)}c.done?e(l):Promise.resolve(l).then(r,o)}function A(t){return function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function s(l){Br(i,r,o,s,c,"next",l)}function c(l){Br(i,r,o,s,c,"throw",l)}s(void 0)})}}function kt(t,e){return Object.is(t,e)}let me=null,fn=!1,lr=1;const yt=Symbol("SIGNAL");function Q(t){const e=me;return me=t,e}const qa={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function sd(t){if(fn)throw new Error("");if(null===me)return;me.consumerOnSignalRead(t);const e=me.nextProducerIndex++;Ja(me),et.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function cd(t){Ja(t);for(let e=0;e0}function Ja(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function im(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function sm(t){return void 0!==t.producerNode}const ud=Symbol("UNSET"),dd=Symbol("COMPUTING"),Ka=Symbol("ERRORED"),bM={...qa,value:ud,dirty:!0,error:null,equal:kt,producerMustRecompute:t=>t.value===ud||t.value===dd,producerRecomputeValue(t){if(t.value===dd)throw new Error("Detected cycle in computations.");const e=t.value;t.value=dd;const n=Ga(t);let r;try{r=t.computation()}catch(o){r=Ka,t.error=o}finally{ad(t,n)}e!==ud&&e!==Ka&&r!==Ka&&t.equal(e,r)?t.value=e:(t.value=r,t.version++)}};let am=function vM(){throw new Error};function cm(){am()}let Za=null;function lm(t,e){nm()||cm(),t.equal(t.value,e)||(t.value=e,function SM(t){t.version++,function yM(){lr++}(),tm(t),Za?.()}(t))}const IM={...qa,equal:kt,value:void 0};function He(t){return"function"==typeof t}function dm(t){const n=t(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const _d=dm(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function fd(t,e){if(t){const n=t.indexOf(e);0<=n&&t.splice(n,1)}}class Xt{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(He(r))try{r()}catch(i){e=i instanceof _d?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{pm(i)}catch(s){e=e??[],s instanceof _d?e=[...e,...s.errors]:e.push(s)}}if(e)throw new _d(e)}}add(e){var n;if(e&&e!==this)if(this.closed)pm(e);else{if(e instanceof Xt){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(e)}}_hasParent(e){const{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){const{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&fd(n,e)}remove(e){const{_finalizers:n}=this;n&&fd(n,e),e instanceof Xt&&e._removeParent(this)}}Xt.EMPTY=(()=>{const t=new Xt;return t.closed=!0,t})();const _m=Xt.EMPTY;function fm(t){return t instanceof Xt||t&&"closed"in t&&He(t.remove)&&He(t.add)&&He(t.unsubscribe)}function pm(t){He(t)?t():t.unsubscribe()}const Ur={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ya={setTimeout(t,e,...n){const{delegate:r}=Ya;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){const{delegate:e}=Ya;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function hm(t){Ya.setTimeout(()=>{const{onUnhandledError:e}=Ur;if(!e)throw t;e(t)})}function gm(){}const MM=pd("C",void 0,void 0);function pd(t,e,n){return{kind:t,value:e,error:n}}let $r=null;function Qa(t){if(Ur.useDeprecatedSynchronousErrorHandling){const e=!$r;if(e&&($r={errorThrown:!1,error:null}),t(),e){const{errorThrown:n,error:r}=$r;if($r=null,n)throw r}}else t()}class hd extends Xt{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,fm(e)&&e.add(this)):this.destination=xM}static create(e,n,r){return new md(e,n,r)}next(e){this.isStopped?yd(function AM(t){return pd("N",t,void 0)}(e),this):this._next(e)}error(e){this.isStopped?yd(function kM(t){return pd("E",void 0,t)}(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?yd(MM,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const RM=Function.prototype.bind;function gd(t,e){return RM.call(t,e)}class FM{constructor(e){this.partialObserver=e}next(e){const{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){Xa(r)}}error(e){const{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){Xa(r)}else Xa(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){Xa(n)}}}class md extends hd{constructor(e,n,r){let o;if(super(),He(e)||!e)o={next:e??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&Ur.useDeprecatedNextContext?(i=Object.create(e),i.unsubscribe=()=>this.unsubscribe(),o={next:e.next&&gd(e.next,i),error:e.error&&gd(e.error,i),complete:e.complete&&gd(e.complete,i)}):o=e}this.destination=new FM(o)}}function Xa(t){Ur.useDeprecatedSynchronousErrorHandling?function NM(t){Ur.useDeprecatedSynchronousErrorHandling&&$r&&($r.errorThrown=!0,$r.error=t)}(t):hm(t)}function yd(t,e){const{onStoppedNotification:n}=Ur;n&&Ya.setTimeout(()=>n(t,e))}const xM={closed:!0,next:gm,error:function OM(t){throw t},complete:gm},wd="function"==typeof Symbol&&Symbol.observable||"@@observable";function PM(t){return t}let At=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function VM(t){return t&&t instanceof hd||function LM(t){return t&&He(t.next)&&He(t.error)&&He(t.complete)}(t)&&fm(t)}(n)?n:new md(n,r,o);return Qa(()=>{const{operator:s,source:c}=this;i.add(s?s.call(i,c):c?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=ym(r))((o,i)=>{const s=new md({next:c=>{try{n(c)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[wd](){return this}pipe(...n){return function mm(t){return 0===t.length?PM:1===t.length?t[0]:function(n){return t.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=ym(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return t.create=e=>new t(e),t})();function ym(t){var e;return null!==(e=t??Ur.Promise)&&void 0!==e?e:Promise}const jM=dm(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let zr=(()=>{class t extends At{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new wm(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new jM}next(n){Qa(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){Qa(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Qa(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?_m:(this.currentObservers=null,i.push(n),new Xt(()=>{this.currentObservers=null,fd(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new At;return n.source=this,n}}return t.create=(e,n)=>new wm(e,n),t})();class wm extends zr{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,e)}error(e){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,e)}complete(){var e,n;null===(n=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===n||n.call(e)}_subscribe(e){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(e))&&void 0!==r?r:_m}}class bd extends zr{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){const{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}}function qr(t){return e=>{if(function BM(t){return He(t?.lift)}(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function ur(t,e,n,r,o){return new HM(t,e,n,r,o)}class HM extends hd{constructor(e,n,r,o,i,s){super(e),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(c){try{n(c)}catch(l){e.error(l)}}:super._next,this._error=o?function(c){try{o(c)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(c){e.error(c)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}function dr(t,e){return qr((n,r)=>{let o=0;n.subscribe(ur(r,i=>{r.next(t.call(e,i,o++))}))})}typeof navigator<"u"&&navigator,typeof navigator<"u"&&!/Opera/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&(/MSIE/.test(navigator.userAgent)||navigator),typeof navigator<"u"&&!/Opera|WebKit/.test(navigator.userAgent)&&navigator,typeof navigator<"u"&&navigator;const jm="https://g.co/ng/security#xss";class R extends Error{constructor(e,n){super(function Fo(t,e){return`NG0${Math.abs(t)}${e?": "+e:""}`}(e,n)),this.code=e}}function Gn(t){return{toString:t}.toString()}const xo="__parameters__";function Lo(t,e,n){return Gn(()=>{const r=function Md(t){return function(...n){if(t){const r=t(...n);for(const o in r)this[o]=r[o]}}}(e);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return c.annotation=s,c;function c(l,u,d){const _=l.hasOwnProperty(xo)?l[xo]:Object.defineProperty(l,xo,{value:[]})[xo];for(;_.length<=d;)_.push(null);return(_[d]=_[d]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}const Ne=globalThis;function ye(t){for(let e in t)if(t[e]===ye)return e;throw Error("Could not find renamed property on target object.")}function Hk(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function Qe(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Qe).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function kd(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const Uk=ye({__forward_ref__:ye});function Se(t){return t.__forward_ref__=Se,t.toString=function(){return Qe(this())},t}function K(t){return oc(t)?t():t}function oc(t){return"function"==typeof t&&t.hasOwnProperty(Uk)&&t.__forward_ref__===Se}function J(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function kn(t){return{providers:t.providers||[],imports:t.imports||[]}}function ic(t){return $m(t,ac)||$m(t,zm)}function $m(t,e){return t.hasOwnProperty(e)?t[e]:null}function sc(t){return t&&(t.hasOwnProperty(Ad)||t.hasOwnProperty(Wk))?t[Ad]:null}const ac=ye({\u0275prov:ye}),Ad=ye({\u0275inj:ye}),zm=ye({ngInjectableDef:ye}),Wk=ye({ngInjectorDef:ye});class P{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=J({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function xd(t){return t&&!!t.\u0275providers}const Qi=ye({\u0275cmp:ye}),Pd=ye({\u0275dir:ye}),Ld=ye({\u0275pipe:ye}),Wn=ye({\u0275fac:ye}),Xi=ye({__NG_ELEMENT_ID__:ye}),Wm=ye({__NG_ENV_ID__:ye});function X(t){return"string"==typeof t?t:null==t?"":String(t)}function Vd(t,e){throw new R(-201,!1)}var le=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(le||{});let jd;function Jm(){return jd}function Nt(t){const e=jd;return jd=t,e}function Km(t,e,n){const r=ic(t);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&le.Optional?null:void 0!==e?e:void Vd()}const es={},Bd="__NG_DI_FLAG__",cc="ngTempTokenPath",Xk=/\n/gm,Zm="__source";let Vo;function pr(t){const e=Vo;return Vo=t,e}function nA(t,e=le.Default){if(void 0===Vo)throw new R(-203,!1);return null===Vo?Km(t,void 0,e):Vo.get(t,e&le.Optional?null:void 0,e)}function z(t,e=le.Default){return(Jm()||nA)(K(t),e)}function B(t,e=le.Default){return z(t,lc(e))}function lc(t){return typeof t>"u"||"number"==typeof t?t:(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Hd(t){const e=[];for(let n=0;nArray.isArray(n)?jo(n,e):e(n))}function Qm(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function uc(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function zt(t,e,n){let r=Bo(t,e);return r>=0?t[1|r]=n:(r=~r,function Xm(t,e,n,r){let o=t.length;if(o==e)t.push(n,r);else if(1===o)t.push(r,t[0]),t[0]=n;else{for(o--,t.push(t[o-1],t[o]);o>e;)t[o]=t[o-2],o--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function qd(t,e){const n=Bo(t,e);if(n>=0)return t[1|n]}function Bo(t,e){return function ey(t,e,n){let r=0,o=t.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=t[i<e?o=i:r=i+1}return~(o<e){s=i-1;break}}}for(;i-1){let i;for(;++oi?"":o[d+1].toLowerCase(),2&r&&u!==_){if(hn(r))return!1;s=!0}}}}else{if(!s&&!hn(r)&&!hn(l))return!1;if(s&&hn(l))continue;s=!1,r=l|1&r}}return hn(r)||s}function hn(t){return!(1&t)}function pA(t,e,n,r){if(null===e)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+c+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!hn(s)&&(e+=ay(i,o),o=""),r=s,i=i||!hn(r);n++}return""!==o&&(e+=ay(i,o)),e}function lt(t){return Gn(()=>{const e=ly(t),n={...e,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===fc.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||pn.Emulated,styles:t.styles||_e,_:null,schemas:t.schemas||null,tView:null,id:""};uy(n);const r=t.dependencies;return n.directiveDefs=pc(r,!1),n.pipeDefs=pc(r,!0),n.id=function IA(t){let e=0;const n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const o of n)e=Math.imul(31,e)+o.charCodeAt(0)|0;return e+=2147483648,"c"+e}(n),n})}function DA(t){return ie(t)||Xe(t)}function EA(t){return null!==t}function Jn(t){return Gn(()=>({type:t.type,bootstrap:t.bootstrap||_e,declarations:t.declarations||_e,imports:t.imports||_e,exports:t.exports||_e,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function cy(t,e){if(null==t)return An;const n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];let i,s,c=hr.None;Array.isArray(o)?(c=o[0],i=o[1],s=o[2]??i):(i=o,s=o),e?(n[i]=c!==hr.None?[r,c]:r,e[i]=s):n[i]=r}return n}function ne(t){return Gn(()=>{const e=ly(t);return uy(e),e})}function ie(t){return t[Qi]||null}function Xe(t){return t[Pd]||null}function it(t){return t[Ld]||null}function ly(t){const e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||An,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||_e,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:cy(t.inputs,e),outputs:cy(t.outputs),debugInfo:null}}function uy(t){t.features?.forEach(e=>e(t))}function pc(t,e){if(!t)return null;const n=e?it:DA;return()=>("function"==typeof t?t():t).map(r=>n(r)).filter(EA)}function dy(...t){return{\u0275providers:Kd(0,t),\u0275fromNgModule:!0}}function Kd(t,...e){const n=[],r=new Set;let o;const i=s=>{n.push(s)};return jo(e,s=>{const c=s;hc(c,i,[],r)&&(o||=[],o.push(c))}),void 0!==o&&_y(o,i),n}function _y(t,e){for(let n=0;n{e(i,r)})}}function hc(t,e,n,r){if(!(t=K(t)))return!1;let o=null,i=sc(t);const s=!i&&ie(t);if(i||s){if(s&&!s.standalone)return!1;o=t}else{const l=t.ngModule;if(i=sc(l),!i)return!1;o=l}const c=r.has(o);if(s){if(c)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)hc(u,e,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!c){let u;r.add(o);try{jo(i.imports,d=>{hc(d,e,n,r)&&(u||=[],u.push(d))})}finally{}void 0!==u&&_y(u,e)}if(!c){const u=Wr(o)||(()=>new o);e({provide:o,useFactory:u,deps:_e},o),e({provide:Gd,useValue:o,multi:!0},o),e({provide:Nn,useValue:()=>z(o),multi:!0},o)}const l=i.providers;if(null!=l&&!c){const u=t;Zd(l,d=>{e(d,u)})}}}return o!==t&&void 0!==t.providers}function Zd(t,e){for(let n of t)xd(n)&&(n=n.\u0275providers),Array.isArray(n)?Zd(n,e):e(n)}const SA=ye({provide:String,useValue:ye});function Yd(t){return null!==t&&"object"==typeof t&&SA in t}function Kr(t){return"function"==typeof t}const Qd=new P(""),gc={},MA={};let Xd;function mc(){return void 0===Xd&&(Xd=new _c),Xd}class en{}class Ho extends en{get destroyed(){return this._destroyed}constructor(e,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,t_(e,s=>this.processProvider(s)),this.records.set(ty,Uo(void 0,this)),o.has("environment")&&this.records.set(en,Uo(void 0,this));const i=this.records.get(Qd);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Gd,_e,le.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const e=Q(null);try{for(const r of this._ngOnDestroyHooks)r.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const r of n)r()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Q(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();const n=pr(this),r=Nt(void 0);try{return e()}finally{pr(n),Nt(r)}}get(e,n=es,r=le.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Wm))return e[Wm](this);r=lc(r);const i=pr(this),s=Nt(void 0);try{if(!(r&le.SkipSelf)){let l=this.records.get(e);if(void 0===l){const u=function FA(t){return"function"==typeof t||"object"==typeof t&&t instanceof P}(e)&&ic(e);l=u&&this.injectableDefInScope(u)?Uo(e_(e),gc):null,this.records.set(e,l)}if(null!=l)return this.hydrate(e,l)}return(r&le.Self?mc():this.parent).get(e,n=r&le.Optional&&n===es?null:n)}catch(c){if("NullInjectorError"===c.name){if((c[cc]=c[cc]||[]).unshift(Qe(e)),i)throw c;return function oA(t,e,n,r){const o=t[cc];throw e[Zm]&&o.unshift(e[Zm]),t.message=function iA(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let o=Qe(e);if(Array.isArray(e))o=e.map(Qe).join(" -> ");else if("object"==typeof e){let i=[];for(let s in e)if(e.hasOwnProperty(s)){let c=e[s];i.push(s+":"+("string"==typeof c?JSON.stringify(c):Qe(c)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${t.replace(Xk,"\n ")}`}("\n"+t.message,o,n,r),t.ngTokenPath=o,t[cc]=null,t}(c,e,"R3InjectorError",this.source)}throw c}finally{Nt(s),pr(i)}}resolveInjectorInitializers(){const e=Q(null),n=pr(this),r=Nt(void 0);try{const i=this.get(Nn,_e,le.Self);for(const s of i)s()}finally{pr(n),Nt(r),Q(e)}}toString(){const e=[],n=this.records;for(const r of n.keys())e.push(Qe(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new R(205,!1)}processProvider(e){let n=Kr(e=K(e))?e:K(e&&e.provide);const r=function AA(t){return Yd(t)?Uo(void 0,t.useValue):Uo(hy(t),gc)}(e);if(!Kr(e)&&!0===e.multi){let o=this.records.get(n);o||(o=Uo(void 0,gc,!0),o.factory=()=>Hd(o.multi),this.records.set(n,o)),n=e,o.multi.push(e)}this.records.set(n,r)}hydrate(e,n){const r=Q(null);try{return n.value===gc&&(n.value=MA,n.value=n.factory()),"object"==typeof n.value&&n.value&&function RA(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}finally{Q(r)}}injectableDefInScope(e){if(!e.providedIn)return!1;const n=K(e.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){const n=this._onDestroyHooks.indexOf(e);-1!==n&&this._onDestroyHooks.splice(n,1)}}function e_(t){const e=ic(t),n=null!==e?e.factory:Wr(t);if(null!==n)return n;if(t instanceof P)throw new R(204,!1);if(t instanceof Function)return function kA(t){if(t.length>0)throw new R(204,!1);const n=function Gk(t){return t&&(t[ac]||t[zm])||null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new R(204,!1)}function hy(t,e,n){let r;if(Kr(t)){const o=K(t);return Wr(o)||e_(o)}if(Yd(t))r=()=>K(t.useValue);else if(function py(t){return!(!t||!t.useFactory)}(t))r=()=>t.useFactory(...Hd(t.deps||[]));else if(function fy(t){return!(!t||!t.useExisting)}(t))r=()=>z(K(t.useExisting));else{const o=K(t&&(t.useClass||t.provide));if(!function NA(t){return!!t.deps}(t))return Wr(o)||e_(o);r=()=>new o(...Hd(t.deps))}return r}function Uo(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function t_(t,e){for(const n of t)Array.isArray(n)?t_(n,e):n&&xd(n)?t_(n.\u0275providers,e):e(n)}const Oe=0,F=1,q=2,We=3,gn=4,st=5,wt=6,zo=7,Te=8,Je=9,Rn=10,Z=11,is=12,yy=13,qo=14,xe=15,Zr=16,Go=17,Kn=18,Wo=19,wy=20,gr=21,wc=22,tn=23,U=25,o_=1,Fn=7,Jo=9,Ue=10;var vc=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(vc||{});function tt(t){return Array.isArray(t)&&"object"==typeof t[o_]}function dt(t){return Array.isArray(t)&&!0===t[o_]}function i_(t){return!!(4&t.flags)}function Yr(t){return t.componentOffset>-1}function Dc(t){return!(1&~t.flags)}function mn(t){return!!t.template}function as(t){return!!(512&t[q])}class GA{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Cy(t,e,n,r){null!==e?e.applyValueToInputSignal(e,r):t[n]=r}function Zn(){return Iy}function Iy(t){return t.type.prototype.ngOnChanges&&(t.setInput=JA),WA}function WA(){const t=Ty(this),e=t?.current;if(e){const n=t.previous;if(n===An)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function JA(t,e,n,r,o){const i=this.declaredInputs[r],s=Ty(t)||function KA(t,e){return t[Sy]=e}(t,{previous:An,current:null}),c=s.current||(s.current={}),l=s.previous,u=l[i];c[i]=new GA(u&&u.currentValue,n,l===An),Cy(t,e,o,n)}Zn.ngInherit=!0;const Sy="__ngSimpleChanges__";function Ty(t){return t[Sy]||null}const On=function(t,e,n){},My="svg";function fe(t){for(;Array.isArray(t);)t=t[Oe];return t}function cs(t,e){return fe(e[t])}function bt(t,e){return fe(e[t.index])}function ls(t,e){return t.data[e]}function qt(t,e){const n=e[t];return tt(n)?n:n[Oe]}function u_(t){return!(128&~t[q])}function nn(t,e){return null==e?null:t[e]}function Ay(t){t[Go]=0}function Ny(t){1024&t[q]||(t[q]|=1024,u_(t)&&Cc(t))}function Ec(t){return!!(9216&t[q]||t[tn]?.dirty)}function d_(t){t[Rn].changeDetectionScheduler?.notify(8),64&t[q]&&(t[q]|=1024),Ec(t)&&Cc(t)}function Cc(t){t[Rn].changeDetectionScheduler?.notify(0);let e=Yn(t);for(;null!==e&&!(8192&e[q])&&(e[q]|=8192,u_(e));)e=Yn(e)}function Ic(t,e){if(!(256&~t[q]))throw new R(911,!1);null===t[gr]&&(t[gr]=[]),t[gr].push(e)}function Yn(t){const e=t[We];return dt(e)?e[We]:e}const Y={lFrame:zy(null),bindingsEnabled:!0,skipHydrationRootTNode:null};let Fy=!1;function Oy(){return Y.bindingsEnabled}function Xr(){return null!==Y.skipHydrationRootTNode}function I(){return Y.lFrame.lView}function re(){return Y.lFrame.tView}function De(t){return Y.lFrame.contextLView=t,t[Te]}function Ee(t){return Y.lFrame.contextLView=null,t}function we(){let t=xy();for(;null!==t&&64===t.type;)t=t.parent;return t}function xy(){return Y.lFrame.currentTNode}function yn(t,e){const n=Y.lFrame;n.currentTNode=t,n.isParent=e}function p_(){return Y.lFrame.isParent}function h_(){Y.lFrame.isParent=!1}function Vy(){return Fy}function jy(t){Fy=t}function vt(){const t=Y.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function wn(){return Y.lFrame.bindingIndex++}function Xn(t){const e=Y.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function lN(t,e){const n=Y.lFrame;n.bindingIndex=n.bindingRootIndex=t,g_(e)}function g_(t){Y.lFrame.currentDirectiveIndex=t}function y_(){return Y.lFrame.currentQueryIndex}function Tc(t){Y.lFrame.currentQueryIndex=t}function dN(t){const e=t[F];return 2===e.type?e.declTNode:1===e.type?t[st]:null}function Uy(t,e,n){if(n&le.SkipSelf){let o=e,i=t;for(;!(o=o.parent,null!==o||n&le.Host||(o=dN(i),null===o||(i=i[qo],10&o.type))););if(null===o)return!1;e=o,t=i}const r=Y.lFrame=$y();return r.currentTNode=e,r.lView=t,!0}function w_(t){const e=$y(),n=t[F];Y.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function $y(){const t=Y.lFrame,e=null===t?null:t.child;return null===e?zy(t):e}function zy(t){const e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=e),e}function qy(){const t=Y.lFrame;return Y.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Gy=qy;function b_(){const t=qy();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function at(){return Y.lFrame.selectedIndex}function eo(t){Y.lFrame.selectedIndex=t}function Me(){const t=Y.lFrame;return ls(t.tView,t.selectedIndex)}function Mc(){Y.lFrame.currentNamespace=My}let Ky=!0;function ds(){return Ky}function xn(t){Ky=t}function kc(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[l]<0&&(t[Go]+=65536),(c>14>16&&(3&t[q])===e&&(t[q]+=16384,Yy(c,i)):Yy(c,i)}const Ko=-1;class _s{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}const E_={};class to{constructor(e,n){this.injector=e,this.parentInjector=n}get(e,n,r){r=lc(r);const o=this.injector.get(e,E_,r);return o!==E_||n===E_?o:this.parentInjector.get(e,n,r)}}function C_(t){return t!==Ko}function fs(t){return 32767&t}function ps(t,e){let n=function bN(t){return t>>16}(t),r=e;for(;n>0;)r=r[qo],n--;return r}let I_=!0;function Rc(t){const e=I_;return I_=t,e}const Xy=255,ew=5;let DN=0;const Pn={};function Fc(t,e){const n=tw(t,e);if(-1!==n)return n;const r=e[F];r.firstCreatePass&&(t.injectorIndex=e.length,S_(r.data,t),S_(e,null),S_(r.blueprint,null));const o=Oc(t,e),i=t.injectorIndex;if(C_(o)){const s=fs(o),c=ps(o,e),l=c[F].data;for(let u=0;u<8;u++)e[i+u]=c[s+u]|l[s+u]}return e[i+8]=o,i}function S_(t,e){t.push(0,0,0,0,0,0,0,0,e)}function tw(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===e[t.injectorIndex+8]?-1:t.injectorIndex}function Oc(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=0,r=null,o=e;for(;null!==o;){if(r=cw(o),null===r)return Ko;if(n++,o=o[qo],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Ko}function T_(t,e,n){!function EN(t,e,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Xi)&&(r=n[Xi]),null==r&&(r=n[Xi]=DN++);const o=r&Xy;e.data[t+(o>>ew)]|=1<=0?e&Xy:TN:e}(n);if("function"==typeof i){if(!Uy(e,t,r))return r&le.Host?nw(o,0,r):rw(e,n,r,o);try{let s;if(s=i(r),null!=s||r&le.Optional)return s;Vd()}finally{Gy()}}else if("number"==typeof i){let s=null,c=tw(t,e),l=Ko,u=r&le.Host?e[xe][st]:null;for((-1===c||r&le.SkipSelf)&&(l=-1===c?Oc(t,e):e[c+8],l!==Ko&&aw(r,!1)?(s=e[F],c=fs(l),e=ps(l,e)):c=-1);-1!==c;){const d=e[F];if(sw(i,c,d.data)){const _=IN(c,e,n,s,r,u);if(_!==Pn)return _}l=e[c+8],l!==Ko&&aw(r,e[F].data[c+8]===u)&&sw(i,c,e)?(s=d,c=fs(l),e=ps(l,e)):c=-1}}return o}function IN(t,e,n,r,o,i){const s=e[F],c=s.data[t+8],d=xc(c,s,n,null==r?Yr(c)&&I_:r!=s&&!!(3&c.type),o&le.Host&&i===c);return null!==d?no(e,s,d,c):Pn}function xc(t,e,n,r,o){const i=t.providerIndexes,s=e.data,c=1048575&i,l=t.directiveStart,d=i>>20,p=o?c+d:t.directiveEnd;for(let h=r?c:c+d;h=l&&g.type===n)return h}if(o){const h=s[l];if(h&&mn(h)&&h.type===n)return l}return null}function no(t,e,n,r){let o=t[n];const i=e.data;if(function mN(t){return t instanceof _s}(o)){const s=o;s.resolving&&function Zk(t,e){throw e&&e.join(" > "),new R(-200,t)}(function pe(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():X(t)}(i[n]));const c=Rc(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?Nt(s.injectImpl):null;Uy(t,r,le.Default);try{o=t[n]=s.factory(void 0,i,t,r),e.firstCreatePass&&n>=r.directiveStart&&function hN(t,e,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=e.type.prototype;if(r){const s=Iy(e);(n.preOrderHooks??=[]).push(t,s),(n.preOrderCheckHooks??=[]).push(t,s)}o&&(n.preOrderHooks??=[]).push(0-t,o),i&&((n.preOrderHooks??=[]).push(t,i),(n.preOrderCheckHooks??=[]).push(t,i))}(n,i[n],e)}finally{null!==u&&Nt(u),Rc(c),s.resolving=!1,Gy()}}return o}function sw(t,e,n){return!!(n[e+(t>>ew)]&1<{const e=t.prototype.constructor,n=e[Wn]||M_(e),r=Object.prototype;let o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==r;){const i=o[Wn]||M_(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function M_(t){return oc(t)?()=>{const e=M_(K(t));return e&&e()}:Wr(t)}function cw(t){const e=t[F],n=e.type;return 2===n?e.declTNode:1===n?t[st]:null}function fw(t,e=null,n=null,r){const o=function pw(t,e=null,n=null,r,o=new Set){const i=[n||_e,dy(t)];return r=r||("object"==typeof t?void 0:Qe(t)),new Ho(i,e||mc(),r||null,o)}(t,e,n,r);return o.resolveInjectorInitializers(),o}class ct{static#e=this.THROW_IF_NOT_FOUND=es;static#t=this.NULL=new _c;static create(e,n){if(Array.isArray(e))return fw({name:""},n,e,"");{const r=e.name??"";return fw({name:r},e.parent,e.providers,r)}}static#n=this.\u0275prov=J({token:ct,providedIn:"any",factory:()=>z(ty)});static#r=this.__NG_ELEMENT_ID__=-1}new P("").__NG_ELEMENT_ID__=t=>{const e=we();if(null===e)throw new R(204,!1);if(2&e.type)return e.value;if(t&le.Optional)return null;throw new R(204,!1)};function A_(t){return t.ngOriginalError}const gw=!0;let hs=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=VN;static#t=this.__NG_ENV_ID__=n=>n}return t})();class LN extends hs{constructor(e){super(),this._lView=e}onDestroy(e){return Ic(this._lView,e),()=>function __(t,e){if(null===t[gr])return;const n=t[gr].indexOf(e);-1!==n&&t[gr].splice(n,1)}(this._lView,e)}}function VN(){return new LN(I())}let mr=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new bd(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275prov=J({token:t,providedIn:"root",factory:()=>new t})}return t})();const Ve=class jN extends zr{constructor(e=!1){super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,function gy(){return void 0!==Jm()||null!=function tA(){return Vo}()}()&&(this.destroyRef=B(hs,{optional:!0})??void 0,this.pendingTasks=B(mr,{optional:!0})??void 0)}emit(e){const n=Q(null);try{super.next(e)}finally{Q(n)}}subscribe(e,n,r){let o=e,i=n||(()=>null),s=r;if(e&&"object"==typeof e){const l=e;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=this.wrapInTimeout(i),o&&(o=this.wrapInTimeout(o)),s&&(s=this.wrapInTimeout(s)));const c=super.subscribe({next:o,error:i,complete:s});return e instanceof Xt&&e.add(c),c}wrapInTimeout(e){return n=>{const r=this.pendingTasks?.add();setTimeout(()=>{e(n),void 0!==r&&this.pendingTasks?.remove(r)})}}};function Vc(...t){}function mw(t){let e,n;function r(){t=Vc;try{void 0!==n&&"function"==typeof cancelAnimationFrame&&cancelAnimationFrame(n),void 0!==e&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{t(),r()}),"function"==typeof requestAnimationFrame&&(n=requestAnimationFrame(()=>{t(),r()})),()=>r()}function yw(t){return queueMicrotask(()=>t()),()=>{t=Vc}}const N_="isAngularZone",jc=N_+"_ID";let BN=0;class be{constructor(e){this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ve(!1),this.onMicrotaskEmpty=new Ve(!1),this.onStable=new Ve(!1),this.onError=new Ve(!1);const{enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:o=!1,scheduleInRootZone:i=gw}=e;if(typeof Zone>"u")throw new R(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!o&&r,s.shouldCoalesceRunChangeDetection=o,s.callbackScheduled=!1,s.scheduleInRootZone=i,function $N(t){const e=()=>{!function UN(t){function e(){mw(()=>{t.callbackScheduled=!1,F_(t),t.isCheckStableRunning=!0,R_(t),t.isCheckStableRunning=!1})}t.isCheckStableRunning||t.callbackScheduled||(t.callbackScheduled=!0,t.scheduleInRootZone?Zone.root.run(()=>{e()}):t._outer.run(()=>{e()}),F_(t))}(t)},n=BN++;t._inner=t._inner.fork({name:"angular",properties:{[N_]:!0,[jc]:n,[jc+n]:!0},onInvokeTask:(r,o,i,s,c,l)=>{if(function zN(t){return vw(t,"__ignore_ng_zone__")}(l))return r.invokeTask(i,s,c,l);try{return ww(t),r.invokeTask(i,s,c,l)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&e(),bw(t)}},onInvoke:(r,o,i,s,c,l,u)=>{try{return ww(t),r.invoke(i,s,c,l,u)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!function qN(t){return vw(t,"__scheduler_tick__")}(l)&&e(),bw(t)}},onHasTask:(r,o,i,s)=>{r.hasTask(i,s),o===i&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,F_(t),R_(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(r,o,i,s)=>(r.handleError(i,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get(N_)}static assertInAngularZone(){if(!be.isInAngularZone())throw new R(909,!1)}static assertNotInAngularZone(){if(be.isInAngularZone())throw new R(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,e,HN,Vc,Vc);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}}const HN={};function R_(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function F_(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&!0===t.callbackScheduled)}function ww(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function bw(t){t._nesting--,R_(t)}class O_{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ve,this.onMicrotaskEmpty=new Ve,this.onStable=new Ve,this.onError=new Ve}run(e,n,r){return e.apply(n,r)}runGuarded(e,n,r){return e.apply(n,r)}runOutsideAngular(e){return e()}runTask(e,n,r,o){return e.apply(n,r)}}function vw(t,e){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0]?.data?.[e]}class Ln{constructor(){this._console=console}handleError(e){const n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&A_(e);for(;n&&A_(n);)n=A_(n);return n||null}}const WN=new P("",{providedIn:"root",factory:()=>{const t=B(be),e=B(Ln);return n=>t.runOutsideAngular(()=>e.handleError(n))}});function JN(){return Qo(we(),I())}function Qo(t,e){return new rn(bt(t,e))}let rn=(()=>{class t{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=JN}return t})();function Ew(t){return t instanceof rn?t.nativeElement:t}function KN(){return this._results[Symbol.iterator]()}class x_{static#e=Symbol.iterator;get changes(){return this._changes??=new Ve}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const n=x_.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=KN)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;const r=function Rt(t){return t.flat(Number.POSITIVE_INFINITY)}(e);(this._changesDetected=!function lA(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rgR}),gR="ng",$w=new P(""),wr=new P("",{providedIn:"platform",factory:()=>"unknown"}),zw=new P("",{providedIn:"root",factory:()=>yr().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let qw=()=>null;function W_(t,e,n=!1){return qw(t,e,n)}const Xw=new P("",{providedIn:"root",factory:()=>!1});let Kc,Zc;function ni(t){return function Q_(){if(void 0===Kc&&(Kc=null,Ne.trustedTypes))try{Kc=Ne.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Kc}()?.createHTML(t)||t}function nb(t){return function X_(){if(void 0===Zc&&(Zc=null,Ne.trustedTypes))try{Zc=Ne.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Zc}()?.createHTML(t)||t}class ib{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${jm})`}}function br(t){return t instanceof ib?t.changingThisBreaksApplicationSecurity:t}class PR{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{const n=(new window.DOMParser).parseFromString(ni(e),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(e):(n.firstChild?.remove(),n)}catch{return null}}}class LR{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const n=this.inertDocument.createElement("template");return n.innerHTML=ni(e),n}}const jR=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function er(t){const e={};for(const n of t.split(","))e[n]=!0;return e}function Ss(...t){const e={};for(const n of t)for(const r in n)n.hasOwnProperty(r)&&(e[r]=!0);return e}const ab=er("area,br,col,hr,img,wbr"),cb=er("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),lb=er("rp,rt"),tf=Ss(ab,Ss(cb,er("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ss(lb,er("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ss(lb,cb)),nf=er("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),ub=Ss(nf,er("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),er("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),BR=er("script,style,template");class HR{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let n=e.firstChild,r=!0,o=[];for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)o.push(n),n=zR(n);else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=$R(n);if(i){n=i;break}n=o.pop()}return this.buf.join("")}startElement(e){const n=db(e).toLowerCase();if(!tf.hasOwnProperty(n))return this.sanitizedSomething=!0,!BR.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=e.attributes;for(let o=0;o"),!0}endElement(e){const n=db(e).toLowerCase();tf.hasOwnProperty(n)&&!ab.hasOwnProperty(n)&&(this.buf.push(""))}chars(e){this.buf.push(fb(e))}}function $R(t){const e=t.nextSibling;if(e&&t!==e.previousSibling)throw _b(e);return e}function zR(t){const e=t.firstChild;if(e&&function UR(t,e){return(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}(t,e))throw _b(e);return e}function db(t){const e=t.nodeName;return"string"==typeof e?e:"FORM"}function _b(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}const qR=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,GR=/([^\#-~ |!])/g;function fb(t){return t.replace(/&/g,"&").replace(qR,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(GR,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}let Yc;function rf(t){return"content"in t&&function JR(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ri=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(ri||{});function pb(t){const e=function Ts(){const t=I();return t&&t[Rn].sanitizer}();return e?nb(e.sanitize(ri.HTML,t)||""):function Is(t,e){const n=function xR(t){return t instanceof ib&&t.getTypeName()||null}(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${jm})`)}return n===e}(t,"HTML")?nb(br(t)):function WR(t,e){let n=null;try{Yc=Yc||function sb(t){const e=new LR(t);return function VR(){try{return!!(new window.DOMParser).parseFromString(ni(""),"text/html")}catch{return!1}}()?new PR(e):e}(t);let r=e?String(e):"";n=Yc.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Yc.getInertBodyElement(r)}while(r!==i);return ni((new HR).sanitizeChildren(rf(n)||n))}finally{if(n){const r=rf(n)||n;for(;r.firstChild;)r.firstChild.remove()}}}(yr(),X(t))}const tF=/^>|^->||--!>|)/g,rF="\u200b$1\u200b";var vr=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(vr||{});let cf;function lf(t,e){return cf(t,e)}function ii(t,e,n,r,o){if(null!=r){let i,s=!1;dt(r)?i=r:tt(r)&&(s=!0,r=r[Oe]);const c=fe(r);0===t&&null!==n?null==o?kb(e,n,c):oo(e,n,c,o||null,!0):1===t&&null!==n?oo(e,n,c,o||null,!0):2===t?function ks(t,e,n){t.removeChild(null,e,n)}(e,c,s):3===t&&e.destroyNode(c),null!=i&&function EF(t,e,n,r,o){const i=n[Fn];i!==fe(n)&&ii(e,t,r,i,o);for(let c=Ue;ce.replace(nF,rF))}(e))}function el(t,e,n){return t.createElement(e,n)}function Sb(t,e){e[Rn].changeDetectionScheduler?.notify(9),rl(t,e,e[Z],2,null,null)}function Tb(t,e){const n=t[Jo],r=e[We];(tt(r)||e[xe]!==r[We][xe])&&(t[q]|=vc.HasTransplantedViews),null===n?t[Jo]=[e]:n.push(e)}function _f(t,e){const n=t[Jo],r=n.indexOf(e);n.splice(r,1)}function Ms(t,e){if(t.length<=Ue)return;const n=Ue+e,r=t[n];if(r){const o=r[Zr];null!==o&&o!==t&&_f(o,r),e>0&&(t[n-1][gn]=r[gn]);const i=uc(t,Ue+e);!function hF(t,e){Sb(t,e),e[Oe]=null,e[st]=null}(r[F],r);const s=i[Kn];null!==s&&s.detachView(i[F]),r[We]=null,r[gn]=null,r[q]&=-129}return r}function tl(t,e){if(!(256&e[q])){const n=e[Z];n.destroyNode&&rl(t,e,n,3,null,null),function mF(t){let e=t[is];if(!e)return ff(t[F],t);for(;e;){let n=null;if(tt(e))n=e[is];else{const r=e[Ue];r&&(n=r)}if(!n){for(;e&&!e[gn]&&e!==t;)tt(e)&&ff(e[F],e),e=e[We];null===e&&(e=t),tt(e)&&ff(e[F],e),n=e&&e[gn]}e=n}}(e)}}function ff(t,e){if(256&e[q])return;const n=Q(null);try{e[q]&=-129,e[q]|=256,e[tn]&&ld(e[tn]),function bF(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(e[zo]=null);const o=e[gr];if(null!==o){e[gr]=null;for(let i=0;i-1){const{encapsulation:i}=t.data[r.directiveStart+o];if(i===pn.None||i===pn.Emulated)return null}return bt(r,n)}}(t,e.parent,n)}function oo(t,e,n,r,o){t.insertBefore(e,n,r,o)}function kb(t,e,n){t.appendChild(e,n)}function Ab(t,e,n,r,o){null!==r?oo(t,e,n,r,o):kb(t,e,n)}function hf(t,e){return t.parentNode(e)}function Nb(t,e,n){return Fb(t,e,n)}let gf,Fb=function Rb(t,e,n){return 40&t.type?bt(t,n):null};function nl(t,e,n,r){const o=pf(t,r,e),i=e[Z],c=Nb(r.parent||e[st],r,e);if(null!=o)if(Array.isArray(n))for(let l=0;lU&&Bb(t,e,U,!1),On(s?2:0,o),n(r,o)}finally{eo(i),On(s?3:1,o)}}function bf(t,e,n){if(i_(e)){const r=Q(null);try{const i=e.directiveEnd;for(let s=e.directiveStart;snull;function qb(t,e,n,r,o){for(let i in e){if(!e.hasOwnProperty(i))continue;const s=e[i];if(void 0===s)continue;r??={};let c,l=hr.None;Array.isArray(s)?(c=s[0],l=s[1]):c=s;let u=i;if(null!==o){if(!o.hasOwnProperty(i))continue;u=o[i]}0===t?Gb(r,n,u,c,l):Gb(r,n,u,c)}return r}function Gb(t,e,n,r,o){let i;t.hasOwnProperty(n)?(i=t[n]).push(e,r):i=t[n]=[e,r],void 0!==o&&i.push(o)}function xt(t,e,n,r,o,i,s,c){const l=bt(e,n);let d,u=e.inputs;!c&&null!=u&&(d=u[r])?(Mf(t,n,d,r,o),Yr(e)&&function LF(t,e){const n=qt(e,t);16&n[q]||(n[q]|=64)}(n,e.index)):3&e.type&&(r=function PF(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(r),o=null!=s?s(o,e.value||"",r):o,i.setProperty(l,r,o))}function Cf(t,e,n,r){if(Oy()){const o=null===r?null:{"":-1},i=function $F(t,e){const n=t.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=t[--e];if("number"==typeof n&&n<0)return n}return 0})(s)!=c&&s.push(c),s.push(n,r,i)}}(t,e,r,As(t,n,o.hostVars,ee),o)}function Vn(t,e,n,r,o,i){const s=bt(t,e);!function Sf(t,e,n,r,o,i,s){if(null==i)t.removeAttribute(e,o,n);else{const c=null==s?X(i):s(i,r||"",o);t.setAttribute(e,o,c,n)}}(e[Z],s,i,t.value,n,r,o)}function KF(t,e,n,r,o,i){const s=i[e];if(null!==s)for(let c=0;c0&&(n[o-1][gn]=e),r{Cc(t.lView)},consumerOnSignalRead(){this.lView[tn]=this}},iO={...qa,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{let e=Yn(t.lView);for(;e&&!rv(e[F]);)e=Yn(e);e&&Ny(e)},consumerOnSignalRead(){this.lView[tn]=this}};function rv(t){return 2!==t.type}const sO=100;function al(t,e=!0,n=0){const r=t[Rn],o=r.rendererFactory;o.begin?.();try{!function aO(t,e){const n=Vy();try{jy(!0),Nf(t,e);let r=0;for(;Ec(t);){if(r===sO)throw new R(103,!1);r++,Nf(t,1)}}finally{jy(n)}}(t,n)}catch(s){throw e&&sl(t,s),s}finally{o.end?.(),r.inlineEffectRunner?.flush()}}function cO(t,e,n,r){const o=e[q];if(!(256&~o))return;e[Rn].inlineEffectRunner?.flush(),w_(e);let c=!0,l=null,u=null;rv(t)?(u=function eO(t){return t[tn]??function tO(t){const e=nv.pop()??Object.create(rO);return e.lView=t,e}(t)}(e),l=Ga(u)):null===function Hr(){return me}()?(c=!1,u=function oO(t){const e=t[tn]??Object.create(iO);return e.lView=t,e}(e),l=Ga(u)):e[tn]&&(ld(e[tn]),e[tn]=null);try{Ay(e),function By(t){return Y.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==n&&Ub(t,e,n,2,r);const d=!(3&~o);if(d){const h=t.preOrderCheckHooks;null!==h&&Ac(e,h,null)}else{const h=t.preOrderHooks;null!==h&&Nc(e,h,0,null),v_(e,0)}if(function lO(t){for(let e=Fw(t);null!==e;e=Ow(e)){if(!(e[q]&vc.HasTransplantedViews))continue;const n=e[Jo];for(let r=0;r-1&&(Ms(e,r),uc(n,r))}this._attachedToViewContainer=!1}tl(this._lView[F],this._lView)}onDestroy(e){Ic(this._lView,e)}markForCheck(){Rs(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[q]&=-129}reattach(){d_(this._lView),this._lView[q]|=128}detectChanges(){this._lView[q]|=1024,al(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new R(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;const e=as(this._lView),n=this._lView[Zr];null!==n&&!e&&_f(n,this._lView),Sb(this._lView[F],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new R(902,!1);this._appRef=e;const n=as(this._lView),r=this._lView[Zr];null!==r&&!n&&Tb(r,this._lView),d_(this._lView)}}let nr=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=fO}return t})();const dO=nr,_O=class extends dO{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){const o=si(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:n,dehydratedView:r});return new Fs(o)}};function fO(){return cl(we(),I())}function cl(t,e){return 4&t.type?new _O(e,t,Qo(t,e)):null}let Mv=()=>null;function lo(t,e){return Mv(t,e)}class li{}const Hs=new P("",{providedIn:"root",factory:()=>!1}),kv=new P(""),Uf=new P("");class ix{}class Av{}class ax{resolveComponentFactory(e){throw function sx(t){const e=Error(`No component factory found for ${Qe(t)}.`);return e.ngComponent=t,e}(e)}}class pl{static#e=this.NULL=new ax}class $f{}let uo=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function cx(){const t=I(),n=qt(we().index,t);return(tt(n)?n:t)[Z]}()}return t})(),lx=(()=>{class t{static#e=this.\u0275prov=J({token:t,providedIn:"root",factory:()=>null})}return t})();function gl(t,e,n){let r=n?t.styles:null,o=n?t.classes:null,i=0;if(null!==e)for(let s=0;s0&&Vb(t,n,i.join(" "))}}(p,ae,g,r),void 0!==n&&function wx(t,e,n){const r=t.projection=[];for(let o=0;o{class t{static#e=this.__NG_ELEMENT_ID__=vx}return t})();function vx(){return Vv(we(),I())}const Dx=jn,Pv=class extends Dx{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return Qo(this._hostTNode,this._hostLView)}get injector(){return new nt(this._hostTNode,this._hostLView)}get parentInjector(){const e=Oc(this._hostTNode,this._hostLView);if(C_(e)){const n=ps(e,this._hostLView),r=fs(e);return new nt(n[F].data[r+8],n)}return new nt(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const n=Lv(this._lContainer);return null!==n&&n[e]||null}get length(){return this._lContainer.length-Ue}createEmbeddedView(e,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const s=lo(this._lContainer,e.ssrId),c=e.createEmbeddedViewImpl(n||{},i,s);return this.insertImpl(c,o,ao(this._hostTNode,s)),c}createComponent(e,n,r,o,i){const s=e&&!function os(t){return"function"==typeof t}(e);let c;if(s)c=n;else{const g=n||{};c=g.index,r=g.injector,o=g.projectableNodes,i=g.environmentInjector||g.ngModuleRef}const l=s?e:new zs(ie(e)),u=r||this.parentInjector;if(!i&&null==l.ngModule){const v=(s?u:this.parentInjector).get(en,null);v&&(i=v)}const d=ie(l.componentType??{}),_=lo(this._lContainer,d?.id??null),h=l.create(u,o,_?.firstChild??null,i);return this.insertImpl(h.hostView,c,ao(this._hostTNode,_)),h}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){const o=e._lView;if(function XA(t){return dt(t[We])}(o)){const c=this.indexOf(e);if(-1!==c)this.detach(c);else{const l=o[We],u=new Pv(l,l[st],l[We]);u.detach(u.indexOf(e))}}const i=this._adjustIndex(n),s=this._lContainer;return ai(s,o,i,r),e.attachToViewContainerRef(),Qm(Gf(s),i,e),e}move(e,n){return this.insert(e,n)}indexOf(e){const n=Lv(this._lContainer);return null!==n?n.indexOf(e):-1}remove(e){const n=this._adjustIndex(e,-1),r=Ms(this._lContainer,n);r&&(uc(Gf(this._lContainer),n),tl(r[F],r))}detach(e){const n=this._adjustIndex(e,-1),r=Ms(this._lContainer,n);return r&&null!=uc(Gf(this._lContainer),n)?new Fs(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function Lv(t){return t[8]}function Gf(t){return t[8]||(t[8]=[])}function Vv(t,e){let n;const r=e[t.index];return dt(r)?n=r:(n=Kb(r,e,null,t),e[t.index]=n,il(e,n)),jv(n,e,t,r),new Pv(n,t,e)}let jv=function Hv(t,e,n,r){if(t[Fn])return;let o;o=8&n.type?fe(r):function Ex(t,e){const n=t[Z],r=n.createComment(""),o=bt(e,t);return oo(n,hf(n,o),r,function vF(t,e){return t.nextSibling(e)}(n,o),!1),r}(e,n),t[Fn]=o},Wf=()=>!1;class Jf{constructor(e){this.queryList=e,this.matches=null}clone(){return new Jf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Kf{constructor(e=[]){this.queries=e}createEmbeddedView(e){const n=e.queries;if(null!==n){const r=null!==e.contentQueries?e.contentQueries[0]:n.length,o=[];for(let i=0;ie.trim())}(e):e}}class Zf{constructor(e=[]){this.queries=e}elementStart(e,n){for(let r=0;r0)r.push(s[c/2]);else{const u=i[c+1],d=e[-l];for(let _=Ue;_(sd(e),e.value);return n[yt]=e,n}(t),r=n[yt];return e?.equal&&(r.equal=e.equal),n.set=o=>lm(r,o),n.update=o=>function CM(t,e){nm()||cm(),lm(t,e(t.value))}(r,o),n.asReadonly=Yv.bind(n),n}function Yv(){const t=this[yt];if(void 0===t.readonlyFn){const e=()=>this();e[yt]=t,t.readonlyFn=e}return t.readonlyFn}function ve(t){let e=function lD(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),n=!0;const r=[t];for(;e;){let o;if(mn(t))o=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new R(903,!1);o=e.\u0275dir}if(o){if(n){r.push(o);const s=t;s.inputs=yl(t.inputs),s.inputTransforms=yl(t.inputTransforms),s.declaredInputs=yl(t.declaredInputs),s.outputs=yl(t.outputs);const c=o.hostBindings;c&&Gx(t,c);const l=o.viewQuery,u=o.contentQueries;if(l&&zx(t,l),u&&qx(t,u),Ux(t,o),Hk(t.outputs,o.outputs),mn(o)&&o.data.animation){const d=t.data;d.animation=(d.animation||[]).concat(o.data.animation)}}const i=o.features;if(i)for(let s=0;s=0;r--){const o=t[r];o.hostVars=e+=o.hostVars,o.hostAttrs=ns(o.hostAttrs,n=ns(n,o.hostAttrs))}}(r)}function Ux(t,e){for(const n in e.inputs){if(!e.inputs.hasOwnProperty(n)||t.inputs.hasOwnProperty(n))continue;const r=e.inputs[n];if(void 0!==r&&(t.inputs[n]=r,t.declaredInputs[n]=e.declaredInputs[n],null!==e.inputTransforms)){const o=Array.isArray(r)?r[0]:r;if(!e.inputTransforms.hasOwnProperty(o))continue;t.inputTransforms??={},t.inputTransforms[o]=e.inputTransforms[o]}}}function yl(t){return t===An?{}:t===_e?[]:t}function zx(t,e){const n=t.viewQuery;t.viewQuery=n?(r,o)=>{e(r,o),n(r,o)}:e}function qx(t,e){const n=t.contentQueries;t.contentQueries=n?(r,o,i)=>{e(r,o,i),n(r,o,i)}:e}function Gx(t,e){const n=t.hostBindings;t.hostBindings=n?(r,o)=>{e(r,o),n(r,o)}:e}class fo{}class fD extends fo{constructor(e){super(),this.componentFactoryResolver=new Ov(this),this.instance=null;const n=new Ho([...e.providers,{provide:fo,useValue:this},{provide:pl,useValue:this.componentFactoryResolver}],e.parent||mc(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function wl(t){return!!function op(t){return null!==t&&("function"==typeof t||"object"==typeof t)}(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Bn(t,e,n){return t[e]=n}function $e(t,e,n){return!Object.is(t[e],n)&&(t[e]=n,!0)}function po(t,e,n,r){const o=$e(t,e,n);return $e(t,e+1,r)||o}function Ws(t,e,n,r,o,i,s,c,l,u){const d=n+U,_=e.firstCreatePass?function sP(t,e,n,r,o,i,s,c,l){const u=e.consts,d=so(e,t,4,s||null,c||null);Cf(e,n,d,nn(u,l)),kc(e,d);const _=d.tView=Ef(2,d,r,o,i,e.directiveRegistry,e.pipeRegistry,null,e.schemas,u,null);return null!==e.queries&&(e.queries.template(e,d),_.queries=e.queries.embeddedTView(d)),d}(d,e,t,r,o,i,s,c,l):e.data[d];yn(_,!1);const p=hD(e,t,_,n);ds()&&nl(e,t,p,_),ft(p,t);const h=Kb(p,t,p,_);return t[d]=h,il(t,h),function Bv(t,e,n){return Wf(t,e,n)}(h,_,t),Dc(_)&&vf(e,t,_),null!=l&&Df(t,_,u),_}function ce(t,e,n,r,o,i,s,c){const l=I(),u=re();return Ws(l,u,t,e,n,r,o,nn(u.consts,i),s,c),ce}let hD=function gD(t,e,n,r){return xn(!0),e[Z].createComment("")};var pi=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(pi||{});let DD=(()=>{class t{constructor(){this.impl=null}execute(){this.impl?.execute()}static#e=this.\u0275prov=J({token:t,providedIn:"root",factory:()=>new t})}return t})();class Zs{constructor(){this.ngZone=B(be),this.scheduler=B(li),this.errorHandler=B(Ln,{optional:!0}),this.sequences=new Set,this.deferredRegistrations=new Set,this.executing=!1}static#e=this.PHASES=[pi.EarlyRead,pi.Write,pi.MixedReadWrite,pi.Read];execute(){this.executing=!0;for(const e of Zs.PHASES)for(const n of this.sequences)if(!n.erroredOrDestroyed&&n.hooks[e])try{n.pipelinedValue=this.ngZone.runOutsideAngular(()=>n.hooks[e](n.pipelinedValue))}catch(r){n.erroredOrDestroyed=!0,this.errorHandler?.handleError(r)}this.executing=!1;for(const e of this.sequences)e.afterRun(),e.once&&this.sequences.delete(e);for(const e of this.deferredRegistrations)this.sequences.add(e);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear()}register(e){this.executing?this.deferredRegistrations.add(e):(this.sequences.add(e),this.scheduler.notify(6))}unregister(e){this.executing&&this.sequences.has(e)?(e.erroredOrDestroyed=!0,e.pipelinedValue=void 0,e.once=!0):(this.sequences.delete(e),this.deferredRegistrations.delete(e))}static#t=this.\u0275prov=J({token:Zs,providedIn:"root",factory:()=>new Zs})}function Et(t,e,n,r){const o=I();return $e(o,wn(),e)&&(re(),Vn(Me(),o,t,e,n,r)),Et}function vi(t,e,n,r){return $e(t,wn(),n)?e+X(n)+r:ee}function Di(t,e,n,r,o,i){const c=po(t,function Qn(){return Y.lFrame.bindingIndex}(),n,o);return Xn(2),c?e+X(n)+r+X(o)+i:ee}function Sl(t,e){return t<<17|e<<2}function Cr(t){return t>>17&32767}function gp(t){return 2|t}function go(t){return(131068&t)>>2}function mp(t,e){return-131069&t|e<<2}function yp(t){return 1|t}function ZD(t,e,n,r){const o=t[n+1],i=null===e;let s=r?Cr(o):go(o),c=!1;for(;0!==s&&(!1===c||i);){const u=t[s+1];JP(t[s],e)&&(c=!0,t[s+1]=r?yp(u):gp(u)),s=r?Cr(u):go(u)}c&&(t[n+1]=r?gp(o):yp(o))}function JP(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Bo(t,e)>=0}const rt={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function YD(t){return t.substring(rt.key,rt.keyEnd)}function QD(t,e){const n=rt.textEnd;return n===e?-1:(e=rt.keyEnd=function QP(t,e,n){for(;e32;)e++;return e}(t,rt.key=e,n),ki(t,e,n))}function ki(t,e,n){for(;e=0;n=QD(e,n))zt(t,YD(e),!0)}function oE(t,e){return e>=t.expandoStartIndex}function iE(t,e,n,r){const o=t.data;if(null===o[n+1]){const i=o[at()],s=oE(t,n);lE(i,r)&&null===e&&!s&&(e=!1),e=function n2(t,e,n,r){const o=function m_(t){const e=Y.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let i=r?e.residualClasses:e.residualStyles;if(null===o)0===(r?e.classBindings:e.styleBindings)&&(n=Qs(n=bp(null,t,e,n,r),e.attrs,r),i=null);else{const s=e.directiveStylingLast;if(-1===s||t[s]!==o)if(n=bp(o,t,e,n,r),null===i){let l=function r2(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==go(r))return t[Cr(r)]}(t,e,r);void 0!==l&&Array.isArray(l)&&(l=bp(null,t,e,l[1],r),l=Qs(l,e.attrs,r),function o2(t,e,n,r){t[Cr(n?e.classBindings:e.styleBindings)]=r}(t,e,r,l))}else i=function i2(t,e,n){let r;const o=e.directiveEnd;for(let i=1+e.directiveStylingLast;i0)&&(u=!0)):d=n,o)if(0!==l){const p=Cr(t[c+1]);t[r+1]=Sl(p,c),0!==p&&(t[p+1]=mp(t[p+1],r)),t[c+1]=function zP(t,e){return 131071&t|e<<17}(t[c+1],r)}else t[r+1]=Sl(c,0),0!==c&&(t[c+1]=mp(t[c+1],r)),c=r;else t[r+1]=Sl(l,0),0===c?c=r:t[l+1]=mp(t[l+1],r),l=r;u&&(t[r+1]=gp(t[r+1])),ZD(t,d,r,!0),ZD(t,d,r,!1),function WP(t,e,n,r,o){const i=o?t.residualClasses:t.residualStyles;null!=i&&"string"==typeof e&&Bo(i,e)>=0&&(n[r+1]=yp(n[r+1]))}(e,d,t,r,i),s=Sl(c,l),i?e.classBindings=s:e.styleBindings=s}(o,i,e,n,s,r)}}function bp(t,e,n,r,o){let i=null;const s=n.directiveEnd;let c=n.directiveStylingLast;for(-1===c?c=n.directiveStart:c++;c0;){const l=t[o],u=Array.isArray(l),d=u?l[1]:l,_=null===d;let p=n[o+1];p===ee&&(p=_?_e:void 0);let h=_?qd(p,r):d===r?p:void 0;if(u&&!kl(h)&&(h=qd(l,r)),kl(h)&&(c=h,s))return c;const g=t[o+1];o=s?Cr(g):go(g)}if(null!==e){let l=i?e.residualClasses:e.residualStyles;null!=l&&(c=qd(l,r))}return c}function kl(t){return void 0!==t}function lE(t,e){return!!(t.flags&(e?8:16))}function L(t,e,n,r){const o=I(),i=re(),s=U+t,c=o[Z],l=i.firstCreatePass?function R2(t,e,n,r,o,i){const s=e.consts,l=so(e,t,2,r,nn(s,o));return Cf(e,n,l,nn(s,i)),null!==l.attrs&&gl(l,l.attrs,!1),null!==l.mergedAttrs&&gl(l,l.mergedAttrs,!0),null!==e.queries&&e.queries.elementStart(e,l),l}(s,i,o,e,n,r):i.data[s],u=fE(i,o,l,c,e,t);o[s]=u;const d=Dc(l);return yn(l,!0),jb(c,u,l),!function _i(t){return!(32&~t.flags)}(l)&&ds()&&nl(i,o,u,l),0===function eN(){return Y.lFrame.elementDepthCount}()&&ft(u,o),function tN(){Y.lFrame.elementDepthCount++}(),d&&(vf(i,o,l),bf(i,l,o)),null!==r&&Df(o,l),L}function V(){let t=we();p_()?h_():(t=t.parent,yn(t,!1));const e=t;(function rN(t){return Y.skipHydrationRootTNode===t})(e)&&function aN(){Y.skipHydrationRootTNode=null}(),function nN(){Y.lFrame.elementDepthCount--}();const n=re();return n.firstCreatePass&&(kc(n,t),i_(t)&&n.queries.elementEnd(t)),null!=e.classesWithoutHost&&function yN(t){return!!(8&t.flags)}(e)&&wp(n,e,I(),e.classesWithoutHost,!0),null!=e.stylesWithoutHost&&function wN(t){return!!(16&t.flags)}(e)&&wp(n,e,I(),e.stylesWithoutHost,!1),V}function pt(t,e,n,r){return L(t,e,n,r),V(),pt}let fE=(t,e,n,r,o,i)=>(xn(!0),el(r,o,function Jy(){return Y.lFrame.currentNamespace}()));function sn(t,e,n){const r=I(),o=re(),i=t+U,s=o.firstCreatePass?function x2(t,e,n,r,o){const i=e.consts,s=nn(i,r),c=so(e,t,8,"ng-container",s);return null!==s&&gl(c,s,!0),Cf(e,n,c,nn(i,o)),null!==e.queries&&e.queries.elementStart(e,c),c}(i,o,r,e,n):o.data[i];yn(s,!0);const c=pE(o,r,s,t);return r[i]=c,ds()&&nl(o,r,c,s),ft(c,r),Dc(s)&&(vf(o,r,s),bf(o,s,r)),null!=n&&Df(r,s),sn}function an(){let t=we();const e=re();return p_()?h_():(t=t.parent,yn(t,!1)),e.firstCreatePass&&(kc(e,t),i_(t)&&e.queries.elementEnd(t)),an}function mo(t,e,n){return sn(t,e,n),an(),mo}let pE=(t,e,n,r)=>(xn(!0),df(e[Z],""));function je(){return I()}const Nl="en-US";let wE=Nl,LE=(t,e,n)=>{};function oe(t,e,n,r){const o=I(),i=re(),s=we();return function Sp(t,e,n,r,o,i,s){const c=Dc(r),u=t.firstCreatePass&&Qb(t),d=e[Te],_=Yb(e);let p=!0;if(3&r.type||s){const v=bt(r,e),D=s?s(v):v,C=_.length,E=s?$=>s(fe($[r.index])):r.index;let O=null;if(!s&&c&&(O=function ML(t,e,n,r){const o=t.cleanup;if(null!=o)for(let i=0;il?c[l]:null}"string"==typeof s&&(i+=2)}return null}(t,e,o,r.index)),null!==O)(O.__ngLastListenerFn__||O).__ngNextListenerFn__=i,O.__ngLastListenerFn__=i,p=!1;else{i=HE(r,e,d,i),LE(v,o,i);const $=n.listen(D,o,i);_.push(i,$),u&&u.push(o,E,C,C+1)}}else i=HE(r,e,d,i);const h=r.outputs;let g;if(p&&null!==h&&(g=h[o])){const v=g.length;if(v)for(let D=0;D-1?qt(t.index,e):e,5);let c=BE(e,n,r,i),l=o.__ngNextListenerFn__;for(;l;)c=BE(e,n,l,i)&&c,l=l.__ngNextListenerFn__;return c}}function H(t=1){return function _N(t){return(Y.lFrame.contextLView=function Ry(t,e){for(;t>0;)e=e[qo],t--;return e}(t,Y.lFrame.contextLView))[Te]}(t)}function kL(t,e){let n=null;const r=function hA(t){const e=t.attrs;if(null!=e){const n=e.indexOf(5);if(!(1&n))return e[n+1]}return null}(t);for(let o=0;o(xn(!0),function uf(t,e){return t.createText(e)}(e[Z],r));function Ni(t){return ht("",t,""),Ni}function ht(t,e,n){const r=I(),o=vi(r,t,e,n);return o!==ee&&tr(r,at(),o),ht}function oa(t,e,n,r,o){const i=I(),s=Di(i,t,e,n,r,o);return s!==ee&&tr(i,at(),s),oa}function Ap(t,e,n,r,o){if(t=K(t),Array.isArray(t))for(let i=0;i>20;if(Kr(t)||!t.multi){const h=new _s(u,o,S),g=Rp(l,e,o?d:d+p,_);-1===g?(T_(Fc(c,s),i,l),Np(i,t,e.length),e.push(l),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(h),s.push(h)):(n[g]=h,s[g]=h)}else{const h=Rp(l,e,d+p,_),g=Rp(l,e,d,d+p),D=g>=0&&n[g];if(o&&!D||!o&&!(h>=0&&n[h])){T_(Fc(c,s),i,l);const C=function QL(t,e,n,r,o){const i=new _s(t,n,S);return i.multi=[],i.index=e,i.componentProviders=0,wC(i,o,r&&!n),i}(o?YL:ZL,n.length,o,r,u);!o&&D&&(n[g].providerFactory=C),Np(i,t,e.length,0),e.push(l),c.directiveStart++,c.directiveEnd++,o&&(c.providerIndexes+=1048576),n.push(C),s.push(C)}else Np(i,t,h>-1?h:g,wC(n[o?g:h],u,!o&&r));!o&&r&&D&&n[g].componentProviders++}}}function Np(t,e,n,r){const o=Kr(e),i=function TA(t){return!!t.useClass}(e);if(o||i){const l=(i?K(e.useClass):e).prototype.ngOnDestroy;if(l){const u=t.destroyHooks||(t.destroyHooks=[]);if(!o&&e.multi){const d=u.indexOf(n);-1===d?u.push(n,[r,l]):u[d+1].push(r,l)}else u.push(n,l)}}}function wC(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Rp(t,e,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function KL(t,e,n){const r=re();if(r.firstCreatePass){const o=mn(t);Ap(n,r.data,r.blueprint,o,!0),Ap(e,r.data,r.blueprint,o,!1)}}(r,o?o(t):t,e)}}let XL=(()=>{class t{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Kd(0,n.type),o=r.length>0?function pD(t,e,n=null){return new fD({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,o)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=J({token:t,providedIn:"environment",factory:()=>new t(z(en))})}return t})();function gt(t){Dt("NgStandalone"),t.getStandaloneInjector=e=>e.get(XL).getOrCreateStandaloneInjector(t)}function Ll(t,e,n){const r=vt()+t,o=I();return o[r]===ee?Bn(o,r,n?e.call(n):e()):function Gs(t,e){return t[e]}(o,r)}function Ir(t,e,n,r){return function EC(t,e,n,r,o,i){const s=e+n;return $e(t,s,o)?Bn(t,s+1,i?r.call(i,o):r(o)):ia(t,s+1)}(I(),vt(),t,e,n,r)}function Ri(t,e,n,r,o){return function CC(t,e,n,r,o,i,s){const c=e+n;return po(t,c,o,i)?Bn(t,c+2,s?r.call(s,o,i):r(o,i)):ia(t,c+2)}(I(),vt(),t,e,n,r,o)}function DC(t,e,n,r,o,i){return function IC(t,e,n,r,o,i,s,c){const l=e+n;return function bl(t,e,n,r,o){const i=po(t,e,n,r);return $e(t,e+2,o)||i}(t,l,o,i,s)?Bn(t,l+3,c?r.call(c,o,i,s):r(o,i,s)):ia(t,l+3)}(I(),vt(),t,e,n,r,o,i)}function ia(t,e){const n=t[e];return n===ee?void 0:n}function bo(t,e){return cl(t,e)}const WC=new P("");function Ul(t){return!!t&&"function"==typeof t.then}function JC(t){return!!t&&"function"==typeof t.subscribe}const KC=new P("");let Up=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=B(KC,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Ul(i))n.push(i);else if(JC(i)){const s=new Promise((c,l)=>{i.subscribe({complete:c,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const $p=new P("");let rr=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=B(WN),this.afterRenderManager=B(DD),this.zonelessEnabled=B(Hs),this.dirtyFlags=0,this.deferredDirtyFlags=0,this.externalTestViews=new Set,this.beforeRender=new zr,this.afterTick=new zr,this.componentTypes=[],this.components=[],this.isStable=B(mr).hasPendingTasks.pipe(dr(n=>!n)),this._injector=B(en)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}whenStable(){let n;return new Promise(r=>{n=this.isStable.subscribe({next:o=>{o&&r()}})}).finally(()=>{n.unsubscribe()})}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof Av;if(!this._injector.get(Up).done)throw!o&&function Jr(t){const e=ie(t)||Xe(t)||it(t);return null!==e&&e.standalone}(n),new R(405,!1);let s;s=o?n:this._injector.get(pl).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const c=function uj(t){return t.isBoundToModule}(s)?void 0:this._injector.get(fo),u=s.create(ct.NULL,[],r||s.selector,c),d=u.location.nativeElement,_=u.injector.get(WC,null);return _?.registerApplication(d),u.onDestroy(()=>{this.detachView(u.hostView),$l(this.components,u),_?.unregisterApplication(d)}),this._loadComponent(u),u}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){if(this._runningTick)throw new R(101,!1);const n=Q(null);try{this._runningTick=!0,this.synchronize()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1,Q(n),this.afterTick.next()}}synchronize(){let n=null;this._injector.destroyed||(n=this._injector.get($f,null,{optional:!0})),this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0;let r=0;for(;0!==this.dirtyFlags&&r++<10;)this.synchronizeOnce(n)}synchronizeOnce(n){if(this.dirtyFlags|=this.deferredDirtyFlags,this.deferredDirtyFlags=0,7&this.dirtyFlags){const r=!!(1&this.dirtyFlags);this.dirtyFlags&=-8,this.dirtyFlags|=8,this.beforeRender.next(r);for(let{_lView:o,notifyErrorHandler:i}of this._views)fj(o,i,r,this.zonelessEnabled);if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),7&this.dirtyFlags)return}else n?.begin?.(),n?.end?.();8&this.dirtyFlags&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){this.allViews.some(({_lView:n})=>Ec(n))?this.dirtyFlags|=2:this.dirtyFlags&=-8}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;$l(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get($p,[]);[...this._bootstrapListeners,...r].forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>$l(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new R(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function $l(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function fj(t,e,n,r){(n||Ec(t))&&al(t,e,n&&!r?0:1)}let mj=(()=>{class t{constructor(){this.zone=B(be),this.changeDetectionScheduler=B(li),this.applicationRef=B(rr)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function zp({ngZoneFactory:t,ignoreChangesOutsideZone:e,scheduleInRootZone:n}){return t??=()=>new be({...qp(),scheduleInRootZone:n}),[{provide:be,useFactory:t},{provide:Nn,multi:!0,useFactory:()=>{const r=B(mj,{optional:!0});return()=>r.initialize()}},{provide:Nn,multi:!0,useFactory:()=>{const r=B(wj);return()=>{r.initialize()}}},!0===e?{provide:kv,useValue:!0}:[],{provide:Uf,useValue:n??gw}]}function qp(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let wj=(()=>{class t{constructor(){this.subscription=new Xt,this.initialized=!1,this.zone=B(be),this.pendingTasks=B(mr)}initialize(){if(this.initialized)return;this.initialized=!0;let n=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(n=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{be.assertNotInAngularZone(),queueMicrotask(()=>{null!==n&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(n),n=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{be.assertInAngularZone(),n??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),la=(()=>{class t{constructor(){this.appRef=B(rr),this.taskService=B(mr),this.ngZone=B(be),this.zonelessEnabled=B(Hs),this.disableScheduling=B(kv,{optional:!0})??!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new Xt,this.angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(jc):null,this.scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(B(Uf,{optional:!0})??!1),this.cancelScheduledCallback=null,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||=!this.zonelessEnabled&&(this.ngZone instanceof O_||!this.zoneIsDefined)}notify(n){if(!this.zonelessEnabled&&5===n)return;switch(n){case 0:this.appRef.dirtyFlags|=2;break;case 3:case 2:case 4:case 5:case 1:this.appRef.dirtyFlags|=4;break;case 7:this.appRef.deferredDirtyFlags|=8;break;default:this.appRef.dirtyFlags|=8}if(!this.shouldScheduleTick())return;const r=this.useMicrotaskScheduler?yw:mw;this.pendingRenderTaskId=this.taskService.add(),this.cancelScheduledCallback=this.scheduleInRootZone?Zone.root.run(()=>r(()=>this.tick())):this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(){return!(this.disableScheduling||null!==this.pendingRenderTaskId||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(jc+this.angularZoneId))}tick(){if(this.runningTick||this.appRef.destroyed)return;!this.zonelessEnabled&&7&this.appRef.dirtyFlags&&(this.appRef.dirtyFlags|=1);const n=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(r){throw this.taskService.remove(n),r}finally{this.cleanup()}this.useMicrotaskScheduler=!0,yw(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(n)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,null!==this.pendingRenderTaskId){const n=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(n)}}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const Sr=new P("",{providedIn:"root",factory:()=>B(Sr,le.Optional|le.SkipSelf)||function bj(){return typeof $localize<"u"&&$localize.locale||Nl}()}),Wp=new P("");function ql(t){return!!t.platformInjector}let Tr=null;let Kt=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=Aj}return t})();function Aj(t){return function Nj(t,e,n){if(Yr(t)&&!n){const r=qt(t.index,e);return new Fs(r,r)}return 175&t.type?new Fs(e[xe],e):null}(we(),I(),!(16&~t))}class f0{constructor(){}supports(e){return wl(e)}create(e){return new Pj(e)}}const xj=(t,e)=>e;class Pj{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||xj}forEachItem(e){let n;for(n=this._itHead;null!==n;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,c),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,c,s,o)),Object.is(n.item,c)||this._addIdentityChange(n,c)):(n=this._mismatch(n,c,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,o){let i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,i,o)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,i,o)):e=this._addAfter(new Lj(n,r),i,o),e}_verifyReinsertion(e,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?e=this._reinsertAfter(i,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;null!==e;){const n=e._next;this._addToRemovals(this._unlink(e)),e=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const o=e._prevRemoved,i=e._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){const o=null===n?this._itHead:n._next;return e._next=o,e._prev=n,null===o?this._itTail=e:o._prev=e,null===n?this._itHead=e:n._next=e,null===this._linkedRecords&&(this._linkedRecords=new p0),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const n=e._prev,r=e._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new p0),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Lj{constructor(e,n){this.item=e,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Vj{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){const n=e._prevDup,r=e._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class p0{constructor(){this.map=new Map}put(e){const n=e.trackById;let r=this.map.get(n);r||(r=new Vj,this.map.set(n,r)),r.add(e)}get(e,n){const o=this.map.get(e);return o?o.get(e,n):null}remove(e){const n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function h0(t,e,n){const r=t.previousIndex;if(null===r)return r;let o=0;return n&&r{class t{static#e=this.\u0275prov=J({token:t,providedIn:"root",factory:m0});constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new t(n)}static extend(n){return{provide:t,useFactory:r=>t.create(n,r||m0()),deps:[[t,new $d,new Ud]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new R(901,!1)}}return t})();function e4(t){try{const{rootComponent:e,appProviders:n,platformProviders:r}=t,o=function kj(t=[]){if(Tr)return Tr;const e=function a0(t=[],e){return ct.create({name:e,providers:[{provide:Qd,useValue:"platform"},{provide:Wp,useValue:new Set([()=>Tr=null])},...t]})}(t);return Tr=e,function ZC(){!function DM(t){am=t}(()=>{throw new R(600,!1)})}(),function c0(t){t.get($w,null)?.forEach(n=>n())}(e),e}(r),i=[zp({}),{provide:li,useExisting:la},...n||[]];return function r0(t){const e=ql(t)?t.r3Injector:t.moduleRef.injector,n=e.get(be);return n.run(()=>{ql(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();const r=e.get(Ln,null);let o;if(n.runOutsideAngular(()=>{o=n.onError.subscribe({next:i=>{r.handleError(i)}})}),ql(t)){const i=()=>e.destroy(),s=t.platformInjector.get(Wp);s.add(i),e.onDestroy(()=>{o.unsubscribe(),s.delete(i)})}else t.moduleRef.onDestroy(()=>{$l(t.allPlatformModules,t.moduleRef),o.unsubscribe()});return function _j(t,e,n){try{const r=n();return Ul(r)?r.catch(o=>{throw e.runOutsideAngular(()=>t.handleError(o)),o}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(r,n,()=>{const i=e.get(Up);return i.runInitializers(),i.donePromise.then(()=>{if(function z2(t){"string"==typeof t&&(wE=t.toLowerCase().replace(/_/g,"-"))}(e.get(Sr,Nl)||Nl),ql(t)){const c=e.get(rr);return void 0!==t.rootComponent&&c.bootstrap(t.rootComponent),c}return function Sj(t,e){const n=t.injector.get(rr);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(r=>n.bootstrap(r));else{if(!t.instance.ngDoBootstrap)throw new R(-403,!1);t.instance.ngDoBootstrap(n)}e.push(t)}(t.moduleRef,t.allPlatformModules),t.moduleRef})})})}({r3Injector:new fD({providers:i,parent:o,debugName:"",runEnvironmentInitializers:!1}).injector,platformInjector:o,rootComponent:e})}catch(e){return Promise.reject(e)}}const O0=new P("");function fa(t,e){Dt("NgSignals");const n=function wM(t){const e=Object.create(bM);e.computation=t;const n=()=>{if(em(e),sd(e),e.value===Ka)throw e.error;return e.value};return n[yt]=e,n}(t);return e?.equal&&(n[yt].equal=e.equal),n}function $n(t){const e=Q(null);try{return t()}finally{Q(e)}}function oh(t){return t[t.length-1]}function Mr(t){return this instanceof Mr?(this.v=t,this):new Mr(t)}function W0(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t=function ch(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=t[i]&&function(s){return new Promise(function(c,l){!function o(i,s,c,l){Promise.resolve(l).then(function(u){i({value:u,done:c})},s)}(c,l,(s=t[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const J0=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function K0(t){return He(t?.then)}function Z0(t){return He(t[wd])}function Y0(t){return Symbol.asyncIterator&&He(t?.[Symbol.asyncIterator])}function Q0(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const X0=function Z4(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function eI(t){return He(t?.[X0])}function tI(t){return function G0(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(t,e||[]),i=[];return o=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),c("next"),c("throw"),c("return",function s(h){return function(g){return Promise.resolve(g).then(h,_)}}),o[Symbol.asyncIterator]=function(){return this},o;function c(h,g){r[h]&&(o[h]=function(v){return new Promise(function(D,C){i.push([h,v,D,C])>1||l(h,v)})},g&&(o[h]=g(o[h])))}function l(h,g){try{!function u(h){h.value instanceof Mr?Promise.resolve(h.value.v).then(d,_):p(i[0][2],h)}(r[h](g))}catch(v){p(i[0][3],v)}}function d(h){l("next",h)}function _(h){l("throw",h)}function p(h,g){h(g),i.shift(),i.length&&l(i[0][0],i[0][1])}}(this,arguments,function*(){const n=t.getReader();try{for(;;){const{value:r,done:o}=yield Mr(n.read());if(o)return yield Mr(void 0);yield yield Mr(r)}}finally{n.releaseLock()}})}function nI(t){return He(t?.getReader)}function Do(t){if(t instanceof At)return t;if(null!=t){if(Z0(t))return function Y4(t){return new At(e=>{const n=t[wd]();if(He(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(J0(t))return function Q4(t){return new At(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,hm)})}(t);if(Y0(t))return rI(t);if(eI(t))return function eB(t){return new At(e=>{for(const n of t)if(e.next(n),e.closed)return;e.complete()})}(t);if(nI(t))return function tB(t){return rI(tI(t))}(t)}throw Q0(t)}function rI(t){return new At(e=>{(function nB(t,e){var n,r,o,i;return function z0(t,e,n,r){return new(n||(n=Promise))(function(i,s){function c(d){try{u(r.next(d))}catch(_){s(_)}}function l(d){try{u(r.throw(d))}catch(_){s(_)}}function u(d){d.done?i(d.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(d.value).then(c,l)}u((r=r.apply(t,e||[])).next())})}(this,void 0,void 0,function*(){try{for(n=W0(t);!(r=yield n.next()).done;)if(e.next(r.value),e.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}e.complete()})})(t,e).catch(n=>e.error(n))})}function kr(t,e,n,r=0,o=!1){const i=e.schedule(function(){n(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(i),!o)return i}function oI(t,e=0){return qr((n,r)=>{n.subscribe(ur(r,o=>kr(r,t,()=>r.next(o),e),()=>kr(r,t,()=>r.complete(),e),o=>kr(r,t,()=>r.error(o),e)))})}function iI(t,e=0){return qr((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function sI(t,e){if(!t)throw new Error("Iterable cannot be null");return new At(n=>{kr(n,e,()=>{const r=t[Symbol.asyncIterator]();kr(n,e,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function lh(t,e){return e?function cB(t,e){if(null!=t){if(Z0(t))return function rB(t,e){return Do(t).pipe(iI(e),oI(e))}(t,e);if(J0(t))return function iB(t,e){return new At(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}(t,e);if(K0(t))return function oB(t,e){return Do(t).pipe(iI(e),oI(e))}(t,e);if(Y0(t))return sI(t,e);if(eI(t))return function sB(t,e){return new At(n=>{let r;return kr(n,e,()=>{r=t[X0](),kr(n,e,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>He(r?.return)&&r.return()})}(t,e);if(nI(t))return function aB(t,e){return sI(tI(t),e)}(t,e)}throw Q0(t)}(t,e):Do(t)}function aI(...t){return lh(t,function M4(t){return function S4(t){return t&&He(t.schedule)}(oh(t))?t.pop():void 0}(t))}function uh(t,e,n=1/0){return He(e)?uh((r,o)=>dr((i,s)=>e(r,i,o,s))(Do(t(r,o))),n):("number"==typeof e&&(n=e),qr((r,o)=>function lB(t,e,n,r,o,i,s,c){const l=[];let u=0,d=0,_=!1;const p=()=>{_&&!l.length&&!u&&e.complete()},h=v=>u{i&&e.next(v),u++;let D=!1;Do(n(v,d++)).subscribe(ur(e,C=>{o?.(C),i?h(C):e.next(C)},()=>{D=!0},void 0,()=>{if(D)try{for(u--;l.length&&ug(C)):g(C)}p()}catch(C){e.error(C)}}))};return t.subscribe(ur(e,h,()=>{_=!0,p()})),()=>{c?.()}}(r,o,t,n)))}function cI(t){return qr((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}let lI=null;function pa(){return lI}class pB{}const cn=new P("");function yI(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===e)return decodeURIComponent(i)}return null}const bh=/\s+/,wI=[];let Ar=(()=>{class t{constructor(n,r){this._ngEl=n,this._renderer=r,this.initialClasses=wI,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(bh):wI}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(bh):n}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const r of n)this._updateState(r,!0);else if(null!=n)for(const r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){const o=this.stateMap.get(n);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){(n=n.trim()).length>0&&n.split(bh).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static#e=this.\u0275fac=function(r){return new(r||t)(S(rn),S(uo))};static#t=this.\u0275dir=ne({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0})}return t})();class tH{constructor(e,n,r,o){this.$implicit=e,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let ga=(()=>{class t{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new tH(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const c=r.get(i);r.move(c,s),vI(c,o)}});for(let o=0,i=r.length;o{vI(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||t)(S(jn),S(nr),S(Xp))};static#t=this.\u0275dir=ne({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return t})();function vI(t,e){t.context.$implicit=e.item}let En=(()=>{class t{constructor(n,r){this._viewContainer=n,this._context=new nH,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){DI("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){DI("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(n,r){return!0}static#e=this.\u0275fac=function(r){return new(r||t)(S(jn),S(nr))};static#t=this.\u0275dir=ne({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return t})();class nH{constructor(){this.$implicit=null,this.ngIf=null}}function DI(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Qe(e)}'.`)}let CI=(()=>{class t{constructor(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(n){if(this._shouldRecreateView(n)){const r=this._viewContainerRef;if(this._viewRef&&r.remove(r.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const o=this._createContextForwardProxy();this._viewRef=r.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(n){return!!n.ngTemplateOutlet||!!n.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(n,r,o)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,r,o),get:(n,r,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,r,o)}})}static#e=this.\u0275fac=function(r){return new(r||t)(S(jn))};static#t=this.\u0275dir=ne({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Zn]})}return t})(),Ye=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=Jn({type:t});static#n=this.\u0275inj=kn({})}return t})();function TI(t){return"server"===t}class MI{}class hu{}class gu{}class dn{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?"string"==typeof e?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof dn?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){const n=new dn;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof dn?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){const n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(e.name,n);const o=("a"===e.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=e.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(c=>-1===i.indexOf(c)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(e,n){const r=(Array.isArray(n)?n:[n]).map(i=>i.toString()),o=e.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(e,o)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}}class oU{encodeKey(e){return VI(e)}encodeValue(e){return VI(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const sU=/%(\d[a-f0-9])/gi,aU={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function VI(t){return encodeURIComponent(t).replace(sU,(e,n)=>aU[n]??e)}function mu(t){return`${t}`}class Nr{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new oU,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function iU(t,e){const n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,c]=-1==i?[e.decodeKey(o),""]:[e.decodeKey(o.slice(0,i)),e.decodeValue(o.slice(i+1))],l=n.get(s)||[];l.push(c),n.set(s,l)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{const r=e.fromObject[n],o=Array.isArray(r)?r.map(mu):[mu(r)];this.map.set(n,o)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){const n=[];return Object.keys(e).forEach(r=>{const o=e[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const n=this.encoder.encodeKey(e);return this.map.get(e).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const n=new Nr({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const n=("a"===e.op?this.map.get(e.param):void 0)||[];n.push(mu(e.value)),this.map.set(e.param,n);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let r=this.map.get(e.param)||[];const o=r.indexOf(mu(e.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}class cU{constructor(){this.map=new Map}set(e,n){return this.map.set(e,n),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}}function jI(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function BI(t){return typeof Blob<"u"&&t instanceof Blob}function HI(t){return typeof FormData<"u"&&t instanceof FormData}class wa{constructor(e,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function lU(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params),this.transferCache=i.transferCache),this.headers??=new dn,this.context??=new cU,this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const c=n.indexOf("?");this.urlWithParams=n+(-1===c?"?":cp.set(h,e.setHeaders[h]),u)),e.setParams&&(d=Object.keys(e.setParams).reduce((p,h)=>p.set(h,e.setParams[h]),d)),new wa(n,r,s,{params:d,headers:u,context:_,reportProgress:l,responseType:o,withCredentials:c,transferCache:i})}}var Rr=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Rr||{});class Mh{constructor(e,n=200,r="OK"){this.headers=e.headers||new dn,this.status=void 0!==e.status?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class yu extends Mh{constructor(e={}){super(e),this.type=Rr.ResponseHeader}clone(e={}){return new yu({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Eo extends Mh{constructor(e={}){super(e),this.type=Rr.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new Eo({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class Li extends Mh{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${e.url||"(unknown url)"}`:`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function kh(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}let fU=(()=>{class t{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof wa)i=n;else{let l,u;l=o.headers instanceof dn?o.headers:new dn(o.headers),o.params&&(u=o.params instanceof Nr?o.params:new Nr({fromObject:o.params})),i=new wa(n,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}const s=aI(i).pipe(function uB(t,e){return He(e)?uh(t,e,1):uh(t,1)}(l=>this.handler.handle(l)));if(n instanceof wa||"events"===o.observe)return s;const c=s.pipe(function dB(t,e){return qr((n,r)=>{let o=0;n.subscribe(ur(r,i=>t.call(e,i,o++)&&r.next(i)))})}(l=>l instanceof Eo));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return c.pipe(dr(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return c.pipe(dr(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return c.pipe(dr(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return c.pipe(dr(l=>l.body))}case"response":return c;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new Nr).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,kh(o,r))}post(n,r,o={}){return this.request("POST",n,kh(o,r))}put(n,r,o={}){return this.request("PUT",n,kh(o,r))}static#e=this.\u0275fac=function(r){return new(r||t)(z(hu))};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac})}return t})();const pU=/^\)\]\}',?\n/;function $I(t){if(t.url)return t.url;const e="X-Request-URL".toLocaleLowerCase();return t.headers.get(e)}let Ah=(()=>{class t{constructor(){this.fetchImpl=B(gU,{optional:!0})?.fetch??((...n)=>globalThis.fetch(...n)),this.ngZone=B(be)}handle(n){return new At(r=>{const o=new AbortController;return this.doRequest(n,o.signal,r).then(Nh,i=>r.error(new Li({error:i}))),()=>o.abort()})}doRequest(n,r,o){var i=this;return A(function*(){const s=i.createRequestInit(n);let c;try{const g=i.ngZone.runOutsideAngular(()=>i.fetchImpl(n.urlWithParams,{signal:r,...s}));(function mU(t){t.then(Nh,Nh)})(g),o.next({type:Rr.Sent}),c=yield g}catch(g){return void o.error(new Li({error:g,status:g.status??0,statusText:g.statusText,url:n.urlWithParams,headers:g.headers}))}const l=new dn(c.headers),u=c.statusText,d=$I(c)??n.urlWithParams;let _=c.status,p=null;if(n.reportProgress&&o.next(new yu({headers:l,status:_,statusText:u,url:d})),c.body){const g=c.headers.get("content-length"),v=[],D=c.body.getReader();let E,O,C=0;const $=typeof Zone<"u"&&Zone.current;yield i.ngZone.runOutsideAngular(A(function*(){for(;;){const{done:ae,value:Fe}=yield D.read();if(ae)break;if(v.push(Fe),C+=Fe.length,n.reportProgress){O="text"===n.responseType?(O??"")+(E??=new TextDecoder).decode(Fe,{stream:!0}):void 0;const Qt=()=>o.next({type:Rr.DownloadProgress,total:g?+g:void 0,loaded:C,partialText:O});$?$.run(Qt):Qt()}}}));const te=i.concatChunks(v,C);try{const ae=c.headers.get("Content-Type")??"";p=i.parseBody(n,te,ae)}catch(ae){return void o.error(new Li({error:ae,headers:new dn(c.headers),status:c.status,statusText:c.statusText,url:$I(c)??n.urlWithParams}))}}0===_&&(_=p?200:0),_>=200&&_<300?(o.next(new Eo({body:p,headers:l,status:_,statusText:u,url:d})),o.complete()):o.error(new Li({error:p,headers:l,status:_,statusText:u,url:d}))})()}parseBody(n,r,o){switch(n.responseType){case"json":const i=(new TextDecoder).decode(r).replace(pU,"");return""===i?null:JSON.parse(i);case"text":return(new TextDecoder).decode(r);case"blob":return new Blob([r],{type:o});case"arraybuffer":return r.buffer}}createRequestInit(n){const r={},o=n.withCredentials?"include":void 0;if(n.headers.forEach((i,s)=>r[i]=s.join(",")),n.headers.has("Accept")||(r.Accept="application/json, text/plain, */*"),!n.headers.has("Content-Type")){const i=n.detectContentTypeHeader();null!==i&&(r["Content-Type"]=i)}return{body:n.serializeBody(),method:n.method,headers:r,credentials:o}}concatChunks(n,r){const o=new Uint8Array(r);let i=0;for(const s of n)o.set(s,i),i+=s.length;return o}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac})}return t})();class gU{}function Nh(){}function zI(t,e){return e(t)}function yU(t,e){return(n,r)=>e.intercept(n,{handle:o=>t(o,r)})}const bU=new P(""),ba=new P(""),qI=new P(""),GI=new P("",{providedIn:"root",factory:()=>!0});function vU(){let t=null;return(e,n)=>{null===t&&(t=(B(bU,{optional:!0})??[]).reduceRight(yU,zI));const r=B(mr);if(B(GI)){const i=r.add();return t(e,n).pipe(cI(()=>r.remove(i)))}return t(e,n)}}let WI=(()=>{class t extends hu{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null,this.pendingTasks=B(mr),this.contributeToStability=B(GI)}handle(n){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(ba),...this.injector.get(qI,[])]));this.chain=r.reduceRight((o,i)=>function wU(t,e,n){return(r,o)=>function OA(t,e){t instanceof Ho&&t.assertNotDestroyed();const r=pr(t),o=Nt(void 0);try{return e()}finally{pr(r),Nt(o)}}(n,()=>e(r,i=>t(i,o)))}(o,i,this.injector),zI)}if(this.contributeToStability){const r=this.pendingTasks.add();return this.chain(n,o=>this.backend.handle(o)).pipe(cI(()=>this.pendingTasks.remove(r)))}return this.chain(n,r=>this.backend.handle(r))}static#e=this.\u0275fac=function(r){return new(r||t)(z(gu),z(en))};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac})}return t})();const SU=/^\)\]\}',?\n/;let KI=(()=>{class t{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new R(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?lh(r.\u0275loadImpl()):aI(null)).pipe(function _B(t,e){return qr((n,r)=>{let o=null,i=0,s=!1;const c=()=>s&&!o&&r.complete();n.subscribe(ur(r,l=>{o?.unsubscribe();let u=0;const d=i++;Do(t(l,d)).subscribe(o=ur(r,_=>r.next(e?e(l,_,d,u++):_),()=>{o=null,c()}))},()=>{s=!0,c()}))})}(()=>new At(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((v,D)=>s.setRequestHeader(v,D.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const v=n.detectContentTypeHeader();null!==v&&s.setRequestHeader("Content-Type",v)}if(n.responseType){const v=n.responseType.toLowerCase();s.responseType="json"!==v?v:"text"}const c=n.serializeBody();let l=null;const u=()=>{if(null!==l)return l;const v=s.statusText||"OK",D=new dn(s.getAllResponseHeaders()),C=function TU(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(s)||n.url;return l=new yu({headers:D,status:s.status,statusText:v,url:C}),l},d=()=>{let{headers:v,status:D,statusText:C,url:E}=u(),O=null;204!==D&&(O=typeof s.response>"u"?s.responseText:s.response),0===D&&(D=O?200:0);let $=D>=200&&D<300;if("json"===n.responseType&&"string"==typeof O){const te=O;O=O.replace(SU,"");try{O=""!==O?JSON.parse(O):null}catch(ae){O=te,$&&($=!1,O={error:ae,text:O})}}$?(i.next(new Eo({body:O,headers:v,status:D,statusText:C,url:E||void 0})),i.complete()):i.error(new Li({error:O,headers:v,status:D,statusText:C,url:E||void 0}))},_=v=>{const{url:D}=u(),C=new Li({error:v,status:s.status||0,statusText:s.statusText||"Unknown Error",url:D||void 0});i.error(C)};let p=!1;const h=v=>{p||(i.next(u()),p=!0);let D={type:Rr.DownloadProgress,loaded:v.loaded};v.lengthComputable&&(D.total=v.total),"text"===n.responseType&&s.responseText&&(D.partialText=s.responseText),i.next(D)},g=v=>{let D={type:Rr.UploadProgress,loaded:v.loaded};v.lengthComputable&&(D.total=v.total),i.next(D)};return s.addEventListener("load",d),s.addEventListener("error",_),s.addEventListener("timeout",_),s.addEventListener("abort",_),n.reportProgress&&(s.addEventListener("progress",h),null!==c&&s.upload&&s.upload.addEventListener("progress",g)),s.send(c),i.next({type:Rr.Sent}),()=>{s.removeEventListener("error",_),s.removeEventListener("abort",_),s.removeEventListener("load",d),s.removeEventListener("timeout",_),n.reportProgress&&(s.removeEventListener("progress",h),null!==c&&s.upload&&s.upload.removeEventListener("progress",g)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(r){return new(r||t)(z(MI))};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac})}return t})();const Rh=new P(""),ZI=new P("",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),YI=new P("",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class QI{}let AU=(()=>{class t{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=yI(n,this.cookieName),this.lastCookieString=n),this.lastToken}static#e=this.\u0275fac=function(r){return new(r||t)(z(cn),z(wr),z(ZI))};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac})}return t})();function NU(t,e){const n=t.url.toLowerCase();if(!B(Rh)||"GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e(t);const r=B(QI).getToken(),o=B(YI);return null!=r&&!t.headers.has(o)&&(t=t.clone({headers:t.headers.set(o,r)})),e(t)}var Fr=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(Fr||{});function RU(...t){const e=[fU,KI,WI,{provide:hu,useExisting:WI},{provide:gu,useFactory:()=>B(Ah,{optional:!0})??B(KI)},{provide:ba,useValue:NU,multi:!0},{provide:Rh,useValue:!0},{provide:QI,useClass:AU}];for(const n of t)e.push(...n.\u0275providers);return function rs(t){return{\u0275providers:t}}(e)}const XI=new P("");function FU(){return function Co(t,e){return{\u0275kind:t,\u0275providers:e}}(Fr.LegacyInterceptors,[{provide:XI,useFactory:vU},{provide:ba,useExisting:XI,multi:!0}])}let OU=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=Jn({type:t});static#n=this.\u0275inj=kn({providers:[RU(FU())]})}return t})();class $U extends pB{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Fh extends $U{static makeCurrent(){!function fB(t){lI??=t}(new Fh)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.remove()}createElement(e,n){return(n=n||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return"window"===n?window:"document"===n?e:"body"===n?e.body:null}getBaseHref(e){const n=function zU(){return va=va||document.querySelector("base"),va?va.getAttribute("href"):null}();return null==n?null:function qU(t){return new URL(t,document.baseURI).pathname}(n)}resetBaseElement(){va=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return yI(document.cookie,e)}}let va=null,WU=(()=>{class t{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac})}return t})();const bu=new P("");let aS=(()=>{class t{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new R(5101,!1);return this._eventNameToPlugin.set(n,r),r}static#e=this.\u0275fac=function(r){return new(r||t)(z(bu),z(be))};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac})}return t})();class Oh{constructor(e){this._doc=e}}const xh="ng-app-id";let cS=(()=>{class t{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=TI(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${xh}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(xh),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(xh,this.appId),n.appendChild(s),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r),i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}static#e=this.\u0275fac=function(r){return new(r||t)(z(cn),z(ws),z(zw,8),z(wr))};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac})}return t})();const Ph={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Lh=/%COMP%/g,YU=new P("",{providedIn:"root",factory:()=>!0});function uS(t,e){return e.map(n=>n.replace(Lh,t))}let dS=(()=>{class t{constructor(n,r,o,i,s,c,l,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=c,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=TI(c),this.defaultRenderer=new Vh(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===pn.ShadowDom&&(r={...r,encapsulation:pn.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof fS?o.applyToHost(n):o instanceof jh&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,c=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,_=this.platformIsServer;switch(r.encapsulation){case pn.Emulated:i=new fS(l,u,r,this.appId,d,s,c,_);break;case pn.ShadowDom:return new t3(l,u,n,r,s,c,this.nonce,_);default:i=new jh(l,u,r,d,s,c,_)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(r){return new(r||t)(z(aS),z(cS),z(ws),z(YU),z(cn),z(wr),z(be),z(zw))};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac})}return t})();class Vh{constructor(e,n,r,o){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(Ph[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(_S(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(_S(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){n.remove()}selectRootElement(e,n){let r="string"==typeof e?this.doc.querySelector(e):e;if(!r)throw new R(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,o){if(o){n=o+":"+n;const i=Ph[o];i?e.setAttributeNS(i,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){const o=Ph[r];o?e.removeAttributeNS(o,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,o){o&(vr.DashCase|vr.Important)?e.style.setProperty(n,r,o&vr.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&vr.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){null!=e&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if("string"==typeof e&&!(e=pa().getGlobalEventTarget(this.doc,e)))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if("__ngUnwrap__"===n)return e;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))&&n.preventDefault()}}}function _S(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class t3 extends Vh{constructor(e,n,r,o,i,s,c,l){super(e,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const u=uS(o.id,o.styles);for(const d of u){const _=document.createElement("style");c&&_.setAttribute("nonce",c),_.textContent=d,this.shadowRoot.appendChild(_)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(null,n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class jh extends Vh{constructor(e,n,r,o,i,s,c,l){super(e,i,s,c),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=o,this.styles=l?uS(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class fS extends jh{constructor(e,n,r,o,i,s,c,l){const u=o+"-"+r.id;super(e,n,r,i,s,c,l,u),this.contentAttr=function QU(t){return"_ngcontent-%COMP%".replace(Lh,t)}(u),this.hostAttr=function XU(t){return"_nghost-%COMP%".replace(Lh,t)}(u)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){const r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}}let n3=(()=>{class t extends Oh{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}static#e=this.\u0275fac=function(r){return new(r||t)(z(cn))};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac})}return t})(),r3=(()=>{class t extends Oh{constructor(n){super(n),this.delegate=B(O0,{optional:!0})}supports(n){return!!this.delegate&&this.delegate.supports(n)}addEventListener(n,r,o){return this.delegate.addEventListener(n,r,o)}removeEventListener(n,r,o){return this.delegate.removeEventListener(n,r,o)}static#e=this.\u0275fac=function(r){return new(r||t)(z(cn))};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac})}return t})();const pS=["alt","control","meta","shift"],o3={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},i3={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};function hS(t){return{appProviders:[...f3,...t?.providers??[]],platformProviders:d3}}const d3=[{provide:wr,useValue:"browser"},{provide:$w,useValue:function c3(){Fh.makeCurrent()},multi:!0},{provide:cn,useFactory:function u3(){return function hR(t){B_=t}(document),document},deps:[]}],f3=[{provide:Qd,useValue:"root"},{provide:Ln,useFactory:function l3(){return new Ln},deps:[]},{provide:bu,useClass:n3,multi:!0,deps:[cn,be,wr]},{provide:bu,useClass:(()=>{class t extends Oh{constructor(n){super(n)}supports(n){return null!=t.parseEventName(n)}addEventListener(n,r,o){const i=t.parseEventName(r),s=t.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>pa().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=t._normalizeKey(r.pop());let s="",c=r.indexOf("code");if(c>-1&&(r.splice(c,1),s="code."),pS.forEach(u=>{const d=r.indexOf(u);d>-1&&(r.splice(d,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=o3[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),pS.forEach(s=>{s!==o&&(0,i3[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{t.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}static#e=this.\u0275fac=function(r){return new(r||t)(z(cn))};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac})}return t})(),multi:!0,deps:[cn]},{provide:bu,useClass:r3,multi:!0},dS,cS,aS,{provide:$f,useExisting:dS},{provide:MI,useClass:WU,deps:[]},[]];let a;const sr=new Array(128).fill(void 0);function N(t){return sr[t]}sr.push(void 0,null,!0,!1);let Da=sr.length;function b(t){const e=N(t);return function m3(t){t<132||(sr[t]=Da,Da=t)}(t),e}const yS=typeof TextDecoder<"u"?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};typeof TextDecoder<"u"&&yS.decode();let Ea=null;function Vi(){return(null===Ea||0===Ea.byteLength)&&(Ea=new Uint8Array(a.memory.buffer)),Ea}function M(t,e){return t>>>=0,yS.decode(Vi().subarray(t,t+e))}function T(t){Da===sr.length&&sr.push(sr.length+1);const e=Da;return Da=sr[e],sr[e]=t,e}let m=0;const Du=typeof TextEncoder<"u"?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},y3="function"==typeof Du.encodeInto?function(t,e){return Du.encodeInto(t,e)}:function(t,e){const n=Du.encode(t);return e.set(n),{read:t.length,written:n.length}};function y(t,e,n){if(void 0===n){const c=Du.encode(t),l=e(c.length,1)>>>0;return Vi().subarray(l,l+c.length).set(c),m=c.length,l}let r=t.length,o=e(r,1)>>>0;const i=Vi();let s=0;for(;s127)break;i[o+s]=c}if(s!==r){0!==s&&(t=t.slice(s)),o=n(o,r,r=s+3*t.length,1)>>>0;const c=Vi().subarray(o+s,o+r);s+=y3(t,c).written,o=n(o,r,s,1)>>>0}return m=s,o}function w(t){return null==t}let Ca=null;function f(){return(null===Ca||0===Ca.byteLength)&&(Ca=new Int32Array(a.memory.buffer)),Ca}function Bh(t){const e=typeof t;if("number"==e||"boolean"==e||null==t)return`${t}`;if("string"==e)return`"${t}"`;if("symbol"==e){const o=t.description;return null==o?"Symbol":`Symbol(${o})`}if("function"==e){const o=t.name;return"string"==typeof o&&o.length>0?`Function(${o})`:"Function"}if(Array.isArray(t)){const o=t.length;let i="[";o>0&&(i+=Bh(t[0]));for(let s=1;s1))return toString.call(t);if(r=n[1],"Object"==r)try{return"Object("+JSON.stringify(t)+")"}catch{return"Object"}return t instanceof Error?`${t.name}: ${t.message}\n${t.stack}`:r}const wS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>{a.__wbindgen_export_2.get(t.dtor)(t.a,t.b)});function bS(t,e,n,r){const o={a:t,b:e,cnt:1,dtor:n},i=(...s)=>{o.cnt++;const c=o.a;o.a=0;try{return r(c,o.b,...s)}finally{0==--o.cnt?(a.__wbindgen_export_2.get(o.dtor)(c,o.b),wS.unregister(o)):o.a=c}};return i.original=o,wS.register(i,o,o),i}function w3(t,e,n){a._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0d84a86fb8ccef8f(t,e,T(n))}function b3(t,e,n){a._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h371b80b3de9ca300(t,e,T(n))}function k(t,e){if(!(t instanceof e))throw new Error(`expected instance of ${e.name}`);return t.ptr}function _n(t,e){const n=e(1*t.length,1)>>>0;return Vi().set(t,n/1),m=t.length,n}let Ia=null;function DS(t,e){const n=e(4*t.length,4)>>>0,r=function vS(){return(null===Ia||0===Ia.byteLength)&&(Ia=new Uint32Array(a.memory.buffer)),Ia}();for(let o=0;o"u"||new FinalizationRegistry(t=>a.__wbg_accessrights_free(t>>>0));const SS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_accounthash_free(t>>>0));class Yt{static __wrap(e){e>>>=0;const n=Object.create(Yt.prototype);return n.__wbg_ptr=e,SS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,SS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_accounthash_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.accounthash_new_js_alias(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromFormattedStr(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.accounthash_fromFormattedStr(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Yt.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromPublicKey(e){k(e,Pr);var n=e.__destroy_into_raw();const r=a.accounthash_fromPublicKey(n);return Yt.__wrap(r)}toFormattedString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.accounthash_toFormattedString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}toHexString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.accounthash_toHexString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}static fromUint8Array(e){const n=_n(e,a.__wbindgen_malloc),o=a.accounthash_fromUint8Array(n,m);return Yt.__wrap(o)}toJson(){return b(a.accounthash_toJson(this.__wbg_ptr))}}const TS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_accountidentifier_free(t>>>0));class So{static __wrap(e){e>>>=0;const n=Object.create(So.prototype);return n.__wbg_ptr=e,TS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,TS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_accountidentifier_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.accountidentifier_fromFormattedStr(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromFormattedStr(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.accountidentifier_fromFormattedStr(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return So.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromPublicKey(e){k(e,Pr);var n=e.__destroy_into_raw();const r=a.accountidentifier_fromPublicKey(n);return So.__wrap(r)}static fromAccountHash(e){k(e,Yt);var n=e.__destroy_into_raw();const r=a.accountidentifier_fromAccountHash(n);return So.__wrap(r)}toJson(){return b(a.accountidentifier_toJson(this.__wbg_ptr))}}const MS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_argssimple_free(t>>>0));class Uh{static __wrap(e){e>>>=0;const n=Object.create(Uh.prototype);return n.__wbg_ptr=e,MS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,MS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_argssimple_free(e)}}const kS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_blockhash_free(t>>>0));class Or{static __wrap(e){e>>>=0;const n=Object.create(Or.prototype);return n.__wbg_ptr=e,kS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,kS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_blockhash_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.blockhash_new_js_alias(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromDigest(e){try{const s=a.__wbindgen_add_to_stack_pointer(-16);k(e,Be);var n=e.__destroy_into_raw();a.blockhash_fromDigest(s,n);var r=f()[s/4+0],o=f()[s/4+1];if(f()[s/4+2])throw b(o);return Or.__wrap(r)}finally{a.__wbindgen_add_to_stack_pointer(16)}}toJson(){return b(a.blockhash_toJson(this.__wbg_ptr))}toString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.blockhash_toString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}}const AS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_blockidentifier_free(t>>>0));class Le{static __wrap(e){e>>>=0;const n=Object.create(Le.prototype);return n.__wbg_ptr=e,AS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,AS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_blockidentifier_free(e)}constructor(e){k(e,Le);var n=e.__destroy_into_raw();const r=a.blockidentifier_new(n);return this.__wbg_ptr=r>>>0,this}static from_hash(e){k(e,Or);var n=e.__destroy_into_raw();const r=a.blockidentifier_from_hash(n);return Le.__wrap(r)}static fromHeight(e){const n=a.blockidentifier_fromHeight(e);return Le.__wrap(n)}toJson(){return b(a.blockidentifier_toJson(this.__wbg_ptr))}}typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_body_free(t>>>0));const RS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_bytes_free(t>>>0));class ar{static __wrap(e){e>>>=0;const n=Object.create(ar.prototype);return n.__wbg_ptr=e,RS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,RS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_bytes_free(e)}constructor(){const e=a.bytes_new();return this.__wbg_ptr=e>>>0,this}static fromUint8Array(e){const n=a.bytes_fromUint8Array(T(e));return ar.__wrap(n)}}const S3=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_casperwallet_free(t>>>0));class T3{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,S3.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_casperwallet_free(e)}constructor(){const e=a.casperwallet_new();return this.__wbg_ptr=e>>>0,this}signDeploy(e,n){k(e,ue);var r=e.__destroy_into_raw(),o=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc);return b(a.casperwallet_signDeploy(this.__wbg_ptr,r,o,m))}signDeployHash(e,n){const r=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;var i=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc);return b(a.casperwallet_signDeployHash(this.__wbg_ptr,r,o,i,m))}signMessage(e,n){const r=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;var i=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc);return b(a.casperwallet_signMessage(this.__wbg_ptr,r,o,i,m))}connect(){return b(a.casperwallet_connect(this.__wbg_ptr))}disconnect(){return b(a.casperwallet_disconnect(this.__wbg_ptr))}isConnected(){return b(a.casperwallet_isConnected(this.__wbg_ptr))}getVersion(){return b(a.casperwallet_getVersion(this.__wbg_ptr))}getActivePublicKey(){return b(a.casperwallet_getActivePublicKey(this.__wbg_ptr))}switchAccount(){return b(a.casperwallet_switchAccount(this.__wbg_ptr))}}const FS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_contracthash_free(t>>>0));class Sa{static __wrap(e){e>>>=0;const n=Object.create(Sa.prototype);return n.__wbg_ptr=e,FS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,FS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_contracthash_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.contracthash_new_js_alias(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromFormattedStr(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.contracthash_fromFormattedStr(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Sa.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}toFormattedString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.contracthash_toFormattedString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}static fromUint8Array(e){const n=_n(e,a.__wbindgen_malloc),o=a.contracthash_fromUint8Array(n,m);return Sa.__wrap(o)}}const OS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_contractpackagehash_free(t>>>0));class Ta{static __wrap(e){e>>>=0;const n=Object.create(Ta.prototype);return n.__wbg_ptr=e,OS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,OS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_contractpackagehash_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.contractpackagehash_new_js_alias(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromFormattedStr(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.contractpackagehash_fromFormattedStr(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Ta.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}toFormattedString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.contractpackagehash_toFormattedString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}static fromUint8Array(e){const n=_n(e,a.__wbindgen_malloc),o=a.contractpackagehash_fromUint8Array(n,m);return Ta.__wrap(o)}}const xS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_deploy_free(t>>>0));class ue{static __wrap(e){e>>>=0;const n=Object.create(ue.prototype);return n.__wbg_ptr=e,xS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,xS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_deploy_free(e)}constructor(e){const n=a.deploy_new(T(e));return this.__wbg_ptr=n>>>0,this}toJson(){return b(a.deploy_toJson(this.__wbg_ptr))}static withPaymentAndSession(e,n,r){try{const d=a.__wbindgen_add_to_stack_pointer(-16);k(e,Bt);var o=e.__destroy_into_raw();k(n,ko);var i=n.__destroy_into_raw();k(r,zn);var s=r.__destroy_into_raw();a.deploy_withPaymentAndSession(d,o,i,s);var c=f()[d/4+0],l=f()[d/4+1];if(f()[d/4+2])throw b(l);return ue.__wrap(c)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static withTransfer(e,n,r,o,i){try{const h=a.__wbindgen_add_to_stack_pointer(-16),g=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),v=m,D=y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),C=m;var s=w(r)?0:y(r,a.__wbindgen_malloc,a.__wbindgen_realloc),c=m;k(o,Bt);var l=o.__destroy_into_raw();k(i,zn);var u=i.__destroy_into_raw();a.deploy_withTransfer(h,g,v,D,C,s,c,l,u);var d=f()[h/4+0],_=f()[h/4+1];if(f()[h/4+2])throw b(_);return ue.__wrap(d)}finally{a.__wbindgen_add_to_stack_pointer(16)}}withTTL(e,n){const r=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;var i=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const c=a.deploy_withTTL(this.__wbg_ptr,r,o,i,m);return ue.__wrap(c)}withTimestamp(e,n){const r=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;var i=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const c=a.deploy_withTimestamp(this.__wbg_ptr,r,o,i,m);return ue.__wrap(c)}withChainName(e,n){const r=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;var i=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const c=a.deploy_withChainName(this.__wbg_ptr,r,o,i,m);return ue.__wrap(c)}withAccount(e,n){k(e,Pr);var r=e.__destroy_into_raw(),o=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const s=a.deploy_withAccount(this.__wbg_ptr,r,o,m);return ue.__wrap(s)}withEntryPointName(e,n){const r=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;var i=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const c=a.deploy_withEntryPointName(this.__wbg_ptr,r,o,i,m);return ue.__wrap(c)}withHash(e,n){k(e,Sa);var r=e.__destroy_into_raw(),o=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const s=a.deploy_withHash(this.__wbg_ptr,r,o,m);return ue.__wrap(s)}withPackageHash(e,n){k(e,Ta);var r=e.__destroy_into_raw(),o=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const s=a.deploy_withPackageHash(this.__wbg_ptr,r,o,m);return ue.__wrap(s)}withModuleBytes(e,n){k(e,ar);var r=e.__destroy_into_raw(),o=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const s=a.deploy_withModuleBytes(this.__wbg_ptr,r,o,m);return ue.__wrap(s)}withSecretKey(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const o=a.deploy_withSecretKey(this.__wbg_ptr,n,m);return ue.__wrap(o)}withStandardPayment(e,n){const r=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;var i=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc);const c=a.deploy_withStandardPayment(this.__wbg_ptr,r,o,i,m);return ue.__wrap(c)}withPayment(e,n){var r=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;const i=a.deploy_withPayment(this.__wbg_ptr,T(e),r,o);return ue.__wrap(i)}withSession(e,n){var r=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;const i=a.deploy_withSession(this.__wbg_ptr,T(e),r,o);return ue.__wrap(i)}validateDeploySize(){return 0!==a.deploy_validateDeploySize(this.__wbg_ptr)}get hash(){const e=a.deploy_hash(this.__wbg_ptr);return xr.__wrap(e)}sign(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=a.deploy_sign(this.__wbg_ptr,n,m);return ue.__wrap(o)}addSignature(e,n){const r=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m,i=y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),c=a.deploy_addSignature(this.__wbg_ptr,r,o,i,m);return ue.__wrap(c)}TTL(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.deploy_TTL(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}timestamp(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.deploy_timestamp(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}chainName(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.deploy_chainName(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}account(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.deploy_account(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}args(){return b(a.deploy_args(this.__wbg_ptr))}addArg(e,n){try{const l=a.__wbindgen_add_to_stack_pointer(-16);var r=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;a.deploy_addArg(l,this.__wbg_ptr,T(e),r,o);var i=f()[l/4+0],s=f()[l/4+1];if(f()[l/4+2])throw b(s);return ue.__wrap(i)}finally{a.__wbindgen_add_to_stack_pointer(16)}}}const PS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_deployhash_free(t>>>0));class xr{static __wrap(e){e>>>=0;const n=Object.create(xr.prototype);return n.__wbg_ptr=e,PS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,PS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_deployhash_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.deployhash_new_js_alias(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromDigest(e){try{const s=a.__wbindgen_add_to_stack_pointer(-16);k(e,Be);var n=e.__destroy_into_raw();a.blockhash_fromDigest(s,n);var r=f()[s/4+0],o=f()[s/4+1];if(f()[s/4+2])throw b(o);return xr.__wrap(r)}finally{a.__wbindgen_add_to_stack_pointer(16)}}toJson(){return b(a.deployhash_toJson(this.__wbg_ptr))}toString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.deployhash_toString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}}typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_deployprocessed_free(t>>>0));const M3=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_deploystrparams_free(t>>>0));class Bt{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,M3.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_deploystrparams_free(e)}constructor(e,n,r,o,i){const s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),c=m,l=y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),u=m;var d=w(r)?0:y(r,a.__wbindgen_malloc,a.__wbindgen_realloc),_=m,p=w(o)?0:y(o,a.__wbindgen_malloc,a.__wbindgen_realloc),h=m,g=w(i)?0:y(i,a.__wbindgen_malloc,a.__wbindgen_realloc);const D=a.deploystrparams_new(s,c,l,u,d,_,p,h,g,m);return this.__wbg_ptr=D>>>0,this}get secret_key(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_secret_key(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set secret_key(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.deploystrparams_set_secret_key(this.__wbg_ptr,n,m)}get timestamp(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_timestamp(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set timestamp(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.deploystrparams_set_timestamp(this.__wbg_ptr,n,m)}setDefaultTimestamp(){a.deploystrparams_setDefaultTimestamp(this.__wbg_ptr)}get ttl(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_ttl(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set ttl(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.deploystrparams_set_ttl(this.__wbg_ptr,n,m)}setDefaultTTL(){a.deploystrparams_setDefaultTTL(this.__wbg_ptr)}get chain_name(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_chain_name(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set chain_name(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.deploystrparams_set_chain_name(this.__wbg_ptr,n,m)}get session_account(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_session_account(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_account(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.deploystrparams_set_session_account(this.__wbg_ptr,n,m)}}const k3=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_deploysubscription_free(t>>>0));class $h{static __unwrap(e){return e instanceof $h?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,k3.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_deploysubscription_free(e)}get deployHash(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_deployprocessed_deploy_hash(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}set deployHash(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_deployprocessed_deploy_hash(this.__wbg_ptr,n,m)}get eventHandlerFn(){return b(a.__wbg_get_deploysubscription_eventHandlerFn(this.__wbg_ptr))}set eventHandlerFn(e){a.__wbg_set_deploysubscription_eventHandlerFn(this.__wbg_ptr,T(e))}constructor(e,n){const r=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),i=a.deploysubscription_new(r,m,T(n));return this.__wbg_ptr=i>>>0,this}}const VS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_deploywatcher_free(t>>>0));class zh{static __wrap(e){e>>>=0;const n=Object.create(zh.prototype);return n.__wbg_ptr=e,VS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,VS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_deploywatcher_free(e)}constructor(e,n){const r=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),i=a.deploywatcher_new(r,m,!w(n),w(n)?BigInt(0):n);return this.__wbg_ptr=i>>>0,this}subscribe(e){try{const o=a.__wbindgen_add_to_stack_pointer(-16),i=DS(e,a.__wbindgen_malloc);a.deploywatcher_subscribe(o,this.__wbg_ptr,i,m);var n=f()[o/4+0];if(f()[o/4+1])throw b(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}unsubscribe(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.deploywatcher_unsubscribe(this.__wbg_ptr,n,m)}start(){return b(a.deploywatcher_start(this.__wbg_ptr))}stop(){a.deploywatcher_stop(this.__wbg_ptr)}}const jS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_dictionaryaddr_free(t>>>0));class Su{static __wrap(e){e>>>=0;const n=Object.create(Su.prototype);return n.__wbg_ptr=e,jS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,jS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_dictionaryaddr_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=_n(e,a.__wbindgen_malloc);a.dictionaryaddr_new(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}}const BS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_dictionaryitemidentifier_free(t>>>0));class Ht{static __wrap(e){e>>>=0;const n=Object.create(Ht.prototype);return n.__wbg_ptr=e,BS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,BS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_dictionaryitemidentifier_free(e)}static newFromAccountInfo(e,n,r){try{const c=a.__wbindgen_add_to_stack_pointer(-16),l=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),u=m,d=y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),_=m,p=y(r,a.__wbindgen_malloc,a.__wbindgen_realloc);a.dictionaryitemidentifier_newFromAccountInfo(c,l,u,d,_,p,m);var o=f()[c/4+0],i=f()[c/4+1];if(f()[c/4+2])throw b(i);return Ht.__wrap(o)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static newFromContractInfo(e,n,r){try{const c=a.__wbindgen_add_to_stack_pointer(-16),l=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),u=m,d=y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),_=m,p=y(r,a.__wbindgen_malloc,a.__wbindgen_realloc);a.dictionaryitemidentifier_newFromContractInfo(c,l,u,d,_,p,m);var o=f()[c/4+0],i=f()[c/4+1];if(f()[c/4+2])throw b(i);return Ht.__wrap(o)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static newFromSeedUref(e,n){try{const s=a.__wbindgen_add_to_stack_pointer(-16),c=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),l=m,u=y(n,a.__wbindgen_malloc,a.__wbindgen_realloc);a.dictionaryitemidentifier_newFromSeedUref(s,c,l,u,m);var r=f()[s/4+0],o=f()[s/4+1];if(f()[s/4+2])throw b(o);return Ht.__wrap(r)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static newFromDictionaryKey(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.dictionaryitemidentifier_newFromDictionaryKey(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Ht.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}toJson(){return b(a.dictionaryitemidentifier_toJson(this.__wbg_ptr))}}const HS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_dictionaryitemstrparams_free(t>>>0));class To{static __wrap(e){e>>>=0;const n=Object.create(To.prototype);return n.__wbg_ptr=e,HS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,HS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_dictionaryitemstrparams_free(e)}constructor(){const e=a.dictionaryitemstrparams_new();return this.__wbg_ptr=e>>>0,this}setAccountNamedKey(e,n,r){const o=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),i=m,s=y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),c=m,l=y(r,a.__wbindgen_malloc,a.__wbindgen_realloc);a.dictionaryitemstrparams_setAccountNamedKey(this.__wbg_ptr,o,i,s,c,l,m)}setContractNamedKey(e,n,r){const o=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),i=m,s=y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),c=m,l=y(r,a.__wbindgen_malloc,a.__wbindgen_realloc);a.dictionaryitemstrparams_setContractNamedKey(this.__wbg_ptr,o,i,s,c,l,m)}setUref(e,n){const r=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m,i=y(n,a.__wbindgen_malloc,a.__wbindgen_realloc);a.dictionaryitemstrparams_setUref(this.__wbg_ptr,r,o,i,m)}setDictionary(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.dictionaryitemstrparams_setDictionary(this.__wbg_ptr,n,m)}toJson(){return b(a.dictionaryitemstrparams_toJson(this.__wbg_ptr))}}const US=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_digest_free(t>>>0));class Be{static __wrap(e){e>>>=0;const n=Object.create(Be.prototype);return n.__wbg_ptr=e,US.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,US.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_digest_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.digest_new_js_alias(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromString(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.digest_fromString(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Be.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromRaw(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=_n(e,a.__wbindgen_malloc);a.digest_fromRaw(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Be.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}toJson(){return b(a.digest_toJson(this.__wbg_ptr))}toString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.digest_toString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}}const A3=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_eraid_free(t>>>0));class N3{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,A3.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_eraid_free(e)}constructor(e){const n=a.eraid_new(e);return this.__wbg_ptr=n>>>0,this}value(){const e=a.eraid_value(this.__wbg_ptr);return BigInt.asUintN(64,e)}}typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_eventparseresult_free(t>>>0)),typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_executionresult_free(t>>>0)),typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_failure_free(t>>>0));const qS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getaccountresult_free(t>>>0));class qh{static __wrap(e){e>>>=0;const n=Object.create(qh.prototype);return n.__wbg_ptr=e,qS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,qS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getaccountresult_free(e)}get api_version(){return b(a.getaccountresult_api_version(this.__wbg_ptr))}get account(){return b(a.getaccountresult_account(this.__wbg_ptr))}get merkle_proof(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.getaccountresult_merkle_proof(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}toJson(){return b(a.getaccountresult_toJson(this.__wbg_ptr))}}const GS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getauctioninforesult_free(t>>>0));class Gh{static __wrap(e){e>>>=0;const n=Object.create(Gh.prototype);return n.__wbg_ptr=e,GS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,GS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getauctioninforesult_free(e)}get api_version(){return b(a.getauctioninforesult_api_version(this.__wbg_ptr))}get auction_state(){return b(a.getauctioninforesult_auction_state(this.__wbg_ptr))}toJson(){return b(a.getauctioninforesult_toJson(this.__wbg_ptr))}}const WS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getbalanceresult_free(t>>>0));class Wh{static __wrap(e){e>>>=0;const n=Object.create(Wh.prototype);return n.__wbg_ptr=e,WS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,WS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getbalanceresult_free(e)}get api_version(){return b(a.getbalanceresult_api_version(this.__wbg_ptr))}get balance_value(){return b(a.getbalanceresult_balance_value(this.__wbg_ptr))}get merkle_proof(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.getbalanceresult_merkle_proof(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}toJson(){return b(a.getbalanceresult_toJson(this.__wbg_ptr))}}const JS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getblockresult_free(t>>>0));class Jh{static __wrap(e){e>>>=0;const n=Object.create(Jh.prototype);return n.__wbg_ptr=e,JS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,JS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getblockresult_free(e)}get api_version(){return b(a.getblockresult_api_version(this.__wbg_ptr))}get block(){return b(a.getblockresult_block(this.__wbg_ptr))}toJson(){return b(a.getblockresult_toJson(this.__wbg_ptr))}}const KS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getblocktransfersresult_free(t>>>0));class Kh{static __wrap(e){e>>>=0;const n=Object.create(Kh.prototype);return n.__wbg_ptr=e,KS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,KS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getblocktransfersresult_free(e)}get api_version(){return b(a.getblocktransfersresult_api_version(this.__wbg_ptr))}get block_hash(){const e=a.getblocktransfersresult_block_hash(this.__wbg_ptr);return 0===e?void 0:Or.__wrap(e)}get transfers(){return b(a.getblocktransfersresult_transfers(this.__wbg_ptr))}toJson(){return b(a.getblocktransfersresult_toJson(this.__wbg_ptr))}}const ZS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getchainspecresult_free(t>>>0));class Zh{static __wrap(e){e>>>=0;const n=Object.create(Zh.prototype);return n.__wbg_ptr=e,ZS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ZS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getchainspecresult_free(e)}get api_version(){return b(a.getchainspecresult_api_version(this.__wbg_ptr))}get chainspec_bytes(){return b(a.getchainspecresult_chainspec_bytes(this.__wbg_ptr))}toJson(){return b(a.getchainspecresult_toJson(this.__wbg_ptr))}}const YS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getdeployresult_free(t>>>0));class Yh{static __wrap(e){e>>>=0;const n=Object.create(Yh.prototype);return n.__wbg_ptr=e,YS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,YS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getdeployresult_free(e)}get api_version(){return b(a.getdeployresult_api_version(this.__wbg_ptr))}get deploy(){const e=a.getdeployresult_deploy(this.__wbg_ptr);return ue.__wrap(e)}toJson(){return b(a.getdeployresult_toJson(this.__wbg_ptr))}}const QS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getdictionaryitemresult_free(t>>>0));class Qh{static __wrap(e){e>>>=0;const n=Object.create(Qh.prototype);return n.__wbg_ptr=e,QS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,QS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getdictionaryitemresult_free(e)}get api_version(){return b(a.getdictionaryitemresult_api_version(this.__wbg_ptr))}get dictionary_key(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.getdictionaryitemresult_dictionary_key(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}get stored_value(){return b(a.getdictionaryitemresult_stored_value(this.__wbg_ptr))}get merkle_proof(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.getdictionaryitemresult_merkle_proof(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}toJson(){return b(a.getdictionaryitemresult_toJson(this.__wbg_ptr))}}const XS=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_geterainforesult_free(t>>>0));class Xh{static __wrap(e){e>>>=0;const n=Object.create(Xh.prototype);return n.__wbg_ptr=e,XS.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,XS.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_geterainforesult_free(e)}get api_version(){return b(a.geterainforesult_api_version(this.__wbg_ptr))}get era_summary(){return b(a.geterainforesult_era_summary(this.__wbg_ptr))}toJson(){return b(a.geterainforesult_toJson(this.__wbg_ptr))}}const e1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_geterasummaryresult_free(t>>>0));class eg{static __wrap(e){e>>>=0;const n=Object.create(eg.prototype);return n.__wbg_ptr=e,e1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,e1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_geterasummaryresult_free(e)}get api_version(){return b(a.geterasummaryresult_api_version(this.__wbg_ptr))}get era_summary(){return b(a.geterasummaryresult_era_summary(this.__wbg_ptr))}toJson(){return b(a.geterasummaryresult_toJson(this.__wbg_ptr))}}const t1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getnodestatusresult_free(t>>>0));class tg{static __wrap(e){e>>>=0;const n=Object.create(tg.prototype);return n.__wbg_ptr=e,t1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,t1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getnodestatusresult_free(e)}get api_version(){return b(a.getnodestatusresult_api_version(this.__wbg_ptr))}get chainspec_name(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.getnodestatusresult_chainspec_name(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}get starting_state_root_hash(){const e=a.getnodestatusresult_starting_state_root_hash(this.__wbg_ptr);return Be.__wrap(e)}get peers(){return b(a.getnodestatusresult_peers(this.__wbg_ptr))}get last_added_block_info(){return b(a.getnodestatusresult_last_added_block_info(this.__wbg_ptr))}get our_public_signing_key(){const e=a.getnodestatusresult_our_public_signing_key(this.__wbg_ptr);return 0===e?void 0:Pr.__wrap(e)}get round_length(){return b(a.getnodestatusresult_round_length(this.__wbg_ptr))}get next_upgrade(){return b(a.getnodestatusresult_next_upgrade(this.__wbg_ptr))}get build_version(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.getnodestatusresult_build_version(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}get uptime(){return b(a.getnodestatusresult_uptime(this.__wbg_ptr))}get reactor_state(){return b(a.getnodestatusresult_reactor_state(this.__wbg_ptr))}get last_progress(){return b(a.getnodestatusresult_last_progress(this.__wbg_ptr))}get available_block_range(){return b(a.getnodestatusresult_available_block_range(this.__wbg_ptr))}get block_sync(){return b(a.getnodestatusresult_block_sync(this.__wbg_ptr))}toJson(){return b(a.getnodestatusresult_toJson(this.__wbg_ptr))}}const n1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getpeersresult_free(t>>>0));class ng{static __wrap(e){e>>>=0;const n=Object.create(ng.prototype);return n.__wbg_ptr=e,n1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,n1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getpeersresult_free(e)}get api_version(){return b(a.getpeersresult_api_version(this.__wbg_ptr))}get peers(){return b(a.getpeersresult_peers(this.__wbg_ptr))}toJson(){return b(a.getpeersresult_toJson(this.__wbg_ptr))}}const r1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getstateroothashresult_free(t>>>0));class rg{static __wrap(e){e>>>=0;const n=Object.create(rg.prototype);return n.__wbg_ptr=e,r1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,r1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getstateroothashresult_free(e)}get api_version(){return b(a.getstateroothashresult_api_version(this.__wbg_ptr))}get state_root_hash(){const e=a.getstateroothashresult_state_root_hash(this.__wbg_ptr);return 0===e?void 0:Be.__wrap(e)}get state_root_hash_as_string(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.getstateroothashresult_state_root_hash_as_string(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}toString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.getstateroothashresult_toString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}toJson(){return b(a.getstateroothashresult_toJson(this.__wbg_ptr))}}const o1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getvalidatorchangesresult_free(t>>>0));class og{static __wrap(e){e>>>=0;const n=Object.create(og.prototype);return n.__wbg_ptr=e,o1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,o1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getvalidatorchangesresult_free(e)}get api_version(){return b(a.getvalidatorchangesresult_api_version(this.__wbg_ptr))}get changes(){return b(a.getvalidatorchangesresult_changes(this.__wbg_ptr))}toJson(){return b(a.getvalidatorchangesresult_toJson(this.__wbg_ptr))}}const i1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_globalstateidentifier_free(t>>>0));class Tt{static __wrap(e){e>>>=0;const n=Object.create(Tt.prototype);return n.__wbg_ptr=e,i1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,i1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_globalstateidentifier_free(e)}constructor(e){k(e,Tt);var n=e.__destroy_into_raw();const r=a.globalstateidentifier_new(n);return this.__wbg_ptr=r>>>0,this}static fromBlockHash(e){k(e,Or);var n=e.__destroy_into_raw();const r=a.globalstateidentifier_fromBlockHash(n);return Tt.__wrap(r)}static fromBlockHeight(e){const n=a.globalstateidentifier_fromBlockHeight(e);return Tt.__wrap(n)}static fromStateRootHash(e){k(e,Be);var n=e.__destroy_into_raw();const r=a.globalstateidentifier_fromStateRootHash(n);return Tt.__wrap(r)}toJson(){return b(a.globalstateidentifier_toJson(this.__wbg_ptr))}}const s1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_hashaddr_free(t>>>0));class ku{static __wrap(e){e>>>=0;const n=Object.create(ku.prototype);return n.__wbg_ptr=e,s1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,s1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_hashaddr_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=_n(e,a.__wbindgen_malloc);a.hashaddr_new(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}}typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_intounderlyingbytesource_free(t>>>0)),typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_intounderlyingsink_free(t>>>0)),typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_intounderlyingsource_free(t>>>0));const a1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_key_free(t>>>0));class Re{static __wrap(e){e>>>=0;const n=Object.create(Re.prototype);return n.__wbg_ptr=e,a1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,a1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_key_free(e)}constructor(e){try{const s=a.__wbindgen_add_to_stack_pointer(-16);k(e,Re);var n=e.__destroy_into_raw();a.key_new(s,n);var r=f()[s/4+0],o=f()[s/4+1];if(f()[s/4+2])throw b(o);return this.__wbg_ptr=r>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}toJson(){return b(a.key_toJson(this.__wbg_ptr))}static fromURef(e){k(e,In);var n=e.__destroy_into_raw();const r=a.key_fromURef(n);return Re.__wrap(r)}static fromDeployInfo(e){k(e,xr);var n=e.__destroy_into_raw();const r=a.key_fromDeployInfo(n);return Re.__wrap(r)}static fromAccount(e){k(e,Yt);var n=e.__destroy_into_raw();const r=a.key_fromAccount(n);return Re.__wrap(r)}static fromHash(e){k(e,ku);var n=e.__destroy_into_raw();const r=a.key_fromHash(n);return Re.__wrap(r)}static fromTransfer(e){const n=_n(e,a.__wbindgen_malloc),o=a.key_fromTransfer(n,m);return ug.__wrap(o)}static fromEraInfo(e){k(e,N3);var n=e.__destroy_into_raw();const r=a.key_fromEraInfo(n);return Re.__wrap(r)}static fromBalance(e){k(e,Nu);var n=e.__destroy_into_raw();const r=a.key_fromBalance(n);return Re.__wrap(r)}static fromBid(e){k(e,Yt);var n=e.__destroy_into_raw();const r=a.key_fromBid(n);return Re.__wrap(r)}static fromWithdraw(e){k(e,Yt);var n=e.__destroy_into_raw();const r=a.key_fromWithdraw(n);return Re.__wrap(r)}static fromDictionaryAddr(e){k(e,Su);var n=e.__destroy_into_raw();const r=a.key_fromDictionaryAddr(n);return Re.__wrap(r)}asDictionaryAddr(){const e=a.key_asDictionaryAddr(this.__wbg_ptr);return 0===e?void 0:Su.__wrap(e)}static fromEraSummary(){const e=a.key_fromEraSummary();return Re.__wrap(e)}static fromUnbond(e){k(e,Yt);var n=e.__destroy_into_raw();const r=a.key_fromUnbond(n);return Re.__wrap(r)}static fromChainspecRegistry(){const e=a.key_fromChainspecRegistry();return Re.__wrap(e)}static fromChecksumRegistry(){const e=a.key_fromChecksumRegistry();return Re.__wrap(e)}toFormattedString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.key_toFormattedString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}static fromFormattedString(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.key_fromFormattedString(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Re.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromDictionaryKey(e,n){k(e,In);var r=e.__destroy_into_raw();const o=_n(n,a.__wbindgen_malloc),s=a.key_fromDictionaryKey(r,o,m);return Re.__wrap(s)}isDictionaryKey(){return 0!==a.key_isDictionaryKey(this.__wbg_ptr)}intoAccount(){const e=this.__destroy_into_raw(),n=a.key_intoAccount(e);return 0===n?void 0:Yt.__wrap(n)}intoHash(){const e=this.__destroy_into_raw(),n=a.key_intoHash(e);return 0===n?void 0:ku.__wrap(n)}asBalance(){const e=a.key_asBalance(this.__wbg_ptr);return 0===e?void 0:Nu.__wrap(e)}intoURef(){const e=this.__destroy_into_raw(),n=a.key_intoURef(e);return 0===n?void 0:In.__wrap(n)}urefToHash(){const e=a.key_urefToHash(this.__wbg_ptr);return 0===e?void 0:Re.__wrap(e)}withdrawToUnbond(){const e=a.key_withdrawToUnbond(this.__wbg_ptr);return 0===e?void 0:Re.__wrap(e)}}const c1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_listrpcsresult_free(t>>>0));class ig{static __wrap(e){e>>>=0;const n=Object.create(ig.prototype);return n.__wbg_ptr=e,c1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,c1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_listrpcsresult_free(e)}get api_version(){return b(a.listrpcsresult_api_version(this.__wbg_ptr))}get name(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.listrpcsresult_name(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}get schema(){return b(a.listrpcsresult_schema(this.__wbg_ptr))}toJson(){return b(a.listrpcsresult_toJson(this.__wbg_ptr))}}const l1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_path_free(t>>>0));class Mo{static __wrap(e){e>>>=0;const n=Object.create(Mo.prototype);return n.__wbg_ptr=e,l1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,l1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_path_free(e)}constructor(e){const n=a.path_new(T(e));return this.__wbg_ptr=n>>>0,this}static fromArray(e){const n=a.path_fromArray(T(e));return Mo.__wrap(n)}toJson(){return b(a.path_toJson(this.__wbg_ptr))}toString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.path_toString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}is_empty(){return 0!==a.path_is_empty(this.__wbg_ptr)}}const P3=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_paymentstrparams_free(t>>>0));class zn{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,P3.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_paymentstrparams_free(e)}constructor(e,n,r,o,i,s,c,l,u,d,_){var p=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),h=m,g=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),v=m,D=w(r)?0:y(r,a.__wbindgen_malloc,a.__wbindgen_realloc),C=m,E=w(o)?0:y(o,a.__wbindgen_malloc,a.__wbindgen_realloc),O=m,$=w(i)?0:y(i,a.__wbindgen_malloc,a.__wbindgen_realloc),te=m,ae=w(s)?0:y(s,a.__wbindgen_malloc,a.__wbindgen_realloc),Fe=m,Qt=w(l)?0:y(l,a.__wbindgen_malloc,a.__wbindgen_realloc),Ji=m,Wg=w(u)?0:y(u,a.__wbindgen_malloc,a.__wbindgen_realloc),Jg=m,Kg=w(d)?0:y(d,a.__wbindgen_malloc,a.__wbindgen_realloc),Zg=m,Yg=w(_)?0:y(_,a.__wbindgen_malloc,a.__wbindgen_realloc),Qg=m;const Xg=a.paymentstrparams_new(p,h,g,v,D,C,E,O,$,te,ae,Fe,w(c)?0:T(c),Qt,Ji,Wg,Jg,Kg,Zg,Yg,Qg);return this.__wbg_ptr=Xg>>>0,this}get payment_amount(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_secret_key(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_amount(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_amount(this.__wbg_ptr,n,m)}get payment_hash(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_timestamp(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_hash(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_hash(this.__wbg_ptr,n,m)}get payment_name(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_ttl(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_name(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_name(this.__wbg_ptr,n,m)}get payment_package_hash(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_chain_name(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_package_hash(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_package_hash(this.__wbg_ptr,n,m)}get payment_package_name(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_session_account(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_package_name(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_package_name(this.__wbg_ptr,n,m)}get payment_path(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_path(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_path(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_path(this.__wbg_ptr,n,m)}get payment_args_simple(){return b(a.paymentstrparams_payment_args_simple(this.__wbg_ptr))}set payment_args_simple(e){a.paymentstrparams_set_payment_args_simple(this.__wbg_ptr,T(e))}get payment_args_json(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_args_json(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_args_json(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_args_json(this.__wbg_ptr,n,m)}get payment_args_complex(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_args_complex(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_args_complex(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_args_complex(this.__wbg_ptr,n,m)}get payment_version(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_version(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_version(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_version(this.__wbg_ptr,n,m)}get payment_entry_point(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_entry_point(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set payment_entry_point(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.paymentstrparams_set_payment_entry_point(this.__wbg_ptr,n,m)}}typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_peerentry_free(t>>>0));const u1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_publickey_free(t>>>0));class Pr{static __wrap(e){e>>>=0;const n=Object.create(Pr.prototype);return n.__wbg_ptr=e,u1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,u1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_publickey_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.publickey_new_js_alias(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromUint8Array(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=_n(e,a.__wbindgen_malloc);a.publickey_fromUint8Array(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Pr.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}toAccountHash(){const e=a.publickey_toAccountHash(this.__wbg_ptr);return Yt.__wrap(e)}toPurseUref(){const e=a.publickey_toPurseUref(this.__wbg_ptr);return In.__wrap(e)}toJson(){return b(a.publickey_toJson(this.__wbg_ptr))}}const d1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_purseidentifier_free(t>>>0));class Bi{static __wrap(e){e>>>=0;const n=Object.create(Bi.prototype);return n.__wbg_ptr=e,d1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,d1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_purseidentifier_free(e)}constructor(e){k(e,Pr);var n=e.__destroy_into_raw();const r=a.purseidentifier_fromPublicKey(n);return this.__wbg_ptr=r>>>0,this}static fromAccountHash(e){k(e,Yt);var n=e.__destroy_into_raw();const r=a.purseidentifier_fromAccountHash(n);return Bi.__wrap(r)}static fromURef(e){k(e,In);var n=e.__destroy_into_raw();const r=a.purseidentifier_fromURef(n);return Bi.__wrap(r)}toJson(){return b(a.purseidentifier_toJson(this.__wbg_ptr))}}const _1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_putdeployresult_free(t>>>0));class sg{static __wrap(e){e>>>=0;const n=Object.create(sg.prototype);return n.__wbg_ptr=e,_1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,_1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_putdeployresult_free(e)}get api_version(){return b(a.putdeployresult_api_version(this.__wbg_ptr))}get deploy_hash(){const e=a.putdeployresult_deploy_hash(this.__wbg_ptr);return xr.__wrap(e)}toJson(){return b(a.putdeployresult_toJson(this.__wbg_ptr))}}const f1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_querybalanceresult_free(t>>>0));class ag{static __wrap(e){e>>>=0;const n=Object.create(ag.prototype);return n.__wbg_ptr=e,f1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,f1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_querybalanceresult_free(e)}get api_version(){return b(a.querybalanceresult_api_version(this.__wbg_ptr))}get balance(){return b(a.querybalanceresult_balance(this.__wbg_ptr))}toJson(){return b(a.querybalanceresult_toJson(this.__wbg_ptr))}}const p1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_queryglobalstateresult_free(t>>>0));class cg{static __wrap(e){e>>>=0;const n=Object.create(cg.prototype);return n.__wbg_ptr=e,p1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,p1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_queryglobalstateresult_free(e)}get api_version(){return b(a.queryglobalstateresult_api_version(this.__wbg_ptr))}get block_header(){return b(a.queryglobalstateresult_block_header(this.__wbg_ptr))}get stored_value(){return b(a.queryglobalstateresult_stored_value(this.__wbg_ptr))}get merkle_proof(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.queryglobalstateresult_merkle_proof(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}toJson(){return b(a.queryglobalstateresult_toJson(this.__wbg_ptr))}}const V3=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_sdk_free(t>>>0));class j3{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,V3.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_sdk_free(e)}get_auction_info_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_auction_info_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Ru.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_auction_info(e){let n=0;return w(e)||(k(e,Ru),n=e.__destroy_into_raw()),b(a.sdk_get_auction_info(this.__wbg_ptr,n))}get_dictionary_item_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_dictionary_item_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Ra.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_dictionary_item(e){let n=0;return w(e)||(k(e,Ra),n=e.__destroy_into_raw()),b(a.sdk_get_dictionary_item(this.__wbg_ptr,n))}state_get_dictionary_item(e){let n=0;return w(e)||(k(e,Ra),n=e.__destroy_into_raw()),b(a.sdk_state_get_dictionary_item(this.__wbg_ptr,n))}get_era_info_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_era_info_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Ou.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_era_info(e){let n=0;return w(e)||(k(e,Ou),n=e.__destroy_into_raw()),b(a.sdk_get_era_info(this.__wbg_ptr,n))}get_node_status(e,n){var r=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;return b(a.sdk_get_node_status(this.__wbg_ptr,w(e)?3:e,r,o))}make_deploy(e,n,r){try{const d=a.__wbindgen_add_to_stack_pointer(-16);k(e,Bt);var o=e.__destroy_into_raw();k(n,ko);var i=n.__destroy_into_raw();k(r,zn);var s=r.__destroy_into_raw();a.sdk_make_deploy(d,this.__wbg_ptr,o,i,s);var c=f()[d/4+0],l=f()[d/4+1];if(f()[d/4+2])throw b(l);return ue.__wrap(c)}finally{a.__wbindgen_add_to_stack_pointer(16)}}sign_deploy(e,n){k(e,ue);var r=e.__destroy_into_raw();const o=y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),s=a.sdk_sign_deploy(this.__wbg_ptr,r,o,m);return ue.__wrap(s)}get_block_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_block_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Aa.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_block(e){let n=0;return w(e)||(k(e,Aa),n=e.__destroy_into_raw()),b(a.sdk_get_block(this.__wbg_ptr,n))}chain_get_block(e){let n=0;return w(e)||(k(e,Aa),n=e.__destroy_into_raw()),b(a.sdk_chain_get_block(this.__wbg_ptr,n))}get_era_summary_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_era_summary_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return xu.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_era_summary(e){let n=0;return w(e)||(k(e,xu),n=e.__destroy_into_raw()),b(a.sdk_get_era_summary(this.__wbg_ptr,n))}query_global_state_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_query_global_state_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Bu.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}query_global_state(e){let n=0;return w(e)||(k(e,Bu),n=e.__destroy_into_raw()),b(a.sdk_query_global_state(this.__wbg_ptr,n))}get_account_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_account_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Ma.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_account(e){let n=0;return w(e)||(k(e,Ma),n=e.__destroy_into_raw()),b(a.sdk_get_account(this.__wbg_ptr,n))}state_get_account_info(e){let n=0;return w(e)||(k(e,Ma),n=e.__destroy_into_raw()),b(a.sdk_state_get_account_info(this.__wbg_ptr,n))}get_state_root_hash_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_state_root_hash_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Fa.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_state_root_hash(e){let n=0;return w(e)||(k(e,Fa),n=e.__destroy_into_raw()),b(a.sdk_get_state_root_hash(this.__wbg_ptr,n))}chain_get_state_root_hash(e){let n=0;return w(e)||(k(e,Fa),n=e.__destroy_into_raw()),b(a.sdk_chain_get_state_root_hash(this.__wbg_ptr,n))}make_transfer(e,n,r,o,i){try{const h=a.__wbindgen_add_to_stack_pointer(-16),g=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),v=m,D=y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),C=m;var s=w(r)?0:y(r,a.__wbindgen_malloc,a.__wbindgen_realloc),c=m;k(o,Bt);var l=o.__destroy_into_raw();k(i,zn);var u=i.__destroy_into_raw();a.sdk_make_transfer(h,this.__wbg_ptr,g,v,D,C,s,c,l,u);var d=f()[h/4+0],_=f()[h/4+1];if(f()[h/4+2])throw b(_);return ue.__wrap(d)}finally{a.__wbindgen_add_to_stack_pointer(16)}}watchDeploy(e,n){const r=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),i=a.sdk_watchDeploy(this.__wbg_ptr,r,m,!w(n),w(n)?0:n);return zh.__wrap(i)}waitDeploy(e,n,r){const o=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),i=m,s=y(n,a.__wbindgen_malloc,a.__wbindgen_realloc);return b(a.sdk_waitDeploy(this.__wbg_ptr,o,i,s,m,!w(r),w(r)?0:r))}query_contract_key_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_query_contract_key_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return ju.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}query_contract_key(e){let n=0;return w(e)||(k(e,ju),n=e.__destroy_into_raw()),b(a.sdk_query_contract_key(this.__wbg_ptr,n))}get_balance_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_balance_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return ka.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_balance(e){let n=0;return w(e)||(k(e,ka),n=e.__destroy_into_raw()),b(a.sdk_get_balance(this.__wbg_ptr,n))}state_get_balance(e){let n=0;return w(e)||(k(e,ka),n=e.__destroy_into_raw()),b(a.sdk_state_get_balance(this.__wbg_ptr,n))}get_chainspec(e,n){var r=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;return b(a.sdk_get_chainspec(this.__wbg_ptr,w(e)?3:e,r,o))}get_peers(e,n){var r=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;return b(a.sdk_get_peers(this.__wbg_ptr,w(e)?3:e,r,o))}put_deploy(e,n,r){k(e,ue);var o=e.__destroy_into_raw(),i=w(r)?0:y(r,a.__wbindgen_malloc,a.__wbindgen_realloc),s=m;return b(a.sdk_put_deploy(this.__wbg_ptr,o,w(n)?3:n,i,s))}account_put_deploy(e,n,r){k(e,ue);var o=e.__destroy_into_raw(),i=w(r)?0:y(r,a.__wbindgen_malloc,a.__wbindgen_realloc),s=m;return b(a.sdk_account_put_deploy(this.__wbg_ptr,o,w(n)?3:n,i,s))}speculative_transfer(e,n,r,o,i,s,c,l,u){const d=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),_=m,p=y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),h=m;var g=w(r)?0:y(r,a.__wbindgen_malloc,a.__wbindgen_realloc),v=m;k(o,Bt);var D=o.__destroy_into_raw();k(i,zn);var C=i.__destroy_into_raw(),E=w(s)?0:y(s,a.__wbindgen_malloc,a.__wbindgen_realloc),O=m;let $=0;w(c)||(k(c,Le),$=c.__destroy_into_raw());var te=w(u)?0:y(u,a.__wbindgen_malloc,a.__wbindgen_realloc),ae=m;return b(a.sdk_speculative_transfer(this.__wbg_ptr,d,_,p,h,g,v,D,C,E,O,$,w(l)?3:l,te,ae))}deploy(e,n,r,o,i){k(e,Bt);var s=e.__destroy_into_raw();k(n,ko);var c=n.__destroy_into_raw();k(r,zn);var l=r.__destroy_into_raw(),u=w(i)?0:y(i,a.__wbindgen_malloc,a.__wbindgen_realloc),d=m;return b(a.sdk_deploy(this.__wbg_ptr,s,c,l,w(o)?3:o,u,d))}transfer(e,n,r,o,i,s,c){const l=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),u=m,d=y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),_=m;var p=w(r)?0:y(r,a.__wbindgen_malloc,a.__wbindgen_realloc),h=m;k(o,Bt);var g=o.__destroy_into_raw();k(i,zn);var v=i.__destroy_into_raw(),D=w(c)?0:y(c,a.__wbindgen_malloc,a.__wbindgen_realloc),C=m;return b(a.sdk_transfer(this.__wbg_ptr,l,u,d,_,p,h,g,v,w(s)?3:s,D,C))}get_block_transfers_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_block_transfers_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Fu.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_block_transfers(e){let n=0;return w(e)||(k(e,Fu),n=e.__destroy_into_raw()),b(a.sdk_get_block_transfers(this.__wbg_ptr,n))}list_rpcs(e,n){var r=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;return b(a.sdk_list_rpcs(this.__wbg_ptr,w(e)?3:e,r,o))}query_balance_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_query_balance_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Lu.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}query_balance(e){let n=0;return w(e)||(k(e,Lu),n=e.__destroy_into_raw()),b(a.sdk_query_balance(this.__wbg_ptr,n))}call_entrypoint(e,n,r,o){k(e,Bt);var i=e.__destroy_into_raw();k(n,ko);var s=n.__destroy_into_raw();const c=y(r,a.__wbindgen_malloc,a.__wbindgen_realloc),l=m;var u=w(o)?0:y(o,a.__wbindgen_malloc,a.__wbindgen_realloc);return b(a.sdk_call_entrypoint(this.__wbg_ptr,i,s,c,l,u,m))}speculative_deploy(e,n,r,o,i,s,c){k(e,Bt);var l=e.__destroy_into_raw();k(n,ko);var u=n.__destroy_into_raw();k(r,zn);var d=r.__destroy_into_raw(),_=w(o)?0:y(o,a.__wbindgen_malloc,a.__wbindgen_realloc),p=m;let h=0;w(i)||(k(i,Le),h=i.__destroy_into_raw());var g=w(c)?0:y(c,a.__wbindgen_malloc,a.__wbindgen_realloc),v=m;return b(a.sdk_speculative_deploy(this.__wbg_ptr,l,u,d,_,p,h,w(s)?3:s,g,v))}get_deploy_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_deploy_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Na.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}get_deploy(e){let n=0;return w(e)||(k(e,Na),n=e.__destroy_into_raw()),b(a.sdk_get_deploy(this.__wbg_ptr,n))}info_get_deploy(e){let n=0;return w(e)||(k(e,Na),n=e.__destroy_into_raw()),b(a.sdk_info_get_deploy(this.__wbg_ptr,n))}get_validator_changes(e,n){var r=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),o=m;return b(a.sdk_get_validator_changes(this.__wbg_ptr,w(e)?3:e,r,o))}get_speculative_exec_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_get_speculative_exec_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Pu.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}speculative_exec(e){let n=0;return w(e)||(k(e,Pu),n=e.__destroy_into_raw()),b(a.sdk_speculative_exec(this.__wbg_ptr,n))}query_contract_dict_options(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_query_contract_dict_options(i,this.__wbg_ptr,T(e));var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return Vu.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}query_contract_dict(e){let n=0;return w(e)||(k(e,Vu),n=e.__destroy_into_raw()),b(a.sdk_query_contract_dict(this.__wbg_ptr,n))}constructor(e,n){var r=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const i=a.sdk_new(r,m,w(n)?3:n);return this.__wbg_ptr=i>>>0,this}getNodeAddress(e){let n,r;try{const l=a.__wbindgen_add_to_stack_pointer(-16);var o=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sdk_getNodeAddress(l,this.__wbg_ptr,o,m);var s=f()[l/4+0],c=f()[l/4+1];return n=s,r=c,M(s,c)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(n,r,1)}}setNodeAddress(e){try{const s=a.__wbindgen_add_to_stack_pointer(-16);var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sdk_setNodeAddress(s,this.__wbg_ptr,n,m);var o=f()[s/4+0];if(f()[s/4+1])throw b(o)}finally{a.__wbindgen_add_to_stack_pointer(16)}}getVerbosity(e){return a.sdk_getVerbosity(this.__wbg_ptr,w(e)?3:e)}setVerbosity(e){try{const o=a.__wbindgen_add_to_stack_pointer(-16);a.sdk_setVerbosity(o,this.__wbg_ptr,w(e)?3:e);var n=f()[o/4+0];if(f()[o/4+1])throw b(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}install(e,n,r,o){k(e,Bt);var i=e.__destroy_into_raw();k(n,ko);var s=n.__destroy_into_raw();const c=y(r,a.__wbindgen_malloc,a.__wbindgen_realloc),l=m;var u=w(o)?0:y(o,a.__wbindgen_malloc,a.__wbindgen_realloc);return b(a.sdk_install(this.__wbg_ptr,i,s,c,l,u,m))}}const B3=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_sessionstrparams_free(t>>>0));class ko{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,B3.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_sessionstrparams_free(e)}constructor(e,n,r,o,i,s,c,l,u,d,_,p){var h=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc),g=m,v=w(n)?0:y(n,a.__wbindgen_malloc,a.__wbindgen_realloc),D=m,C=w(r)?0:y(r,a.__wbindgen_malloc,a.__wbindgen_realloc),E=m,O=w(o)?0:y(o,a.__wbindgen_malloc,a.__wbindgen_realloc),$=m,te=w(i)?0:y(i,a.__wbindgen_malloc,a.__wbindgen_realloc),ae=m;let Fe=0;w(s)||(k(s,ar),Fe=s.__destroy_into_raw());var Qt=w(l)?0:y(l,a.__wbindgen_malloc,a.__wbindgen_realloc),Ji=m,Wg=w(u)?0:y(u,a.__wbindgen_malloc,a.__wbindgen_realloc),Jg=m,Kg=w(d)?0:y(d,a.__wbindgen_malloc,a.__wbindgen_realloc),Zg=m,Yg=w(_)?0:y(_,a.__wbindgen_malloc,a.__wbindgen_realloc),Qg=m;const Xg=a.sessionstrparams_new(h,g,v,D,C,E,O,$,te,ae,Fe,w(c)?0:T(c),Qt,Ji,Wg,Jg,Kg,Zg,Yg,Qg,w(p)?16777215:p?1:0);return this.__wbg_ptr=Xg>>>0,this}get session_hash(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_secret_key(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_hash(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_hash(this.__wbg_ptr,n,m)}get session_name(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_timestamp(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_name(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_name(this.__wbg_ptr,n,m)}get session_package_hash(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_ttl(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_package_hash(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_package_hash(this.__wbg_ptr,n,m)}get session_package_name(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_chain_name(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_package_name(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_package_name(this.__wbg_ptr,n,m)}get session_path(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.deploystrparams_session_account(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_path(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_path(this.__wbg_ptr,n,m)}get session_bytes(){const e=a.sessionstrparams_session_bytes(this.__wbg_ptr);return 0===e?void 0:ar.__wrap(e)}set session_bytes(e){k(e,ar);var n=e.__destroy_into_raw();a.sessionstrparams_set_session_bytes(this.__wbg_ptr,n)}get session_args_simple(){const e=a.sessionstrparams_session_args_simple(this.__wbg_ptr);return 0===e?void 0:Uh.__wrap(e)}set session_args_simple(e){a.sessionstrparams_set_session_args_simple(this.__wbg_ptr,T(e))}get session_args_json(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_args_json(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_args_json(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_args_json(this.__wbg_ptr,n,m)}get session_args_complex(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_args_complex(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_args_complex(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_args_complex(this.__wbg_ptr,n,m)}get session_version(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_version(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_version(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_version(this.__wbg_ptr,n,m)}get session_entry_point(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.paymentstrparams_payment_entry_point(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set session_entry_point(e){const n=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.sessionstrparams_set_session_entry_point(this.__wbg_ptr,n,m)}get is_session_transfer(){const e=a.sessionstrparams_is_session_transfer(this.__wbg_ptr);return 16777215===e?void 0:0!==e}set is_session_transfer(e){a.sessionstrparams_set_is_session_transfer(this.__wbg_ptr,e)}}typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_signatureresponse_free(t>>>0));const h1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_speculativeexecresult_free(t>>>0));class lg{static __wrap(e){e>>>=0;const n=Object.create(lg.prototype);return n.__wbg_ptr=e,h1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,h1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_speculativeexecresult_free(e)}get api_version(){return b(a.speculativeexecresult_api_version(this.__wbg_ptr))}get block_hash(){const e=a.speculativeexecresult_block_hash(this.__wbg_ptr);return Or.__wrap(e)}get execution_result(){return b(a.speculativeexecresult_execution_result(this.__wbg_ptr))}toJson(){return b(a.speculativeexecresult_toJson(this.__wbg_ptr))}}typeof FinalizationRegistry>"u"||new FinalizationRegistry(t=>a.__wbg_success_free(t>>>0));const m1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_transferaddr_free(t>>>0));class ug{static __wrap(e){e>>>=0;const n=Object.create(ug.prototype);return n.__wbg_ptr=e,m1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,m1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_transferaddr_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=_n(e,a.__wbindgen_malloc);a.transferaddr_new(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}}const y1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_uref_free(t>>>0));class In{static __wrap(e){e>>>=0;const n=Object.create(In.prototype);return n.__wbg_ptr=e,y1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,y1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_uref_free(e)}constructor(e,n){try{const s=a.__wbindgen_add_to_stack_pointer(-16),c=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.uref_new_js_alias(s,c,m,n);var r=f()[s/4+0],o=f()[s/4+1];if(f()[s/4+2])throw b(o);return this.__wbg_ptr=r>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromFormattedStr(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.uref_fromFormattedStr(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return In.__wrap(n)}finally{a.__wbindgen_add_to_stack_pointer(16)}}static fromUint8Array(e,n){const r=_n(e,a.__wbindgen_malloc),i=a.uref_fromUint8Array(r,m,n);return In.__wrap(i)}toFormattedString(){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16);a.uref_toFormattedString(i,this.__wbg_ptr);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}toJson(){return b(a.uref_toJson(this.__wbg_ptr))}}const w1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_urefaddr_free(t>>>0));class Nu{static __wrap(e){e>>>=0;const n=Object.create(Nu.prototype);return n.__wbg_ptr=e,w1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,w1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_urefaddr_free(e)}constructor(e){try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=_n(e,a.__wbindgen_malloc);a.urefaddr_new(i,s,m);var n=f()[i/4+0],r=f()[i/4+1];if(f()[i/4+2])throw b(r);return this.__wbg_ptr=n>>>0,this}finally{a.__wbindgen_add_to_stack_pointer(16)}}}const b1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getaccountoptions_free(t>>>0));class Ma{static __wrap(e){e>>>=0;const n=Object.create(Ma.prototype);return n.__wbg_ptr=e,b1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,b1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getaccountoptions_free(e)}get account_identifier(){const e=a.__wbg_get_getaccountoptions_account_identifier(this.__wbg_ptr);return 0===e?void 0:So.__wrap(e)}set account_identifier(e){let n=0;w(e)||(k(e,So),n=e.__destroy_into_raw()),a.__wbg_set_getaccountoptions_account_identifier(this.__wbg_ptr,n)}get account_identifier_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getaccountoptions_account_identifier_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set account_identifier_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getaccountoptions_account_identifier_as_string(this.__wbg_ptr,n,m)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getaccountoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getaccountoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get maybe_block_identifier(){const e=a.__wbg_get_getaccountoptions_maybe_block_identifier(this.__wbg_ptr);return 0===e?void 0:Le.__wrap(e)}set maybe_block_identifier(e){let n=0;w(e)||(k(e,Le),n=e.__destroy_into_raw()),a.__wbg_set_getaccountoptions_maybe_block_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getaccountoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getaccountoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getaccountoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getaccountoptions_verbosity(this.__wbg_ptr,w(e)?3:e)}}const v1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getauctioninfooptions_free(t>>>0));class Ru{static __wrap(e){e>>>=0;const n=Object.create(Ru.prototype);return n.__wbg_ptr=e,v1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,v1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getauctioninfooptions_free(e)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getauctioninfooptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getauctioninfooptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get maybe_block_identifier(){const e=a.__wbg_get_getauctioninfooptions_maybe_block_identifier(this.__wbg_ptr);return 0===e?void 0:Le.__wrap(e)}set maybe_block_identifier(e){let n=0;w(e)||(k(e,Le),n=e.__destroy_into_raw()),a.__wbg_set_getauctioninfooptions_maybe_block_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getauctioninfooptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getauctioninfooptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getauctioninfooptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getauctioninfooptions_verbosity(this.__wbg_ptr,w(e)?3:e)}}const D1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getbalanceoptions_free(t>>>0));class ka{static __wrap(e){e>>>=0;const n=Object.create(ka.prototype);return n.__wbg_ptr=e,D1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,D1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getbalanceoptions_free(e)}get state_root_hash_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getbalanceoptions_state_root_hash_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set state_root_hash_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getbalanceoptions_state_root_hash_as_string(this.__wbg_ptr,n,m)}get state_root_hash(){const e=a.__wbg_get_getbalanceoptions_state_root_hash(this.__wbg_ptr);return 0===e?void 0:Be.__wrap(e)}set state_root_hash(e){let n=0;w(e)||(k(e,Be),n=e.__destroy_into_raw()),a.__wbg_set_getbalanceoptions_state_root_hash(this.__wbg_ptr,n)}get purse_uref_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getbalanceoptions_purse_uref_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set purse_uref_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getbalanceoptions_purse_uref_as_string(this.__wbg_ptr,n,m)}get purse_uref(){const e=a.__wbg_get_getbalanceoptions_purse_uref(this.__wbg_ptr);return 0===e?void 0:In.__wrap(e)}set purse_uref(e){let n=0;w(e)||(k(e,In),n=e.__destroy_into_raw()),a.__wbg_set_getbalanceoptions_purse_uref(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getbalanceoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getbalanceoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getbalanceoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getbalanceoptions_verbosity(this.__wbg_ptr,w(e)?3:e)}}const E1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getblockoptions_free(t>>>0));class Aa{static __wrap(e){e>>>=0;const n=Object.create(Aa.prototype);return n.__wbg_ptr=e,E1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,E1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getblockoptions_free(e)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getblockoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getblockoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get maybe_block_identifier(){const e=a.__wbg_get_getblockoptions_maybe_block_identifier(this.__wbg_ptr);return 0===e?void 0:Le.__wrap(e)}set maybe_block_identifier(e){let n=0;w(e)||(k(e,Le),n=e.__destroy_into_raw()),a.__wbg_set_getblockoptions_maybe_block_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getblockoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getblockoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getblockoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getblockoptions_verbosity(this.__wbg_ptr,w(e)?3:e)}}const C1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getblocktransfersoptions_free(t>>>0));class Fu{static __wrap(e){e>>>=0;const n=Object.create(Fu.prototype);return n.__wbg_ptr=e,C1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,C1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getblocktransfersoptions_free(e)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getblocktransfersoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getblocktransfersoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get maybe_block_identifier(){const e=a.__wbg_get_getblocktransfersoptions_maybe_block_identifier(this.__wbg_ptr);return 0===e?void 0:Le.__wrap(e)}set maybe_block_identifier(e){let n=0;w(e)||(k(e,Le),n=e.__destroy_into_raw()),a.__wbg_set_getblocktransfersoptions_maybe_block_identifier(this.__wbg_ptr,n)}get verbosity(){const e=a.__wbg_get_getblocktransfersoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getblocktransfersoptions_verbosity(this.__wbg_ptr,w(e)?3:e)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getblocktransfersoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getblocktransfersoptions_node_address(this.__wbg_ptr,n,m)}}const I1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getdeployoptions_free(t>>>0));class Na{static __wrap(e){e>>>=0;const n=Object.create(Na.prototype);return n.__wbg_ptr=e,I1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,I1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getdeployoptions_free(e)}get deploy_hash_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getdeployoptions_deploy_hash_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set deploy_hash_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getdeployoptions_deploy_hash_as_string(this.__wbg_ptr,n,m)}get deploy_hash(){const e=a.__wbg_get_getdeployoptions_deploy_hash(this.__wbg_ptr);return 0===e?void 0:xr.__wrap(e)}set deploy_hash(e){let n=0;w(e)||(k(e,xr),n=e.__destroy_into_raw()),a.__wbg_set_getdeployoptions_deploy_hash(this.__wbg_ptr,n)}get finalized_approvals(){const e=a.__wbg_get_getdeployoptions_finalized_approvals(this.__wbg_ptr);return 16777215===e?void 0:0!==e}set finalized_approvals(e){a.__wbg_set_getdeployoptions_finalized_approvals(this.__wbg_ptr,w(e)?16777215:e?1:0)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getdeployoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getdeployoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getdeployoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getdeployoptions_verbosity(this.__wbg_ptr,w(e)?3:e)}}const S1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getdictionaryitemoptions_free(t>>>0));class Ra{static __wrap(e){e>>>=0;const n=Object.create(Ra.prototype);return n.__wbg_ptr=e,S1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,S1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getdictionaryitemoptions_free(e)}get state_root_hash_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getdictionaryitemoptions_state_root_hash_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set state_root_hash_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getdictionaryitemoptions_state_root_hash_as_string(this.__wbg_ptr,n,m)}get state_root_hash(){const e=a.__wbg_get_getdictionaryitemoptions_state_root_hash(this.__wbg_ptr);return 0===e?void 0:Be.__wrap(e)}set state_root_hash(e){let n=0;w(e)||(k(e,Be),n=e.__destroy_into_raw()),a.__wbg_set_getdictionaryitemoptions_state_root_hash(this.__wbg_ptr,n)}get dictionary_item_params(){const e=a.__wbg_get_getdictionaryitemoptions_dictionary_item_params(this.__wbg_ptr);return 0===e?void 0:To.__wrap(e)}set dictionary_item_params(e){let n=0;w(e)||(k(e,To),n=e.__destroy_into_raw()),a.__wbg_set_getdictionaryitemoptions_dictionary_item_params(this.__wbg_ptr,n)}get dictionary_item_identifier(){const e=a.__wbg_get_getdictionaryitemoptions_dictionary_item_identifier(this.__wbg_ptr);return 0===e?void 0:Ht.__wrap(e)}set dictionary_item_identifier(e){let n=0;w(e)||(k(e,Ht),n=e.__destroy_into_raw()),a.__wbg_set_getdictionaryitemoptions_dictionary_item_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getdictionaryitemoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getdictionaryitemoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getdictionaryitemoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getdictionaryitemoptions_verbosity(this.__wbg_ptr,w(e)?3:e)}}const T1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_geterainfooptions_free(t>>>0));class Ou{static __wrap(e){e>>>=0;const n=Object.create(Ou.prototype);return n.__wbg_ptr=e,T1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,T1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_geterainfooptions_free(e)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getauctioninfooptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getauctioninfooptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get maybe_block_identifier(){const e=a.__wbg_get_getauctioninfooptions_maybe_block_identifier(this.__wbg_ptr);return 0===e?void 0:Le.__wrap(e)}set maybe_block_identifier(e){let n=0;w(e)||(k(e,Le),n=e.__destroy_into_raw()),a.__wbg_set_getauctioninfooptions_maybe_block_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getauctioninfooptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getauctioninfooptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getauctioninfooptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getauctioninfooptions_verbosity(this.__wbg_ptr,w(e)?3:e)}}const M1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_geterasummaryoptions_free(t>>>0));class xu{static __wrap(e){e>>>=0;const n=Object.create(xu.prototype);return n.__wbg_ptr=e,M1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,M1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_geterasummaryoptions_free(e)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getblockoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getblockoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get maybe_block_identifier(){const e=a.__wbg_get_getblockoptions_maybe_block_identifier(this.__wbg_ptr);return 0===e?void 0:Le.__wrap(e)}set maybe_block_identifier(e){let n=0;w(e)||(k(e,Le),n=e.__destroy_into_raw()),a.__wbg_set_getblockoptions_maybe_block_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getblockoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getblockoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getblockoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getblockoptions_verbosity(this.__wbg_ptr,w(e)?3:e)}}const k1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getspeculativeexecoptions_free(t>>>0));class Pu{static __wrap(e){e>>>=0;const n=Object.create(Pu.prototype);return n.__wbg_ptr=e,k1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,k1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getspeculativeexecoptions_free(e)}get deploy_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getspeculativeexecoptions_deploy_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set deploy_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getspeculativeexecoptions_deploy_as_string(this.__wbg_ptr,n,m)}get deploy(){const e=a.__wbg_get_getspeculativeexecoptions_deploy(this.__wbg_ptr);return 0===e?void 0:ue.__wrap(e)}set deploy(e){let n=0;w(e)||(k(e,ue),n=e.__destroy_into_raw()),a.__wbg_set_getspeculativeexecoptions_deploy(this.__wbg_ptr,n)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getspeculativeexecoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getspeculativeexecoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get maybe_block_identifier(){const e=a.__wbg_get_getspeculativeexecoptions_maybe_block_identifier(this.__wbg_ptr);return 0===e?void 0:Le.__wrap(e)}set maybe_block_identifier(e){let n=0;w(e)||(k(e,Le),n=e.__destroy_into_raw()),a.__wbg_set_getspeculativeexecoptions_maybe_block_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getspeculativeexecoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getspeculativeexecoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getspeculativeexecoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getspeculativeexecoptions_verbosity(this.__wbg_ptr,w(e)?3:e)}}const A1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_getstateroothashoptions_free(t>>>0));class Fa{static __wrap(e){e>>>=0;const n=Object.create(Fa.prototype);return n.__wbg_ptr=e,A1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,A1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_getstateroothashoptions_free(e)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getstateroothashoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getstateroothashoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get maybe_block_identifier(){const e=a.__wbg_get_getaccountoptions_maybe_block_identifier(this.__wbg_ptr);return 0===e?void 0:Le.__wrap(e)}set maybe_block_identifier(e){let n=0;w(e)||(k(e,Le),n=e.__destroy_into_raw()),a.__wbg_set_getaccountoptions_maybe_block_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_getstateroothashoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_getstateroothashoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_getstateroothashoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_getstateroothashoptions_verbosity(this.__wbg_ptr,w(e)?3:e)}}const N1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_querybalanceoptions_free(t>>>0));class Lu{static __wrap(e){e>>>=0;const n=Object.create(Lu.prototype);return n.__wbg_ptr=e,N1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,N1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_querybalanceoptions_free(e)}get purse_identifier_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querybalanceoptions_purse_identifier_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set purse_identifier_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querybalanceoptions_purse_identifier_as_string(this.__wbg_ptr,n,m)}get purse_identifier(){const e=a.__wbg_get_querybalanceoptions_purse_identifier(this.__wbg_ptr);return 0===e?void 0:Bi.__wrap(e)}set purse_identifier(e){let n=0;w(e)||(k(e,Bi),n=e.__destroy_into_raw()),a.__wbg_set_querybalanceoptions_purse_identifier(this.__wbg_ptr,n)}get global_state_identifier(){const e=a.__wbg_get_querybalanceoptions_global_state_identifier(this.__wbg_ptr);return 0===e?void 0:Tt.__wrap(e)}set global_state_identifier(e){let n=0;w(e)||(k(e,Tt),n=e.__destroy_into_raw()),a.__wbg_set_querybalanceoptions_global_state_identifier(this.__wbg_ptr,n)}get state_root_hash_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querybalanceoptions_state_root_hash_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set state_root_hash_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querybalanceoptions_state_root_hash_as_string(this.__wbg_ptr,n,m)}get state_root_hash(){const e=a.__wbg_get_querybalanceoptions_state_root_hash(this.__wbg_ptr);return 0===e?void 0:Be.__wrap(e)}set state_root_hash(e){let n=0;w(e)||(k(e,Be),n=e.__destroy_into_raw()),a.__wbg_set_querybalanceoptions_state_root_hash(this.__wbg_ptr,n)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querybalanceoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querybalanceoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querybalanceoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querybalanceoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_querybalanceoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_querybalanceoptions_verbosity(this.__wbg_ptr,w(e)?3:e)}}const R1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_querycontractdictoptions_free(t>>>0));class Vu{static __wrap(e){e>>>=0;const n=Object.create(Vu.prototype);return n.__wbg_ptr=e,R1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,R1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_querycontractdictoptions_free(e)}get state_root_hash_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractdictoptions_state_root_hash_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set state_root_hash_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractdictoptions_state_root_hash_as_string(this.__wbg_ptr,n,m)}get state_root_hash(){const e=a.__wbg_get_querycontractdictoptions_state_root_hash(this.__wbg_ptr);return 0===e?void 0:Be.__wrap(e)}set state_root_hash(e){let n=0;w(e)||(k(e,Be),n=e.__destroy_into_raw()),a.__wbg_set_querycontractdictoptions_state_root_hash(this.__wbg_ptr,n)}get dictionary_item_params(){const e=a.__wbg_get_querycontractdictoptions_dictionary_item_params(this.__wbg_ptr);return 0===e?void 0:To.__wrap(e)}set dictionary_item_params(e){let n=0;w(e)||(k(e,To),n=e.__destroy_into_raw()),a.__wbg_set_querycontractdictoptions_dictionary_item_params(this.__wbg_ptr,n)}get dictionary_item_identifier(){const e=a.__wbg_get_querycontractdictoptions_dictionary_item_identifier(this.__wbg_ptr);return 0===e?void 0:Ht.__wrap(e)}set dictionary_item_identifier(e){let n=0;w(e)||(k(e,Ht),n=e.__destroy_into_raw()),a.__wbg_set_querycontractdictoptions_dictionary_item_identifier(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractdictoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractdictoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_querycontractdictoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_querycontractdictoptions_verbosity(this.__wbg_ptr,w(e)?3:e)}}const F1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_querycontractkeyoptions_free(t>>>0));class ju{static __wrap(e){e>>>=0;const n=Object.create(ju.prototype);return n.__wbg_ptr=e,F1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,F1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_querycontractkeyoptions_free(e)}get global_state_identifier(){const e=a.__wbg_get_querycontractkeyoptions_global_state_identifier(this.__wbg_ptr);return 0===e?void 0:Tt.__wrap(e)}set global_state_identifier(e){let n=0;w(e)||(k(e,Tt),n=e.__destroy_into_raw()),a.__wbg_set_querycontractkeyoptions_global_state_identifier(this.__wbg_ptr,n)}get state_root_hash_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractkeyoptions_state_root_hash_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set state_root_hash_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractkeyoptions_state_root_hash_as_string(this.__wbg_ptr,n,m)}get state_root_hash(){const e=a.__wbg_get_querycontractkeyoptions_state_root_hash(this.__wbg_ptr);return 0===e?void 0:Be.__wrap(e)}set state_root_hash(e){let n=0;w(e)||(k(e,Be),n=e.__destroy_into_raw()),a.__wbg_set_querycontractkeyoptions_state_root_hash(this.__wbg_ptr,n)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractkeyoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractkeyoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get contract_key_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractkeyoptions_contract_key_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set contract_key_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractkeyoptions_contract_key_as_string(this.__wbg_ptr,n,m)}get contract_key(){const e=a.__wbg_get_querycontractkeyoptions_contract_key(this.__wbg_ptr);return 0===e?void 0:Re.__wrap(e)}set contract_key(e){let n=0;w(e)||(k(e,Re),n=e.__destroy_into_raw()),a.__wbg_set_querycontractkeyoptions_contract_key(this.__wbg_ptr,n)}get path_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractkeyoptions_path_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set path_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractkeyoptions_path_as_string(this.__wbg_ptr,n,m)}get path(){const e=a.__wbg_get_querycontractkeyoptions_path(this.__wbg_ptr);return 0===e?void 0:Mo.__wrap(e)}set path(e){let n=0;w(e)||(k(e,Mo),n=e.__destroy_into_raw()),a.__wbg_set_querycontractkeyoptions_path(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_querycontractkeyoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_querycontractkeyoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_querycontractkeyoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_querycontractkeyoptions_verbosity(this.__wbg_ptr,w(e)?3:e)}}const O1=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>a.__wbg_queryglobalstateoptions_free(t>>>0));class Bu{static __wrap(e){e>>>=0;const n=Object.create(Bu.prototype);return n.__wbg_ptr=e,O1.register(n,n.__wbg_ptr,n),n}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,O1.unregister(this),e}free(){const e=this.__destroy_into_raw();a.__wbg_queryglobalstateoptions_free(e)}get global_state_identifier(){const e=a.__wbg_get_queryglobalstateoptions_global_state_identifier(this.__wbg_ptr);return 0===e?void 0:Tt.__wrap(e)}set global_state_identifier(e){let n=0;w(e)||(k(e,Tt),n=e.__destroy_into_raw()),a.__wbg_set_queryglobalstateoptions_global_state_identifier(this.__wbg_ptr,n)}get state_root_hash_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_queryglobalstateoptions_state_root_hash_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set state_root_hash_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_queryglobalstateoptions_state_root_hash_as_string(this.__wbg_ptr,n,m)}get state_root_hash(){const e=a.__wbg_get_queryglobalstateoptions_state_root_hash(this.__wbg_ptr);return 0===e?void 0:Be.__wrap(e)}set state_root_hash(e){let n=0;w(e)||(k(e,Be),n=e.__destroy_into_raw()),a.__wbg_set_queryglobalstateoptions_state_root_hash(this.__wbg_ptr,n)}get maybe_block_id_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_queryglobalstateoptions_maybe_block_id_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set maybe_block_id_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_queryglobalstateoptions_maybe_block_id_as_string(this.__wbg_ptr,n,m)}get key_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_queryglobalstateoptions_key_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set key_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_queryglobalstateoptions_key_as_string(this.__wbg_ptr,n,m)}get key(){const e=a.__wbg_get_queryglobalstateoptions_key(this.__wbg_ptr);return 0===e?void 0:Re.__wrap(e)}set key(e){let n=0;w(e)||(k(e,Re),n=e.__destroy_into_raw()),a.__wbg_set_queryglobalstateoptions_key(this.__wbg_ptr,n)}get path_as_string(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_queryglobalstateoptions_path_as_string(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set path_as_string(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_queryglobalstateoptions_path_as_string(this.__wbg_ptr,n,m)}get path(){const e=a.__wbg_get_queryglobalstateoptions_path(this.__wbg_ptr);return 0===e?void 0:Mo.__wrap(e)}set path(e){let n=0;w(e)||(k(e,Mo),n=e.__destroy_into_raw()),a.__wbg_set_queryglobalstateoptions_path(this.__wbg_ptr,n)}get node_address(){try{const r=a.__wbindgen_add_to_stack_pointer(-16);a.__wbg_get_queryglobalstateoptions_node_address(r,this.__wbg_ptr);var e=f()[r/4+0],n=f()[r/4+1];let o;return 0!==e&&(o=M(e,n).slice(),a.__wbindgen_free(e,1*n,1)),o}finally{a.__wbindgen_add_to_stack_pointer(16)}}set node_address(e){var n=w(e)?0:y(e,a.__wbindgen_malloc,a.__wbindgen_realloc);a.__wbg_set_queryglobalstateoptions_node_address(this.__wbg_ptr,n,m)}get verbosity(){const e=a.__wbg_get_queryglobalstateoptions_verbosity(this.__wbg_ptr);return 3===e?void 0:e}set verbosity(e){a.__wbg_set_queryglobalstateoptions_verbosity(this.__wbg_ptr,w(e)?3:e)}}function dg(){return(dg=A(function*(t,e){if("function"==typeof Response&&t instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return yield WebAssembly.instantiateStreaming(t,e)}catch(r){if("application/wasm"==t.headers.get("Content-Type"))throw r;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",r)}const n=yield t.arrayBuffer();return yield WebAssembly.instantiate(n,e)}{const n=yield WebAssembly.instantiate(t,e);return n instanceof WebAssembly.Instance?{instance:n,module:t}:n}})).apply(this,arguments)}function x1(){const t={wbg:{}};return t.wbg.__wbindgen_object_drop_ref=function(e){b(e)},t.wbg.__wbg_getdictionaryitemresult_new=function(e){return T(Qh.__wrap(e))},t.wbg.__wbg_requestSwitchAccount_e86874ef2727a0e9=function(){return de(function(e){return T(N(e).requestSwitchAccount())},arguments)},t.wbg.__wbindgen_error_new=function(e,n){return T(new Error(M(e,n)))},t.wbg.__wbindgen_boolean_get=function(e){const n=N(e);return"boolean"==typeof n?n?1:0:2},t.wbg.__wbg_getauctioninforesult_new=function(e){return T(Gh.__wrap(e))},t.wbg.__wbg_putdeployresult_new=function(e){return T(sg.__wrap(e))},t.wbg.__wbindgen_string_new=function(e,n){return T(M(e,n))},t.wbg.__wbg_speculativeexecresult_new=function(e){return T(lg.__wrap(e))},t.wbg.__wbg_getchainspecresult_new=function(e){return T(Zh.__wrap(e))},t.wbg.__wbg_getblocktransfersresult_new=function(e){return T(Kh.__wrap(e))},t.wbg.__wbg_disconnectFromSite_c93f135e3be08357=function(){return de(function(e){return T(N(e).disconnectFromSite())},arguments)},t.wbg.__wbg_getvalidatorchangesresult_new=function(e){return T(og.__wrap(e))},t.wbg.__wbg_getstateroothashresult_new=function(e){return T(rg.__wrap(e))},t.wbg.__wbg_getdeployresult_new=function(e){return T(Yh.__wrap(e))},t.wbg.__wbg_geterasummaryresult_new=function(e){return T(eg.__wrap(e))},t.wbg.__wbg_geterainforesult_new=function(e){return T(Xh.__wrap(e))},t.wbg.__wbg_getbalanceresult_new=function(e){return T(Wh.__wrap(e))},t.wbg.__wbg_querybalanceresult_new=function(e){return T(ag.__wrap(e))},t.wbg.__wbg_getaccountresult_new=function(e){return T(qh.__wrap(e))},t.wbg.__wbg_isConnected_99de68533d79b4b6=function(){return de(function(e){return T(N(e).isConnected())},arguments)},t.wbg.__wbg_deploy_new=function(e){return T(ue.__wrap(e))},t.wbg.__wbg_listrpcsresult_new=function(e){return T(ig.__wrap(e))},t.wbg.__wbg_getblockresult_new=function(e){return T(Jh.__wrap(e))},t.wbg.__wbg_getVersion_3559bc92be807ecf=function(){return de(function(e){return T(N(e).getVersion())},arguments)},t.wbg.__wbindgen_string_get=function(e,n){const r=N(n),o="string"==typeof r?r:void 0;var i=w(o)?0:y(o,a.__wbindgen_malloc,a.__wbindgen_realloc),s=m;f()[e/4+1]=s,f()[e/4+0]=i},t.wbg.__wbg_getpeersresult_new=function(e){return T(ng.__wrap(e))},t.wbg.__wbg_queryglobalstateresult_new=function(e){return T(cg.__wrap(e))},t.wbg.__wbg_getnodestatusresult_new=function(e){return T(tg.__wrap(e))},t.wbg.__wbg_signMessage_98e328c414af0536=function(){return de(function(e,n,r,o,i){return T(N(e).signMessage(M(n,r),M(o,i)))},arguments)},t.wbg.__wbg_requestConnection_9f20dae96a78466a=function(){return de(function(e){return T(N(e).requestConnection())},arguments)},t.wbg.__wbg_getActivePublicKey_9bed721d5f33dde7=function(){return de(function(e){return T(N(e).getActivePublicKey())},arguments)},t.wbg.__wbindgen_cb_drop=function(e){const n=b(e).original;return 1==n.cnt--&&(n.a=0,!0)},t.wbg.__wbindgen_is_undefined=function(e){return void 0===N(e)},t.wbg.__wbg_error_adb09b59c60c9cab=function(e,n){console.error(M(e,n))},t.wbg.__wbindgen_is_null=function(e){return null===N(e)},t.wbg.__wbg_deploysubscription_unwrap=function(e){return $h.__unwrap(b(e))},t.wbg.__wbindgen_object_clone_ref=function(e){return T(N(e))},t.wbg.__wbg_sign_0b9f2afaf89b6291=function(){return de(function(e,n,r,o,i){return T(N(e).sign(M(n,r),M(o,i)))},arguments)},t.wbg.__wbg_CasperWalletProvider_eab6752fc5d28d32=function(){return T(CasperWalletProvider())},t.wbg.__wbindgen_jsval_eq=function(e,n){return N(e)===N(n)},t.wbg.__wbg_fetch_1e4e8ed1f64c7e28=function(e){return T(fetch(N(e)))},t.wbg.__wbg_done_2ffa852272310e47=function(e){return N(e).done},t.wbg.__wbg_value_9f6eeb1e2aab8d96=function(e){return T(N(e).value)},t.wbg.__wbg_getReader_ab94afcb5cb7689a=function(){return de(function(e){return T(N(e).getReader())},arguments)},t.wbg.__wbg_queueMicrotask_3cbae2ec6b6cd3d6=function(e){return T(N(e).queueMicrotask)},t.wbg.__wbindgen_is_function=function(e){return"function"==typeof N(e)},t.wbg.__wbg_queueMicrotask_481971b0d87f3dd4=function(e){queueMicrotask(N(e))},t.wbg.__wbg_fetch_921fad6ef9e883dd=function(e,n){return T(N(e).fetch(N(n)))},t.wbg.__wbg_new_ab6fd82b10560829=function(){return de(function(){return T(new Headers)},arguments)},t.wbg.__wbg_append_7bfcb4937d1d5e29=function(){return de(function(e,n,r,o,i){N(e).append(M(n,r),M(o,i))},arguments)},t.wbg.__wbg_signal_a61f78a3478fd9bc=function(e){return T(N(e).signal)},t.wbg.__wbg_new_0d76b0581eca6298=function(){return de(function(){return T(new AbortController)},arguments)},t.wbg.__wbg_abort_2aa7521d5690750e=function(e){N(e).abort()},t.wbg.__wbg_close_a994f9425dab445c=function(){return de(function(e){N(e).close()},arguments)},t.wbg.__wbg_enqueue_ea194723156c0cc2=function(){return de(function(e,n){N(e).enqueue(N(n))},arguments)},t.wbg.__wbg_instanceof_Response_849eb93e75734b6e=function(e){let n;try{n=N(e)instanceof Response}catch{n=!1}return n},t.wbg.__wbg_url_5f6dc4009ac5f99d=function(e,n){const o=y(N(n).url,a.__wbindgen_malloc,a.__wbindgen_realloc),i=m;f()[e/4+1]=i,f()[e/4+0]=o},t.wbg.__wbg_status_61a01141acd3cf74=function(e){return N(e).status},t.wbg.__wbg_headers_9620bfada380764a=function(e){return T(N(e).headers)},t.wbg.__wbg_body_9545a94f397829db=function(e){const n=N(e).body;return w(n)?0:T(n)},t.wbg.__wbg_arrayBuffer_29931d52c7206b02=function(){return de(function(e){return T(N(e).arrayBuffer())},arguments)},t.wbg.__wbg_read_e7d0f8a49be01d86=function(e){return T(N(e).read())},t.wbg.__wbg_releaseLock_5c49db976c08b864=function(e){N(e).releaseLock()},t.wbg.__wbg_cancel_6ee33d4006737aef=function(e){return T(N(e).cancel())},t.wbg.__wbg_view_7f0ce470793a340f=function(e){const n=N(e).view;return w(n)?0:T(n)},t.wbg.__wbg_respond_b1a43b2e3a06d525=function(){return de(function(e,n){N(e).respond(n>>>0)},arguments)},t.wbg.__wbg_newwithstrandinit_3fd6fba4083ff2d0=function(){return de(function(e,n,r){return T(new Request(M(e,n),N(r)))},arguments)},t.wbg.__wbg_byobRequest_72fca99f9c32c193=function(e){const n=N(e).byobRequest;return w(n)?0:T(n)},t.wbg.__wbg_close_184931724d961ccc=function(){return de(function(e){N(e).close()},arguments)},t.wbg.__wbg_crypto_1d1f22824a6a080c=function(e){return T(N(e).crypto)},t.wbg.__wbindgen_is_object=function(e){const n=N(e);return"object"==typeof n&&null!==n},t.wbg.__wbg_process_4a72847cc503995b=function(e){return T(N(e).process)},t.wbg.__wbg_versions_f686565e586dd935=function(e){return T(N(e).versions)},t.wbg.__wbg_node_104a2ff8d6ea03a2=function(e){return T(N(e).node)},t.wbg.__wbindgen_is_string=function(e){return"string"==typeof N(e)},t.wbg.__wbg_require_cca90b1a94a0255b=function(){return de(function(){return T(module.require)},arguments)},t.wbg.__wbg_msCrypto_eb05e62b530a1508=function(e){return T(N(e).msCrypto)},t.wbg.__wbg_randomFillSync_5c9c955aa56b6049=function(){return de(function(e,n){N(e).randomFillSync(b(n))},arguments)},t.wbg.__wbg_getRandomValues_3aa56aa6edec874c=function(){return de(function(e,n){N(e).getRandomValues(N(n))},arguments)},t.wbg.__wbg_get_bd8e338fbd5f5cc8=function(e,n){return T(N(e)[n>>>0])},t.wbg.__wbg_length_cd7af8117672b8b8=function(e){return N(e).length},t.wbg.__wbg_new_16b304a2cfa7ff4a=function(){return T(new Array)},t.wbg.__wbg_newnoargs_e258087cd0daa0ea=function(e,n){return T(new Function(M(e,n)))},t.wbg.__wbg_next_40fc327bfc8770e6=function(e){return T(N(e).next)},t.wbg.__wbg_next_196c84450b364254=function(){return de(function(e){return T(N(e).next())},arguments)},t.wbg.__wbg_done_298b57d23c0fc80c=function(e){return N(e).done},t.wbg.__wbg_value_d93c65011f51a456=function(e){return T(N(e).value)},t.wbg.__wbg_iterator_2cee6dadfd956dfa=function(){return T(Symbol.iterator)},t.wbg.__wbg_get_e3c254076557e348=function(){return de(function(e,n){return T(Reflect.get(N(e),N(n)))},arguments)},t.wbg.__wbg_call_27c0f87801dedf93=function(){return de(function(e,n){return T(N(e).call(N(n)))},arguments)},t.wbg.__wbg_new_72fb9a18b5ae2624=function(){return T(new Object)},t.wbg.__wbg_self_ce0dbfc45cf2f5be=function(){return de(function(){return T(self.self)},arguments)},t.wbg.__wbg_window_c6fb939a7f436783=function(){return de(function(){return T(window.window)},arguments)},t.wbg.__wbg_globalThis_d1e6af4856ba331b=function(){return de(function(){return T(globalThis.globalThis)},arguments)},t.wbg.__wbg_global_207b558942527489=function(){return de(function(){return T(global.global)},arguments)},t.wbg.__wbg_push_a5b05aedc7234f9f=function(e,n){return N(e).push(N(n))},t.wbg.__wbg_new_28c511d9baebfa89=function(e,n){return T(new Error(M(e,n)))},t.wbg.__wbg_apply_6d0b9cd50eb480c3=function(){return de(function(e,n,r){return T(N(e).apply(N(n),N(r)))},arguments)},t.wbg.__wbg_call_b3ca7c6051f9bec1=function(){return de(function(e,n,r){return T(N(e).call(N(n),N(r)))},arguments)},t.wbg.__wbg_getTime_2bc4375165f02d15=function(e){return N(e).getTime()},t.wbg.__wbg_new0_7d84e5b2cd9fdc73=function(){return T(new Date)},t.wbg.__wbg_instanceof_Object_71ca3c0a59266746=function(e){let n;try{n=N(e)instanceof Object}catch{n=!1}return n},t.wbg.__wbg_new_81740750da40724f=function(e,n){try{var r={a:e,b:n};const i=new Promise((s,c)=>{const l=r.a;r.a=0;try{return function I3(t,e,n,r){a.wasm_bindgen__convert__closures__invoke2_mut__h5ff82a3ec25de97a(t,e,T(n),T(r))}(l,r.b,s,c)}finally{r.a=l}});return T(i)}finally{r.a=r.b=0}},t.wbg.__wbg_resolve_b0083a7967828ec8=function(e){return T(Promise.resolve(N(e)))},t.wbg.__wbg_catch_0260e338d10f79ae=function(e,n){return T(N(e).catch(N(n)))},t.wbg.__wbg_then_0c86a60e8fcfe9f6=function(e,n){return T(N(e).then(N(n)))},t.wbg.__wbg_then_a73caa9a87991566=function(e,n,r){return T(N(e).then(N(n),N(r)))},t.wbg.__wbg_buffer_12d079cc21e14bdb=function(e){return T(N(e).buffer)},t.wbg.__wbg_newwithbyteoffsetandlength_aa4a17c33a06e5cb=function(e,n,r){return T(new Uint8Array(N(e),n>>>0,r>>>0))},t.wbg.__wbg_new_63b92bc8671ed464=function(e){return T(new Uint8Array(N(e)))},t.wbg.__wbg_set_a47bac70306a19a7=function(e,n,r){N(e).set(N(n),r>>>0)},t.wbg.__wbg_length_c20a40f15020d68a=function(e){return N(e).length},t.wbg.__wbg_newwithlength_e9b4878cebadb3d3=function(e){return T(new Uint8Array(e>>>0))},t.wbg.__wbg_buffer_dd7f74bc60f1faab=function(e){return T(N(e).buffer)},t.wbg.__wbg_subarray_a1f73cd4b5b42fe1=function(e,n,r){return T(N(e).subarray(n>>>0,r>>>0))},t.wbg.__wbg_byteLength_58f7b4fab1919d44=function(e){return N(e).byteLength},t.wbg.__wbg_byteOffset_81d60f7392524f62=function(e){return N(e).byteOffset},t.wbg.__wbg_getindex_03d06b4e7ea3475e=function(e,n){return N(e)[n>>>0]},t.wbg.__wbg_has_0af94d20077affa2=function(){return de(function(e,n){return Reflect.has(N(e),N(n))},arguments)},t.wbg.__wbg_set_1f9b04f170055d33=function(){return de(function(e,n,r){return Reflect.set(N(e),N(n),N(r))},arguments)},t.wbg.__wbg_parse_66d1801634e099ac=function(){return de(function(e,n){return T(JSON.parse(M(e,n)))},arguments)},t.wbg.__wbg_stringify_8887fe74e1c50d81=function(){return de(function(e){return T(JSON.stringify(N(e)))},arguments)},t.wbg.__wbindgen_debug_string=function(e,n){const o=y(Bh(N(n)),a.__wbindgen_malloc,a.__wbindgen_realloc),i=m;f()[e/4+1]=i,f()[e/4+0]=o},t.wbg.__wbindgen_throw=function(e,n){throw new Error(M(e,n))},t.wbg.__wbindgen_memory=function(){return T(a.memory)},t.wbg.__wbindgen_closure_wrapper4151=function(e,n,r){return T(bS(e,n,819,w3))},t.wbg.__wbindgen_closure_wrapper4166=function(e,n,r){return T(bS(e,n,831,b3))},t}function L1(t){return _g.apply(this,arguments)}function _g(){return _g=A(function*(t){if(void 0!==a)return a;typeof t>"u"&&(t=new URL("casper_rust_wasm_sdk_bg.wasm","file:///opt2/casper/rustSDK-1.6/pkg/casper_rust_wasm_sdk.js"));const e=x1();("string"==typeof t||"function"==typeof Request&&t instanceof Request||"function"==typeof URL&&t instanceof URL)&&(t=fetch(t));const{instance:n,module:r}=yield function U3(t,e){return dg.apply(this,arguments)}(yield t,e);return function P1(t,e){return a=t.exports,L1.__wbindgen_wasm_module=e,Ca=null,Ia=null,Ea=null,a}(n,r)}),_g.apply(this,arguments)}const $3=L1,Oa=new P("SDK"),V1=new P("wasm_asset_path"),j1=new P("node_address"),B1=new P("verbosity"),G3=function q3(t,e){const n={value:void 0};return[{provide:KC,useFactory:(r,o,i)=>A(function*(){return n.value=yield e({wasm_asset_path:r,node_address:o,verbosity:i})}),multi:!0,deps:[V1,j1,B1]},{provide:t,useFactory:()=>{if(!B(Up).done)throw new Error(`Cannot inject ${t} until bootstrap is complete.`);return n.value}}]}(Oa,function(){var t=A(function*(e){return(yield $3(e.wasm_asset_path))&&new j3(e.node_address,e.verbosity)});return function(n){return t.apply(this,arguments)}}());let W3=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=Jn({type:t});static#n=this.\u0275inj=kn({providers:G3,imports:[Ye]})}return t})();const cr=new P("EnvironmentConfig"),fg=new P("EnvironmentConfig"),H1=["deploy","transfer","put_deploy","speculative_deploy","speculative_transfer","speculative_exec","sign_deploy","call_entrypoint","install"],J3=["make_deploy","make_transfer",...H1],Ao={wasm_asset_path:"assets/casper_rust_wasm_sdk_bg.wasm",default_action:"get_node_status",verbosity:Eu.High,minimum_transfer:"2500000000",TTL:"30m",gas_fee_transfer:"100000000",action_needs_secret_key:H1,action_needs_public_key:J3,networks:{"node-launcher":{node_address:"http://localhost:7777",stream_address:"http://localhost:9999/events/main",chain_name:"casper-net-1"},ntcl:{node_address:"http://localhost:11101",stream_address:"http://localhost:18101/events/main",chain_name:"casper-net-1"},integration:{node_address:"https://rpc.integration.casperlabs.io",stream_address:"https://events.integration.casperlabs.io/events/main",chain_name:"integration-test"},testnet:{node_address:"https://rpc.testnet.casperlabs.io",stream_address:"https://events.testnet.casperlabs.io/events/main",chain_name:"casper-test"},mainnet:{node_address:"https://rpc.mainnet.casperlabs.io",stream_address:"https://events.mainnet.casperlabs.io/events/main",chain_name:"casper"},custom:{node_address:"http://3.136.227.9:7777",stream_address:"http://3.136.227.9:9999/events/main",chain_name:"casper-test"},dev:{node_address:"http://localhost:4200",stream_address:"http://localhost:4200/events/main",chain_name:"casper-net-1"}},localhost:"localhost",app_port:"4200",default_port:"7777",default_protocol:"http://"},pg={production:!0,default_network:"integration",localhost_to_gateway:!1},{isArray:K3}=Array,{getPrototypeOf:Z3,prototype:Y3,keys:Q3}=Object;const{isArray:t6}=Array;function o6(t,e){return t.reduce((n,r,o)=>(n[r]=e[o],n),{})}function i6(...t){const e=function T4(t){return He(oh(t))?t.pop():void 0}(t),{args:n,keys:r}=function X3(t){if(1===t.length){const e=t[0];if(K3(e))return{args:e,keys:null};if(function e6(t){return t&&"object"==typeof t&&Z3(t)===Y3}(e)){const n=Q3(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}(t),o=new At(i=>{const{length:s}=n;if(!s)return void i.complete();const c=new Array(s);let l=s,u=s;for(let d=0;d{_||(_=!0,u--),c[d]=p},()=>l--,void 0,()=>{(!l||!_)&&(u||i.next(r?o6(r,c):c),i.complete())}))}});return e?o.pipe(function r6(t){return dr(e=>function n6(t,e){return t6(e)?t(...e):t(e)}(t,e))}(e)):o}let U1=(()=>{class t{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}static#e=this.\u0275fac=function(r){return new(r||t)(S(uo),S(rn))};static#t=this.\u0275dir=ne({type:t})}return t})(),No=(()=>{class t extends U1{static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=_t(t)))(o||t)}})();static#t=this.\u0275dir=ne({type:t,features:[ve]})}return t})();const qn=new P(""),s6={provide:qn,useExisting:Se(()=>hg),multi:!0};let hg=(()=>{class t extends No{writeValue(n){this.setProperty("checked",n)}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=_t(t)))(o||t)}})();static#t=this.\u0275dir=ne({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(r,o){1&r&&oe("change",function(s){return o.onChange(s.target.checked)})("blur",function(){return o.onTouched()})},features:[Pe([s6]),ve]})}return t})();const a6={provide:qn,useExisting:Se(()=>xa),multi:!0},l6=new P("");let xa=(()=>{class t extends U1{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function c6(){const t=pa()?pa().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}static#e=this.\u0275fac=function(r){return new(r||t)(S(uo),S(rn),S(l6,8))};static#t=this.\u0275dir=ne({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&oe("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[Pe([a6]),ve]})}return t})();function Lr(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function $1(t){return null!=t&&"number"==typeof t.length}const mt=new P(""),Vr=new P(""),u6=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class d6{static min(e){return function z1(t){return e=>{if(Lr(e.value)||Lr(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n{if(Lr(e.value)||Lr(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}(e)}static required(e){return function G1(t){return Lr(t.value)?{required:!0}:null}(e)}static requiredTrue(e){return function W1(t){return!0===t.value?null:{required:!0}}(e)}static email(e){return function J1(t){return Lr(t.value)||u6.test(t.value)?null:{email:!0}}(e)}static minLength(e){return function K1(t){return e=>Lr(e.value)||!$1(e.value)?null:e.value.length$1(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function Y1(t){if(!t)return Hu;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),r=>{if(Lr(r.value))return null;const o=r.value;return e.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}function Hu(t){return null}function Q1(t){return null!=t}function X1(t){return Ul(t)?lh(t):t}function eT(t){let e={};return t.forEach(n=>{e=null!=n?{...e,...n}:e}),0===Object.keys(e).length?null:e}function tT(t,e){return e.map(n=>n(t))}function nT(t){return t.map(e=>function _6(t){return!t.validate}(e)?e:n=>e.validate(n))}function rT(t){if(!t)return null;const e=t.filter(Q1);return 0==e.length?null:function(n){return eT(tT(n,e))}}function gg(t){return null!=t?rT(nT(t)):null}function oT(t){if(!t)return null;const e=t.filter(Q1);return 0==e.length?null:function(n){return i6(tT(n,e).map(X1)).pipe(dr(eT))}}function mg(t){return null!=t?oT(nT(t)):null}function iT(t,e){return null===t?[e]:Array.isArray(t)?[...t,e]:[t,e]}function sT(t){return t._rawValidators}function aT(t){return t._rawAsyncValidators}function yg(t){return t?Array.isArray(t)?t:[t]:[]}function Uu(t,e){return Array.isArray(t)?t.includes(e):t===e}function cT(t,e){const n=yg(e);return yg(t).forEach(o=>{Uu(n,o)||n.push(o)}),n}function lT(t,e){return yg(e).filter(n=>!Uu(t,n))}class uT{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=gg(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=mg(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,n){return!!this.control&&this.control.hasError(e,n)}getError(e,n){return this.control?this.control.getError(e,n):null}}class Mt extends uT{get formDirective(){return null}get path(){return null}}class jr extends uT{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class dT{constructor(e){this._cd=e}get isTouched(){return this._cd?.control?._touched?.(),!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return this._cd?.control?._pristine?.(),!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return this._cd?.control?._status?.(),!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return this._cd?._submitted?.(),!!this._cd?.submitted}}let wg=(()=>{class t extends dT{constructor(n){super(n)}static#e=this.\u0275fac=function(r){return new(r||t)(S(jr,2))};static#t=this.\u0275dir=ne({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&Tl("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[ve]})}return t})(),$u=(()=>{class t extends dT{constructor(n){super(n)}static#e=this.\u0275fac=function(r){return new(r||t)(S(Mt,10))};static#t=this.\u0275dir=ne({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){2&r&&Tl("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[ve]})}return t})();const Pa="VALID",qu="INVALID",Hi="PENDING",La="DISABLED";class Ui{}class fT extends Ui{constructor(e,n){super(),this.value=e,this.source=n}}class Dg extends Ui{constructor(e,n){super(),this.pristine=e,this.source=n}}class Eg extends Ui{constructor(e,n){super(),this.touched=e,this.source=n}}class Gu extends Ui{constructor(e,n){super(),this.status=e,this.source=n}}class m6 extends Ui{constructor(e){super(),this.source=e}}class y6 extends Ui{constructor(e){super(),this.source=e}}function Cg(t){return(Wu(t)?t.validators:t)||null}function Ig(t,e){return(Wu(e)?e.asyncValidators:t)||null}function Wu(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function pT(t,e,n){const r=t.controls;if(!(e?Object.keys(r):r).length)throw new R(1e3,"");if(!r[n])throw new R(1001,"")}function hT(t,e,n){t._forEachChild((r,o)=>{if(void 0===n[o])throw new R(1002,"")})}class Ju{constructor(e,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this._status=fa(()=>this.statusReactive()),this.statusReactive=ui(void 0),this._pristine=fa(()=>this.pristineReactive()),this.pristineReactive=ui(!0),this._touched=fa(()=>this.touchedReactive()),this.touchedReactive=ui(!1),this._events=new zr,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return $n(this.statusReactive)}set status(e){$n(()=>this.statusReactive.set(e))}get valid(){return this.status===Pa}get invalid(){return this.status===qu}get pending(){return this.status==Hi}get disabled(){return this.status===La}get enabled(){return this.status!==La}get pristine(){return $n(this.pristineReactive)}set pristine(e){$n(()=>this.pristineReactive.set(e))}get dirty(){return!this.pristine}get touched(){return $n(this.touchedReactive)}set touched(e){$n(()=>this.touchedReactive.set(e))}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(cT(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(cT(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(lT(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(lT(e,this._rawAsyncValidators))}hasValidator(e){return Uu(this._rawValidators,e)}hasAsyncValidator(e){return Uu(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){const n=!1===this.touched;this.touched=!0;const r=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched({...e,sourceControl:r}),n&&!1!==e.emitEvent&&this._events.next(new Eg(!0,r))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(n=>n.markAllAsTouched(e))}markAsUntouched(e={}){const n=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const r=e.sourceControl??this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:r})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r),n&&!1!==e.emitEvent&&this._events.next(new Eg(!1,r))}markAsDirty(e={}){const n=!0===this.pristine;this.pristine=!1;const r=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty({...e,sourceControl:r}),n&&!1!==e.emitEvent&&this._events.next(new Dg(!1,r))}markAsPristine(e={}){const n=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const r=e.sourceControl??this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),n&&!1!==e.emitEvent&&this._events.next(new Dg(!0,r))}markAsPending(e={}){this.status=Hi;const n=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new Gu(this.status,n)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending({...e,sourceControl:n})}disable(e={}){const n=this._parentMarkedDirty(e.onlySelf);this.status=La,this.errors=null,this._forEachChild(o=>{o.disable({...e,onlySelf:!0})}),this._updateValue();const r=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new fT(this.value,r)),this._events.next(new Gu(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...e,skipPristineCheck:n},this),this._onDisabledChange.forEach(o=>o(!0))}enable(e={}){const n=this._parentMarkedDirty(e.onlySelf);this.status=Pa,this._forEachChild(r=>{r.enable({...e,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors({...e,skipPristineCheck:n},this),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e,n){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},n),this._parent._updateTouched({},n))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){const r=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Pa||this.status===Hi)&&this._runAsyncValidator(r,e.emitEvent)}const n=e.sourceControl??this;!1!==e.emitEvent&&(this._events.next(new fT(this.value,n)),this._events.next(new Gu(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity({...e,sourceControl:n})}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?La:Pa}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,n){if(this.asyncValidator){this.status=Hi,this._hasOwnPendingAsyncValidator={emitEvent:!1!==n};const r=X1(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:n,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();const e=this._hasOwnPendingAsyncValidator?.emitEvent??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(!1!==n.emitEvent,this,n.shouldHaveEmitted)}get(e){let n=e;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(e,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,n,r){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||r)&&this._events.next(new Gu(this.status,n)),this._parent&&this._parent._updateControlsErrors(e,n,r)}_initObservables(){this.valueChanges=new Ve,this.statusChanges=new Ve}_calculateStatus(){return this._allControlsDisabled()?La:this.errors?qu:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Hi)?Hi:this._anyControlsHaveStatus(qu)?qu:Pa}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,n){const r=!this._anyControlsDirty(),o=this.pristine!==r;this.pristine=r,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),o&&this._events.next(new Dg(this.pristine,n))}_updateTouched(e={},n){this.touched=this._anyControlsTouched(),this._events.next(new Eg(this.touched,n)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Wu(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=function w6(t){return Array.isArray(t)?gg(t):t||null}(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=function b6(t){return Array.isArray(t)?mg(t):t||null}(this._rawAsyncValidators)}}class Va extends Ju{constructor(e,n,r){super(Cg(n),Ig(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,r={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){hT(this,0,e),Object.keys(e).forEach(r=>{pT(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){null!=e&&(Object.keys(e).forEach(r=>{const o=this.controls[r];o&&o.patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((r,o)=>{r.reset(e?e[o]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,r)=>(e[r]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&e(r,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&e(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(e,n){let r=e;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}}class gT extends Va{}const $i=new P("CallSetDisabledState",{providedIn:"root",factory:()=>Ku}),Ku="always";function ja(t,e,n=Ku){Sg(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||"always"===n)&&e.valueAccessor.setDisabledState?.(t.disabled),function D6(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&mT(t,e)})}(t,e),function C6(t,e){const n=(r,o)=>{e.valueAccessor.writeValue(r),o&&e.viewToModelUpdate(r)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}(t,e),function E6(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&mT(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),function v6(t,e){if(e.valueAccessor.setDisabledState){const n=r=>{e.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}(t,e)}function Yu(t,e,n=!0){const r=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r)),Xu(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Qu(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function Sg(t,e){const n=sT(t);null!==e.validator?t.setValidators(iT(n,e.validator)):"function"==typeof n&&t.setValidators([n]);const r=aT(t);null!==e.asyncValidator?t.setAsyncValidators(iT(r,e.asyncValidator)):"function"==typeof r&&t.setAsyncValidators([r]);const o=()=>t.updateValueAndValidity();Qu(e._rawValidators,o),Qu(e._rawAsyncValidators,o)}function Xu(t,e){let n=!1;if(null!==t){if(null!==e.validator){const o=sT(t);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==e.validator);i.length!==o.length&&(n=!0,t.setValidators(i))}}if(null!==e.asyncValidator){const o=aT(t);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==e.asyncValidator);i.length!==o.length&&(n=!0,t.setAsyncValidators(i))}}}const r=()=>{};return Qu(e._rawValidators,r),Qu(e._rawAsyncValidators,r),n}function mT(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function bT(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}function vT(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}Promise.resolve();const zi=class extends Ju{constructor(e=null,n,r){super(Cg(n),Ig(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Wu(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=vT(e)?e.value:e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){bT(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){bT(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){vT(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};Promise.resolve();let ST=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275dir=ne({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return t})();const Ng=new P(""),V6={provide:Mt,useExisting:Se(()=>qi)};let qi=(()=>{class t extends Mt{get submitted(){return $n(this._submittedReactive)}set submitted(n){this._submittedReactive.set(n)}constructor(n,r,o){super(),this.callSetDisabledState=o,this._submitted=fa(()=>this._submittedReactive()),this._submittedReactive=ui(!1),this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ve,this._setValidators(n),this._setAsyncValidators(r)}ngOnChanges(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Xu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(n){const r=this.form.get(n.path);return ja(r,n,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),r}getControl(n){return this.form.get(n.path)}removeControl(n){Yu(n.control||null,n,!1),function M6(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}(this.directives,n)}addFormGroup(n){this._setUpFormContainer(n)}removeFormGroup(n){this._cleanUpFormContainer(n)}getFormGroup(n){return this.form.get(n.path)}addFormArray(n){this._setUpFormContainer(n)}removeFormArray(n){this._cleanUpFormContainer(n)}getFormArray(n){return this.form.get(n.path)}updateModel(n,r){this.form.get(n.path).setValue(r)}onSubmit(n){return this._submittedReactive.set(!0),function wT(t,e){t._syncPendingControls(),e.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this.directives),this.ngSubmit.emit(n),this.form._events.next(new m6(this.control)),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this._submittedReactive.set(!1),this.form._events.next(new y6(this.form))}_updateDomValue(){this.directives.forEach(n=>{const r=n.control,o=this.form.get(n.path);r!==o&&(Yu(r||null,n),(t=>t instanceof zi)(o)&&(ja(o,n,this.callSetDisabledState),n.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(n){const r=this.form.get(n.path);(function yT(t,e){Sg(t,e)})(r,n),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(n){if(this.form){const r=this.form.get(n.path);r&&function I6(t,e){return Xu(t,e)}(r,n)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Sg(this.form,this),this._oldForm&&Xu(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(r){return new(r||t)(S(mt,10),S(Vr,10),S($i,8))};static#t=this.\u0275dir=ne({type:t,selectors:[["","formGroup",""]],hostBindings:function(r,o){1&r&&oe("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Pe([V6]),ve,Zn]})}return t})();const H6={provide:jr,useExisting:Se(()=>ed)};let ed=(()=>{class t extends jr{set isDisabled(n){}static#e=this._ngModelWarningSentOnce=!1;constructor(n,r,o,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new Ve,this._ngModelWarningSent=!1,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function kg(t,e){if(!e)return null;let n,r,o;return Array.isArray(e),e.forEach(i=>{i.constructor===xa?n=i:function T6(t){return Object.getPrototypeOf(t.constructor)===No}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){this._added||this._setUpControl(),function Mg(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}(n,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}get path(){return function Zu(t,e){return[...e.path,t]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(r){return new(r||t)(S(Mt,13),S(mt,10),S(Vr,10),S(qn,10),S(Ng,8))};static#n=this.\u0275dir=ne({type:t,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[Pe([H6]),ve,Zn]})}return t})();let Ro=(()=>{class t{constructor(){this._validator=Hu}ngOnChanges(n){if(this.inputName in n){const r=this.normalizeInput(n[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):Hu,this._onChange&&this._onChange()}}validate(n){return this._validator(n)}registerOnValidatorChange(n){this._onChange=n}enabled(n){return null!=n}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275dir=ne({type:t,features:[Zn]})}return t})();const e$={provide:mt,useExisting:Se(()=>Lg),multi:!0};let Lg=(()=>{class t extends Ro{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=n=>function OT(t){return"number"==typeof t?t:parseInt(t,10)}(n),this.createValidator=n=>Z1(n)}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=_t(t)))(o||t)}})();static#t=this.\u0275dir=ne({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){2&r&&Et("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Pe([e$]),ve]})}return t})();const t$={provide:mt,useExisting:Se(()=>Vg),multi:!0};let Vg=(()=>{class t extends Ro{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=n=>n,this.createValidator=n=>Y1(n)}static#e=this.\u0275fac=(()=>{let n;return function(o){return(n||(n=_t(t)))(o||t)}})();static#t=this.\u0275dir=ne({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(r,o){2&r&&Et("pattern",o._enabled?o.pattern:null)},inputs:{pattern:"pattern"},features:[Pe([t$]),ve]})}return t})(),n$=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=Jn({type:t});static#n=this.\u0275inj=kn({})}return t})();class HT extends Ju{constructor(e,n,r){super(Cg(n),Ig(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(e){return this.controls[this._adjustIndex(e)]}push(e,n={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}insert(e,n,r={}){this.controls.splice(e,0,n),this._registerControl(n),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(e,n={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:n.emitEvent})}setControl(e,n,r={}){let o=this._adjustIndex(e);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),n&&(this.controls.splice(o,0,n),this._registerControl(n)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,n={}){hT(this,0,e),e.forEach((r,o)=>{pT(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){null!=e&&(e.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e=[],n={}){this._forEachChild((r,o)=>{r.reset(e[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n,this),this._updateTouched(n,this),this.updateValueAndValidity(n)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(n=>n._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((n,r)=>!!r._syncPendingControls()||n,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((n,r)=>{e(n,r)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(n=>n.enabled&&e(n))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}}function UT(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}let r$=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){const n=new t;return n.useNonNullable=!0,n}group(n,r=null){const o=this._reduceControls(n);let i={};return UT(r)?i=r:null!==r&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new Va(o,i)}record(n,r=null){const o=this._reduceControls(n);return new gT(o,r)}control(n,r,o){let i={};return this.useNonNullable?(UT(r)?i=r:(i.validators=r,i.asyncValidators=o),new zi(n,{...i,nonNullable:!0})):new zi(n,r,o)}array(n,r,o){const i=n.map(s=>this._createControl(s));return new HT(i,r,o)}_reduceControls(n){const r={};return Object.keys(n).forEach(o=>{r[o]=this._createControl(n[o])}),r}_createControl(n){return n instanceof zi||n instanceof Ju?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Gi=(()=>{class t{static withConfig(n){return{ngModule:t,providers:[{provide:Ng,useValue:n.warnOnNgModelWithFormControl??"always"},{provide:$i,useValue:n.callSetDisabledState??Ku}]}}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=Jn({type:t});static#n=this.\u0275inj=kn({imports:[n$]})}return t})();const Wi={id:"stateRootHashElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"State Root Hash",name:"state_root_hash",controlName:"stateRootHash",placeholder:"0x",e2e:"stateRootHashElt"},jg={id:"paymentAmountElt",type:"tel",wrap_class:"col-lg-3 mb-2",class:"form-control",label:"Payment Amount",name:"payment_amount",controlName:"paymentAmount",placeholder:"",e2e:"paymentAmountElt",change:"motesToCSPR"},td={id:"TTLElt",type:"search",wrap_class:"col-lg-2 mb-2",class:"form-control",label:"TTL",name:"ttl",controlName:"TTL",e2e:"TTLElt",config_name:"TTL"},$T={id:"sessionHashElt",type:"search",wrap_class:"col-xl-6 mb-2",class:"form-control",label:"Smart Contract hash or Package hash",name:"session_hash",controlName:"sessionHash",placeholder:"Contract Hash or Package Hash",e2e:"sessionHashElt",disabled_when:["has_wasm","sessionName.value"]},zT={id:"callPackageElt",type:"checkbox",wrap_class:"col-lg-2 mb-2",class:"form-check-input mt-0",label:"Call Package",name:"call_package",controlName:"callPackage",placeholder:"",e2e:"callPackageElt",label_class:"form-label",disabled_when:["has_wasm"]},qT={id:"versionElt",type:"search",wrap_class:"col-lg-3 mb-2",class:"form-control",label:"Version",name:"version",controlName:"version",placeholder:"1, empty for last version",e2e:"versionElt",disabled_when:["has_wasm"]},GT={id:"sessionNameElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Smart Contract name or Package name",name:"session_name",controlName:"sessionName",placeholder:"Counter",e2e:"sessionNameElt",disabled_when:["has_wasm","sessionHash.value"]},WT={id:"entryPointElt",type:"search",wrap_class:"col-lg-5 mb-2",class:"form-control",label:"Entry point",name:"entry_point",controlName:"entryPoint",placeholder:"counter_inc",e2e:"entryPointElt",disabled_when:["has_wasm"]},Bg={id:"argsSimpleElt",type:"search",wrap_class:"col-lg-8 mb-2",class:"form-control",label:"Args",name:"args_simple",controlName:"argsSimple",placeholder:"foo:Bool='true', bar:String='value'",e2e:"argsSimpleElt",disabled_when:["argsJson.value"],storage_name:"args_simple"},Hg={id:"argsJsonElt",type:"textarea",wrap_class:"col-lg-8 mb-2",class:"form-control",label:"Args Json",name:"args_json",controlName:"argsJson",placeholder:'Args as Json [{ "name": "foo", "type": "U256", "value": 1 }]',e2e:"argsJsonElt",disabled_when:["argsSimple.value"],storage_name:"args_json"},JT={id:"seedContractHashElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Contract Hash",name:"seed_contract_hash",controlName:"seedContractHash",placeholder:"hash-0x",e2e:"seedContractHashElt",enabled_when:["newFromContractInfo"]},KT={id:"seedNameElt",type:"search",wrap_class:"col-lg-6 mb-2",class:"form-control",label:"Dictionary Name",name:"seed_name",controlName:"seedName",placeholder:"events",e2e:"seedNameElt",enabled_when:["newFromContractInfo","newFromAccountInfo"]},ZT={id:"itemKeyElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Dictionary Item key",name:"item_key",controlName:"itemKey",placeholder:"Item key string",e2e:"itemKeyElt",enabled_when:["newFromContractInfo","newFromAccountInfo","newFromSeedUref"]},YT={id:"queryKeyElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Key",name:"query_key",controlName:"queryKey",placeholder:"uref-0x || hash-0x || account-hash-0x",e2e:"queryKeyElt"},g$={...YT,label:"Contract Hash",placeholder:"hash-0x"},QT={id:"queryPathElt",type:"search",wrap_class:"col-lg-4 mb-2",class:"form-control",label:"Path",name:"query_path",controlName:"queryPath",placeholder:"counter/count",e2e:"queryPathElt"},Ug={id:"deployJsonElt",type:"textarea",wrap_class:"col-lg-12",class:"form-control",label:"Deploy as Json string",name:"deploy_json",controlName:"deployJson",placeholder:"Deploy as Json string",e2e:"deployJsonElt",state_name:["deploy_json"]},Sn=[[{input:{id:"blockIdentifierHeightElt",type:"search",wrap_class:"col-lg-3 col-xl-2 mb-2",class:"form-control",label:"Block Height",name:"block_identifier_height",controlName:"blockIdentifierHeight",placeholder:"Block Height",e2e:"blockIdentifierHeightElt"}},{input:{id:"blockIdentifierHashElt",type:"search",wrap_class:"col-lg-9 col-xl-8 mb-2",class:"form-control",label:"Block Hash",name:"block_identifier_hash",controlName:"blockIdentifierHash",placeholder:"Block Hash",e2e:"blockIdentifierHashElt"}}]],y$=[...Sn,[{input:{id:"accountIdentifierElt",type:"search",wrap_class:"col-lg-9",class:"form-control",label:"Account identifier",name:"account_identifier",controlName:"accountIdentifier",placeholder:"Public Key, AccountHash, Purse URef",e2e:"accountIdentifierElt",state_name:["account_hash","public_key","main_purse"]},required:!0}]],w$=[[{input:Wi}],[{input:{id:"purseUrefElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Purse Uref",name:"purse_uref",controlName:"purseUref",placeholder:"uref-0x",e2e:"purseUrefElt",state_name:["main_purse"]},required:!0}]],b$=[...Sn,[{input:Wi}],[{input:{id:"purseIdentifierElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Purse Identifier",name:"purse_identifier",controlName:"purseIdentifier",placeholder:"Public Key, AccountHash, Purse URef",e2e:"purseIdentifierElt",state_name:["main_purse","account_hash","public_key"]},required:!0}]],v$=[...Sn,[{input:Wi}],[{input:YT,required:!0}],[{input:QT}]],D$=[[{input:Wi}],[{input:JT,required:!0}],[{input:KT,required:!0}],[{input:ZT,required:!0}]],E$=[[{input:Wi}],[{input:g$,required:!0}],[{input:QT}]],C$=[[{input:Wi}],[{select:{id:"selectDictIdentifierElt",type:"textarea",wrap_class:"mt-3 col-lg-5 mb-4",class:"form-select form-control form-control-sm",label:"Dictionary identifier",label_class:"input-group-text",name:"select_dict_identifier",controlName:"selectDictIdentifier",e2e:"selectDictIdentifierElt",state_name:["select_dict_identifier"],options:[{value:"newFromSeedUref",label:"From Dictionary Uref"},{value:"newFromContractInfo",label:"From Contract Info",default:!0},{value:"newFromAccountInfo",label:"From Account Info"},{value:"newFromDictionaryKey",label:"From Dictionary Key"}]}}],[{input:JT,required:!0}],[{input:{id:"seedAccountHashElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Account Hash",name:"seed_account_hash",controlName:"seedAccountHash",placeholder:"account-hash-0x",e2e:"seedAccountHashElt",enabled_when:["newFromAccountInfo"]},required:!0}],[{input:{id:"seedUrefElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Dictionary Uref",name:"seed_uref",controlName:"seedUref",placeholder:"uref-0x",e2e:"seedUrefElt",enabled_when:["newFromSeedUref"]},required:!0}],[{input:KT,required:!0}],[{input:ZT,required:!0}],[{input:{id:"seedKeyElt",type:"search",wrap_class:"col-xl-8 mb-2",class:"form-control",label:"Dictionary Key",name:"seed_key",controlName:"seedKey",placeholder:"dictionary-0x",e2e:"seedKeyElt",enabled_when:["newFromDictionaryKey"]},required:!0}]],$g=[[{input:{id:"transferAmountElt",type:"tel",wrap_class:"col-lg-3 mb-2",class:"form-control",label:"Transfer Amount",name:"transfer_amount",controlName:"transferAmount",e2e:"transferAmountElt",config_name:"minimum_transfer",maxlength:"28",pattern:"\\d*",change:"motesToCSPR"},required:!0},{input:td}],[{input:{id:"targetAccountElt",type:"search",wrap_class:"col-xl-9",class:"form-control",label:"Target Account",name:"target_account",controlName:"targetAccount",placeholder:"Public Key, AccountHash, Purse URef",e2e:"targetAccountElt"},required:!0}]],S$=[...Sn,...$g],T$=[[{input:jg,required:!0},{input:td},{wasm_button:!0}],[{input:Bg}],[{textarea:Hg}]],zg=[[{input:jg,required:!0},{input:td},{wasm_button:!0}],[{input:$T,required:!0},{input:zT},{input:qT}],[{input:GT,required:!0}],[{input:WT,required:!0}],[{input:Bg}],[{textarea:Hg}]],M$=[...Sn,...zg],k$=[[{input:jg,required:!0},{input:td}],[{input:$T},{input:zT},{input:qT}],[{input:GT}],[{input:WT}],[{input:Bg}],[{textarea:Hg}]],A$=[...Sn,[{file_button:!0}],[{textarea:Ug,required:!0}]],nd=new Map([["call_entrypoint",k$],["deploy",zg],["get_account",y$],["get_balance",w$],["get_block",Sn],["get_block_transfers",Sn],["get_deploy",[[{input:{id:"deployHashElt",type:"search",wrap_class:"col-xl-7",class:"form-control",label:"Deploy Hash",name:"deploy_hash",controlName:"deployHash",placeholder:"0x",e2e:"deployHashElt"},required:!0},{input:{id:"finalizedApprovalsElt",type:"checkbox",wrap_class:"col-lg-3 mt-3 mt-xl-0",class:"form-check-input mt-0",label:"Finalized approvals",name:"finalized_approvals",controlName:"finalizedApprovals",placeholder:"",e2e:"finalizedApprovalsElt",label_class:"form-label"}}]]],["get_dictionary_item",C$],["get_era_info",Sn],["get_era_summary",Sn],["get_state_root_hash",Sn],["install",T$],["make_deploy",zg],["make_transfer",$g],["put_deploy",[[{file_button:!0}],[{textarea:Ug,required:!0}]]],["query_balance",b$],["query_contract_dict",D$],["query_contract_key",E$],["query_global_state",v$],["sign_deploy",[[{file_button:!0}],[{textarea:Ug,required:!0}]]],["speculative_deploy",M$],["speculative_exec",A$],["speculative_transfer",S$],["transfer",$g]]);let Tn=(()=>{class t{constructor(){this.state=new bd({})}setState(n){const o={...this.state.getValue(),...n};this.state.next(o)}getState(){return this.state.asObservable()}getValue(){return this.state.getValue()}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ha=(()=>{class t{constructor(n){this.document=n,this.prefix="casper-client",this.window=this.document.defaultView}setState(n){const o={...JSON.parse(this.window?.localStorage.getItem(this.prefix)||"{}"),...n};this.window?.localStorage.setItem(this.prefix,JSON.stringify(o))}get(n){return(JSON.parse(this.window?.localStorage.getItem(this.prefix)||"{}")||{})[n]}static#e=this.\u0275fac=function(r){return new(r||t)(z(cn))};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ua=(()=>{class t{constructor(n,r,o,i){this.config=n,this.formBuilder=r,this.stateService=o,this.storageService=i,this.stateService.getState().subscribe(s=>{this.has_wasm=!!s?.has_wasm,s?.select_dict_identifier&&(this.select_dict_identifier=s.select_dict_identifier),s?.action&&this.action!==s.action&&(s.action&&(this.action=s.action),this.initializeForm()),s&&(this.state=s),this.action&&this.updateForm()}),this.form=this.defaultForm}get defaultForm(){const n={};return nd.forEach(r=>{r.forEach(o=>{o.forEach(i=>{const s=i.input?.controlName||i.textarea?.controlName||"";if(s&&(n[s]=new zi),i.select?.options){const c=i.select?.options.find(l=>l.default)?.value||"";this.stateService.setState({select_dict_identifier:c})}})})}),this.formBuilder.group(n)}initializeForm(){Object.values(this.form.controls).forEach(r=>{r.clearValidators(),r.markAsPristine(),r.disable()});const n=this.action&&nd.get(this.action);n&&n.forEach(r=>{r.forEach(o=>{if(!o.input&&!o.textarea)return;const s=this.form.get(o.input?.controlName||o.textarea?.controlName||"");if(!s)return;const c=o.input?.state_name||o.textarea?.state_name||o.select?.state_name||[],l=c&&c.find(_=>this.state[_]),u=o.input?.storage_name||o.textarea?.storage_name||o.select?.storage_name||"";let d=l?this.state[l]:"";if(d=u?this.storageService.get(u):d,d)d&&s.setValue(d);else if(o.input?.config_name){const _=this.config[o.input?.config_name]||"";_&&s.setValue(_),_&&(o.input.placeholder_config_value=_)}s.enable(),o.required&&(o.input&&(o.input.required=!0),o.textarea&&(o.textarea.required=!0),s.setValidators([d6.required]))})})}updateForm(){const n=this.action&&nd.get(this.action);if(!n)return;const r=[];n.forEach(o=>{o.forEach(({input:i,textarea:s})=>{const c=i?.controlName||s?.controlName;if(!c)return;const l=this.form.get(c);if(l){if(s){const u=s?.state_name||[],d=u&&u.find(p=>this.state[p]),_=d?this.state[d]:"";if(_&&l.setValue(_),s.disabled_when){const p=l.value&&s.disabled_when?.find(v=>v.includes("value")),h=p&&p.split(".")[0],g=h&&this.form?.get(h);g&&(g.disable(),r.push(h)),r.includes(s.controlName)||l.enable()}}else if(i&&i.enabled_when)"get_dictionary_item"===this.action&&this.select_dict_identifier&&!i.enabled_when?.includes(this.select_dict_identifier)?l.disable():this.select_dict_identifier&&l.enable();else if(i&&i.disabled_when){const u=l.value&&i.disabled_when?.find(p=>p.includes("value")),d=u&&u.split(".")[0],_=d&&this.form?.get(d);_&&(_.disable(),r.push(d)),this.has_wasm&&i?.disabled_when?.includes("has_wasm")?(l.reset(),l.disable()):r.includes(i.controlName)||l.enable()}if(i||s){const u=i?.storage_name||s?.storage_name||"";u&&this.storageService.setState({[u]:l.value})}}})})}get formFields(){return nd}static#e=this.\u0275fac=function(r){return new(r||t)(z(cr),z(r$),z(Tn),z(Ha))};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const F$=["template"],O$=(t,e)=>[t,e],x$=(t,e,n)=>[t,e,n];function P$(t,e){if(1&t&&(L(0,"span",10),se(1),V()),2&t){let n;const r=H(2),o=r.inputField,i=r.parentForm,s=H();j(),ht("(",s.motesToCSPR(null==(n=i.get(o.controlName))?null:n.value)," CSPR)")}}function L$(t,e){if(1&t){const n=je();sn(0,3),L(1,"input",11),oe("change",function(){De(n);const o=H(2).inputField;return Ee(H().onChange(o))}),V(),an()}if(2&t){const n=H(2),r=n.inputField,o=n.parentForm,i=H();x("formGroup",o),j(),x("id",r.id)("type",r.type)("name",r.name)("maxlength",r.maxlength||"")("pattern",r.pattern||"")("formControlName",r.controlName)("placeholder",r.placeholder_config_value?"e.g. "+r.placeholder_config_value:r.placeholder||"")("ngClass",DC(10,x$,r.class||"form-control",i.isInvalid(r.controlName)?"is-invalid":"",i.isRequired(r)?"is-required":"")),Et("e2e-id",r.e2e)}}function V$(t,e){if(1&t&&(L(0,"label",12),se(1),V()),2&t){const n=H(2).inputField;x("for",n.id),j(),ht("e.g. ",n.placeholder,"")}}function j$(t,e){if(1&t&&(L(0,"label",12),se(1),V()),2&t){const n=H(2).inputField;x("for",n.id),j(),ht("e.g. ",n.placeholder_config_value,"")}}function B$(t,e){if(1&t&&(L(0,"div",4)(1,"label",5),se(2),ce(3,P$,2,1,"span",6),V(),L(4,"div",7),ce(5,L$,2,14,"ng-container",8)(6,V$,2,2,"label",9)(7,j$,2,2,"label",9),V()()),2&t){let n,r;const o=H(),i=o.inputField,s=o.parentForm,c=wo(2);x("ngClass",i.wrap_class),j(),x("for",i.id)("ngClass",Ri(10,O$,i.label_class||"",null!=(n=s.get(i.controlName))&&n.disabled?"disabled":"")),j(),oa("",i.label,"",i.required?" *":""," "),j(),x("ngIf",(null==i.change?null:i.change.includes("motesToCSPR"))&&(null==(r=s.get(i.controlName))?null:r.value)),j(2),x("ngIf","checkbox"!==i.type)("ngIfElse",c),j(),x("ngIf",i.placeholder),j(),x("ngIf",i.placeholder_config_value)}}function H$(t,e){if(1&t&&pt(0,"input",13),2&t){const n=H().inputField;x("id",n.id)("name",n.name)("formControlName",n.controlName),Et("e2e-id",n.e2e)}}function U$(t,e){if(1&t&&ce(0,B$,8,13,"div",2)(1,H$,1,4,"ng-template",3,1,bo),2&t){let n;const r=e.inputField,o=e.parentForm;x("ngIf",!(H().hidden_when_disabled&&null!=(n=o.get(r.controlName))&&n.disabled)),j(),x("formGroup",o)}}let XT=(()=>{class t{constructor(n){this.formService=n}onChange(n){this.parentForm?.get(n.controlName)&&n.disabled_when?.find(i=>i.includes("value"))&&this.formService.updateForm()}isInvalid(n){const r=this.parentForm?.get(n);return!(!r?.enabled||!r?.dirty||r?.value||r?.valid)}isRequired(n){const r=this.parentForm?.get(n.controlName);return!(!r?.enabled||r?.dirty||r?.value||!n.required)}motesToCSPR(n){if(n)return function E3(t){let e,n;try{const u=a.__wbindgen_add_to_stack_pointer(-16),d=y(t,a.__wbindgen_malloc,a.__wbindgen_realloc);a.motesToCSPR(u,d,m);var r=f()[u/4+0],o=f()[u/4+1],i=f()[u/4+2],s=f()[u/4+3],c=r,l=o;if(s)throw c=0,l=0,b(i);return e=c,n=l,M(c,l)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}(n=this.parse_commas(n))}parse_commas(n){return n.replace(/[,.]/g,"")}static#e=this.\u0275fac=function(r){return new(r||t)(S(Ua))};static#t=this.\u0275cmp=lt({type:t,selectors:[["ui-input"]],viewQuery:function(r,o){if(1&r&&Lt(F$,7),2&r){let i;Vt(i=jt())&&(o.template=i.first)}},inputs:{inputField:"inputField",parentForm:"parentForm",hidden_when_disabled:"hidden_when_disabled"},standalone:!0,features:[gt],decls:2,vars:0,consts:[["template",""],["checkboxContent",""],[3,"ngClass",4,"ngIf"],[3,"formGroup"],[3,"ngClass"],[3,"for","ngClass"],["class","fw-light small text-nowrap",4,"ngIf"],[1,"form-floating"],[3,"formGroup",4,"ngIf","ngIfElse"],[3,"for",4,"ngIf"],[1,"fw-light","small","text-nowrap"],[3,"change","id","type","name","maxlength","pattern","formControlName","placeholder","ngClass"],[3,"for"],["type","checkbox",3,"id","name","formControlName"]],template:function(r,o){1&r&&ce(0,U$,3,2,"ng-template",null,0,bo)},dependencies:[Ye,Ar,En,Gi,xa,hg,wg,$u,Lg,Vg,qi,ed],styles:["[_nghost-%COMP%]{display:none}label[_ngcontent-%COMP%]{max-width:100%}.form-floating[_ngcontent-%COMP%] > label[_ngcontent-%COMP%], label.disabled[_ngcontent-%COMP%]{color:#d3d3d3}"],changeDetection:0})}return t})();const $$=["template"],eM=t=>[t];function z$(t,e){if(1&t&&(L(0,"option",6),se(1),V()),2&t){const n=e.$implicit,r=H(2);Tp("value",n.value),x("selected",n.default||r.select_dict_identifier===n.value),j(),ht(" ",n.label," ")}}function q$(t,e){if(1&t){const n=je();L(0,"div",1)(1,"div",2)(2,"label",3),se(3,"Dictionary identifier"),V(),L(4,"select",4),oe("change",function(o){return De(n),Ee(H().onChange(o))}),ce(5,z$,2,3,"option",5),se(6),V()()()}if(2&t){const n=e.inputField,r=H();x("ngClass",n.wrap_class),j(2),x("for",n.id)("ngClass",Ir(9,eM,n.label_class||"")),j(2),x("id",n.id)("name",n.name)("ngClass",Ir(11,eM,n.class||"form-control")),Et("e2e-id",n.e2e),j(),x("ngForOf",n.options),j(),ht(" ",r.select_dict_identifier," ")}}let tM=(()=>{class t{constructor(n,r,o){this.config=n,this.stateService=r,this.changeDetectorRef=o}ngAfterViewInit(){var n=this;return A(function*(){n.setStateSubscription()})()}ngOnDestroy(){this.stateSubscription&&this.stateSubscription.unsubscribe()}setStateSubscription(){this.stateSubscription=this.stateService.getState().subscribe(n=>{setTimeout(()=>{n.select_dict_identifier&&(this.select_dict_identifier=n.select_dict_identifier),this.changeDetectorRef.markForCheck()})})}onChange(n){const r=n.target?.value;this.stateService.setState({select_dict_identifier:r})}static#e=this.\u0275fac=function(r){return new(r||t)(S(cr),S(Tn),S(Kt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["ui-select"]],viewQuery:function(r,o){if(1&r&&Lt($$,7),2&r){let i;Vt(i=jt())&&(o.template=i.first)}},inputs:{inputField:"inputField",parentForm:"parentForm"},standalone:!0,features:[gt],decls:2,vars:0,consts:[["template",""],[3,"ngClass"],[1,"input-group"],[3,"for","ngClass"],[3,"change","id","name","ngClass"],[3,"value","selected",4,"ngFor","ngForOf"],[3,"value","selected"]],template:function(r,o){1&r&&ce(0,q$,7,13,"ng-template",null,0,bo)},dependencies:[Ye,Ar,ga],changeDetection:0})}return t})();const G$=["template"],W$=(t,e)=>[t,e];function J$(t,e){if(1&t&&(L(0,"label",6),se(1),V()),2&t){const n=H().inputField,r=H();x("for",n.id),j(),Ni(r.currentPlaceholder||n.placeholder)}}function K$(t,e){if(1&t){const n=je();L(0,"div",1)(1,"div",2),sn(2,3),L(3,"textarea",4),oe("change",function(o){const i=De(n).inputField;return Ee(H().onChange(o,i))})("focus",function(o){return De(n),Ee(H().onFocus(o))})("blur",function(o){return De(n),Ee(H().onBlur(o))}),se(4," "),V(),ce(5,J$,2,2,"label",5),an(),V()()}if(2&t){const n=e.inputField,r=e.parentForm,o=H();x("ngClass",n.wrap_class),j(2),x("formGroup",r),j(),x("id",n.id)("name",n.name)("formControlName",n.controlName)("placeholder",o.currentPlaceholder||n.placeholder||"")("ngClass",Ri(9,W$,n.class||"form-control",o.isInvalid(n.controlName)?"is-invalid":"")),Et("e2e-id",n.e2e),j(2),x("ngIf",n.placeholder)}}let nM=(()=>{class t{constructor(n){this.formService=n,this.update_deploy_json=new Ve,this.jsonPattern=/\[\{.*?\}\]/g}ngOnInit(){this.originalPlaceholder=this.inputField.placeholder||""}ngAfterViewInit(){this.initializePlaceholder()}isInvalid(n){const r=this.parentForm?.get(n);return!!this.parentForm?.touched&&!!r?.invalid}onChange(n,r){const o=n.target;o.name.includes("deploy_json")?this.update_deploy_json.emit(o.value):this.updateForm(r)}onFocus(n){this.currentPlaceholder=this.removeJsonParts(n.target.placeholder)}onBlur(n){n.target.value||(this.currentPlaceholder=this.originalPlaceholder)}updateForm(n){this.parentForm?.get(n.controlName)&&n.disabled_when?.find(i=>i.includes("value"))&&this.formService.updateForm()}removeJsonParts(n){return n.replace(this.jsonPattern,"").trim()}initializePlaceholder(){const n=this.parentForm.get(this.inputField.controlName);this.currentPlaceholder=n&&n.value?this.removeJsonParts(this.originalPlaceholder):this.originalPlaceholder}static#e=this.\u0275fac=function(r){return new(r||t)(S(Ua))};static#t=this.\u0275cmp=lt({type:t,selectors:[["ui-textarea"]],viewQuery:function(r,o){if(1&r&&Lt(G$,7),2&r){let i;Vt(i=jt())&&(o.template=i.first)}},inputs:{inputField:"inputField",parentForm:"parentForm"},outputs:{update_deploy_json:"update_deploy_json"},standalone:!0,features:[gt],decls:2,vars:0,consts:[["template",""],[3,"ngClass"],[1,"form-floating","mt-3"],[3,"formGroup"],[3,"change","focus","blur","id","name","formControlName","placeholder","ngClass"],[3,"for",4,"ngIf"],[3,"for"]],template:function(r,o){1&r&&ce(0,K$,6,12,"ng-template",null,0,bo)},dependencies:[Ye,Ar,En,Gi,xa,wg,$u,qi,ed],styles:["textarea[_ngcontent-%COMP%]{min-height:350px!important;white-space:pre-wrap}@media (max-width: 767px){textarea[_ngcontent-%COMP%]{min-height:200px!important}}.form-floating[_ngcontent-%COMP%] > label[_ngcontent-%COMP%], label.disabled[_ngcontent-%COMP%]{color:#d3d3d3}"],changeDetection:0})}return t})();const Z$=["wasmElt"],Y$=["template"];function Q$(t,e){if(1&t){const n=je();L(0,"button",6),oe("click",function(){return De(n),Ee(H(2).onWasmClick())}),se(1," Wasm Module Bytes "),V()}}function X$(t,e){if(1&t){const n=je();L(0,"span",7),oe("click",function(){return De(n),Ee(H(2).resetWasmClick())}),se(1),Mc(),L(2,"svg",8),pt(3,"path",9),V()()}if(2&t){const n=H(2);j(),ht(" ",n.file_name," ")}}function e8(t,e){if(1&t){const n=je();L(0,"div",2)(1,"input",3,1),oe("change",function(o){return De(n),Ee(H().onWasmSelected(o))}),V(),ce(3,Q$,2,0,"button",4)(4,X$,4,1,"span",5),V()}if(2&t){const n=H();j(3),x("ngIf",!n.file_name),j(),x("ngIf",n.file_name)}}let rM=(()=>{class t{constructor(){this.select_wasm=new Ve}onWasmSelected(n){var r=this;return A(function*(){r.file_name=r.wasmElt?.nativeElement.value.split("\\").pop();const o=n.target.files?.item(0),i=yield o?.arrayBuffer();r.wasm=i&&new Uint8Array(i),r.wasm?.buffer||r.resetWasmClick(),r.select_wasm.emit(r.wasm)})()}onWasmClick(){this.wasmElt.nativeElement.click()}resetWasmClick(){this.wasmElt.nativeElement.value="",this.wasm=void 0,this.file_name="",this.select_wasm.emit(void 0)}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-submit-wasm"]],viewQuery:function(r,o){if(1&r&&(Lt(Z$,5),Lt(Y$,7)),2&r){let i;Vt(i=jt())&&(o.wasmElt=i.first),Vt(i=jt())&&(o.template=i.first)}},outputs:{select_wasm:"select_wasm"},standalone:!0,features:[gt],decls:2,vars:0,consts:[["template",""],["wasmElt",""],[1,"col-sm-2","mb-2"],["name","wasm","type","file","id","wasmElt","accept",".wasm","e2e-id","wasmElt",1,"visually-hidden",3,"change"],["class","btn btn-secondary",3,"click",4,"ngIf"],["class","btn btn-light","e2e-id","wasmName",3,"click",4,"ngIf"],[1,"btn","btn-secondary",3,"click"],["e2e-id","wasmName",1,"btn","btn-light",3,"click"],["fill","none","stroke","currentColor","viewBox","0 0 24 24","xmlns","http://www.w3.org/2000/svg",1,"w-6","h-6","ml-1","cursor-pointer","shrink-0"],["stroke-linecap","round","stroke-linejoin","round","stroke-width","2","d","M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"]],template:function(r,o){1&r&&ce(0,e8,5,2,"ng-template",null,0,bo)},dependencies:[Ye,En],styles:["[_nghost-%COMP%]{display:none}"],changeDetection:0})}return t})(),$a=(()=>{class t{constructor(){this.error=new bd("")}setError(n){this.error.getValue()!==n&&this.error.next(n)}getError(){return this.error.asObservable()}static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const t8=["template"],n8=["deployFileElt"];function r8(t,e){if(1&t){const n=je();L(0,"div",2)(1,"input",3,1),oe("change",function(o){return De(n),Ee(H().onDeployFileSelected(o))}),V(),L(3,"button",4),oe("click",function(){return De(n),Ee(H().deployFileClick())}),se(4," Load deploy file "),V()()}}let oM=(()=>{class t{constructor(n){this.errorService=n,this.select_file=new Ve}onDeployFileSelected(n){var r=this;return A(function*(){const o=n.target.files?.item(0);let i;if(r.deploy_json="",o){if(i=yield o.text(),!i.trim())return;i=i.trim();try{const s=JSON.parse(i);r.deploy_json=s}catch{const s="Error parsing deploy";console.error(s),r.errorService.setError(s)}}r.select_file.emit(r.deploy_json),r.deployFileElt.nativeElement.value=""})()}deployFileClick(){this.deployFileElt.nativeElement.click()}static#e=this.\u0275fac=function(r){return new(r||t)(S($a))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-submit-file"]],viewQuery:function(r,o){if(1&r&&(Lt(t8,7),Lt(n8,5)),2&r){let i;Vt(i=jt())&&(o.template=i.first),Vt(i=jt())&&(o.deployFileElt=i.first)}},outputs:{select_file:"select_file"},standalone:!0,features:[gt],decls:2,vars:0,consts:[["template",""],["deployFileElt",""],[1,"col-sm-2","mt-2"],["name","deploy_file","type","file","id","deployFileElt","accept",".json, .txt, .deploy","e2e-id","deployFileElt",1,"visually-hidden",3,"change"],[1,"btn","btn-secondary",3,"click"]],template:function(r,o){1&r&&ce(0,r8,5,0,"ng-template",null,0,bo)},dependencies:[Ye],styles:["[_nghost-%COMP%]{display:none}"],changeDetection:0})}return t})();const qg=(t,e)=>({parentForm:t,inputField:e});function o8(t,e){1&t&&mo(0)}function i8(t,e){if(1&t&&(sn(0),pt(1,"ui-input",7,0),ce(3,o8,1,0,"ng-container",8),an()),2&t){const n=wo(2),r=H().$implicit,o=H(3);j(),x("parentForm",o.form)("inputField",r.input)("hidden_when_disabled","get_dictionary_item"===o.action),j(2),x("ngTemplateOutlet",n.template)("ngTemplateOutletContext",Ri(5,qg,o.form,r.input))}}function s8(t,e){1&t&&mo(0)}function a8(t,e){if(1&t){const n=je();sn(0),L(1,"ui-textarea",9,0),oe("update_deploy_json",function(o){return De(n),Ee(H(4).updateDeployJson(o))}),V(),ce(3,s8,1,0,"ng-container",8),an()}if(2&t){const n=wo(2),r=H().$implicit,o=H(3);j(),x("parentForm",o.form)("inputField",r.textarea),j(2),x("ngTemplateOutlet",n.template)("ngTemplateOutletContext",Ri(4,qg,o.form,r.textarea))}}function c8(t,e){1&t&&mo(0)}function l8(t,e){if(1&t&&(sn(0),pt(1,"ui-select",10,0),ce(3,c8,1,0,"ng-container",8),an()),2&t){const n=wo(2),r=H().$implicit,o=H(3);j(),x("parentForm",o.form)("inputField",r.select),j(2),x("ngTemplateOutlet",n.template)("ngTemplateOutletContext",Ri(4,qg,o.form,r.select))}}function u8(t,e){1&t&&mo(0)}function d8(t,e){if(1&t){const n=je();sn(0),L(1,"comp-submit-wasm",11,1),oe("select_wasm",function(o){return De(n),Ee(H(4).onWasmSelected(o))}),V(),ce(3,u8,1,0,"ng-container",12),an()}if(2&t){const n=wo(2);j(3),x("ngTemplateOutlet",n.template)}}function _8(t,e){1&t&&mo(0)}function f8(t,e){if(1&t){const n=je();sn(0),L(1,"comp-submit-file",13,1),oe("select_file",function(o){return De(n),Ee(H(4).onDeployFileSelected(o))}),V(),ce(3,_8,1,0,"ng-container",12),an()}if(2&t){const n=wo(2);j(3),x("ngTemplateOutlet",n.template)}}function p8(t,e){if(1&t&&(sn(0),ce(1,i8,4,8,"ng-container",6)(2,a8,4,7,"ng-container",6)(3,l8,4,7,"ng-container",6)(4,d8,4,1,"ng-container",6)(5,f8,4,1,"ng-container",6),an()),2&t){const n=e.$implicit;j(),x("ngIf",n.input),j(),x("ngIf",n.textarea),j(),x("ngIf",n.select),j(),x("ngIf",n.wasm_button),j(),x("ngIf",n.file_button)}}function h8(t,e){if(1&t&&(sn(0),L(1,"div",5),ce(2,p8,6,5,"ng-container",4),V(),an()),2&t){const n=e.$implicit;j(2),x("ngForOf",n)}}function g8(t,e){if(1&t&&(L(0,"form",3),ce(1,h8,3,1,"ng-container",4),V()),2&t){const n=H();x("formGroup",n.form),j(),x("ngForOf",n.formFields.get(n.action))}}let iM=(()=>{class t{constructor(n,r,o,i){this.config=n,this.formService=r,this.stateService=o,this.changeDetectorRef=i,this.formFields=this.formService.formFields,this.wasm_selected=new Ve,this.verbosity=this.config.verbosity}ngOnDestroy(){this.stateSubscription&&this.stateSubscription.unsubscribe()}ngAfterViewInit(){var n=this;return A(function*(){n.setStateSubscription()})()}setStateSubscription(){this.stateSubscription=this.stateService.getState().subscribe(n=>{n.action&&(this.action=n.action),this.changeDetectorRef.markForCheck()})}onWasmSelected(n){var r=this;return A(function*(){n&&r.wasm_selected.emit(n),r.stateService.setState({has_wasm:!!n})})()}onDeployFileSelected(n){var r=this;return A(function*(){n=n&&ji(new ue(n).toJson(),r.verbosity),r.updateDeployJson(n)})()}updateDeployJson(n){n&&this.stateService.setState({deploy_json:n})}static#e=this.\u0275fac=function(r){return new(r||t)(S(cr),S(Ua),S(Tn),S(Kt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-form"]],inputs:{form:"form"},outputs:{wasm_selected:"wasm_selected"},standalone:!0,features:[gt],decls:1,vars:1,consts:[["inputTemplate",""],["submitTemplate",""],["class","mt-3",3,"formGroup",4,"ngIf"],[1,"mt-3",3,"formGroup"],[4,"ngFor","ngForOf"],[1,"row","align-items-end"],[4,"ngIf"],[3,"parentForm","inputField","hidden_when_disabled"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"update_deploy_json","parentForm","inputField"],[3,"parentForm","inputField"],[3,"select_wasm"],[4,"ngTemplateOutlet"],[3,"select_file"]],template:function(r,o){1&r&&ce(0,g8,2,2,"form",2),2&r&&x("ngIf",o.action&&o.formFields&&o.formFields.has(o.action))},dependencies:[Ye,ga,En,CI,Gi,ST,$u,qi,XT,rM,oM,nM,tM],changeDetection:0})}return t})();const sM=new P("highlight");var m8=Mn(7278),y8=Mn.n(m8);let aM=(()=>{class t{constructor(n){this.highlightWebworkerFactory=n}highlightMessage(n){var r=this;return A(function*(){r.activateWorker();const o=r.hightlightWebworker&&(yield r.hightlightWebworker.postMessage(n).catch(i=>{console.error(i)}));return r.terminateWorker(),o})()}activateWorker(){if(this.webworker)return;const n=this.highlightWebworkerFactory();this.webworker=n[0],this.hightlightWebworker=n[1]}terminateWorker(){this.webworker&&(this.webworker.terminate(),delete this.webworker)}static#e=this.\u0275fac=function(r){return new(r||t)(z(sM))};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const w8={provide:sM,useValue:function(){const t=new Worker(Mn.tu(new URL(Mn.p+Mn.u(755),Mn.b)),{name:"highlight.worker",type:void 0});return[t,new(y8())(t)]}};let b8=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=Jn({type:t});static#n=this.\u0275inj=kn({providers:[w8,aM],imports:[Ye]})}return t})(),rd=(()=>{class t{constructor(n,r){this.highlightService=n,this.document=r,this.result=new zr,this.window=this.document.defaultView}getResult(){return this.result.asObservable()}setResult(n){var r=this;return A(function*(){const o=n,i=yield r.highlightService.highlightMessage(o),s="string"==typeof n;r.result.next({result:s?o:JSON.stringify(o),resultHtml:s?o:i})})()}copyClipboard(n){this.window?.navigator.clipboard.writeText(n).catch(r=>console.error(r))}static#e=this.\u0275fac=function(r){return new(r||t)(z(aM),z(cn))};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),v8=(()=>{class t{static#e=this.\u0275fac=function(r){return new(r||t)};static#t=this.\u0275mod=Jn({type:t});static#n=this.\u0275inj=kn({providers:[rd],imports:[Ye,b8]})}return t})();const D8=["resultElt"],E8=["codeElt"];function C8(t,e){if(1&t&&(L(0,"div",15,0)(2,"div",16),pt(3,"code",17,1),V()()),2&t){const n=H(2);j(3),x("innerHtml",n.resultHtml,pb)}}function I8(t,e){if(1&t){const n=je();L(0,"div",4)(1,"div",5)(2,"span"),Mc(),L(3,"svg",6),oe("click",function(){De(n);const o=H();return Ee(o.copy(o.result))}),pt(4,"rect",7)(5,"path",8),V()(),function Wy(){!function pN(){Y.lFrame.currentNamespace=null}()}(),L(6,"span",9),oe("click",function(){return De(n),Ee(H().reset())}),Mc(),L(7,"svg",10),pt(8,"path",11)(9,"path",12)(10,"path",13),V()()(),ce(11,C8,5,1,"div",14),V()}if(2&t){const n=H();j(11),x("ngIf",n.resultHtml)}}let cM=(()=>{class t{constructor(n,r){this.resultService=n,this.changeDetectorRef=r}ngAfterViewInit(){this.getResultSubscription=this.resultService.getResult().subscribe(n=>{this.result=n.result,this.resultHtml=n.resultHtml,this.changeDetectorRef.markForCheck()})}ngOnDestroy(){this.getResultSubscription&&this.getResultSubscription.unsubscribe()}copy(n){this.resultService.copyClipboard(ji(JSON.parse(n),Eu.High))}reset(){this.result="",this.resultHtml="",this.resultService.setResult("")}static#e=this.\u0275fac=function(r){return new(r||t)(S(rd),S(Kt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-result"]],viewQuery:function(r,o){if(1&r&&(Lt(D8,5),Lt(E8,5,rn)),2&r){let i;Vt(i=jt())&&(o.resultElt=i.first),Vt(i=jt())&&(o.contentChildren=i.first)}},standalone:!0,features:[gt],decls:2,vars:1,consts:[["resultElt",""],["codeElt",""],[1,"mt-3"],["class","row",4,"ngIf"],[1,"row"],[1,"col-xs-12","d-flex","flex-row","justify-content-between","mb-2"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round",1,"shrink-0","ml-2","w-5","min-w-5","text-gray-500","cursor-pointer",3,"click"],["x","9","y","9","width","13","height","13","rx","2","ry","2"],["d","M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"],["e2e-id","clear result",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","16","height","16","fill","currentColor","viewBox","0 0 16 16",1,"bi","bi-journal-x","cursor-pointer"],["fill-rule","evenodd","d","M6.146 6.146a.5.5 0 0 1 .708 0L8 7.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 8l1.147 1.146a.5.5 0 0 1-.708.708L8 8.707 6.854 9.854a.5.5 0 0 1-.708-.708L7.293 8 6.146 6.854a.5.5 0 0 1 0-.708z"],["d","M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-1h1v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v1H1V2a2 2 0 0 1 2-2z"],["d","M1 5v-.5a.5.5 0 0 1 1 0V5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0V8h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1zm0 3v-.5a.5.5 0 0 1 1 0v.5h.5a.5.5 0 0 1 0 1h-2a.5.5 0 0 1 0-1H1z"],["class","col-xs-12",4,"ngIf"],[1,"col-xs-12"],[1,"card"],["e2e-id","result",1,"card-body",3,"innerHtml"]],template:function(r,o){1&r&&(L(0,"section",2),ce(1,I8,12,1,"div",3),V()),2&r&&(j(),x("ngIf",o.result))},dependencies:[Ye,En],styles:["code[_ngcontent-%COMP%]{white-space:pre-wrap;overflow-x:hidden;word-wrap:break-word;max-width:100%}.card[_ngcontent-%COMP%]{max-height:calc(95vh - 20px);overflow-y:auto;margin-bottom:20px}@media (max-width: 767px){[_nghost-%COMP%] .hljs-string{overflow-wrap:break-word;word-break:break-all;max-width:100%}}[_nghost-%COMP%] .hljs-attr{font-weight:700}@media (max-width: 767px){code[_ngcontent-%COMP%]{font-size:.8em}}"],changeDetection:0})}return t})();const S8=["selectNetworkElt"],lM=t=>[t];function T8(t,e){if(1&t&&(L(0,"option",18),se(1),V()),2&t){const n=e.$implicit,r=H();x("value",null==n?null:n.name)("selected",n.node_address===r.node_address),j(),oa(" ",null==n?null:n.name," (",n.node_address,") ")}}function M8(t,e){if(1&t&&(L(0,"option",18),se(1),V()),2&t){const n=e.$implicit,r=H(2);x("value",r.changePort(n))("selected",r.changePort(n)===r.node_address),j(),oa(" ",r.changePort(n)," (",r.chain_name,") ")}}function k8(t,e){if(1&t&&(L(0,"optgroup",19),ce(1,M8,2,4,"option",15),V()),2&t){const n=H();j(),x("ngForOf",n.peers)}}function A8(t,e){if(1&t){const n=je();L(0,"div",20)(1,"div",21)(2,"label",22)(3,"span",23),se(4,"Net."),V(),L(5,"span",24),se(6,"Network"),V()(),L(7,"input",25,1),oe("change",function(o){return De(n),Ee(H().onCustomNetworkChange(o))}),V()(),L(9,"div",26)(10,"label",27)(11,"span",23),se(12,"Chai."),V(),L(13,"span",24),se(14,"Chain"),V()(),L(15,"input",28,1),oe("change",function(o){return De(n),Ee(H().onCcustomChainChange(o))}),V()()()}if(2&t){const n=H();j(7),x("value",n.node_address||"")("ngClass",Ir(4,lM,n.isCustomNetworkInvalid()?"is-invalid":"")),j(8),x("value",n.chain_name||"")("ngClass",Ir(6,lM,n.iscustomChainInvalid()?"is-invalid":""))}}let uM=(()=>{class t{constructor(n,r,o,i,s,c,l){this.sdk=n,this.config=r,this.env=o,this.document=i,this.stateService=s,this.storageService=c,this.changeDetectorRef=l,this.networks=this.config.networks,this.network=this.config.network,this.chain_name=this.network.chain_name,this.node_address=this.network.node_address,this.is_production=this.env.production,this.localhost_to_gateway=this.env.localhost_to_gateway,this.window=this.document.defaultView,this.is_electron=this.isElectron()}ngAfterViewInit(){var n=this;return A(function*(){n.storageService.get("chain_name")&&n.storageService.get("node_address")&&(n.chain_name=n.storageService.get("chain_name")||n.chain_name,n.node_address=n.storageService.get("node_address")||n.node_address,n.network=n.networks.find(r=>r.node_address==n.node_address)||n.network),n.stateService.setState({chain_name:n.chain_name,node_address:n.node_address}),n.setNodeAddress(),n.changeDetectorRef.markForCheck()})()}selectNetwork(n){let r=n.target?.value||this.selectNetworkElt.nativeElement.value;r=r&&this.networks.find(o=>o.name==r),this.network=r,this.chain_name=r.chain_name,this.node_address=r.node_address,this.setNodeAddress(),this.stateService.setState({chain_name:r.chain_name}),this.storageService.setState({node_address:this.node_address,chain_name:this.chain_name})}changePort(n){const r=n.address.split(":");return[this.config.default_protocol,r.shift(),":",this.config.default_port].join("")}onCustomNetworkChange(n){this.node_address=n.target?.value||this.network.node_address;const r=this.networks.find(o=>"custom"===o.name);r&&(r.node_address=this.node_address,this.sdk.setNodeAddress(this.node_address),this.stateService.setState({node_address:this.node_address}),this.storageService.setState({node_address:this.node_address}))}isCustomNetworkInvalid(){return!1}onCcustomChainChange(n){this.chain_name=n.target?.value||this.network.chain_name;const r=this.networks.find(o=>"custom"===o.name);r&&(r.chain_name=this.chain_name,this.stateService.setState({chain_name:this.chain_name}),this.storageService.setState({chain_name:this.chain_name}))}iscustomChainInvalid(){return!1}isElectron(){return typeof this.window<"u"&&window.location?.origin?.startsWith("file://")}setNodeAddress(){if(this.is_electron)this.sdk.setNodeAddress(this.node_address);else{const n=this.networks.find(r=>r.node_address==this.node_address);this.is_production&&!this.localhost_to_gateway&&n&&["ntcl","node-launcher"].includes(n?.name)?this.sdk.setNodeAddress(this.node_address):n&&this.sdk.setNodeAddress([this.window?.location?.href,n?.name].join(""))}}static#e=this.\u0275fac=function(r){return new(r||t)(S(Oa),S(cr),S(fg),S(cn),S(Tn),S(Ha),S(Kt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-header"]],viewQuery:function(r,o){if(1&r&&Lt(S8,5),2&r){let i;Vt(i=jt())&&(o.selectNetworkElt=i.first)}},inputs:{peers:"peers"},standalone:!0,features:[gt],decls:20,vars:7,consts:[["selectNetworkElt",""],["publicKeyElt",""],[1,"navbar","navbar-light"],[1,"col-5","col-md-2"],[1,"navbar-brand"],["src","assets/logo.png","alt","CasperLabs"],[1,"col-7","col-md-4","col-lg-4","col-xl-5","d-flex","flex-column","flex-xl-row","justify-content-end","px-2","pt-2"],["e2e-id","chain_name",1,"badge","rounded-pill","bg-success","mb-2","ellipsis-container","px-2","me-xl-3",3,"hidden"],["e2e-id","node_address",1,"badge","rounded-pill","bg-success","mb-2","ellipsis-container","px-2","me-xl-3",3,"hidden"],[1,"col-12","col-md-6","col-lg-5"],[1,"form-inline"],[1,"input-group"],["for","selectActionElt","for","selectNetworkElt",1,"input-group-text"],["id","selectNetworkElt","e2e-id","selectNetworkElt",1,"form-select","form-control","form-control-sm",3,"change"],["label","default"],[3,"value","selected",4,"ngFor","ngForOf"],["label","fetched",4,"ngIf"],["class","input-group mt-2 justify-content-between",4,"ngIf"],[3,"value","selected"],["label","fetched"],[1,"input-group","mt-2","justify-content-between"],[1,"col-7"],["for","customNetworkElt",1,"input-group-text"],[1,"d-none","d-md-inline","d-lg-none"],[1,"d-md-none","d-lg-inline"],["type","search","name","customNetwork","id","customNetworkElt","e2e-id","customNetworkElt",1,"form-control","form-control-xs",3,"change","value","ngClass"],[1,"col-4"],["for","publicKeyElt",1,"input-group-text"],["type","search","name","customChain","id","customChainElt","e2e-id","customChainElt",1,"form-control","form-control-xs",3,"change","value","ngClass"]],template:function(r,o){if(1&r){const i=je();L(0,"nav",2)(1,"div",3)(2,"a",4),pt(3,"img",5),V()(),L(4,"div",6)(5,"span",7),se(6),V(),L(7,"span",8),se(8),V()(),L(9,"div",9)(10,"form",10)(11,"div",11)(12,"label",12),se(13,"RPC"),V(),L(14,"select",13,0),oe("change",function(c){return De(i),Ee(o.selectNetwork(c))}),L(16,"optgroup",14),ce(17,T8,2,4,"option",15),V(),ce(18,k8,2,1,"optgroup",16),V()(),ce(19,A8,17,8,"div",17),V()()()}2&r&&(j(5),x("hidden",!o.chain_name),j(),Ni(o.chain_name),j(),x("hidden",!o.node_address),j(),Ni(o.node_address),j(9),x("ngForOf",o.networks),j(),x("ngIf",o.peers),j(),x("ngIf","custom"===(null==o.network?null:o.network.name)))},dependencies:[Ye,Ar,ga,En],styles:[".ellipsis-container[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:auto}"],changeDetection:0})}return t})();function N8(t,e){if(1&t&&(L(0,"section",1)(1,"pre",2),se(2),V()()),2&t){const n=H();j(2),Ni(n.error)}}let dM=(()=>{class t{constructor(n,r){this.errorService=n,this.changeDetectorRef=r}ngAfterViewInit(){var n=this;return A(function*(){n.seterrorSubscription()})()}ngOnDestroy(){this.errorSubscription&&this.errorSubscription.unsubscribe()}seterrorSubscription(){var n=this;this.errorSubscription=this.errorService.getError().subscribe(function(){var r=A(function*(o){n.error!==o&&(n.error=o,n.changeDetectorRef.markForCheck())});return function(o){return r.apply(this,arguments)}}())}static#e=this.\u0275fac=function(r){return new(r||t)(S($a),S(Kt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-error"]],standalone:!0,features:[gt],decls:1,vars:1,consts:[["class","mt-3","e2e-id","error",4,"ngIf"],["e2e-id","error",1,"mt-3"],[1,"error","alert","alert-warning","d-flex"]],template:function(r,o){1&r&&ce(0,N8,3,1,"section",0),2&r&&x("ngIf",o.error)},dependencies:[Ye,En],styles:[".error[_ngcontent-%COMP%]{display:block;font-family:monospace;white-space:pre-wrap;word-break:break-word}"],changeDetection:0})}return t})();function R8(t,e){if(1&t){const n=je();L(0,"div",4)(1,"span",5),se(2),V(),L(3,"button",6),oe("click",function(){return De(n),Ee(H().get_state_root_hash())}),se(4,"Refresh"),V()()}if(2&t){const n=H();j(2),ht("state root hash is ",n.state_root_hash,"")}}function F8(t,e){if(1&t&&(L(0,"div",7)(1,"span",8),se(2),V()()),2&t){const n=H();j(2),ht("account hash is ",n.account_hash,"")}}function O8(t,e){if(1&t&&(L(0,"div",7)(1,"span",9),se(2),V()()),2&t){const n=H();j(2),ht("main purse is ",n.main_purse,"")}}let _M=(()=>{class t{constructor(n,r){this.stateService=n,this.changeDetectorRef=r,this.get_state_root_hash_output=new Ve}ngOnDestroy(){this.stateSubscription&&this.stateSubscription.unsubscribe()}setStateSubscription(){this.stateSubscription=this.stateService.getState().subscribe(n=>{n.account_hash&&(this.account_hash=n.account_hash),n.main_purse&&(this.main_purse=n.main_purse),n.state_root_hash&&(this.state_root_hash=n.state_root_hash),n&&this.changeDetectorRef.markForCheck()})}ngAfterViewInit(){var n=this;return A(function*(){n.setStateSubscription()})()}get_state_root_hash(){this.get_state_root_hash_output.emit(!0)}static#e=this.\u0275fac=function(r){return new(r||t)(S(Tn),S(Kt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-status"]],outputs:{get_state_root_hash_output:"get_state_root_hash_output"},standalone:!0,features:[gt],decls:5,vars:3,consts:[[1,"row"],[1,"col-sm-12"],["class","alert alert-success d-flex flex-md-row flex-column justify-content-between align-items-center mb-1 mb-md-3",4,"ngIf"],["class","alert alert-warning d-flex mb-1 mb-md-3",4,"ngIf"],[1,"alert","alert-success","d-flex","flex-md-row","flex-column","justify-content-between","align-items-center","mb-1","mb-md-3"],["e2e-id","state_root_hash",1,"ellipsis-container"],[1,"btn","me-0",3,"click"],[1,"alert","alert-warning","d-flex","mb-1","mb-md-3"],["e2e-id","account_hash",1,"ellipsis-container"],["e2e-id","main_purse",1,"ellipsis-container"]],template:function(r,o){1&r&&(L(0,"div",0)(1,"div",1),ce(2,R8,5,1,"div",2)(3,F8,3,1,"div",3)(4,O8,3,1,"div",3),V()()),2&r&&(j(2),x("ngIf",o.state_root_hash),j(),x("ngIf",o.account_hash),j(),x("ngIf",o.main_purse))},dependencies:[Ye,En],styles:[".ellipsis-container[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:auto;font-size:.8em;max-width:260px}@media (min-width: 380px){.ellipsis-container[_ngcontent-%COMP%]{max-width:320px}}@media (min-width: 425px){.ellipsis-container[_ngcontent-%COMP%]{max-width:360px}}@media (min-width: 576px){.ellipsis-container[_ngcontent-%COMP%]{max-width:480px}}@media (min-width: 768px){.ellipsis-container[_ngcontent-%COMP%]{max-width:none;font-size:1em}}.btn[_ngcontent-%COMP%]{white-space:nowrap}@media (max-width: 767px){.btn[_ngcontent-%COMP%]{font-size:.8em;padding-bottom:0}}"],changeDetection:0})}return t})();function x8(t,e){if(1&t&&(L(0,"option",10),se(1),V()),2&t){const n=e.$implicit,r=H();x("value",n)("selected",r.action===n),j(),ht(" ",n," ")}}function P8(t,e){if(1&t&&(L(0,"option",10),se(1),V()),2&t){const n=e.$implicit,r=H();x("value",n)("selected",r.action===n),j(),ht(" ",n," ")}}function L8(t,e){if(1&t&&(L(0,"option",10),se(1),V()),2&t){const n=e.$implicit,r=H();x("value",n)("selected",r.action===n),j(),ht(" ",n," ")}}function V8(t,e){if(1&t&&(L(0,"option",11),se(1),V()),2&t){const n=e.$implicit;x("value",n),j(),ht(" ",n," ")}}let fM=(()=>{class t{constructor(n,r,o){this.sdk=n,this.stateService=r,this.changeDetectorRef=o,this.select_action=new Ve}ngAfterViewInit(){var n=this;return A(function*(){n.sdk_methods=Object.getOwnPropertyNames(Object.getPrototypeOf(n.sdk)).filter(r=>"function"==typeof n.sdk[r]).filter(r=>!["free","constructor","__destroy_into_raw","getNodeAddress","setNodeAddress","getVerbosity","setVerbosity","watchDeploy","waitDeploy"].includes(r)).filter(r=>!r.endsWith("_options")).filter(r=>!r.startsWith("chain_")).filter(r=>!r.startsWith("state_")).filter(r=>!r.startsWith("info_")).filter(r=>!r.startsWith("account")).sort(),n.sdk_deploy_methods=n.sdk_methods.filter(r=>["deploy","speculative_deploy","speculative_transfer","transfer"].includes(r)),n.sdk_deploy_utils_methods=n.sdk_methods.filter(r=>["make_deploy","make_transfer","sign_deploy","put_deploy"].includes(r)),n.sdk_contract_methods=n.sdk_methods.filter(r=>["call_entrypoint","install","query_contract_dict","query_contract_key"].includes(r)),n.sdk_rpc_methods=n.sdk_methods.filter(r=>!n.sdk_deploy_methods.concat(n.sdk_deploy_utils_methods,n.sdk_contract_methods).includes(r)),n.setStateSubscription()})()}ngOnDestroy(){this.stateSubscription&&this.stateSubscription.unsubscribe()}setStateSubscription(){this.stateSubscription=this.stateService.getState().subscribe(n=>{n.action&&(this.action=n.action),this.changeDetectorRef.markForCheck()})}selectAction(n){this.select_action.emit(n.target.value)}static#e=this.\u0275fac=function(r){return new(r||t)(S(Oa),S(Tn),S(Kt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-action"]],outputs:{select_action:"select_action"},standalone:!0,features:[gt],decls:14,vars:4,consts:[["selectActionElt",""],[1,"input-group"],["for","selectActionElt",1,"input-group-text"],["id","selectActionElt","e2e-id","selectActionElt",1,"form-select","form-control","form-control-sm",3,"change"],["label","rpc"],[3,"value","selected",4,"ngFor","ngForOf"],["label","deploy utils"],["label","deploy"],["label","contract"],[3,"value",4,"ngFor","ngForOf"],[3,"value","selected"],[3,"value"]],template:function(r,o){if(1&r){const i=je();L(0,"div",1)(1,"label",2),se(2,"Action"),V(),L(3,"select",3,0),oe("change",function(c){return De(i),Ee(o.selectAction(c))}),pt(5,"option"),L(6,"optgroup",4),ce(7,x8,2,3,"option",5),V(),L(8,"optgroup",6),ce(9,P8,2,3,"option",5),V(),L(10,"optgroup",7),ce(11,L8,2,3,"option",5),V(),L(12,"optgroup",8),ce(13,V8,2,2,"option",9),V()()()}2&r&&(j(7),x("ngForOf",o.sdk_rpc_methods),j(2),x("ngForOf",o.sdk_deploy_utils_methods),j(2),x("ngForOf",o.sdk_deploy_methods),j(2),x("ngForOf",o.sdk_contract_methods))},dependencies:[Ye,ga],changeDetection:0})}return t})();const j8=["*"],B8=t=>[t];let pM=(()=>{class t{constructor(n,r){this.stateService=n,this.changeDetectorRef=r,this.submit_action=new Ve}ngAfterViewInit(){var n=this;return A(function*(){n.setStateSubscription()})()}ngOnDestroy(){this.stateSubscription&&this.stateSubscription.unsubscribe()}setStateSubscription(){this.stateSubscription=this.stateService.getState().subscribe(n=>{n.action&&(this.action=n.action),this.changeDetectorRef.markForCheck()})}submitAction(n){this.submit_action.emit(n)}static#e=this.\u0275fac=function(r){return new(r||t)(S(Tn),S(Kt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-submit-action"]],inputs:{class:"class",e2e:"e2e"},outputs:{submit_action:"submit_action"},standalone:!0,features:[gt],ngContentSelectors:j8,decls:2,vars:4,consts:[["type","button",1,"btn",3,"click","ngClass"]],template:function(r,o){1&r&&(function UE(t){const e=I()[xe][st];if(!e.projection){const r=e.projection=function dc(t,e){const n=[];for(let r=0;r{class t{constructor(n,r,o,i,s,c){this.config=n,this.sdk=r,this.resultService=o,this.formService=i,this.errorService=s,this.stateService=c,this.verbosity=Eu.High,this.setStateSubscription()}setStateSubscription(){this.stateService.getState().subscribe(n=>{n.chain_name&&(this.chain_name=n.chain_name),this.public_key=n.public_key||"",n.secret_key&&(this.secret_key=n.secret_key),n.deploy_json&&(this.deploy_json=n.deploy_json),n.verbosity&&(this.verbosity=n.verbosity),n.select_dict_identifier&&(this.select_dict_identifier=n.select_dict_identifier)})}get_account(n){var r=this;return A(function*(){let o;if(o=n||r.getIdentifier("accountIdentifier")?.value?.trim(),!o)return void r.errorService.setError("account_identifier is missing".toString());const i=r.sdk.get_account_options({account_identifier_as_string:o});if(i){r.getIdentifieBlock(i);try{const s=yield r.sdk.get_account(i);return n||r.resultService.setResult(s.toJson()),s}catch(s){return void(s&&r.errorService.setError(s.toString()))}}else r.errorService.setError("get_account_options is missing".toString())})()}get_deploy(){var n=this;return A(function*(){const r=n.getIdentifier("finalizedApprovals")?.value,o=n.getIdentifier("deployHash")?.value?.trim();if(!o)return void n.errorService.setError("deploy_hash_as_string is missing".toString());const i=n.sdk.get_deploy_options({deploy_hash_as_string:o});i.finalized_approvals=r;try{const s=yield n.sdk.get_deploy(i);s&&n.resultService.setResult(s.toJson())}catch(s){s&&n.errorService.setError(s.toString())}})()}get_peers(){var n=this;return A(function*(){let r;try{const o=yield n.sdk.get_peers();o&&n.resultService.setResult(o.toJson()),o&&(r=o.peers)}catch(o){o&&n.errorService.setError(o.toString())}return r})()}get_node_status(){var n=this;return A(function*(){const r=yield n.sdk.get_node_status();return r&&n.resultService.setResult(r.toJson()),r})()}get_state_root_hash(n){var r=this;return A(function*(){let o="";const i=r.sdk.get_state_root_hash_options({});if(i||r.errorService.setError("get_state_root_hash options are missing".toString()),n)o=(yield r.sdk.get_state_root_hash(i)).toString();else{r.getIdentifieBlock(i);const s=yield r.sdk.get_state_root_hash(i);s&&r.resultService.setResult(s.toJson())}return o})()}get_auction_info(){var n=this;return A(function*(){try{const r=n.sdk.get_auction_info_options({});n.getIdentifieBlock(r);const o=yield n.sdk.get_auction_info(r);o&&n.resultService.setResult(o.toJson())}catch(r){r&&n.errorService.setError(r.toString())}})()}get_balance(){var n=this;return A(function*(){const r=n.getIdentifier("purseUref")?.value?.trim(),o=n.getIdentifier("stateRootHash")?.value?.trim();if(r)try{const i=n.sdk.get_balance_options({state_root_hash_as_string:o||"",purse_uref_as_string:r}),s=yield n.sdk.get_balance(i);s&&n.resultService.setResult(s.toJson())}catch(i){i&&n.errorService.setError(i.toString())}else n.errorService.setError("purse_uref_as_string is missing".toString())})()}get_block(){var n=this;return A(function*(){try{const r=n.sdk.get_block_options({});n.getIdentifieBlock(r);const o=yield n.sdk.get_block(r);o&&n.resultService.setResult(o.toJson())}catch(r){r&&n.errorService.setError(r.toString())}})()}get_block_transfers(){var n=this;return A(function*(){try{const r=n.sdk.get_block_transfers_options({});n.getIdentifieBlock(r);const o=yield n.sdk.get_block_transfers(r);o&&n.resultService.setResult(o.toJson())}catch(r){r&&n.errorService.setError(r.toString())}})()}get_chainspec(){var n=this;return A(function*(){try{const r=yield n.sdk.get_chainspec(),o=function D3(t){let e,n;try{const i=a.__wbindgen_add_to_stack_pointer(-16),s=y(t,a.__wbindgen_malloc,a.__wbindgen_realloc);a.hexToString(i,s,m);var r=f()[i/4+0],o=f()[i/4+1];return e=r,n=o,M(r,o)}finally{a.__wbindgen_add_to_stack_pointer(16),a.__wbindgen_free(e,n,1)}}(r?.chainspec_bytes.chainspec_bytes);o&&n.resultService.setResult(o)}catch(r){r&&n.errorService.setError(r.toString())}})()}get_era_info(){var n=this;return A(function*(){const r=n.sdk.get_era_info_options({});n.getIdentifieBlock(r);try{const o=yield n.sdk.get_era_info(r);o&&n.resultService.setResult(o.toJson())}catch(o){o&&n.errorService.setError(o.toString())}})()}get_era_summary(){var n=this;return A(function*(){const r=n.sdk.get_era_summary_options({});n.getIdentifieBlock(r);try{const o=yield n.sdk.get_era_summary(r);o&&n.resultService.setResult(o.toJson())}catch(o){o&&n.errorService.setError(o.toString())}})()}get_validator_changes(){var n=this;return A(function*(){try{const r=yield n.sdk.get_validator_changes();r&&n.resultService.setResult(r.toJson())}catch(r){r&&n.errorService.setError(r.toString())}})()}list_rpcs(){var n=this;return A(function*(){try{const r=yield n.sdk.list_rpcs();r&&n.resultService.setResult(r.toJson())}catch(r){r&&n.errorService.setError(r.toString())}})()}query_balance(){var n=this;return A(function*(){const r=n.getIdentifier("purseIdentifier")?.value?.trim();if(!r)return void n.errorService.setError("deploy_hash_as_string is missing".toString());const o=n.sdk.query_balance_options({purse_identifier_as_string:r});n.getGlobalIdentifier(o);try{const i=yield n.sdk.query_balance(o);i&&n.resultService.setResult(i.balance)}catch(i){i&&n.errorService.setError(i.toString())}})()}query_global_state(){var n=this;return A(function*(){const r=n.getIdentifier("queryPath")?.value?.trim()||"",o=n.getIdentifier("queryKey")?.value?.trim();if(!o)return void n.errorService.setError("key_as_string is missing".toString());const i=n.sdk.query_global_state_options({key_as_string:o,path_as_string:r});n.getGlobalIdentifier(i);try{const s=yield n.sdk.query_global_state(i);s&&n.resultService.setResult(s.toJson())}catch(s){s&&n.errorService.setError(s.toString())}})()}deploy(n=!0,r,o){var i=this;return A(function*(){const s=CS(),c=i.getIdentifier("TTL")?.value?.trim()||"";if(!n&&!i.public_key)return void i.errorService.setError("public_key is missing".toString());if(n&&!i.secret_key)return void i.errorService.setError("secret_key is missing".toString());const l=new Bt(i.chain_name,i.public_key,i.secret_key,s,c),u=new zn,d=i.getIdentifier("paymentAmount")?.value?.trim();if(!d)return void i.errorService.setError("paymentAmount is missing".toString());u.payment_amount=d;const _=i.get_session_params(o);try{let p;if(r){const h={maybe_block_id_as_string:void 0,maybe_block_identifier:void 0};i.getIdentifieBlock(h);const{maybe_block_id_as_string:g,maybe_block_identifier:v}=h;p=yield i.sdk.speculative_deploy(l,_,u,g,v)}else p=n?yield i.sdk.deploy(l,_,u):i.sdk.make_deploy(l,_,u);if(p){const h=p.toJson();i.deploy_json=ji(h,i.verbosity),i.deploy_json&&i.resultService.setResult(h),!n&&i.updateDeployJson(i.deploy_json)}return p}catch(p){return void(p&&i.errorService.setError(p))}})()}install(n){var r=this;return A(function*(){const o=r.getIdentifier("paymentAmount")?.value?.trim();if(!o)return void r.errorService.setError("paymentAmount is missing".toString());if(!r.public_key||!r.secret_key)return void r.errorService.setError("public_key or secret_key is missing".toString());n?.buffer||r.errorService.setError("wasmBuffer is missing".toString());const s=new Bt(r.chain_name,r.public_key,r.secret_key),c=r.get_session_params(n);try{const l=yield r.sdk.install(s,c,o);l&&r.resultService.setResult(l.toJson())}catch(l){l&&r.errorService.setError(l.toString())}})()}transfer(n=!0,r){var o=this;return A(function*(){const i=CS(),s=o.getIdentifier("TTL")?.value?.trim()||"";if(!n&&!o.public_key)return void o.errorService.setError("public_key is missing".toString());if(n&&!o.secret_key)return void o.errorService.setError("secret_key is missing".toString());const c=new Bt(o.chain_name,o.public_key,o.secret_key,i,s),l=new zn;l.payment_amount=o.config.gas_fee_transfer.toString();const u=o.getIdentifier("transferAmount")?.value?.trim(),d=o.getIdentifier("targetAccount")?.value?.trim();if(u&&d)try{let _;if(r){const p={maybe_block_id_as_string:void 0,maybe_block_identifier:void 0};o.getIdentifieBlock(p);const{maybe_block_id_as_string:h,maybe_block_identifier:g}=p;_=yield o.sdk.speculative_transfer(u,d,void 0,c,l,h,g)}else _=n?yield o.sdk.transfer(u,d,void 0,c,l):o.sdk.make_transfer(u,d,void 0,c,l);if(_){const p=_.toJson();o.deploy_json=ji(p,o.verbosity),o.deploy_json&&o.resultService.setResult(p),!n&&o.updateDeployJson(o.deploy_json)}return _}catch(_){return void(_&&o.errorService.setError(_))}else o.errorService.setError("transfer_amount or target_account is missing".toString())})()}put_deploy(){var n=this;return A(function*(){const r=n.getIdentifier("deployJson")?.value?.trim();if(!r)return void n.errorService.setError("deployJson is missing".toString());const o=new ue(JSON.parse(r)),i=yield n.sdk.put_deploy(o);return i&&n.resultService.setResult(i.toJson()),i})()}speculative_exec(){var n=this;return A(function*(){const r=n.getIdentifier("deployJson")?.value?.trim();if(!r)return void n.errorService.setError("signed_deploy_as_string is missing".toString());const o=new ue(JSON.parse(r)),i=n.sdk.get_speculative_exec_options({deploy:o.toJson()});n.getIdentifieBlock(i);const s=yield n.sdk.speculative_exec(i);return s&&n.resultService.setResult(s.toJson()),s})()}sign_deploy(){var n=this;return A(function*(){if(!n.secret_key)return void n.errorService.setError("secret_key is missing".toString());const r=n.getIdentifier("deployJson")?.value?.trim();if(!r)return void n.errorService.setError("deploy_to_sign is missing".toString());let o;try{o=new ue(JSON.parse(r))}catch(i){return void(i&&n.errorService.setError(i))}o?(o=o.sign(n.secret_key),n.deploy_json=ji(o.toJson(),n.verbosity),n.getIdentifier("deployJson")?.setValue(n.deploy_json),n.updateDeployJson(n.deploy_json)):n.errorService.setError("signed_deploy_as_string is missing".toString())})()}wallet_sign_deploy(){var n=this;return A(function*(){const r=n.getIdentifier("deployJson")?.value?.trim();if(!r)return void n.errorService.setError("deploy_to_sign is missing".toString());let o;try{o=new ue(JSON.parse(r))}catch(i){return void(i&&n.errorService.setError(i))}try{o=yield(new T3).signDeploy(o,n.public_key)}catch(i){return void(i&&n.errorService.setError(i))}n.deploy_json=ji(o.toJson(),n.verbosity),n.getIdentifier("deployJson")?.setValue(n.deploy_json),n.updateDeployJson(n.deploy_json)})()}updateDeployJson(n){n&&this.stateService.setState({deploy_json:n})}make_deploy(n){var r=this;return A(function*(){yield r.deploy(!1,!1,n)})()}make_transfer(){var n=this;return A(function*(){yield n.transfer(!1)})()}speculative_transfer(){var n=this;return A(function*(){yield n.transfer(!1,!0)})()}speculative_deploy(n){var r=this;return A(function*(){yield r.deploy(!1,!0,n)})()}call_entrypoint(){var n=this;return A(function*(){if(!n.public_key||!n.secret_key)return void n.errorService.setError("public_key or secret_key is missing".toString());const r=new Bt(n.chain_name,n.public_key,n.secret_key),o=n.get_session_params(),i=n.getIdentifier("paymentAmount")?.value?.trim();if(i)try{const s=yield n.sdk.call_entrypoint(r,o,i);s&&n.resultService.setResult(s.toJson())}catch(s){s&&n.errorService.setError(s.toString())}else n.errorService.setError("paymentAmount is missing".toString())})()}query_contract_dict(){var n=this;return A(function*(){const r=n.getIdentifier("stateRootHash")?.value?.trim(),o=n.getIdentifier("itemKey")?.value?.trim();if(!o)return void n.errorService.setError("itemKey is missing".toString());const i=n.getIdentifier("seedContractHash")?.value?.trim()||"",s=n.getIdentifier("seedName")?.value?.trim();if(!s)return void n.errorService.setError("seedName is missing".toString());let c;if(i&&(c=new To,c.setContractNamedKey(i,s,o)),!c)return void n.errorService.setError("dictionary_item_params is missing".toString());const l=n.sdk.query_contract_dict_options({state_root_hash_as_string:r||""});l.dictionary_item_params=c;try{const u=yield n.sdk.query_contract_dict(l);u&&n.resultService.setResult(u.toJson())}catch(u){u&&n.errorService.setError(u.toString())}})()}query_contract_key(){var n=this;return A(function*(){const r=n.getIdentifier("stateRootHash")?.value?.trim(),o=n.getIdentifier("queryKey")?.value?.trim();if(!o)return void n.errorService.setError("key_as_string is missing".toString());const i=n.getIdentifier("queryPath")?.value.toString().trim().replace(/^\/+|\/+$/g,""),s=n.sdk.query_contract_key_options({state_root_hash_as_string:r||"",key_as_string:o,path_as_string:i});try{const c=yield n.sdk.query_contract_key(s);c&&n.resultService.setResult(c.toJson())}catch(c){c&&n.errorService.setError(c.toString())}})()}get_dictionary_item(){var n=this;return A(function*(){const r=n.getIdentifier("stateRootHash")?.value?.trim(),o=n.getIdentifier("itemKey")?.value?.trim(),i=n.getIdentifier("seedKey")?.value?.trim();if(!o&&!i)return void n.errorService.setError("seedKey or itemKey is missing".toString());const s=n.getIdentifier("seedUref")?.value?.trim();let c;if(s&&"newFromSeedUref"===n.select_dict_identifier)c=Ht.newFromSeedUref(s,o);else if(i&&"newFromDictionaryKey"===n.select_dict_identifier)c=Ht.newFromDictionaryKey(i);else{const u=n.getIdentifier("seedContractHash")?.value?.trim(),d=n.getIdentifier("seedAccountHash")?.value?.trim(),_=n.getIdentifier("seedName")?.value?.trim();if(!_)return void n.errorService.setError("seed_name is missing".toString());u&&"newFromContractInfo"===n.select_dict_identifier?c=Ht.newFromContractInfo(u,_,o):d&&"newFromAccountInfo"===n.select_dict_identifier&&(c=Ht.newFromAccountInfo(d,_,o))}if(!c)return void n.errorService.setError("dictionary_item_identifier is missing".toString());const l=n.sdk.get_dictionary_item_options({state_root_hash_as_string:r||""});l.dictionary_item_identifier=c;try{const u=yield n.sdk.state_get_dictionary_item(l);u&&n.resultService.setResult(u.toJson())}catch(u){u&&n.errorService.setError(u.toString())}})()}getIdentifier(n){return this.formService.form.get(n)}getIdentifieBlock(n){const r=this.getIdentifier("blockIdentifierHeight")?.value?.trim(),o=this.getIdentifier("blockIdentifierHash")?.value?.trim();if(o)n.maybe_block_id_as_string=o,n.maybe_block_identifier=void 0;else if(r){const i=Le.fromHeight(BigInt(r));n.maybe_block_id_as_string=void 0,n.maybe_block_identifier=i}else n.maybe_block_id_as_string=void 0,n.maybe_block_identifier=void 0}getGlobalIdentifier(n){const r=this.getIdentifier("stateRootHash")?.value?.trim();let o;if(r)o=Tt.fromStateRootHash(new Be(r));else{const i=this.getIdentifier("blockIdentifierHeight")?.value?.trim(),s=this.getIdentifier("blockIdentifierHash")?.value?.trim();s?o=Tt.fromBlockHash(new Or(s)):i&&(o=Tt.fromBlockHeight(BigInt(i)))}o&&(n.global_state_identifier=o)}get_session_params(n){const r=new ko,o=this.getIdentifier("entryPoint")?.value?.trim();o&&(r.session_entry_point=o);const i=this.getIdentifier("argsSimple")?.value?.trim().split(",").map(_=>_.trim()).filter(_=>""!==_),s=this.getIdentifier("argsJson")?.value?.trim();i?.length?r.session_args_simple=i:s&&(r.session_args_json=s);const c=this.getIdentifier("callPackage")?.value,l=this.getIdentifier("sessionHash")?.value?.trim(),u=this.getIdentifier("sessionName")?.value?.trim();c?l?r.session_package_hash=l:u&&(r.session_package_name=u):l?r.session_hash=l:u&&(r.session_name=u),n&&(r.session_bytes=ar.fromUint8Array(n));const d=this.getIdentifier("version")?.value?.trim();return d&&(r.session_version=d),r}static#e=this.\u0275fac=function(r){return new(r||t)(z(cr),z(Oa),z(rd),z(Ua),z($a),z(Tn))};static#t=this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const H8=["publicKeyElt"],U8=t=>[t];let gM=(()=>{class t{constructor(n,r,o,i,s){this.config=n,this.stateService=r,this.clientService=o,this.storageService=i,this.changeDetectorRef=s}ngAfterViewInit(){var n=this;return A(function*(){n.setStateSubscription(),n.public_key=n.storageService.get("public_key")||n.public_key,n.public_key&&(yield n.updateAccount(),n.stateService.setState({public_key:n.public_key}))})()}ngOnDestroy(){this.stateSubscription&&this.stateSubscription.unsubscribe()}setStateSubscription(){var n=this;this.stateSubscription=this.stateService.getState().subscribe(function(){var r=A(function*(o){o.action&&(n.action=o.action),o.public_key&&n.public_key!=o.public_key?(o.public_key&&(n.public_key=o.public_key),o.secret_key&&(n.secret_key=o.secret_key),yield n.updateAccount()):o.public_key&&o.public_key&&(n.public_key=o.public_key),n.changeDetectorRef.markForCheck()});return function(o){return r.apply(this,arguments)}}())}onPublicKeyChange(){var n=this;return A(function*(){const r=n.publicKeyElt&&n.publicKeyElt.nativeElement.value.toString().trim();n.public_key="",n.stateService.setState({public_key:r,secret_key:""}),n.storageService.setState({public_key:r})})()}isInvalid(){return!(this.config.action_needs_public_key&&!this.config.action_needs_public_key?.includes(this.action)||this.publicKeyElt?.nativeElement.value?.trim())}updateAccount(){var n=this;return A(function*(){const r=yield n.clientService.get_account(n.public_key);if(r&&!r.account)return;const o=r?.account?.account_hash,i=r?.account?.main_purse;n.stateService.setState({account_hash:o,main_purse:i}),n.storageService.setState({account_hash:o,main_purse:i})})()}static#e=this.\u0275fac=function(r){return new(r||t)(S(cr),S(Tn),S(hM),S(Ha),S(Kt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-public-key"]],viewQuery:function(r,o){if(1&r&&Lt(H8,5),2&r){let i;Vt(i=jt())&&(o.publicKeyElt=i.first)}},standalone:!0,features:[gt],decls:7,vars:4,consts:[["publicKeyElt",""],["for","publicKeyElt",1,"input-group-text"],[1,"d-none","d-md-inline","d-lg-none"],[1,"d-md-none","d-lg-inline"],["type","search","name","public_key","placeholder","e.g. 0x","id","publicKeyElt","e2e-id","publicKeyElt",1,"form-control","form-control-xs",3,"input","value","ngClass"]],template:function(r,o){if(1&r){const i=je();L(0,"label",1)(1,"span",2),se(2,"Pub. Key"),V(),L(3,"span",3),se(4,"Public Key"),V()(),L(5,"input",4,0),oe("input",function(){return De(i),Ee(o.onPublicKeyChange())}),V()}2&r&&(j(5),x("value",o.public_key||"")("ngClass",Ir(2,U8,o.isInvalid()?"is-invalid":"")))},dependencies:[Ye,Ar],changeDetection:0})}return t})();const $8=["secretKeyElt"],z8=t=>[t];function q8(t,e){if(1&t){const n=je();L(0,"button",4),oe("click",function(){return De(n),Ee(H().onSecretKeyClick())}),se(1," Load Secret Key\n"),V()}if(2&t){const n=H();x("ngClass",Ir(1,z8,n.isInvalid()?"btn-warning":"btn-secondary"))}}function G8(t,e){if(1&t){const n=je();L(0,"button",5),oe("click",function(){return De(n),Ee(H().onSecretKeyClick())}),se(1," Secret Key Loaded\n"),V()}}let mM=(()=>{class t{constructor(n,r,o,i,s){this.config=n,this.stateService=r,this.errorService=o,this.storageService=i,this.changeDetectorRef=s}ngAfterViewInit(){var n=this;return A(function*(){n.setStateSubscription()})()}ngOnDestroy(){this.stateSubscription&&this.stateSubscription.unsubscribe()}setStateSubscription(){var n=this;this.stateSubscription=this.stateService.getState().subscribe(function(){var r=A(function*(o){o.action&&(n.action=o.action),n.changeDetectorRef.markForCheck()});return function(o){return r.apply(this,arguments)}}())}onSecretKeyClick(){this.secretKeyElt.nativeElement.click()}onPemSelected(n){var r=this;return A(function*(){const o=n.target.files?.item(0);let i="";if(o){let s=yield o.text();if(!s.trim())return;s=s.trim(),r.errorService.setError("");try{i=function C3(t){try{const o=a.__wbindgen_add_to_stack_pointer(-16),i=y(t,a.__wbindgen_malloc,a.__wbindgen_realloc);a.publicKeyFromSecretKey(o,i,m);var e=f()[o/4+0],n=f()[o/4+1];if(f()[o/4+2])throw b(n);return b(e)}finally{a.__wbindgen_add_to_stack_pointer(16)}}(s)}catch(c){r.errorService.setError(c)}i&&(r.secret_key=s)}else r.secret_key="";r.stateService.setState({public_key:i,secret_key:r.secret_key}),r.storageService.setState({public_key:i}),r.secretKeyElt.nativeElement.value="",r.changeDetectorRef.markForCheck()})()}isInvalid(){return!(this.config.action_needs_secret_key&&!this.config.action_needs_secret_key?.includes(this.action)||this.secret_key)}static#e=this.\u0275fac=function(r){return new(r||t)(S(cr),S(Tn),S($a),S(Ha),S(Kt))};static#t=this.\u0275cmp=lt({type:t,selectors:[["comp-secret-key"]],viewQuery:function(r,o){if(1&r&&Lt($8,5),2&r){let i;Vt(i=jt())&&(o.secretKeyElt=i.first)}},standalone:!0,features:[gt],decls:4,vars:2,consts:[["secretKeyElt",""],["name","secret_key","type","file","id","secretKeyElt","accept",".pem","e2e-id","secretKeyElt",1,"visually-hidden",3,"change"],["class","btn",3,"ngClass","click",4,"ngIf"],["class","btn btn-light",3,"click",4,"ngIf"],[1,"btn",3,"click","ngClass"],[1,"btn","btn-light",3,"click"]],template:function(r,o){if(1&r){const i=je();L(0,"input",1,0),oe("change",function(c){return De(i),Ee(o.onPemSelected(c))}),V(),ce(2,q8,2,3,"button",2)(3,G8,2,0,"button",3)}2&r&&(j(2),x("ngIf",!o.secret_key),j(),x("ngIf",o.secret_key))},dependencies:[Ye,Ar,En],changeDetection:0})}return t})();const W8=["selectDictIdentifierElt"],Gg=()=>["sign_deploy"];function J8(t,e){if(1&t){const n=je();L(0,"comp-submit-action",12),oe("submit_action",function(o){return De(n),Ee(H().submitAction(o))}),se(1,"Go"),V()}2&t&&(Ml("btn-success ms-1 ms-sm-2 ms-xl-3"),x("e2e","submit"))}function K8(t,e){if(1&t){const n=je();L(0,"comp-submit-action",12),oe("submit_action",function(o){return De(n),Ee(H().submitAction(o))}),se(1,"Sign "),V()}2&t&&(Ml("btn-warning mt-3"),x("e2e","sign"))}function Z8(t,e){if(1&t){const n=je();L(0,"button",13),oe("click",function(){return De(n),Ee(H().walletSign())}),se(1," Casper Wallet Sign "),V()}2&t&&(Ml("btn-warning mt-3 ms-3"),Et("e2e","wallet_sign"))}let Y8=(()=>{class t{constructor(n,r,o,i,s,c,l,u,d){this.sdk=n,this.config=r,this.env=o,this.clientService=i,this.resultService=s,this.stateService=c,this.formService=l,this.errorService=u,this.storageService=d,this.form=this.formService.form}ngOnInit(){var n=this;return A(function*(){console.info(n.sdk)})()}ngOnDestroy(){this.stateSubscription&&this.stateSubscription.unsubscribe()}setStateSubscription(){this.stateSubscription=this.stateService.getState().subscribe(n=>{n.action&&(this.action=n.action)})}ngAfterViewInit(){var n=this;return A(function*(){const o=n.storageService.get("action")||n.config.default_action.toString();try{o==n.config.default_action.toString()&&(yield n.handleAction(o,!0)),yield n.get_state_root_hash(!0)}catch(i){console.error(i),n.errorService.setError(i)}n.stateService.setState({action:o}),n.setStateSubscription()})()}selectAction(n){var r=this;return A(function*(){yield r.cleanResult(),r.stateService.setState({action:n}),yield r.handleAction(n),r.storageService.setState({action:n})})()}submitAction(n){var r=this;return A(function*(){yield r.cleanResult(),(r.form.disabled||r.form.valid)&&(yield r.handleAction(n,!0))})()}walletSign(){var n=this;return A(function*(){n.clientService.wallet_sign_deploy()})()}handleAction(n,r){var o=this;return A(function*(){const i=o[n];if(i&&"function"==typeof i){if(r)try{yield i.bind(o)()}catch(s){o.errorService.setError(s)}}else{const s=`Method ${n} is not defined on the component.`;console.error(s),o.errorService.setError(s)}})()}onWasmSelected(n){var r=this;return A(function*(){n&&(r.wasm=n)})()}cleanResult(){var n=this;return A(function*(){n.errorService.setError(""),yield n.resultService.setResult("")})()}call_entrypoint(){var n=this;return A(function*(){return yield n.clientService.call_entrypoint()})()}deploy(n=!0,r){var o=this;return A(function*(){return yield o.clientService.deploy(n,r,o.wasm)})()}get_account(n){var r=this;return A(function*(){return yield r.clientService.get_account(n)})()}get_auction_info(){var n=this;return A(function*(){return yield n.clientService.get_auction_info()})()}get_balance(){var n=this;return A(function*(){return yield n.clientService.get_balance()})()}get_block(){var n=this;return A(function*(){return yield n.clientService.get_block()})()}get_block_transfers(){var n=this;return A(function*(){return yield n.clientService.get_block_transfers()})()}get_chainspec(){var n=this;return A(function*(){return yield n.clientService.get_chainspec()})()}get_deploy(){var n=this;return A(function*(){return yield n.clientService.get_deploy()})()}get_dictionary_item(){var n=this;return A(function*(){return yield n.clientService.get_dictionary_item()})()}get_era_info(){var n=this;return A(function*(){return yield n.clientService.get_era_info()})()}get_era_summary(){var n=this;return A(function*(){return yield n.clientService.get_era_summary()})()}get_node_status(){var n=this;return A(function*(){return yield n.clientService.get_node_status()})()}get_peers(){var n=this;return A(function*(){return n.peers=yield n.clientService.get_peers(),n.peers})()}get_state_root_hash(n){var r=this;return A(function*(){const o=yield r.clientService.get_state_root_hash(n);return r.stateService.setState({state_root_hash:o}),o})()}get_validator_changes(){var n=this;return A(function*(){return yield n.clientService.get_validator_changes()})()}install(){var n=this;return A(function*(){return yield n.clientService.install(n.wasm)})()}list_rpcs(){var n=this;return A(function*(){return yield n.clientService.list_rpcs()})()}make_deploy(){var n=this;return A(function*(){return yield n.clientService.make_deploy(n.wasm)})()}make_transfer(){var n=this;return A(function*(){return yield n.clientService.make_transfer()})()}put_deploy(){var n=this;return A(function*(){return yield n.clientService.put_deploy()})()}query_balance(){var n=this;return A(function*(){return yield n.clientService.query_balance()})()}query_contract_dict(){var n=this;return A(function*(){return yield n.clientService.query_contract_dict()})()}query_contract_key(){var n=this;return A(function*(){return yield n.clientService.query_contract_key()})()}query_global_state(){var n=this;return A(function*(){return yield n.clientService.query_global_state()})()}sign_deploy(){var n=this;return A(function*(){return yield n.clientService.sign_deploy()})()}speculative_deploy(){var n=this;return A(function*(){return yield n.clientService.speculative_deploy(n.wasm)})()}speculative_exec(){var n=this;return A(function*(){return yield n.clientService.speculative_exec()})()}speculative_transfer(){var n=this;return A(function*(){return yield n.clientService.speculative_transfer()})()}transfer(n=!0,r){var o=this;return A(function*(){return yield o.clientService.transfer(n,r)})()}static#e=this.\u0275fac=function(r){return new(r||t)(S(Oa),S(cr),S(fg),S(hM),S(rd),S(Tn),S(Ua),S($a),S(Ha))};static#t=this.\u0275cmp=lt({type:t,selectors:[["app-root"]],viewQuery:function(r,o){if(1&r&&Lt(W8,5),2&r){let i;Vt(i=jt())&&(o.selectDictIdentifierElt=i.first)}},standalone:!0,features:[gt],decls:16,vars:8,consts:[[1,"container"],[3,"peers"],[3,"get_state_root_hash_output"],[1,"row","flex-column-reverse","flex-column-reverse","flex-md-row"],[1,"col-12","col-md-6","col-lg-5","my-1","my-md-0","d-flex","justify-content-between"],[1,"w-100",3,"select_action"],[3,"class","e2e","submit_action",4,"ngIf"],[1,"col-12","col-md-6","col-lg-7","my-1","my-md-0","d-flex","justify-content-end","ps-md-0"],[1,"input-group"],[1,"d-flex","justify-content-end","ms-1","ms-sm-2","ms-xl-3"],[3,"wasm_selected","form"],["type","button","class","btn",3,"class","click",4,"ngIf"],[3,"submit_action","e2e"],["type","button",1,"btn",3,"click"]],template:function(r,o){1&r&&(L(0,"main",0),pt(1,"comp-header",1),L(2,"comp-status",2),oe("get_state_root_hash_output",function(s){return o.get_state_root_hash(s)}),V(),L(3,"div",3)(4,"div",4)(5,"comp-action",5),oe("select_action",function(s){return o.selectAction(s)}),V(),ce(6,J8,2,3,"comp-submit-action",6),V(),L(7,"div",7),pt(8,"comp-public-key",8),L(9,"div",9),pt(10,"comp-secret-key"),V()()(),pt(11,"comp-error"),L(12,"comp-form",10),oe("wasm_selected",function(s){return o.onWasmSelected(s)}),V(),ce(13,K8,2,3,"comp-submit-action",6)(14,Z8,2,3,"button",11),pt(15,"comp-result"),V()),2&r&&(j(),x("peers",o.peers),j(5),x("ngIf",!Ll(5,Gg).includes(o.action)),j(6),x("form",o.form),j(),x("ngIf",Ll(6,Gg).includes(o.action)),j(),x("ngIf",Ll(7,Gg).includes(o.action)))},dependencies:[Ye,En,Gi,iM,cM,uM,dM,_M,fM,pM,gM,mM],changeDetection:0})}return t})(),od=Object.entries(Ao.networks).map(([t,e])=>({name:t,...e}));pg.production&&(od=od.filter(t=>"dev"!==t.name)),Ao.networks=od,Ao.network=od.find(t=>t.name==pg.default_network.toString()),function a3(t,e){return e4({rootComponent:t,...hS(e)})}(Y8,{providers:[{provide:fg,useValue:pg},{provide:cr,useValue:Ao},{provide:V1,useValue:Ao.wasm_asset_path},{provide:j1,useValue:Ao.network?.node_address},{provide:B1,useValue:Eu[Ao.verbosity]},dy([OU,W3,v8])]}).then(()=>{}).catch(()=>{})},7278:Ki=>{var za=0;function Mn(A,kt){var me=kt.data;if(Array.isArray(me)&&!(me.length<2)){var fn=me[0],lr=me[1],yt=me[2],Q=A._callbacks[fn];Q&&(delete A._callbacks[fn],Q(lr,yt))}}function Br(A){var kt=this;kt._worker=A,kt._callbacks={},A.addEventListener("message",function(me){Mn(kt,me)})}Br.prototype.postMessage=function(A){var kt=this,me=za++,fn=[me,A];return new Promise(function(lr,yt){if(kt._callbacks[me]=function(Hr,id){if(Hr)return yt(new Error(Hr.message));lr(id)},typeof kt._worker.controller<"u"){var Q=new MessageChannel;Q.port1.onmessage=function(Hr){Mn(kt,Hr)},kt._worker.controller.postMessage(fn,[Q.port2])}else kt._worker.postMessage(fn)})},Ki.exports=Br}},Ki=>{Ki(Ki.s=5168)}]); \ No newline at end of file diff --git a/examples/frontend/angular/package-lock.json b/examples/frontend/angular/package-lock.json index 42bfa43c3..4bdeca74f 100644 --- a/examples/frontend/angular/package-lock.json +++ b/examples/frontend/angular/package-lock.json @@ -9,43 +9,43 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@angular/animations": "~18.1.0", - "@angular/common": "~18.1.0", - "@angular/compiler": "~18.1.4", - "@angular/core": "~18.1.0", - "@angular/forms": "~18.1.0", - "@angular/platform-browser": "~18.1.4", - "@angular/platform-browser-dynamic": "~18.1.0", - "@angular/router": "~18.1.0", - "@nx/angular": "19.5.7", + "@angular/animations": "~18.2.4", + "@angular/common": "~18.2.4", + "@angular/compiler": "~18.2.4", + "@angular/core": "~18.2.4", + "@angular/forms": "~18.2.4", + "@angular/platform-browser": "~18.2.4", + "@angular/platform-browser-dynamic": "~18.2.4", + "@angular/router": "~18.2.4", + "@nx/angular": "19.7.2", "casper-sdk": "file:../../../pkg", "highlight.js": "^11.8.0", "promise-worker": "^2.0.1", "rxjs": "~7.8.0", "tslib": "^2.3.0", - "zone.js": "~0.14.4" + "zone.js": "~0.14.0" }, "devDependencies": { "@angular-devkit/build-angular": "^18.1.0", - "@angular-devkit/core": "~18.1.0", - "@angular-devkit/schematics": "~18.1.0", - "@angular-eslint/eslint-plugin": "~18.2.0", - "@angular-eslint/eslint-plugin-template": "~18.2.0", - "@angular-eslint/template-parser": "~18.2.0", - "@angular/cli": "~18.1.0", - "@angular/compiler-cli": "~18.1.0", - "@angular/language-service": "~18.1.0", - "@nx/eslint-plugin": "19.5.7", - "@nx/jest": "19.5.7", - "@nx/js": "19.5.7", - "@nx/linter": "19.5.7", - "@nx/workspace": "19.5.7", - "@schematics/angular": "~18.1.4", + "@angular-devkit/core": "~18.2.4", + "@angular-devkit/schematics": "~18.2.4", + "@angular-eslint/eslint-plugin": "~18.3.1", + "@angular-eslint/eslint-plugin-template": "~18.3.1", + "@angular-eslint/template-parser": "~18.3.1", + "@angular/cli": "~18.2.4", + "@angular/compiler-cli": "~18.2.4", + "@angular/language-service": "~18.2.4", + "@nx/eslint-plugin": "19.7.2", + "@nx/jest": "19.7.2", + "@nx/js": "19.7.2", + "@nx/linter": "19.7.2", + "@nx/workspace": "19.7.2", + "@schematics/angular": "~18.2.4", "@swc-node/register": "~1.10.7", "@swc/core": "~1.7.6", "@swc/helpers": "~0.5.2", "@types/jest": "^29.5.12", - "@types/node": "22.1.0", + "@types/node": "22.5.4", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "eslint": "~8.57.0", @@ -55,7 +55,7 @@ "jest-environment-node": "^29.7.0", "jest-preset-angular": "~14.2.2", "jsonc-eslint-parser": "^2.4.0", - "nx": "19.5.7", + "nx": "19.7.2", "prettier": "^3.2.5", "ts-jest": "^29.1.2", "ts-node": "~10.9.2", @@ -87,12 +87,12 @@ } }, "node_modules/@angular-devkit/architect": { - "version": "0.1801.4", - "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1801.4.tgz", - "integrity": "sha512-Ch1ZwRh1N/vcCKHm4ErLcgZly3tlwdLUDGBaAIlhE3YFGq543Swv6a5IcDw0veD6iGFceJAmbrp+z5hmzI8p5A==", + "version": "0.1802.4", + "resolved": "https://registry.npmjs.org/@angular-devkit/architect/-/architect-0.1802.4.tgz", + "integrity": "sha512-VH7AwGng1zuWPTJoH1IgHYeNhqZIgzlwDx39JPmArZAW/WZHDILWB7ipbTNw0R4U4VncrXJqDmMVex7NdHP6sg==", "license": "MIT", "dependencies": { - "@angular-devkit/core": "18.1.4", + "@angular-devkit/core": "18.2.4", "rxjs": "7.8.1" }, "engines": { @@ -102,47 +102,47 @@ } }, "node_modules/@angular-devkit/build-angular": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-18.1.4.tgz", - "integrity": "sha512-CCoPT2fFw1DD3j9eSP3GKbp9KfvxQQfY6kV2aec0pqL/c6byz4/ku+rsV4lwE0N/dcaglwhttq4Xf+u+pkEpiw==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-angular/-/build-angular-18.2.4.tgz", + "integrity": "sha512-zLDstS95Yb7iBA1ZCYe3LsOLpIhr0ZC3sZ03PhVvAGbVRGSbQNnhQRZLKMk+LDhYJiG+eNFQGLfU3RfZrGds7A==", "license": "MIT", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1801.4", - "@angular-devkit/build-webpack": "0.1801.4", - "@angular-devkit/core": "18.1.4", - "@angular/build": "18.1.4", - "@babel/core": "7.24.7", - "@babel/generator": "7.24.7", + "@angular-devkit/architect": "0.1802.4", + "@angular-devkit/build-webpack": "0.1802.4", + "@angular-devkit/core": "18.2.4", + "@angular/build": "18.2.4", + "@babel/core": "7.25.2", + "@babel/generator": "7.25.0", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", - "@babel/plugin-transform-async-generator-functions": "7.24.7", + "@babel/plugin-transform-async-generator-functions": "7.25.0", "@babel/plugin-transform-async-to-generator": "7.24.7", "@babel/plugin-transform-runtime": "7.24.7", - "@babel/preset-env": "7.24.7", - "@babel/runtime": "7.24.7", - "@discoveryjs/json-ext": "0.5.7", - "@ngtools/webpack": "18.1.4", + "@babel/preset-env": "7.25.3", + "@babel/runtime": "7.25.0", + "@discoveryjs/json-ext": "0.6.1", + "@ngtools/webpack": "18.2.4", "@vitejs/plugin-basic-ssl": "1.1.0", "ansi-colors": "4.1.3", - "autoprefixer": "10.4.19", + "autoprefixer": "10.4.20", "babel-loader": "9.1.3", "browserslist": "^4.21.5", "copy-webpack-plugin": "12.0.2", "critters": "0.0.24", "css-loader": "7.1.2", - "esbuild-wasm": "0.21.5", + "esbuild-wasm": "0.23.0", "fast-glob": "3.3.2", "http-proxy-middleware": "3.0.0", "https-proxy-agent": "7.0.5", - "istanbul-lib-instrument": "6.0.2", + "istanbul-lib-instrument": "6.0.3", "jsonc-parser": "3.3.1", "karma-source-map-support": "1.4.0", "less": "4.2.0", "less-loader": "12.2.0", "license-webpack-plugin": "4.0.2", "loader-utils": "3.3.1", - "magic-string": "0.30.10", + "magic-string": "0.30.11", "mini-css-extract-plugin": "2.9.0", "mrmime": "2.0.0", "open": "10.1.0", @@ -150,25 +150,24 @@ "parse5-html-rewriting-stream": "7.0.0", "picomatch": "4.0.2", "piscina": "4.6.1", - "postcss": "8.4.38", + "postcss": "8.4.41", "postcss-loader": "8.1.1", "resolve-url-loader": "5.0.0", "rxjs": "7.8.1", "sass": "1.77.6", - "sass-loader": "14.2.1", - "semver": "7.6.2", + "sass-loader": "16.0.0", + "semver": "7.6.3", "source-map-loader": "5.0.0", "source-map-support": "0.5.21", - "terser": "5.29.2", + "terser": "5.31.6", "tree-kill": "1.2.2", "tslib": "2.6.3", - "undici": "6.19.2", - "vite": "5.3.2", + "vite": "5.4.0", "watchpack": "2.4.1", - "webpack": "5.92.1", - "webpack-dev-middleware": "7.2.1", + "webpack": "5.94.0", + "webpack-dev-middleware": "7.4.2", "webpack-dev-server": "5.0.4", - "webpack-merge": "5.10.0", + "webpack-merge": "6.0.1", "webpack-subresource-integrity": "5.1.0" }, "engines": { @@ -177,7 +176,7 @@ "yarn": ">= 1.13.0" }, "optionalDependencies": { - "esbuild": "0.21.5" + "esbuild": "0.23.0" }, "peerDependencies": { "@angular/compiler-cli": "^18.0.0", @@ -230,13 +229,19 @@ } } }, + "node_modules/@angular-devkit/build-angular/node_modules/tslib": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", + "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==", + "license": "0BSD" + }, "node_modules/@angular-devkit/build-webpack": { - "version": "0.1801.4", - "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1801.4.tgz", - "integrity": "sha512-Srhs/PcnuUaMiO9FLQLi1QiGZqtnG5NTpkufjJuWxolSLGNRmb/h/ZeCYgRnxeH/4jd8GCD31RD78qy+pviiLQ==", + "version": "0.1802.4", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-webpack/-/build-webpack-0.1802.4.tgz", + "integrity": "sha512-juaDoguYccObm2xnzRDRlOtiL7ZyZcSAyiyls6QuO8hoo/h6phdHALJkUhI9+SIhCRQ6eUQtolC7hN3J+FZKnA==", "license": "MIT", "dependencies": { - "@angular-devkit/architect": "0.1801.4", + "@angular-devkit/architect": "0.1802.4", "rxjs": "7.8.1" }, "engines": { @@ -250,12 +255,12 @@ } }, "node_modules/@angular-devkit/core": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.1.4.tgz", - "integrity": "sha512-lKBsvbqW2QFL8terzNuSDSmKBo8//QNRO4qU5mVJ1fFf4xBJanXKoiAMuADhx+/owVIptnYT59IZ8jUAna+Srg==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-18.2.4.tgz", + "integrity": "sha512-svlgZ0vbLrfNJAQE5WePAutcYIyA7C0OfzKSTMsfV2X1I+1blYDaZIu/ocnHqofMHu6ZqdSaaU/p/rieqU8fcA==", "license": "MIT", "dependencies": { - "ajv": "8.16.0", + "ajv": "8.17.1", "ajv-formats": "3.0.1", "jsonc-parser": "3.3.1", "picomatch": "4.0.2", @@ -277,14 +282,14 @@ } }, "node_modules/@angular-devkit/schematics": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-18.1.4.tgz", - "integrity": "sha512-0ekArCeYqJngCKWZ9I+RtNObP/33zGkzWdJOmCB6nj9/ZevALZ6F4RDkHp0TqDYhOt+A2muI29ZK/cILmKA+sA==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-18.2.4.tgz", + "integrity": "sha512-s2WdUhyLlKj5kOjb6vrvJg9/31KvgyRJGjy7PnzS43tpwF9MLuM3AYhuJsXHPhx+i0nyWn/Jnd8ZLjMzXljSxg==", "license": "MIT", "dependencies": { - "@angular-devkit/core": "18.1.4", + "@angular-devkit/core": "18.2.4", "jsonc-parser": "3.3.1", - "magic-string": "0.30.10", + "magic-string": "0.30.11", "ora": "5.4.1", "rxjs": "7.8.1" }, @@ -295,21 +300,21 @@ } }, "node_modules/@angular-eslint/bundled-angular-compiler": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-18.2.0.tgz", - "integrity": "sha512-p/YvlvDJscSAbNOOAbT/BRdscEfWpQunUK+KuWM6/PXL07tTVae5dmp8B8A5am7Cxvp+ZVLVLZG4LFYB1TX1cw==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/bundled-angular-compiler/-/bundled-angular-compiler-18.3.1.tgz", + "integrity": "sha512-sikmkjfsXPpPTku1aQkQ1MNNEKGBgGGRvUN/WeNS9dhCJ4dxU3O7dZctt1aQWj+W3nbuUtDiimAWF5fZHGFE2Q==", "dev": true, "license": "MIT" }, "node_modules/@angular-eslint/eslint-plugin": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin/-/eslint-plugin-18.2.0.tgz", - "integrity": "sha512-vJ7pstQPqCqkvMrEsjjocvHdPBl/frs0+fqkckog2Sq0QisBEjUPkbImvId6dw7JzxSDSvttdAklakF97CE4VA==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin/-/eslint-plugin-18.3.1.tgz", + "integrity": "sha512-MP4Nm+SHboF8KdnN0KpPEGAaTTzDLPm3+S/4W3Mg8onqWCyadyd4mActh9mK/pvCj8TVlb/SW1zeTtdMYhwonw==", "dev": true, "license": "MIT", "dependencies": { - "@angular-eslint/bundled-angular-compiler": "18.2.0", - "@angular-eslint/utils": "18.2.0" + "@angular-eslint/bundled-angular-compiler": "18.3.1", + "@angular-eslint/utils": "18.3.1" }, "peerDependencies": { "@typescript-eslint/utils": "^7.11.0 || ^8.0.0", @@ -318,14 +323,14 @@ } }, "node_modules/@angular-eslint/eslint-plugin-template": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin-template/-/eslint-plugin-template-18.2.0.tgz", - "integrity": "sha512-YHh+AUY9ubLAdmIRXH8vSpv+8EQkGjdX3B9xdj/grnrVzgzu+5W86F/spGp2tEny9l85R3JZNqjaMpW/vwibfw==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/eslint-plugin-template/-/eslint-plugin-template-18.3.1.tgz", + "integrity": "sha512-hBJ3+f7VSidvrtYaXH7Vp0sWvblA9jLK2c6uQzhYGWdEDUcTg7g7VI9ThW39WvMbHqkyzNE4PPOynK69cBEDGg==", "dev": true, "license": "MIT", "dependencies": { - "@angular-eslint/bundled-angular-compiler": "18.2.0", - "@angular-eslint/utils": "18.2.0", + "@angular-eslint/bundled-angular-compiler": "18.3.1", + "@angular-eslint/utils": "18.3.1", "aria-query": "5.3.0", "axobject-query": "4.1.0" }, @@ -336,13 +341,13 @@ } }, "node_modules/@angular-eslint/template-parser": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/@angular-eslint/template-parser/-/template-parser-18.2.0.tgz", - "integrity": "sha512-1jKH2fL8ir1ajcgu/N0xIWVtlpJQmbJBRRe1+WbBoomykcu1KnLwCSue/LuUDQOf3CTmMHxQE0f+58VpafYoyA==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/template-parser/-/template-parser-18.3.1.tgz", + "integrity": "sha512-JUUkfWH1G+u/Uk85ZYvJSt/qwN/Ko+jlXFtzBEcknJZsTWTwBcp36v77gPZe5FmKSziJZpyPUd+7Kiy6tuSCTw==", "dev": true, "license": "MIT", "dependencies": { - "@angular-eslint/bundled-angular-compiler": "18.2.0", + "@angular-eslint/bundled-angular-compiler": "18.3.1", "eslint-scope": "^8.0.2" }, "peerDependencies": { @@ -351,13 +356,13 @@ } }, "node_modules/@angular-eslint/utils": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/@angular-eslint/utils/-/utils-18.2.0.tgz", - "integrity": "sha512-g+b0L4RCZaKYPz4bGRRifo7g5guVJi2kUWymlDYmCkq3NhZng1HQQbNpVF1n5o034zT5lnaC5HENwaKIZ1Y37Q==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/@angular-eslint/utils/-/utils-18.3.1.tgz", + "integrity": "sha512-sd9niZI7h9H2FQ7OLiQsLFBhjhRQTASh+Q0+4+hyjv9idbSHBJli8Gsi2fqj9zhtMKpAZFTrWzuLUpubJ9UYbA==", "dev": true, "license": "MIT", "dependencies": { - "@angular-eslint/bundled-angular-compiler": "18.2.0" + "@angular-eslint/bundled-angular-compiler": "18.3.1" }, "peerDependencies": { "@typescript-eslint/utils": "^7.11.0 || ^8.0.0", @@ -366,9 +371,9 @@ } }, "node_modules/@angular/animations": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-18.1.4.tgz", - "integrity": "sha512-m0yusB7BI3wrotx9F9rf7YUD5bvhF+lT2fLNF1QCzCU819rtLnDoj0b4/z+D0i5qe7gQjtAJ42e/Hv7eGuq0VQ==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-18.2.4.tgz", + "integrity": "sha512-ajjXpLD+SyxbHnmhj2ZvYpXneviOjcBgU9L2UX4OVS0jVWxCNHLhJrcMqtqFHA6U5fPnhPNR9cmnt6tmqri0rA==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -377,41 +382,39 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/core": "18.1.4" + "@angular/core": "18.2.4" } }, "node_modules/@angular/build": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@angular/build/-/build-18.1.4.tgz", - "integrity": "sha512-jkqccHpGhxUOe0zIHpA1nPdeuPUxnBK7Wvazc2rA+ccI30BPrROkEDbrHP8yD8JeviUCFwwLE+hM+rRg+NneVw==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@angular/build/-/build-18.2.4.tgz", + "integrity": "sha512-GVs7O7wxNMJCkqh6Vv2u9GEArWg9jyEt8Fofd6CJGzxKBYQ4hR5gjzL/lU6kNFiMcioS1wm1f6qtJtgilUO+9A==", "license": "MIT", "dependencies": { "@ampproject/remapping": "2.3.0", - "@angular-devkit/architect": "0.1801.4", - "@babel/core": "7.24.7", + "@angular-devkit/architect": "0.1802.4", + "@babel/core": "7.25.2", "@babel/helper-annotate-as-pure": "7.24.7", "@babel/helper-split-export-declaration": "7.24.7", "@babel/plugin-syntax-import-attributes": "7.24.7", - "@inquirer/confirm": "3.1.11", + "@inquirer/confirm": "3.1.22", "@vitejs/plugin-basic-ssl": "1.1.0", - "ansi-colors": "4.1.3", "browserslist": "^4.23.0", "critters": "0.0.24", - "esbuild": "0.21.5", + "esbuild": "0.23.0", "fast-glob": "3.3.2", "https-proxy-agent": "7.0.5", - "lmdb": "3.0.12", - "magic-string": "0.30.10", + "listr2": "8.2.4", + "lmdb": "3.0.13", + "magic-string": "0.30.11", "mrmime": "2.0.0", - "ora": "5.4.1", "parse5-html-rewriting-stream": "7.0.0", "picomatch": "4.0.2", "piscina": "4.6.1", - "rollup": "4.18.0", + "rollup": "4.20.0", "sass": "1.77.6", - "semver": "7.6.2", - "undici": "6.19.2", - "vite": "5.3.2", + "semver": "7.6.3", + "vite": "5.4.0", "watchpack": "2.4.1" }, "engines": { @@ -451,27 +454,27 @@ } }, "node_modules/@angular/cli": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-18.1.4.tgz", - "integrity": "sha512-ppX4iilA6k+sKD6iRMRYnt2bH9Jpik+hJlndRBCjWo2EmEUQ04CBRKYONh8BLbnmwBxPG+/osUpcFrbkPCjQUw==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-18.2.4.tgz", + "integrity": "sha512-n+Y2xlgcpTZ+MZmycf2b3ceVvANDJFkDEodobVtyG63WvGOhkZ3aGhT7sHguKpAQwJLicSf8zF2z+v1Yi0DvRw==", "dev": true, "license": "MIT", "dependencies": { - "@angular-devkit/architect": "0.1801.4", - "@angular-devkit/core": "18.1.4", - "@angular-devkit/schematics": "18.1.4", - "@inquirer/prompts": "5.0.7", - "@listr2/prompt-adapter-inquirer": "2.0.13", - "@schematics/angular": "18.1.4", + "@angular-devkit/architect": "0.1802.4", + "@angular-devkit/core": "18.2.4", + "@angular-devkit/schematics": "18.2.4", + "@inquirer/prompts": "5.3.8", + "@listr2/prompt-adapter-inquirer": "2.0.15", + "@schematics/angular": "18.2.4", "@yarnpkg/lockfile": "1.1.0", "ini": "4.1.3", "jsonc-parser": "3.3.1", - "listr2": "8.2.3", - "npm-package-arg": "11.0.2", - "npm-pick-manifest": "9.0.1", + "listr2": "8.2.4", + "npm-package-arg": "11.0.3", + "npm-pick-manifest": "9.1.0", "pacote": "18.0.6", "resolve": "1.22.8", - "semver": "7.6.2", + "semver": "7.6.3", "symbol-observable": "4.0.0", "yargs": "17.7.2" }, @@ -485,9 +488,9 @@ } }, "node_modules/@angular/common": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@angular/common/-/common-18.1.4.tgz", - "integrity": "sha512-No4lCrL80WlAGg0DAyuPW+jsfA6EIQ06CFrRgt3R6YFrKbIuU0NKUt+D8IB7UNgTLNYXmurxapNf8jef8rq1wg==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@angular/common/-/common-18.2.4.tgz", + "integrity": "sha512-flUaKhdr8KvtjH0cLC6Rrjirt8GsiFlrmZLZplr784O3Gkei2VBBNFoopgmlEzbVGPiIG5QlFZH9yvah6JPQZw==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -496,14 +499,14 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/core": "18.1.4", + "@angular/core": "18.2.4", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/compiler": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-18.1.4.tgz", - "integrity": "sha512-Xdvm9trEmrWZaxCk3a7bt5kN/jdXBPukVsibFpu5lKl9ZL7j2sn4JUd7j/dVNRUIVsPahQMATAOgl8xdUJzh4Q==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@angular/compiler/-/compiler-18.2.4.tgz", + "integrity": "sha512-o3ngFr1Bjt7cKOu4DSZJGCUF9YPTxJee97wFon2eNFj6FFNTmnGwAvsnJjHBMmk90fmZLC2/HpPdhYz7WprMZQ==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -512,7 +515,7 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/core": "18.1.4" + "@angular/core": "18.2.4" }, "peerDependenciesMeta": { "@angular/core": { @@ -521,12 +524,12 @@ } }, "node_modules/@angular/compiler-cli": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-18.1.4.tgz", - "integrity": "sha512-wOOLzxPLsDYsD+f6Bqr31ol8K7I4cm4k5uuaQl+wkLBpX9AD1rMi/7CPJrXAWBdgOW67uPzAdLBsK+axKfg91w==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@angular/compiler-cli/-/compiler-cli-18.2.4.tgz", + "integrity": "sha512-BIp5zr+npqSs/4KWPxwKdn7+sjo008ieNOQDlXyQms9BKlxx/gDnj7W2TsxhrkDTYCIHF73fJZ7u2U8Qy4JWfw==", "license": "MIT", "dependencies": { - "@babel/core": "7.24.9", + "@babel/core": "7.25.2", "@jridgewell/sourcemap-codec": "^1.4.14", "chokidar": "^3.0.0", "convert-source-map": "^1.5.1", @@ -544,74 +547,14 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/compiler": "18.1.4", + "@angular/compiler": "18.2.4", "typescript": ">=5.4 <5.6" } }, - "node_modules/@angular/compiler-cli/node_modules/@babel/core": { - "version": "7.24.9", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.9.tgz", - "integrity": "sha512-5e3FI4Q3M3Pbr21+5xJwCv6ZT6KmGkI0vw3Tozy5ODAQFTIWe37iT8Cr7Ice2Ntb+M3iSKCEWMB1MBgKrW3whg==", - "license": "MIT", - "dependencies": { - "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.24.9", - "@babel/helper-compilation-targets": "^7.24.8", - "@babel/helper-module-transforms": "^7.24.9", - "@babel/helpers": "^7.24.8", - "@babel/parser": "^7.24.8", - "@babel/template": "^7.24.7", - "@babel/traverse": "^7.24.8", - "@babel/types": "^7.24.9", - "convert-source-map": "^2.0.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.3", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@angular/compiler-cli/node_modules/@babel/core/node_modules/convert-source-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "license": "MIT" - }, - "node_modules/@angular/compiler-cli/node_modules/@babel/core/node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@angular/compiler-cli/node_modules/@babel/generator": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.0.tgz", - "integrity": "sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.25.0", - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.25", - "jsesc": "^2.5.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@angular/core": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@angular/core/-/core-18.1.4.tgz", - "integrity": "sha512-+N3oWYFubT3GdCkBfD/CmH4DGjr/fGFQZChWbph2ZuPpK7JYNgfyvXS4SjLtdL4WTjjBevBTgR70GyLH/5EbKA==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@angular/core/-/core-18.2.4.tgz", + "integrity": "sha512-ulYmYpI/ZVQ5BL38rBy4DS/9wgGWmVD9Uo6tcrLqCzt1G1G2nKwseZv009536pHfk6dj2HdPSkpcerhWh57DWw==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -621,13 +564,13 @@ }, "peerDependencies": { "rxjs": "^6.5.3 || ^7.4.0", - "zone.js": "~0.14.0" + "zone.js": "~0.14.10" } }, "node_modules/@angular/forms": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-18.1.4.tgz", - "integrity": "sha512-PYaQ7/2toAwgJWIznVWgJAd3l8mjAreilGOVIMbBIaotL/EHRQjhlikitJEFDGXeVUarY/rm3IlLWBYnLyliyg==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-18.2.4.tgz", + "integrity": "sha512-rlLhReauUz6jhLCEkGabLqqF6xLaTfvxafuj2ojzcqoKGSZcXDIM/UOSoWX756B8NtrpsuglpGBZjZlsrAZGsg==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -636,16 +579,16 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/common": "18.1.4", - "@angular/core": "18.1.4", - "@angular/platform-browser": "18.1.4", + "@angular/common": "18.2.4", + "@angular/core": "18.2.4", + "@angular/platform-browser": "18.2.4", "rxjs": "^6.5.3 || ^7.4.0" } }, "node_modules/@angular/language-service": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-18.1.4.tgz", - "integrity": "sha512-nvO6lG/vMWRXUj+nY2HyvhOSlSYqBx1ER2rk5MezzYo3I0qgiNuV9YfgTyXLWywDAvc9jcTrIyi4nxBm6a0xvQ==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@angular/language-service/-/language-service-18.2.4.tgz", + "integrity": "sha512-Keg6n8u8xHLhRDTmx4hUqh1AtVFUt8hDxPMYSUu64czjOT5Dnh8XsgKagu563NEjxbDaCzttPuO+y3DlcaDZoQ==", "dev": true, "license": "MIT", "engines": { @@ -653,9 +596,9 @@ } }, "node_modules/@angular/platform-browser": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-18.1.4.tgz", - "integrity": "sha512-zGx33St0JVYT8EZOaf0s8Twr0RgfU2cqEAc9Wwx9HVJ0pF5y4VnftK3pewwiHWDHkPfiJy0jBKbtrkVUSbgZfg==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-18.2.4.tgz", + "integrity": "sha512-ddzq5MyPvFyTv0kUe8U9fbhE1nZtLYBCFKDqICrzHXiVRAdqLv6qtE5PtbURrdspSy1u/YEGV4LdkNJK3UgnZQ==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -664,9 +607,9 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/animations": "18.1.4", - "@angular/common": "18.1.4", - "@angular/core": "18.1.4" + "@angular/animations": "18.2.4", + "@angular/common": "18.2.4", + "@angular/core": "18.2.4" }, "peerDependenciesMeta": { "@angular/animations": { @@ -675,9 +618,9 @@ } }, "node_modules/@angular/platform-browser-dynamic": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.1.4.tgz", - "integrity": "sha512-ZQQcKXGIriOzILTZxIbmDpGnwuiwfJ0xh2EmmnfC0zh/NB+li6whgplOLEciaHgsUKtDn7kNZFn2vKrx+B/cDQ==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-18.2.4.tgz", + "integrity": "sha512-0nA04zJueGzdnl37TJ7guDCrzxYS4fjqgvYKiOpFktpMHPuNrBlAQo5YA7u20HGFG3i47PQh7hEWhQaqcXXpQw==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -686,16 +629,16 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/common": "18.1.4", - "@angular/compiler": "18.1.4", - "@angular/core": "18.1.4", - "@angular/platform-browser": "18.1.4" + "@angular/common": "18.2.4", + "@angular/compiler": "18.2.4", + "@angular/core": "18.2.4", + "@angular/platform-browser": "18.2.4" } }, "node_modules/@angular/router": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@angular/router/-/router-18.1.4.tgz", - "integrity": "sha512-982+bnO3uGFYjRFcQDoKmnWvUcZUvFxEpX/I2Yu+WmPJrY7fPJ693mBaWgwVFa0xIBNfjvJjNXdikGBz5UrMsw==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@angular/router/-/router-18.2.4.tgz", + "integrity": "sha512-kYNHD3K1Xou2PRMqbG2tVahtMobgDlhwHdMB7G5oFHg6K13gQ2TmopF1U5A2wYtIMdsC+AkVGIJEOxQN8fmgcA==", "license": "MIT", "dependencies": { "tslib": "^2.3.0" @@ -704,9 +647,9 @@ "node": "^18.19.1 || ^20.11.1 || >=22.0.0" }, "peerDependencies": { - "@angular/common": "18.1.4", - "@angular/core": "18.1.4", - "@angular/platform-browser": "18.1.4", + "@angular/common": "18.2.4", + "@angular/core": "18.2.4", + "@angular/platform-browser": "18.2.4", "rxjs": "^6.5.3 || ^7.4.0" } }, @@ -724,30 +667,30 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.25.2", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.2.tgz", - "integrity": "sha512-bYcppcpKBvX4znYaPEeFau03bp89ShqNMLs+rmdptMw+heSZh9+z84d2YG+K7cYLbWwzdjtDoW/uqZmPjulClQ==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.4.tgz", + "integrity": "sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.7.tgz", - "integrity": "sha512-nykK+LEK86ahTkX/3TgauT0ikKoNCfKHEaZYTUVupJdTLzGNvrblu4u6fa7DhZONAltdf8e662t/abY8idrd/g==", + "version": "7.25.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.2.tgz", + "integrity": "sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==", "license": "MIT", "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.24.7", - "@babel/helper-compilation-targets": "^7.24.7", - "@babel/helper-module-transforms": "^7.24.7", - "@babel/helpers": "^7.24.7", - "@babel/parser": "^7.24.7", - "@babel/template": "^7.24.7", - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7", + "@babel/generator": "^7.25.0", + "@babel/helper-compilation-targets": "^7.25.2", + "@babel/helper-module-transforms": "^7.25.2", + "@babel/helpers": "^7.25.0", + "@babel/parser": "^7.25.0", + "@babel/template": "^7.25.0", + "@babel/traverse": "^7.25.2", + "@babel/types": "^7.25.2", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -778,12 +721,12 @@ } }, "node_modules/@babel/generator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.7.tgz", - "integrity": "sha512-oipXieGC3i45Y1A41t4tAqpnEZWgB/lC6Ehh6+rOviR5XWpTtMmLN+fGjz9vOiNRt0p6RtO6DtD0pdU3vpqdSA==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.0.tgz", + "integrity": "sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==", "license": "MIT", "dependencies": { - "@babel/types": "^7.24.7", + "@babel/types": "^7.25.0", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" @@ -843,9 +786,9 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.25.0.tgz", - "integrity": "sha512-GYM6BxeQsETc9mnct+nIIpf63SAyzvyYN7UB/IlTyd+MBg06afFGp0mIeUqGyWgS2mxad6vqbMrHVlaL3m70sQ==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.25.4.tgz", + "integrity": "sha512-ro/bFs3/84MDgDmMwbcHgDa8/E6J3QKNTk4xJJnVeFtGE+tL0K26E3pNxhYz2b67fJpt7Aphw5XcploKXuCvCQ==", "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.24.7", @@ -853,7 +796,7 @@ "@babel/helper-optimise-call-expression": "^7.24.7", "@babel/helper-replace-supers": "^7.25.0", "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7", - "@babel/traverse": "^7.25.0", + "@babel/traverse": "^7.25.4", "semver": "^6.3.1" }, "engines": { @@ -914,18 +857,6 @@ "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" } }, - "node_modules/@babel/helper-environment-visitor": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.7.tgz", - "integrity": "sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ==", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-member-expression-to-functions": { "version": "7.24.8", "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.24.8.tgz", @@ -1105,13 +1036,13 @@ } }, "node_modules/@babel/helpers": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.0.tgz", - "integrity": "sha512-MjgLZ42aCm0oGjJj8CtSM3DB8NOOf8h2l7DCTePJs29u+v7yO/RBX9nShlKMgFnRks/Q4tBAe7Hxnov9VkGwLw==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.6.tgz", + "integrity": "sha512-Xg0tn4HcfTijTwfDwYlvVCl43V6h4KyVVX2aEm4qdO/PC6L2YvzLHFdmxhoeSA3eslcE6+ZVXHgWwopXYLNq4Q==", "license": "MIT", "dependencies": { "@babel/template": "^7.25.0", - "@babel/types": "^7.25.0" + "@babel/types": "^7.25.6" }, "engines": { "node": ">=6.9.0" @@ -1133,12 +1064,12 @@ } }, "node_modules/@babel/parser": { - "version": "7.25.3", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.3.tgz", - "integrity": "sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.6.tgz", + "integrity": "sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==", "license": "MIT", "dependencies": { - "@babel/types": "^7.25.2" + "@babel/types": "^7.25.6" }, "bin": { "parser": "bin/babel-parser.js" @@ -1163,6 +1094,21 @@ "@babel/core": "^7.0.0" } }, + "node_modules/@babel/plugin-bugfix-safari-class-field-initializer-scope": { + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.25.0.tgz", + "integrity": "sha512-Bm4bH2qsX880b/3ziJ8KD711LT7z4u8CFudmjqle65AZj/HNUFhEf90dqYv6O86buWvSBmeQDjv0Tn2aF/bIBA==", + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.24.8" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { "version": "7.25.0", "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.25.0.tgz", @@ -1332,12 +1278,12 @@ } }, "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.24.7.tgz", - "integrity": "sha512-Ec3NRUMoi8gskrkBe3fNmEQfxDvY8bgfQpz6jlk/41kX9eUjvpyqWU7PBP/pLAvMaSQjbMNKJmvX57jP+M6bPg==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.25.6.tgz", + "integrity": "sha512-aABl0jHw9bZ2karQ/uUD6XP4u0SG22SJrOHFoL6XB1R7dTovOP4TzTlsxOYC5yQ1pdscVK2JTUnF6QL3ARoAiQ==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1503,12 +1449,12 @@ } }, "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.7.tgz", - "integrity": "sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.4.tgz", + "integrity": "sha512-uMOCoHVU52BsSWxPOMVv5qKRdeSlPuImUCB2dlPuBSU+W2/ROE7/Zg8F2Kepbk+8yBa68LlRKxO+xgEVWorsDg==", "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1549,15 +1495,15 @@ } }, "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.24.7.tgz", - "integrity": "sha512-o+iF77e3u7ZS4AoAuJvapz9Fm001PuD2V3Lp6OSE4FYQke+cSewYtnek+THqGRWyQloRCyvWL1OkyfNEl9vr/g==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.25.0.tgz", + "integrity": "sha512-uaIi2FdqzjpAMvVqvB51S42oC2JEVgh0LDsGfZVDysWE8LrJtQC2jvKmOqEYThKyB7bDEb7BP1GYWDm7tABA0Q==", "license": "MIT", "dependencies": { - "@babel/helper-environment-visitor": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-remap-async-to-generator": "^7.24.7", - "@babel/plugin-syntax-async-generators": "^7.8.4" + "@babel/helper-plugin-utils": "^7.24.8", + "@babel/helper-remap-async-to-generator": "^7.25.0", + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/traverse": "^7.25.0" }, "engines": { "node": ">=6.9.0" @@ -1614,13 +1560,13 @@ } }, "node_modules/@babel/plugin-transform-class-properties": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.24.7.tgz", - "integrity": "sha512-vKbfawVYayKcSeSR5YYzzyXvsDFWU2mD8U5TFeXtbCPLFUqe7GyCgvO6XDHzje862ODrOwy6WCPmKeWHbCFJ4w==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.25.4.tgz", + "integrity": "sha512-nZeZHyCWPfjkdU5pA/uHiTaDAFUEqkpzf1YoQT2NeSynCGYq9rxfyI3XpQbfx/a0hSnFH6TGlEXvae5Vi7GD8g==", "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-class-features-plugin": "^7.25.4", + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1647,16 +1593,16 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.25.0.tgz", - "integrity": "sha512-xyi6qjr/fYU304fiRwFbekzkqVJZ6A7hOjWZd+89FVcBqPV3S9Wuozz82xdpLspckeaafntbzglaW4pqpzvtSw==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.25.4.tgz", + "integrity": "sha512-oexUfaQle2pF/b6E0dwsxQtAol9TLSO88kQvym6HHBWFliV2lGdrPieX+WgMRLSJDVzdYywk7jXbLPuO2KLTLg==", "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.24.7", - "@babel/helper-compilation-targets": "^7.24.8", + "@babel/helper-compilation-targets": "^7.25.2", "@babel/helper-plugin-utils": "^7.24.8", "@babel/helper-replace-supers": "^7.25.0", - "@babel/traverse": "^7.25.0", + "@babel/traverse": "^7.25.4", "globals": "^11.1.0" }, "engines": { @@ -1728,6 +1674,22 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex": { + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.25.0.tgz", + "integrity": "sha512-YLpb4LlYSc3sCUa35un84poXoraOiQucUTTu8X1j18JV+gNa8E0nyUf/CjZ171IRGr4jEguF+vzJU66QZhn29g==", + "license": "MIT", + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.25.0", + "@babel/helper-plugin-utils": "^7.24.8" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, "node_modules/@babel/plugin-transform-dynamic-import": { "version": "7.24.7", "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.24.7.tgz", @@ -2084,13 +2046,13 @@ } }, "node_modules/@babel/plugin-transform-private-methods": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.24.7.tgz", - "integrity": "sha512-COTCOkG2hn4JKGEKBADkA8WNb35TGkkRbI5iT845dB+NyqgO8Hn+ajPbSnIQznneJTa3d30scb6iz/DhH8GsJQ==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.25.4.tgz", + "integrity": "sha512-ao8BG7E2b/URaUQGqN3Tlsg+M3KlHY6rJ1O1gXAEUnZoyNQnvKyH87Kfg+FoxSeyWUB8ISZZsC91C44ZuBFytw==", "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-class-features-plugin": "^7.25.4", + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -2335,13 +2297,13 @@ } }, "node_modules/@babel/plugin-transform-unicode-sets-regex": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.24.7.tgz", - "integrity": "sha512-2G8aAvF4wy1w/AGZkemprdGMRg5o6zPNhbHVImRz3lss55TYCBd6xStN19rt8XJHq20sqV0JbyWjOWwQRwV/wg==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.25.4.tgz", + "integrity": "sha512-qesBxiWkgN1Q+31xUE9RcMk79eOXXDCv6tfyGMRSs4RGlioSg2WVyQAm07k726cSE56pa+Kb0y9epX2qaXzTvA==", "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-regexp-features-plugin": "^7.25.2", + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -2351,19 +2313,20 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.24.7.tgz", - "integrity": "sha512-1YZNsc+y6cTvWlDHidMBsQZrZfEFjRIo/BZCT906PMdzOyXtSLTgqGdrpcuTDCXyd11Am5uQULtDIcCfnTc8fQ==", + "version": "7.25.3", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.25.3.tgz", + "integrity": "sha512-QsYW7UeAaXvLPX9tdVliMJE7MD7M6MLYVTovRTIwhoYQVFHR1rM4wO8wqAezYi3/BpSD+NzVCZ69R6smWiIi8g==", "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.24.7", - "@babel/helper-compilation-targets": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-validator-option": "^7.24.7", - "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.24.7", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.24.7", + "@babel/compat-data": "^7.25.2", + "@babel/helper-compilation-targets": "^7.25.2", + "@babel/helper-plugin-utils": "^7.24.8", + "@babel/helper-validator-option": "^7.24.8", + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.25.3", + "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.25.0", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.25.0", "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.24.7", - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.24.7", + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.25.0", "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-class-properties": "^7.12.13", @@ -2384,29 +2347,30 @@ "@babel/plugin-syntax-top-level-await": "^7.14.5", "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", "@babel/plugin-transform-arrow-functions": "^7.24.7", - "@babel/plugin-transform-async-generator-functions": "^7.24.7", + "@babel/plugin-transform-async-generator-functions": "^7.25.0", "@babel/plugin-transform-async-to-generator": "^7.24.7", "@babel/plugin-transform-block-scoped-functions": "^7.24.7", - "@babel/plugin-transform-block-scoping": "^7.24.7", + "@babel/plugin-transform-block-scoping": "^7.25.0", "@babel/plugin-transform-class-properties": "^7.24.7", "@babel/plugin-transform-class-static-block": "^7.24.7", - "@babel/plugin-transform-classes": "^7.24.7", + "@babel/plugin-transform-classes": "^7.25.0", "@babel/plugin-transform-computed-properties": "^7.24.7", - "@babel/plugin-transform-destructuring": "^7.24.7", + "@babel/plugin-transform-destructuring": "^7.24.8", "@babel/plugin-transform-dotall-regex": "^7.24.7", "@babel/plugin-transform-duplicate-keys": "^7.24.7", + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.25.0", "@babel/plugin-transform-dynamic-import": "^7.24.7", "@babel/plugin-transform-exponentiation-operator": "^7.24.7", "@babel/plugin-transform-export-namespace-from": "^7.24.7", "@babel/plugin-transform-for-of": "^7.24.7", - "@babel/plugin-transform-function-name": "^7.24.7", + "@babel/plugin-transform-function-name": "^7.25.1", "@babel/plugin-transform-json-strings": "^7.24.7", - "@babel/plugin-transform-literals": "^7.24.7", + "@babel/plugin-transform-literals": "^7.25.2", "@babel/plugin-transform-logical-assignment-operators": "^7.24.7", "@babel/plugin-transform-member-expression-literals": "^7.24.7", "@babel/plugin-transform-modules-amd": "^7.24.7", - "@babel/plugin-transform-modules-commonjs": "^7.24.7", - "@babel/plugin-transform-modules-systemjs": "^7.24.7", + "@babel/plugin-transform-modules-commonjs": "^7.24.8", + "@babel/plugin-transform-modules-systemjs": "^7.25.0", "@babel/plugin-transform-modules-umd": "^7.24.7", "@babel/plugin-transform-named-capturing-groups-regex": "^7.24.7", "@babel/plugin-transform-new-target": "^7.24.7", @@ -2415,7 +2379,7 @@ "@babel/plugin-transform-object-rest-spread": "^7.24.7", "@babel/plugin-transform-object-super": "^7.24.7", "@babel/plugin-transform-optional-catch-binding": "^7.24.7", - "@babel/plugin-transform-optional-chaining": "^7.24.7", + "@babel/plugin-transform-optional-chaining": "^7.24.8", "@babel/plugin-transform-parameters": "^7.24.7", "@babel/plugin-transform-private-methods": "^7.24.7", "@babel/plugin-transform-private-property-in-object": "^7.24.7", @@ -2426,7 +2390,7 @@ "@babel/plugin-transform-spread": "^7.24.7", "@babel/plugin-transform-sticky-regex": "^7.24.7", "@babel/plugin-transform-template-literals": "^7.24.7", - "@babel/plugin-transform-typeof-symbol": "^7.24.7", + "@babel/plugin-transform-typeof-symbol": "^7.24.8", "@babel/plugin-transform-unicode-escapes": "^7.24.7", "@babel/plugin-transform-unicode-property-regex": "^7.24.7", "@babel/plugin-transform-unicode-regex": "^7.24.7", @@ -2435,7 +2399,7 @@ "babel-plugin-polyfill-corejs2": "^0.4.10", "babel-plugin-polyfill-corejs3": "^0.10.4", "babel-plugin-polyfill-regenerator": "^0.6.1", - "core-js-compat": "^3.31.0", + "core-js-compat": "^3.37.1", "semver": "^6.3.1" }, "engines": { @@ -2494,9 +2458,9 @@ "license": "MIT" }, "node_modules/@babel/runtime": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.7.tgz", - "integrity": "sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw==", + "version": "7.25.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.0.tgz", + "integrity": "sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==", "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" @@ -2520,16 +2484,16 @@ } }, "node_modules/@babel/traverse": { - "version": "7.25.3", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.3.tgz", - "integrity": "sha512-HefgyP1x754oGCsKmV5reSmtV7IXj/kpaE1XYY+D9G5PvKKoFfSbiS4M77MdjuwlZKDIKFCffq9rPU+H/s3ZdQ==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.6.tgz", + "integrity": "sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ==", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.25.0", - "@babel/parser": "^7.25.3", + "@babel/generator": "^7.25.6", + "@babel/parser": "^7.25.6", "@babel/template": "^7.25.0", - "@babel/types": "^7.25.2", + "@babel/types": "^7.25.6", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -2538,12 +2502,12 @@ } }, "node_modules/@babel/traverse/node_modules/@babel/generator": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.0.tgz", - "integrity": "sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.6.tgz", + "integrity": "sha512-VPC82gr1seXOpkjAAKoLhP50vx4vGNlF4msF64dSFq1P8RfB+QAuJWGHPXXPc8QyfVWwwB/TNNU4+ayZmHNbZw==", "license": "MIT", "dependencies": { - "@babel/types": "^7.25.0", + "@babel/types": "^7.25.6", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" @@ -2553,9 +2517,9 @@ } }, "node_modules/@babel/types": { - "version": "7.25.2", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.2.tgz", - "integrity": "sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.6.tgz", + "integrity": "sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==", "license": "MIT", "dependencies": { "@babel/helper-string-parser": "^7.24.8", @@ -2596,12 +2560,12 @@ } }, "node_modules/@discoveryjs/json-ext": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz", - "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.6.1.tgz", + "integrity": "sha512-boghen8F0Q8D+0/Q1/1r6DUEieUJ8w2a1gIknExMSHBsJFOr2+0KUfHiVYBvucPwl3+RU5PFBK833FjFCh3BhA==", "license": "MIT", "engines": { - "node": ">=10.0.0" + "node": ">=14.17.0" } }, "node_modules/@emnapi/core": { @@ -2633,9 +2597,9 @@ } }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", - "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.23.0.tgz", + "integrity": "sha512-3sG8Zwa5fMcA9bgqB8AfWPQ+HFke6uD3h1s3RIwUNK8EG7a4buxvuFTs3j1IMs2NXAk9F30C/FF4vxRgQCcmoQ==", "cpu": [ "ppc64" ], @@ -2645,13 +2609,13 @@ "aix" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/android-arm": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", - "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.23.0.tgz", + "integrity": "sha512-+KuOHTKKyIKgEEqKbGTK8W7mPp+hKinbMBeEnNzjJGyFcWsfrXjSTNluJHCY1RqhxFurdD8uNXQDei7qDlR6+g==", "cpu": [ "arm" ], @@ -2661,13 +2625,13 @@ "android" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/android-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", - "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.23.0.tgz", + "integrity": "sha512-EuHFUYkAVfU4qBdyivULuu03FhJO4IJN9PGuABGrFy4vUuzk91P2d+npxHcFdpUnfYKy0PuV+n6bKIpHOB3prQ==", "cpu": [ "arm64" ], @@ -2677,13 +2641,13 @@ "android" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/android-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", - "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.23.0.tgz", + "integrity": "sha512-WRrmKidLoKDl56LsbBMhzTTBxrsVwTKdNbKDalbEZr0tcsBgCLbEtoNthOW6PX942YiYq8HzEnb4yWQMLQuipQ==", "cpu": [ "x64" ], @@ -2693,13 +2657,13 @@ "android" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", - "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.23.0.tgz", + "integrity": "sha512-YLntie/IdS31H54Ogdn+v50NuoWF5BDkEUFpiOChVa9UnKpftgwzZRrI4J132ETIi+D8n6xh9IviFV3eXdxfow==", "cpu": [ "arm64" ], @@ -2709,13 +2673,13 @@ "darwin" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", - "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.23.0.tgz", + "integrity": "sha512-IMQ6eme4AfznElesHUPDZ+teuGwoRmVuuixu7sv92ZkdQcPbsNHzutd+rAfaBKo8YK3IrBEi9SLLKWJdEvJniQ==", "cpu": [ "x64" ], @@ -2725,13 +2689,13 @@ "darwin" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", - "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.23.0.tgz", + "integrity": "sha512-0muYWCng5vqaxobq6LB3YNtevDFSAZGlgtLoAc81PjUfiFz36n4KMpwhtAd4he8ToSI3TGyuhyx5xmiWNYZFyw==", "cpu": [ "arm64" ], @@ -2741,13 +2705,13 @@ "freebsd" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", - "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.23.0.tgz", + "integrity": "sha512-XKDVu8IsD0/q3foBzsXGt/KjD/yTKBCIwOHE1XwiXmrRwrX6Hbnd5Eqn/WvDekddK21tfszBSrE/WMaZh+1buQ==", "cpu": [ "x64" ], @@ -2757,13 +2721,13 @@ "freebsd" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-arm": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", - "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.23.0.tgz", + "integrity": "sha512-SEELSTEtOFu5LPykzA395Mc+54RMg1EUgXP+iw2SJ72+ooMwVsgfuwXo5Fn0wXNgWZsTVHwY2cg4Vi/bOD88qw==", "cpu": [ "arm" ], @@ -2773,13 +2737,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", - "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.23.0.tgz", + "integrity": "sha512-j1t5iG8jE7BhonbsEg5d9qOYcVZv/Rv6tghaXM/Ug9xahM0nX/H2gfu6X6z11QRTMT6+aywOMA8TDkhPo8aCGw==", "cpu": [ "arm64" ], @@ -2789,13 +2753,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", - "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.23.0.tgz", + "integrity": "sha512-P7O5Tkh2NbgIm2R6x1zGJJsnacDzTFcRWZyTTMgFdVit6E98LTxO+v8LCCLWRvPrjdzXHx9FEOA8oAZPyApWUA==", "cpu": [ "ia32" ], @@ -2805,13 +2769,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", - "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.23.0.tgz", + "integrity": "sha512-InQwepswq6urikQiIC/kkx412fqUZudBO4SYKu0N+tGhXRWUqAx+Q+341tFV6QdBifpjYgUndV1hhMq3WeJi7A==", "cpu": [ "loong64" ], @@ -2821,13 +2785,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", - "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.23.0.tgz", + "integrity": "sha512-J9rflLtqdYrxHv2FqXE2i1ELgNjT+JFURt/uDMoPQLcjWQA5wDKgQA4t/dTqGa88ZVECKaD0TctwsUfHbVoi4w==", "cpu": [ "mips64el" ], @@ -2837,13 +2801,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", - "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.23.0.tgz", + "integrity": "sha512-cShCXtEOVc5GxU0fM+dsFD10qZ5UpcQ8AM22bYj0u/yaAykWnqXJDpd77ublcX6vdDsWLuweeuSNZk4yUxZwtw==", "cpu": [ "ppc64" ], @@ -2853,13 +2817,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", - "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.23.0.tgz", + "integrity": "sha512-HEtaN7Y5UB4tZPeQmgz/UhzoEyYftbMXrBCUjINGjh3uil+rB/QzzpMshz3cNUxqXN7Vr93zzVtpIDL99t9aRw==", "cpu": [ "riscv64" ], @@ -2869,13 +2833,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", - "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.23.0.tgz", + "integrity": "sha512-WDi3+NVAuyjg/Wxi+o5KPqRbZY0QhI9TjrEEm+8dmpY9Xir8+HE/HNx2JoLckhKbFopW0RdO2D72w8trZOV+Wg==", "cpu": [ "s390x" ], @@ -2885,13 +2849,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/linux-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", - "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.23.0.tgz", + "integrity": "sha512-a3pMQhUEJkITgAw6e0bWA+F+vFtCciMjW/LPtoj99MhVt+Mfb6bbL9hu2wmTZgNd994qTAEw+U/r6k3qHWWaOQ==", "cpu": [ "x64" ], @@ -2901,13 +2865,13 @@ "linux" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", - "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.23.0.tgz", + "integrity": "sha512-cRK+YDem7lFTs2Q5nEv/HHc4LnrfBCbH5+JHu6wm2eP+d8OZNoSMYgPZJq78vqQ9g+9+nMuIsAO7skzphRXHyw==", "cpu": [ "x64" ], @@ -2917,13 +2881,29 @@ "netbsd" ], "engines": { - "node": ">=12" + "node": ">=18" } }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", - "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.23.0.tgz", + "integrity": "sha512-suXjq53gERueVWu0OKxzWqk7NxiUWSUlrxoZK7usiF50C6ipColGR5qie2496iKGYNLhDZkPxBI3erbnYkU0rQ==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.23.0.tgz", + "integrity": "sha512-6p3nHpby0DM/v15IFKMjAaayFhqnXV52aEmv1whZHX56pdkK+MEaLoQWj+H42ssFarP1PcomVhbsR4pkz09qBg==", "cpu": [ "x64" ], @@ -2933,13 +2913,13 @@ "openbsd" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", - "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.23.0.tgz", + "integrity": "sha512-BFelBGfrBwk6LVrmFzCq1u1dZbG4zy/Kp93w2+y83Q5UGYF1d8sCzeLI9NXjKyujjBBniQa8R8PzLFAUrSM9OA==", "cpu": [ "x64" ], @@ -2949,13 +2929,13 @@ "sunos" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", - "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.23.0.tgz", + "integrity": "sha512-lY6AC8p4Cnb7xYHuIxQ6iYPe6MfO2CC43XXKo9nBXDb35krYt7KGhQnOkRGar5psxYkircpCqfbNDB4uJbS2jQ==", "cpu": [ "arm64" ], @@ -2965,13 +2945,13 @@ "win32" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", - "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.23.0.tgz", + "integrity": "sha512-7L1bHlOTcO4ByvI7OXVI5pNN6HSu6pUQq9yodga8izeuB1KcT2UkHaH6118QJwopExPn0rMHIseCTx1CRo/uNA==", "cpu": [ "ia32" ], @@ -2981,13 +2961,13 @@ "win32" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@esbuild/win32-x64": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", - "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.23.0.tgz", + "integrity": "sha512-Arm+WgUFLUATuoxCJcahGuk6Yj9Pzxd6l11Zb/2aAuv5kWWvvfhLFo2fni4uSK5vzlUdCGZ/BdV5tH8klj8p8g==", "cpu": [ "x64" ], @@ -2997,7 +2977,7 @@ "win32" ], "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/@eslint-community/eslint-utils": { @@ -3203,41 +3183,16 @@ "license": "BSD-3-Clause" }, "node_modules/@inquirer/checkbox": { - "version": "2.4.7", - "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-2.4.7.tgz", - "integrity": "sha512-5YwCySyV1UEgqzz34gNsC38eKxRBtlRDpJLlKcRtTjlYA/yDKuc1rfw+hjw+2WJxbAZtaDPsRl5Zk7J14SBoBw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^9.0.10", - "@inquirer/figures": "^1.0.5", - "@inquirer/type": "^1.5.2", - "ansi-escapes": "^4.3.2", - "yoctocolors-cjs": "^2.1.2" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/checkbox/node_modules/@inquirer/core": { - "version": "9.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-9.0.10.tgz", - "integrity": "sha512-TdESOKSVwf6+YWDz8GhS6nKscwzkIyakEzCLJ5Vh6O3Co2ClhCJ0A4MG909MUWfaWdpJm7DE45ii51/2Kat9tA==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@inquirer/checkbox/-/checkbox-2.5.0.tgz", + "integrity": "sha512-sMgdETOfi2dUHT8r7TT1BTKOwNvdDGFDXYWtQ2J69SvlYNntk9I/gJe7r5yvMwwsuKnYbuRs3pNhx4tgNck5aA==", "dev": true, "license": "MIT", "dependencies": { + "@inquirer/core": "^9.1.0", "@inquirer/figures": "^1.0.5", - "@inquirer/type": "^1.5.2", - "@types/mute-stream": "^0.0.4", - "@types/node": "^22.1.0", - "@types/wrap-ansi": "^3.0.0", + "@inquirer/type": "^1.5.3", "ansi-escapes": "^4.3.2", - "cli-spinners": "^2.9.2", - "cli-width": "^4.1.0", - "mute-stream": "^1.0.0", - "signal-exit": "^4.1.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^6.2.0", "yoctocolors-cjs": "^2.1.2" }, "engines": { @@ -3245,83 +3200,28 @@ } }, "node_modules/@inquirer/confirm": { - "version": "3.1.11", - "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-3.1.11.tgz", - "integrity": "sha512-3wWw10VPxQP279FO4bzWsf8YjIAq7NdwATJ4xS2h1uwsXZu/RmtOVV95rZ7yllS1h/dzu+uLewjMAzNDEj8h2w==", - "license": "MIT", - "dependencies": { - "@inquirer/core": "^8.2.4", - "@inquirer/type": "^1.3.3" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/core": { - "version": "8.2.4", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-8.2.4.tgz", - "integrity": "sha512-7vsXSfxtrrbwMTirfaKwPcjqJy7pzeuF/bP62yo1NQrRJ5HjmMlrhZml/Ljm9ODc1RnbhJlTeSnCkjtFddKjwA==", - "license": "MIT", - "dependencies": { - "@inquirer/figures": "^1.0.3", - "@inquirer/type": "^1.3.3", - "@types/mute-stream": "^0.0.4", - "@types/node": "^20.14.9", - "@types/wrap-ansi": "^3.0.0", - "ansi-escapes": "^4.3.2", - "cli-spinners": "^2.9.2", - "cli-width": "^4.1.0", - "mute-stream": "^1.0.0", - "picocolors": "^1.0.1", - "signal-exit": "^4.1.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^6.2.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/core/node_modules/@types/node": { - "version": "20.14.14", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.14.tgz", - "integrity": "sha512-d64f00982fS9YoOgJkAMolK7MN8Iq3TDdVjchbYHdEmjth/DHowx82GnoA+tVUAN+7vxfYUgAzi+JXbKNd2SDQ==", - "license": "MIT", - "dependencies": { - "undici-types": "~5.26.4" - } - }, - "node_modules/@inquirer/core/node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", - "license": "MIT" - }, - "node_modules/@inquirer/editor": { - "version": "2.1.22", - "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-2.1.22.tgz", - "integrity": "sha512-K1QwTu7GCK+nKOVRBp5HY9jt3DXOfPGPr6WRDrPImkcJRelG9UTx2cAtK1liXmibRrzJlTWOwqgWT3k2XnS62w==", - "dev": true, + "version": "3.1.22", + "resolved": "https://registry.npmjs.org/@inquirer/confirm/-/confirm-3.1.22.tgz", + "integrity": "sha512-gsAKIOWBm2Q87CDfs9fEo7wJT3fwWIJfnDGMn9Qy74gBnNFOACDNfhUzovubbJjWnKLGBln7/NcSmZwj5DuEXg==", "license": "MIT", "dependencies": { "@inquirer/core": "^9.0.10", - "@inquirer/type": "^1.5.2", - "external-editor": "^3.1.0" + "@inquirer/type": "^1.5.2" }, "engines": { "node": ">=18" } }, - "node_modules/@inquirer/editor/node_modules/@inquirer/core": { - "version": "9.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-9.0.10.tgz", - "integrity": "sha512-TdESOKSVwf6+YWDz8GhS6nKscwzkIyakEzCLJ5Vh6O3Co2ClhCJ0A4MG909MUWfaWdpJm7DE45ii51/2Kat9tA==", - "dev": true, + "node_modules/@inquirer/core": { + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-9.1.0.tgz", + "integrity": "sha512-RZVfH//2ytTjmaBIzeKT1zefcQZzuruwkpTwwbe/i2jTl4o9M+iML5ChULzz6iw1Ok8iUBBsRCjY2IEbD8Ft4w==", "license": "MIT", "dependencies": { "@inquirer/figures": "^1.0.5", - "@inquirer/type": "^1.5.2", + "@inquirer/type": "^1.5.3", "@types/mute-stream": "^0.0.4", - "@types/node": "^22.1.0", + "@types/node": "^22.5.2", "@types/wrap-ansi": "^3.0.0", "ansi-escapes": "^4.3.2", "cli-spinners": "^2.9.2", @@ -3336,40 +3236,30 @@ "node": ">=18" } }, - "node_modules/@inquirer/expand": { - "version": "2.1.22", - "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-2.1.22.tgz", - "integrity": "sha512-wTZOBkzH+ItPuZ3ZPa9lynBsdMp6kQ9zbjVPYEtSBG7UulGjg2kQiAnUjgyG4SlntpTce5bOmXAPvE4sguXjpA==", + "node_modules/@inquirer/editor": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@inquirer/editor/-/editor-2.2.0.tgz", + "integrity": "sha512-9KHOpJ+dIL5SZli8lJ6xdaYLPPzB8xB9GZItg39MBybzhxA16vxmszmQFrRwbOA918WA2rvu8xhDEg/p6LXKbw==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^9.0.10", - "@inquirer/type": "^1.5.2", - "yoctocolors-cjs": "^2.1.2" + "@inquirer/core": "^9.1.0", + "@inquirer/type": "^1.5.3", + "external-editor": "^3.1.0" }, "engines": { "node": ">=18" } }, - "node_modules/@inquirer/expand/node_modules/@inquirer/core": { - "version": "9.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-9.0.10.tgz", - "integrity": "sha512-TdESOKSVwf6+YWDz8GhS6nKscwzkIyakEzCLJ5Vh6O3Co2ClhCJ0A4MG909MUWfaWdpJm7DE45ii51/2Kat9tA==", + "node_modules/@inquirer/expand": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@inquirer/expand/-/expand-2.3.0.tgz", + "integrity": "sha512-qnJsUcOGCSG1e5DTOErmv2BPQqrtT6uzqn1vI/aYGiPKq+FgslGZmtdnXbhuI7IlT7OByDoEEqdnhUnVR2hhLw==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/figures": "^1.0.5", - "@inquirer/type": "^1.5.2", - "@types/mute-stream": "^0.0.4", - "@types/node": "^22.1.0", - "@types/wrap-ansi": "^3.0.0", - "ansi-escapes": "^4.3.2", - "cli-spinners": "^2.9.2", - "cli-width": "^4.1.0", - "mute-stream": "^1.0.0", - "signal-exit": "^4.1.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^6.2.0", + "@inquirer/core": "^9.1.0", + "@inquirer/type": "^1.5.3", "yoctocolors-cjs": "^2.1.2" }, "engines": { @@ -3386,138 +3276,95 @@ } }, "node_modules/@inquirer/input": { - "version": "2.2.9", - "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-2.2.9.tgz", - "integrity": "sha512-7Z6N+uzkWM7+xsE+3rJdhdG/+mQgejOVqspoW+w0AbSZnL6nq5tGMEVASaYVWbkoSzecABWwmludO2evU3d31g==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@inquirer/input/-/input-2.3.0.tgz", + "integrity": "sha512-XfnpCStx2xgh1LIRqPXrTNEEByqQWoxsWYzNRSEUxJ5c6EQlhMogJ3vHKu8aXuTacebtaZzMAHwEL0kAflKOBw==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^9.0.10", - "@inquirer/type": "^1.5.2" + "@inquirer/core": "^9.1.0", + "@inquirer/type": "^1.5.3" }, "engines": { "node": ">=18" } }, - "node_modules/@inquirer/input/node_modules/@inquirer/core": { - "version": "9.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-9.0.10.tgz", - "integrity": "sha512-TdESOKSVwf6+YWDz8GhS6nKscwzkIyakEzCLJ5Vh6O3Co2ClhCJ0A4MG909MUWfaWdpJm7DE45ii51/2Kat9tA==", + "node_modules/@inquirer/number": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@inquirer/number/-/number-1.1.0.tgz", + "integrity": "sha512-ilUnia/GZUtfSZy3YEErXLJ2Sljo/mf9fiKc08n18DdwdmDbOzRcTv65H1jjDvlsAuvdFXf4Sa/aL7iw/NanVA==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/figures": "^1.0.5", - "@inquirer/type": "^1.5.2", - "@types/mute-stream": "^0.0.4", - "@types/node": "^22.1.0", - "@types/wrap-ansi": "^3.0.0", - "ansi-escapes": "^4.3.2", - "cli-spinners": "^2.9.2", - "cli-width": "^4.1.0", - "mute-stream": "^1.0.0", - "signal-exit": "^4.1.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^6.2.0", - "yoctocolors-cjs": "^2.1.2" + "@inquirer/core": "^9.1.0", + "@inquirer/type": "^1.5.3" }, "engines": { "node": ">=18" } }, "node_modules/@inquirer/password": { - "version": "2.1.22", - "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-2.1.22.tgz", - "integrity": "sha512-5Fxt1L9vh3rAKqjYwqsjU4DZsEvY/2Gll+QkqR4yEpy6wvzLxdSgFhUcxfDAOtO4BEoTreWoznC0phagwLU5Kw==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@inquirer/password/-/password-2.2.0.tgz", + "integrity": "sha512-5otqIpgsPYIshqhgtEwSspBQE40etouR8VIxzpJkv9i0dVHIpyhiivbkH9/dGiMLdyamT54YRdGJLfl8TFnLHg==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^9.0.10", - "@inquirer/type": "^1.5.2", + "@inquirer/core": "^9.1.0", + "@inquirer/type": "^1.5.3", "ansi-escapes": "^4.3.2" }, "engines": { "node": ">=18" } }, - "node_modules/@inquirer/password/node_modules/@inquirer/core": { - "version": "9.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-9.0.10.tgz", - "integrity": "sha512-TdESOKSVwf6+YWDz8GhS6nKscwzkIyakEzCLJ5Vh6O3Co2ClhCJ0A4MG909MUWfaWdpJm7DE45ii51/2Kat9tA==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/figures": "^1.0.5", - "@inquirer/type": "^1.5.2", - "@types/mute-stream": "^0.0.4", - "@types/node": "^22.1.0", - "@types/wrap-ansi": "^3.0.0", - "ansi-escapes": "^4.3.2", - "cli-spinners": "^2.9.2", - "cli-width": "^4.1.0", - "mute-stream": "^1.0.0", - "signal-exit": "^4.1.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^6.2.0", - "yoctocolors-cjs": "^2.1.2" - }, - "engines": { - "node": ">=18" - } - }, "node_modules/@inquirer/prompts": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-5.0.7.tgz", - "integrity": "sha512-GFcigCxJTKCH3aECzMIu4FhgLJWnFvMXzpI4CCSoELWFtkOOU2P+goYA61+OKpGrB8fPE7q6n8zAXBSlZRrHjQ==", + "version": "5.3.8", + "resolved": "https://registry.npmjs.org/@inquirer/prompts/-/prompts-5.3.8.tgz", + "integrity": "sha512-b2BudQY/Si4Y2a0PdZZL6BeJtl8llgeZa7U2j47aaJSCeAl1e4UI7y8a9bSkO3o/ZbZrgT5muy/34JbsjfIWxA==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/checkbox": "^2.3.7", - "@inquirer/confirm": "^3.1.11", - "@inquirer/editor": "^2.1.11", - "@inquirer/expand": "^2.1.11", - "@inquirer/input": "^2.1.11", - "@inquirer/password": "^2.1.11", - "@inquirer/rawlist": "^2.1.11", - "@inquirer/select": "^2.3.7" + "@inquirer/checkbox": "^2.4.7", + "@inquirer/confirm": "^3.1.22", + "@inquirer/editor": "^2.1.22", + "@inquirer/expand": "^2.1.22", + "@inquirer/input": "^2.2.9", + "@inquirer/number": "^1.0.10", + "@inquirer/password": "^2.1.22", + "@inquirer/rawlist": "^2.2.4", + "@inquirer/search": "^1.0.7", + "@inquirer/select": "^2.4.7" }, "engines": { "node": ">=18" } }, "node_modules/@inquirer/rawlist": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-2.2.4.tgz", - "integrity": "sha512-pb6w9pWrm7EfnYDgQObOurh2d2YH07+eDo3xQBsNAM2GRhliz6wFXGi1thKQ4bN6B0xDd6C3tBsjdr3obsCl3Q==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@inquirer/rawlist/-/rawlist-2.3.0.tgz", + "integrity": "sha512-zzfNuINhFF7OLAtGHfhwOW2TlYJyli7lOUoJUXw/uyklcwalV6WRXBXtFIicN8rTRK1XTiPWB4UY+YuW8dsnLQ==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/core": "^9.0.10", - "@inquirer/type": "^1.5.2", + "@inquirer/core": "^9.1.0", + "@inquirer/type": "^1.5.3", "yoctocolors-cjs": "^2.1.2" }, "engines": { "node": ">=18" } }, - "node_modules/@inquirer/rawlist/node_modules/@inquirer/core": { - "version": "9.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-9.0.10.tgz", - "integrity": "sha512-TdESOKSVwf6+YWDz8GhS6nKscwzkIyakEzCLJ5Vh6O3Co2ClhCJ0A4MG909MUWfaWdpJm7DE45ii51/2Kat9tA==", + "node_modules/@inquirer/search": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@inquirer/search/-/search-1.1.0.tgz", + "integrity": "sha512-h+/5LSj51dx7hp5xOn4QFnUaKeARwUCLs6mIhtkJ0JYPBLmEYjdHSYh7I6GrLg9LwpJ3xeX0FZgAG1q0QdCpVQ==", "dev": true, "license": "MIT", "dependencies": { + "@inquirer/core": "^9.1.0", "@inquirer/figures": "^1.0.5", - "@inquirer/type": "^1.5.2", - "@types/mute-stream": "^0.0.4", - "@types/node": "^22.1.0", - "@types/wrap-ansi": "^3.0.0", - "ansi-escapes": "^4.3.2", - "cli-spinners": "^2.9.2", - "cli-width": "^4.1.0", - "mute-stream": "^1.0.0", - "signal-exit": "^4.1.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^6.2.0", + "@inquirer/type": "^1.5.3", "yoctocolors-cjs": "^2.1.2" }, "engines": { @@ -3525,41 +3372,16 @@ } }, "node_modules/@inquirer/select": { - "version": "2.4.7", - "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-2.4.7.tgz", - "integrity": "sha512-JH7XqPEkBpNWp3gPCqWqY8ECbyMoFcCZANlL6pV9hf59qK6dGmkOlx1ydyhY+KZ0c5X74+W6Mtp+nm2QX0/MAQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^9.0.10", - "@inquirer/figures": "^1.0.5", - "@inquirer/type": "^1.5.2", - "ansi-escapes": "^4.3.2", - "yoctocolors-cjs": "^2.1.2" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/select/node_modules/@inquirer/core": { - "version": "9.0.10", - "resolved": "https://registry.npmjs.org/@inquirer/core/-/core-9.0.10.tgz", - "integrity": "sha512-TdESOKSVwf6+YWDz8GhS6nKscwzkIyakEzCLJ5Vh6O3Co2ClhCJ0A4MG909MUWfaWdpJm7DE45ii51/2Kat9tA==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@inquirer/select/-/select-2.5.0.tgz", + "integrity": "sha512-YmDobTItPP3WcEI86GvPo+T2sRHkxxOq/kXmsBjHS5BVXUgvgZ5AfJjkvQvZr03T81NnI3KrrRuMzeuYUQRFOA==", "dev": true, "license": "MIT", "dependencies": { + "@inquirer/core": "^9.1.0", "@inquirer/figures": "^1.0.5", - "@inquirer/type": "^1.5.2", - "@types/mute-stream": "^0.0.4", - "@types/node": "^22.1.0", - "@types/wrap-ansi": "^3.0.0", + "@inquirer/type": "^1.5.3", "ansi-escapes": "^4.3.2", - "cli-spinners": "^2.9.2", - "cli-width": "^4.1.0", - "mute-stream": "^1.0.0", - "signal-exit": "^4.1.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^6.2.0", "yoctocolors-cjs": "^2.1.2" }, "engines": { @@ -3567,9 +3389,9 @@ } }, "node_modules/@inquirer/type": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-1.5.2.tgz", - "integrity": "sha512-w9qFkumYDCNyDZmNQjf/n6qQuvQ4dMC3BJesY4oF+yr0CxR5vxujflAVeIcS6U336uzi9GM0kAfZlLrZ9UTkpA==", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/@inquirer/type/-/type-1.5.3.tgz", + "integrity": "sha512-xUQ14WQGR/HK5ei+2CvgcwoH9fQ4PgPGmVFSN0pc1+fVyDL3MREhyAY7nxEErSu6CkllBM3D7e3e+kOvtu+eIg==", "license": "MIT", "dependencies": { "mute-stream": "^1.0.0" @@ -3596,9 +3418,9 @@ } }, "node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "license": "MIT", "engines": { "node": ">=12" @@ -4490,13 +4312,13 @@ "license": "MIT" }, "node_modules/@listr2/prompt-adapter-inquirer": { - "version": "2.0.13", - "resolved": "https://registry.npmjs.org/@listr2/prompt-adapter-inquirer/-/prompt-adapter-inquirer-2.0.13.tgz", - "integrity": "sha512-nAl6teTt7EWSjttNavAnv3uFR3w3vPP3OTYmHyPNHzKhAj2NoBDHmbS3MGpvvO8KXXPASnHjEGrrKrdKTMKPnQ==", + "version": "2.0.15", + "resolved": "https://registry.npmjs.org/@listr2/prompt-adapter-inquirer/-/prompt-adapter-inquirer-2.0.15.tgz", + "integrity": "sha512-MZrGem/Ujjd4cPTLYDfCZK2iKKeiO/8OX13S6jqxldLs0Prf2aGqVlJ77nMBqMv7fzqgXEgjrNHLXcKR8l9lOg==", "dev": true, "license": "MIT", "dependencies": { - "@inquirer/type": "^1.3.3" + "@inquirer/type": "^1.5.1" }, "engines": { "node": ">=18.0.0" @@ -4506,9 +4328,9 @@ } }, "node_modules/@lmdb/lmdb-darwin-arm64": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-3.0.12.tgz", - "integrity": "sha512-vgTwzNUD3Hy4aqtGhX2+nV/usI0mwy3hDRuTjs8VcK0BLiMVEpNQXgzwlWEgPmA8AAPloUgyOs2nK5clJF5oIg==", + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-3.0.13.tgz", + "integrity": "sha512-uiKPB0Fv6WEEOZjruu9a6wnW/8jrjzlZbxXscMB8kuCJ1k6kHpcBnuvaAWcqhbI7rqX5GKziwWEdD+wi2gNLfA==", "cpu": [ "arm64" ], @@ -4519,9 +4341,9 @@ ] }, "node_modules/@lmdb/lmdb-darwin-x64": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-3.0.12.tgz", - "integrity": "sha512-qOt0hAhj2ZLY6aEWu85rzt5zcyCAQITMhCMEPNlo1tuYekpVAdkQNiwXxEkCjBYvwTskvXuwXOOUpjuSc+aJnA==", + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-x64/-/lmdb-darwin-x64-3.0.13.tgz", + "integrity": "sha512-bEVIIfK5mSQoG1R19qA+fJOvCB+0wVGGnXHT3smchBVahYBdlPn2OsZZKzlHWfb1E+PhLBmYfqB5zQXFP7hJig==", "cpu": [ "x64" ], @@ -4532,9 +4354,9 @@ ] }, "node_modules/@lmdb/lmdb-linux-arm": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-3.0.12.tgz", - "integrity": "sha512-Ggd/UXpE+alMncbELCXA3OKpDj9bDBR3qVO7WRTxstloDglRAHfZmUJgTkeaNKjFO1JHqS7AKy0jba9XebZB1w==", + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm/-/lmdb-linux-arm-3.0.13.tgz", + "integrity": "sha512-Yml1KlMzOnXj/tnW7yX8U78iAzTk39aILYvCPbqeewAq1kSzl+w59k/fiVkTBfvDi/oW/5YRxL+Fq+Y1Fr1r2Q==", "cpu": [ "arm" ], @@ -4545,9 +4367,9 @@ ] }, "node_modules/@lmdb/lmdb-linux-arm64": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-3.0.12.tgz", - "integrity": "sha512-Qy4cFXFe9h1wAWMsojex8x1ifvw2kqiZv686YiRTdQEzAfc3vJASHFcD/QejHUCx7YHMYdnUoCS45rG2AiGDTQ==", + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-arm64/-/lmdb-linux-arm64-3.0.13.tgz", + "integrity": "sha512-afbVrsMgZ9dUTNUchFpj5VkmJRxvht/u335jUJ7o23YTbNbnpmXif3VKQGCtnjSh+CZaqm6N3CPG8KO3zwyZ1Q==", "cpu": [ "arm64" ], @@ -4558,9 +4380,9 @@ ] }, "node_modules/@lmdb/lmdb-linux-x64": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-3.0.12.tgz", - "integrity": "sha512-c+noT9IofktxktFllKHFmci8ka2SYGSLN17pj/KSl1hg7mmfAiGp4xxFxEwMLTb+SX95vP1DFiR++1I3WLVxvA==", + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-linux-x64/-/lmdb-linux-x64-3.0.13.tgz", + "integrity": "sha512-vOtxu0xC0SLdQ2WRXg8Qgd8T32ak4SPqk5zjItRszrJk2BdeXqfGxBJbP7o4aOvSPSmSSv46Lr1EP4HXU8v7Kg==", "cpu": [ "x64" ], @@ -4571,9 +4393,9 @@ ] }, "node_modules/@lmdb/lmdb-win32-x64": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-3.0.12.tgz", - "integrity": "sha512-CO3MFV8gUx16NU/CyyuumAKblESwvoGVA2XhQKZ976OTOxaTbb8F8D3f0iiZ4MYqsN74jIrFuCmXpPnpjbhfOQ==", + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/@lmdb/lmdb-win32-x64/-/lmdb-win32-x64-3.0.13.tgz", + "integrity": "sha512-UCrMJQY/gJnOl3XgbWRZZUvGGBuKy6i0YNSptgMzHBjs+QYDYR1Mt/RLTOPy4fzzves65O1EDmlL//OzEqoLlA==", "cpu": [ "x64" ], @@ -4584,29 +4406,31 @@ ] }, "node_modules/@module-federation/bridge-react-webpack-plugin": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@module-federation/bridge-react-webpack-plugin/-/bridge-react-webpack-plugin-0.2.8.tgz", - "integrity": "sha512-6G1qTo1HWvRcN5fzE+SZgvgzSPoq5YqNx8hFL8BttJmnd3wj4SUOFiikAsXhdVrzSK+Zuzg6pipkiLH1m+pbtw==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@module-federation/bridge-react-webpack-plugin/-/bridge-react-webpack-plugin-0.6.3.tgz", + "integrity": "sha512-bGqsPNMFHfGNqyVcdKIypnlmbNrJRHFADKYU3puBeyO+D8IIRoQY+GFtFMRDXakqUzQPioXhh5G1sH8GMacUig==", "dependencies": { - "@module-federation/sdk": "0.2.8" + "@module-federation/sdk": "0.6.3", + "@types/semver": "7.5.8", + "semver": "7.6.3" } }, "node_modules/@module-federation/dts-plugin": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@module-federation/dts-plugin/-/dts-plugin-0.2.8.tgz", - "integrity": "sha512-qY1Wbqo0yu9nh6KR8K19t5T4tYtlUbmcNdcaCweISCyAbH99TrhpQkJ89NY0TLtnxQ6uayIYayqAWS7vzyDXVw==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@module-federation/dts-plugin/-/dts-plugin-0.6.3.tgz", + "integrity": "sha512-U7s9dvhINav8gwbDgTaotUo0uaB1pvL/TkA9f/bBenuzOrzvjniDyISSyppfEL3n6WQJWVepNYXlKfMRAUIjkA==", "license": "MIT", "dependencies": { - "@module-federation/managers": "0.2.8", - "@module-federation/sdk": "0.2.8", - "@module-federation/third-party-dts-extractor": "0.2.8", + "@module-federation/managers": "0.6.3", + "@module-federation/sdk": "0.6.3", + "@module-federation/third-party-dts-extractor": "0.6.3", "adm-zip": "^0.5.10", "ansi-colors": "^4.1.3", - "axios": "^1.6.7", + "axios": "^1.7.4", "chalk": "3.0.0", "fs-extra": "9.1.0", "isomorphic-ws": "5.0.0", - "koa": "2.11.0", + "koa": "2.15.3", "lodash.clonedeepwith": "4.5.0", "log4js": "6.9.1", "node-schedule": "2.1.1", @@ -4691,18 +4515,18 @@ } }, "node_modules/@module-federation/enhanced": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@module-federation/enhanced/-/enhanced-0.2.8.tgz", - "integrity": "sha512-6fGM/GiKw6LZiBe6DF8Petz6ih/Yyf3q2htLrx+hrWoDWfWEoWlLvoCUsVkY2UgMCLKid7Fm3Auc4w8A4aRjvQ==", - "license": "MIT", - "dependencies": { - "@module-federation/bridge-react-webpack-plugin": "0.2.8", - "@module-federation/dts-plugin": "0.2.8", - "@module-federation/managers": "0.2.8", - "@module-federation/manifest": "0.2.8", - "@module-federation/rspack": "0.2.8", - "@module-federation/runtime-tools": "0.2.8", - "@module-federation/sdk": "0.2.8", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@module-federation/enhanced/-/enhanced-0.6.3.tgz", + "integrity": "sha512-Sl0A0te83Fqj3hU5HTj41xnHjJjcpP4sOZiba0+ybYeECYgAA85XlA2TMs87uGIjqPhbgBmsZtVh+muyY3ReEw==", + "license": "MIT", + "dependencies": { + "@module-federation/bridge-react-webpack-plugin": "0.6.3", + "@module-federation/dts-plugin": "0.6.3", + "@module-federation/managers": "0.6.3", + "@module-federation/manifest": "0.6.3", + "@module-federation/rspack": "0.6.3", + "@module-federation/runtime-tools": "0.6.3", + "@module-federation/sdk": "0.6.3", "btoa": "^1.2.1", "upath": "2.0.1" }, @@ -4724,25 +4548,25 @@ } }, "node_modules/@module-federation/managers": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@module-federation/managers/-/managers-0.2.8.tgz", - "integrity": "sha512-S5GXqt2Vrs1+uNXHw7UzZ7m3fs8H3nxNsNGQ0j5+HiT5yA7uRTY1AZJZCGAHzG6XImJ1DzL/SW1acM2Hwj0aAw==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@module-federation/managers/-/managers-0.6.3.tgz", + "integrity": "sha512-hOxwsqRSQm7SMiK5dlB+54X4EkooCHFPhhMhZR5Ef8KF6400IYckBBExhFAh0UaFqrNNAqvAv0CEzcWntLxtWw==", "license": "MIT", "dependencies": { - "@module-federation/sdk": "0.2.8", + "@module-federation/sdk": "0.6.3", "find-pkg": "2.0.0", "fs-extra": "9.1.0" } }, "node_modules/@module-federation/manifest": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@module-federation/manifest/-/manifest-0.2.8.tgz", - "integrity": "sha512-kw4PeAldkOuGCWfCnDzZwPHUx5qv9+WztY5+TEbsgXc5E+/e2NDA6Gg3eT8zUGeexeGdab3f+DuN9ZClZJYVGA==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@module-federation/manifest/-/manifest-0.6.3.tgz", + "integrity": "sha512-AlRV5L2j9akl0M1VJv7WoQmngFPwqrVHQevUfziqlqLTWSA1OGaCUBgerl+iDoFwdGtj0QUUXnZrQVkrWLqm2g==", "license": "MIT", "dependencies": { - "@module-federation/dts-plugin": "0.2.8", - "@module-federation/managers": "0.2.8", - "@module-federation/sdk": "0.2.8", + "@module-federation/dts-plugin": "0.6.3", + "@module-federation/managers": "0.6.3", + "@module-federation/sdk": "0.6.3", "chalk": "3.0.0", "find-pkg": "2.0.0" } @@ -4815,17 +4639,17 @@ } }, "node_modules/@module-federation/rspack": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@module-federation/rspack/-/rspack-0.2.8.tgz", - "integrity": "sha512-5Bofm3cY7OOwO2DT5TevITd+HAA03zsY1wwsMb1BP6NkS/ukUtsjuRo2Anua0RkHBEIx+Dv5rpqOn7qSlOm1Fg==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@module-federation/rspack/-/rspack-0.6.3.tgz", + "integrity": "sha512-HyDJJypBDMrOdJbMBg1IeMPDUY52cg+xY9NSfay2CHFtt9ygKiG3hB5BNQIq+WWEKmmVZPOAE5+S+8E6PtcKdA==", "license": "MIT", "dependencies": { - "@module-federation/bridge-react-webpack-plugin": "0.2.8", - "@module-federation/dts-plugin": "0.2.8", - "@module-federation/managers": "0.2.8", - "@module-federation/manifest": "0.2.8", - "@module-federation/runtime-tools": "0.2.8", - "@module-federation/sdk": "0.2.8" + "@module-federation/bridge-react-webpack-plugin": "0.6.3", + "@module-federation/dts-plugin": "0.6.3", + "@module-federation/managers": "0.6.3", + "@module-federation/manifest": "0.6.3", + "@module-federation/runtime-tools": "0.6.3", + "@module-federation/sdk": "0.6.3" }, "peerDependencies": { "typescript": "^4.9.0 || ^5.0.0", @@ -4841,34 +4665,34 @@ } }, "node_modules/@module-federation/runtime": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@module-federation/runtime/-/runtime-0.2.8.tgz", - "integrity": "sha512-8xmA/+z1zD09F5qU8VnSWLExqTCVWoHOguXsCX79kkqp7i0c+D2YaebWzlQ2kku+DU+0VIzXpQ3BBcumZ3v3wQ==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@module-federation/runtime/-/runtime-0.6.3.tgz", + "integrity": "sha512-Ft5/vzAVPrZWP5xyKulsxz8/r3T9ZCcUb1ttimx7mDvrA+mfAM8zuFvqzGMCscLwoP1u2uw8+qAZ19o4galmiA==", "license": "MIT", "dependencies": { - "@module-federation/sdk": "0.2.8" + "@module-federation/sdk": "0.6.3" } }, "node_modules/@module-federation/runtime-tools": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@module-federation/runtime-tools/-/runtime-tools-0.2.8.tgz", - "integrity": "sha512-RSNtyhcNvnTQIdzRUIOGue6WQA/9mL9cY/n0dEd357L/lmLCvfHiZbowlkacckDzyApariUHxzkHrU2Q6kzoew==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@module-federation/runtime-tools/-/runtime-tools-0.6.3.tgz", + "integrity": "sha512-hYr5r0YFpdQowBXUJvtvZAyl3iTvZlYOb5ekrhEb4cw+tgUT2g8am5Ao3Tqw5dlMdZR6E5yPDwpsHsxZgt3MVg==", "license": "MIT", "dependencies": { - "@module-federation/runtime": "0.2.8", - "@module-federation/webpack-bundler-runtime": "0.2.8" + "@module-federation/runtime": "0.6.3", + "@module-federation/webpack-bundler-runtime": "0.6.3" } }, "node_modules/@module-federation/sdk": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@module-federation/sdk/-/sdk-0.2.8.tgz", - "integrity": "sha512-eGMnJxdRDgt6dtMv8gkAlzEbTPWVHb3AHUNUG0w56wcbIF0RHC6kmvpHpSQyq4DVGWv3U4g/ZiH5BvBlqEelDQ==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@module-federation/sdk/-/sdk-0.6.3.tgz", + "integrity": "sha512-bzkP1snAiQgP5Opkv605iWn70whj4izuuTeHCuXhN0IG1sS8qzfOY7se3eyvQw1qTpLwSYZ2MfKEO0aBSQGT9w==", "license": "MIT" }, "node_modules/@module-federation/third-party-dts-extractor": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@module-federation/third-party-dts-extractor/-/third-party-dts-extractor-0.2.8.tgz", - "integrity": "sha512-VGXvdsRlljbFUfGeA448CxR7i6fLWJN07ViRuNXYYXc19e4bQVhBHzrf7eCv9ahcf/tA/8YYCS2h11ixbD691A==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@module-federation/third-party-dts-extractor/-/third-party-dts-extractor-0.6.3.tgz", + "integrity": "sha512-L9DFp1r/JQc2b0ej+BfFncpt4HgnZhi26vRUa2R45oel9oO6W6AoRFNeVeKrUs13h4dYiaeGIrQt3oA+C+mD+w==", "license": "MIT", "dependencies": { "find-pkg": "2.0.0", @@ -4877,13 +4701,13 @@ } }, "node_modules/@module-federation/webpack-bundler-runtime": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@module-federation/webpack-bundler-runtime/-/webpack-bundler-runtime-0.2.8.tgz", - "integrity": "sha512-tiW1kD/V3QNul1/O3Y3lwQv/r4sUU4jvWZykrLvHYt2vuoGe1d4tHnSIFEVEAi9FSpuDwdRK2+NaWBr92gIS7Q==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@module-federation/webpack-bundler-runtime/-/webpack-bundler-runtime-0.6.3.tgz", + "integrity": "sha512-TBPuK55XYgA7BZZsdEhERIFxmfRJO/8s+zQyHsOKw2JsPrcG/L04xNGLNfRswRzujc/1n8y8EvXZ7hb2KuST+w==", "license": "MIT", "dependencies": { - "@module-federation/runtime": "0.2.8", - "@module-federation/sdk": "0.2.8" + "@module-federation/runtime": "0.6.3", + "@module-federation/sdk": "0.6.3" } }, "node_modules/@msgpackr-extract/msgpackr-extract-darwin-arm64": { @@ -4976,9 +4800,9 @@ } }, "node_modules/@ngtools/webpack": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-18.1.4.tgz", - "integrity": "sha512-suoeZjd+7qd3ivzbNGGSzHtY/WMxTKU6ZD1gIIya0Un8Ve1eVxfq6Si6ReKqhygO8zN3paJMATn8sMmAV7qVrw==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-18.2.4.tgz", + "integrity": "sha512-JVDRexu3q7lg2oqJG36RtX7cqTheoZRwg2HhMV8hYXUDL0fyOrv2galwTCgXrx7vAjlx45L2uR2kuWbgW0VVcQ==", "license": "MIT", "engines": { "node": "^18.19.1 || ^20.11.1 || >=22.0.0", @@ -5308,60 +5132,60 @@ } }, "node_modules/@nrwl/angular": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nrwl/angular/-/angular-19.5.7.tgz", - "integrity": "sha512-0kF+9Yg/9LrjdyPIklnCyN9n/p7o2M3nM3dosrl8HW4IoMiJit0PWtVjES6NHeVL07JwqbXDQ2eXegofWUda8g==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nrwl/angular/-/angular-19.7.2.tgz", + "integrity": "sha512-0o0DpvJDDHEdOIk/iC40tjbPbVfkMuN51W80v23az+B8O2/ydWVqer6urEI3JlsMivXy1XdVxhEQad9pcgzAcg==", "license": "MIT", "dependencies": { - "@nx/angular": "19.5.7", + "@nx/angular": "19.7.2", "tslib": "^2.3.0" } }, "node_modules/@nrwl/devkit": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-19.5.7.tgz", - "integrity": "sha512-sTEwqsAT6bMturU14o/0O6v509OkwGOglxpbiL/zIYO/fDkMoNgnhlHBIT87i4YVuofMz2Z+hTfjDskzDPRSYw==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-19.7.2.tgz", + "integrity": "sha512-cn1eTxSVh7RQeEsPLe++vIBKXKaeFvsqJFUgyYH2u9LH1ib6gTex6Ywa2QPHoVU9fvTTwOv7ZsZk4+usfwmsMg==", "license": "MIT", "dependencies": { - "@nx/devkit": "19.5.7" + "@nx/devkit": "19.7.2" } }, "node_modules/@nrwl/eslint-plugin-nx": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nrwl/eslint-plugin-nx/-/eslint-plugin-nx-19.5.7.tgz", - "integrity": "sha512-yNi2U3Ro1RcNFb22urDs0raOfVg1ISKcrlx+tR/E3e9Mw/yTJVGg7wPDL4CJK0Xwt2AC1BPnRRechCJv6llqsw==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nrwl/eslint-plugin-nx/-/eslint-plugin-nx-19.7.2.tgz", + "integrity": "sha512-bQ37jYVNQeyICdSq+o3vfb1chawp8hpnGAGMGYbtFhW/3f8VYpnzCUjMGX9yxwV+HXA8wMRPfSQOBkw0ywgFjQ==", "dev": true, "license": "MIT", "dependencies": { - "@nx/eslint-plugin": "19.5.7" + "@nx/eslint-plugin": "19.7.2" } }, "node_modules/@nrwl/jest": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nrwl/jest/-/jest-19.5.7.tgz", - "integrity": "sha512-E0Ii+ybj3UewhElZ4IyElzeA0zY8NiF0kHI06tTYUi8sYsompxT6mkSLmNffn0ouovqnT0/IwYMZVn0BA5lURg==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nrwl/jest/-/jest-19.7.2.tgz", + "integrity": "sha512-gpmYKyxmpcWaxTHvzjY2ZKaG9t+5Ys4c7VKrsyGAdqQ846+AUzKeFZ/IObqP31WA7tcZPqV/xcSzO6KqKlLYzg==", "dev": true, "license": "MIT", "dependencies": { - "@nx/jest": "19.5.7" + "@nx/jest": "19.7.2" } }, "node_modules/@nrwl/js": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nrwl/js/-/js-19.5.7.tgz", - "integrity": "sha512-Hb8ZBQYI7X5YsV573jCDm+3rn+htVqf0GEaDJGRmhzPe9PE/rlquti07gO5ao9+SeLcB34g6kAhR8PO+3sz0pw==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nrwl/js/-/js-19.7.2.tgz", + "integrity": "sha512-Md2EWHbLrVhsB3KeI+EzgQPMCPwcGGAFZ17f9WnxzMHi5Wr219f7a72vD+6qIc3gwd+2EDMdvSHm10+oup+Rzg==", "license": "MIT", "dependencies": { - "@nx/js": "19.5.7" + "@nx/js": "19.7.2" } }, "node_modules/@nrwl/tao": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-19.5.7.tgz", - "integrity": "sha512-c1rN6HY97+cEwoM5Q9412399Ac1rw7pI/3IS5iJSYkeI5TTGOobIpdCavJPZVcfqo4+wegXPA3F/OmulgbOUJA==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-19.7.2.tgz", + "integrity": "sha512-sGaJWgR2F9i64BAULzCG3D5Kmf96wg3hyEAICpZe0VNnJV/DuXoNKFW+uhy7/l4Z6thgBV3dvoPhN5YTN47ggA==", "license": "MIT", "dependencies": { - "nx": "19.5.7", + "nx": "19.7.2", "tslib": "^2.3.0" }, "bin": { @@ -5369,46 +5193,46 @@ } }, "node_modules/@nrwl/web": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nrwl/web/-/web-19.5.7.tgz", - "integrity": "sha512-QKnxI91kpsv2In/WGcEHgm4VifY6Oflgtr4GSGgI0SogfAs0TYU7J4fDLKKuX1KQeO5y9PQ2V0/ci4NjiDnRXw==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nrwl/web/-/web-19.7.2.tgz", + "integrity": "sha512-NAEd2rJb+broWUbRFGe5pVQwQ/5hEfgQsJTPeb4w6RmdC2cZl/XeyT0vStIwHv5VaFmobfVn77eU56DZXgT4rA==", "license": "MIT", "dependencies": { - "@nx/web": "19.5.7" + "@nx/web": "19.7.2" } }, "node_modules/@nrwl/webpack": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nrwl/webpack/-/webpack-19.5.7.tgz", - "integrity": "sha512-I9dMTCrB/sZHeKnGoX3b8gwBObegjSNytBj5rBqJMLke2DIEbtOTE2oTj/vNpk7CIn0IEy5+5qTLWGIvESuH3w==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nrwl/webpack/-/webpack-19.7.2.tgz", + "integrity": "sha512-fAbCXRyHlmQJby93c2d594Ivwcm2ljz1LehpyswfXmd3KmCWrt9y1fiKokpeKQIMtfm6vIm0GPrL7UCFht4HAA==", "license": "MIT", "dependencies": { - "@nx/webpack": "19.5.7" + "@nx/webpack": "19.7.2" } }, "node_modules/@nrwl/workspace": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nrwl/workspace/-/workspace-19.5.7.tgz", - "integrity": "sha512-VzQmG+de1DvQnmWy2acMkxBrRPxFdvQ06Tja6tThn3UWMB9RwK2wKIEERttRhjBLGjGlr6ARi9Bd8zYTgpW0Lw==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nrwl/workspace/-/workspace-19.7.2.tgz", + "integrity": "sha512-a6DojKBDdbAe85gV0Rxo92P8yhuXK1C2jWCIAZEaa6Am5gpfyezxIIKPcvKqucgtDg1aaU6zyP03GcMS9J6HuQ==", "license": "MIT", "dependencies": { - "@nx/workspace": "19.5.7" + "@nx/workspace": "19.7.2" } }, "node_modules/@nx/angular": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/angular/-/angular-19.5.7.tgz", - "integrity": "sha512-CG/J0vtllN77Q02EiNPBC7OK20iJ72GjvO80k6k0QNvyIcy+F2G3SXeIZqHV3l8fdnGDhF156uyJMA6rBZFSDw==", - "license": "MIT", - "dependencies": { - "@module-federation/enhanced": "~0.2.3", - "@nrwl/angular": "19.5.7", - "@nx/devkit": "19.5.7", - "@nx/eslint": "19.5.7", - "@nx/js": "19.5.7", - "@nx/web": "19.5.7", - "@nx/webpack": "19.5.7", - "@nx/workspace": "19.5.7", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/angular/-/angular-19.7.2.tgz", + "integrity": "sha512-YTsHaTkJnuraLUfWQn/BWROKm4vsztlcDTKFKQIPexCjR5+gvJwr2iIuHGcQUfH21UEyVVlA6PQFvWlNXRtdKA==", + "license": "MIT", + "dependencies": { + "@module-federation/enhanced": "~0.6.0", + "@nrwl/angular": "19.7.2", + "@nx/devkit": "19.7.2", + "@nx/eslint": "19.7.2", + "@nx/js": "19.7.2", + "@nx/web": "19.7.2", + "@nx/webpack": "19.7.2", + "@nx/workspace": "19.7.2", "@phenomnomnominal/tsquery": "~5.0.1", "@typescript-eslint/type-utils": "^7.16.0", "chalk": "^4.1.0", @@ -5499,13 +5323,27 @@ "node": ">=8" } }, + "node_modules/@nx/angular/node_modules/webpack-merge": { + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.10.0.tgz", + "integrity": "sha512-+4zXKdx7UnO+1jaN4l2lHVD+mFvnlZQP/6ljaJVb4SZiwIKeUnrT5l0gkT8z+n4hKpC+jpOv6O9R+gLtag7pSA==", + "license": "MIT", + "dependencies": { + "clone-deep": "^4.0.1", + "flat": "^5.0.2", + "wildcard": "^2.0.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/@nx/devkit": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-19.5.7.tgz", - "integrity": "sha512-mUtZQcdqbF0Q9HfyG14jmpPCtZ1GnVaLNIADZv5SLpFyfh4ZjaBw6wdjPj7Sp3imLoyqMrcd9nCRNO2hlem8bw==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-19.7.2.tgz", + "integrity": "sha512-WYffA5fXhXguy2/QphPCi8aZy39c14R2N1MkuNkOSVznZTgWbuHGiaP4BwD+/XAfbZhqnrEJvMHpmYcSm90DkQ==", "license": "MIT", "dependencies": { - "@nrwl/devkit": "19.5.7", + "@nrwl/devkit": "19.7.2", "ejs": "^3.1.7", "enquirer": "~2.3.6", "ignore": "^5.0.4", @@ -5520,14 +5358,14 @@ } }, "node_modules/@nx/eslint": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/eslint/-/eslint-19.5.7.tgz", - "integrity": "sha512-xqCiwWWuG1rRUE3rno7PUqAoZK3HHhxE5POKh4zf9BzOSaQwu8G3i6wRMoaVeEBqxfxIbgs2Uf6j9A5XyLW1Hw==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/eslint/-/eslint-19.7.2.tgz", + "integrity": "sha512-NnxxDv80R+wUd5nUjFvdzdMURq3sDnWsTJ1XkJc19EVAjL1Q1YO0LpfADJPpNV1+mqAaJIBdQYWwX/cIzubyLw==", "license": "MIT", "dependencies": { - "@nx/devkit": "19.5.7", - "@nx/js": "19.5.7", - "@nx/linter": "19.5.7", + "@nx/devkit": "19.7.2", + "@nx/js": "19.7.2", + "@nx/linter": "19.7.2", "semver": "^7.5.3", "tslib": "^2.3.0", "typescript": "~5.4.2" @@ -5543,15 +5381,15 @@ } }, "node_modules/@nx/eslint-plugin": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/eslint-plugin/-/eslint-plugin-19.5.7.tgz", - "integrity": "sha512-cldJ2THoCz3mbfqX/gHnm+XLrmDYa5WcXav8f/AGqeGYLwHJdBdgj151lcVOgIKChR5judn9bpLMGt7J2zq0Yg==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/eslint-plugin/-/eslint-plugin-19.7.2.tgz", + "integrity": "sha512-nbWDW5jvlfG8kQ7IJyKm7zcLExKcpAXmcK8haWLpBijopOLfyg2wpmMJWyJf+SSPwJ+rTfsr/YXVr15P/W3CTw==", "dev": true, "license": "MIT", "dependencies": { - "@nrwl/eslint-plugin-nx": "19.5.7", - "@nx/devkit": "19.5.7", - "@nx/js": "19.5.7", + "@nrwl/eslint-plugin-nx": "19.7.2", + "@nx/devkit": "19.7.2", + "@nx/js": "19.7.2", "@typescript-eslint/type-utils": "^7.16.0", "@typescript-eslint/utils": "^7.16.0", "chalk": "^4.1.0", @@ -5683,17 +5521,17 @@ } }, "node_modules/@nx/jest": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/jest/-/jest-19.5.7.tgz", - "integrity": "sha512-3WUlLSlhzuunVlYSoJUMRiBsSgmFmPma5GmAT0LhDlU8Gdgrhy/ZPJf9E5gLBaK2r6w/rm0SQ210OQrt8zlntQ==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/jest/-/jest-19.7.2.tgz", + "integrity": "sha512-K6dTQIp8b2orOB+nWYIS9yXd8TV5fLe4T+rMDxeHniJXzMAFWemwChgAxAG0N14TrCzZAKwytZOwl41WfEYLew==", "dev": true, "license": "MIT", "dependencies": { "@jest/reporters": "^29.4.1", "@jest/test-result": "^29.4.1", - "@nrwl/jest": "19.5.7", - "@nx/devkit": "19.5.7", - "@nx/js": "19.5.7", + "@nrwl/jest": "19.7.2", + "@nx/devkit": "19.7.2", + "@nx/js": "19.7.2", "@phenomnomnominal/tsquery": "~5.0.1", "chalk": "^4.1.0", "identity-obj-proxy": "3.0.0", @@ -5702,6 +5540,7 @@ "jest-util": "^29.4.1", "minimatch": "9.0.3", "resolve.exports": "1.1.0", + "semver": "^7.5.3", "tslib": "^2.3.0", "yargs-parser": "21.1.1" } @@ -5783,9 +5622,9 @@ } }, "node_modules/@nx/js": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/js/-/js-19.5.7.tgz", - "integrity": "sha512-DlZHz6nWIFyr+43T0g/FfISXETfKuLwg22clQGwTlsmal9ShMOt7uTNl18BzK1cnvxE+cwbFUQ8pCL1DcrYKsA==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/js/-/js-19.7.2.tgz", + "integrity": "sha512-lpMJVHerDdTPkfDnK/6wPnV6yoYq8x4/1nqfyH4OuX5V/oQIe2fKaqEGurvFvcn0f3zNopuyr6E1+w1rmYpODA==", "license": "MIT", "dependencies": { "@babel/core": "^7.23.2", @@ -5795,9 +5634,9 @@ "@babel/preset-env": "^7.23.2", "@babel/preset-typescript": "^7.22.5", "@babel/runtime": "^7.22.6", - "@nrwl/js": "19.5.7", - "@nx/devkit": "19.5.7", - "@nx/workspace": "19.5.7", + "@nrwl/js": "19.7.2", + "@nx/devkit": "19.7.2", + "@nx/workspace": "19.7.2", "babel-plugin-const-enum": "^1.0.1", "babel-plugin-macros": "^2.8.0", "babel-plugin-transform-typescript-metadata": "^0.3.1", @@ -5808,6 +5647,7 @@ "fs-extra": "^11.1.0", "ignore": "^5.0.4", "js-tokens": "^4.0.0", + "jsonc-parser": "3.2.0", "minimatch": "9.0.3", "npm-package-arg": "11.0.1", "npm-run-path": "^4.0.1", @@ -5927,6 +5767,12 @@ "node": ">=8" } }, + "node_modules/@nx/js/node_modules/jsonc-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", + "license": "MIT" + }, "node_modules/@nx/js/node_modules/npm-package-arg": { "version": "11.0.1", "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.1.tgz", @@ -6067,18 +5913,18 @@ } }, "node_modules/@nx/linter": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/linter/-/linter-19.5.7.tgz", - "integrity": "sha512-4DXi17d11xEbrffNDOS+qoC9wIZJPxiyf88x6pRIhPyUb/NNMCT4hLnpEGnJvhqGb8LXF/c48UkJZqda/6p4qA==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/linter/-/linter-19.7.2.tgz", + "integrity": "sha512-V7fu3sVd84MH1wXf3CzinMA62mJdV9fuqFwKYgWkiLUMu6wNUbIURARscEIAU3OTSPh5VyzTbMkohOjtlqD5sg==", "license": "MIT", "dependencies": { - "@nx/eslint": "19.5.7" + "@nx/eslint": "19.7.2" } }, "node_modules/@nx/nx-darwin-arm64": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-19.5.7.tgz", - "integrity": "sha512-5jFAZSfV8QVNoxOXayZw4/jNJbxMMctNOYZW8Qj4eU8Ti+OmhsLgouxz/9enCh5SDITriOMZ7IHZ9rhrlGQoig==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-19.7.2.tgz", + "integrity": "sha512-pKLhQSdbg9oIovQrzpJqzQk8vS2V1t8vPniRLpH3YGziAlo+wTESDkgE2ZNmv/NqLti45fjZZ6I/7r2jdF6z4A==", "cpu": [ "arm64" ], @@ -6092,9 +5938,9 @@ } }, "node_modules/@nx/nx-darwin-x64": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-19.5.7.tgz", - "integrity": "sha512-Ss+rF2+MQxyKrNnSYAeEGhtdE9hUHiTqyjJo4n1lvIWJ++TairOCtk5QRHrYLgAxE1XTf0OabcsDzegxv7yk3Q==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-19.7.2.tgz", + "integrity": "sha512-PdQFp4Zo+Ero5tTh8d+mae0Fo64vWLLBcTh4zPmskjaU5PiY6/4xOzdaAjtbHiak7h1mCGB/31/efFzKf5EvKA==", "cpu": [ "x64" ], @@ -6108,9 +5954,9 @@ } }, "node_modules/@nx/nx-freebsd-x64": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-19.5.7.tgz", - "integrity": "sha512-FMLXcUr3mw/v4LvmNqHMAXy2k+T/hp2YpdBUq9ExteMfRywFsnKNlm39n/quniFsgKthEMdvvzxSQppRKaVwIw==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-19.7.2.tgz", + "integrity": "sha512-ORedNKXCbH4DQ4lX+YoHsHwGNGWxeU/8OpiWRcZzpF5vYVoTR3m93szemdJ3U5V6IXFI7r6/qz/FRltnx+VT8g==", "cpu": [ "x64" ], @@ -6124,9 +5970,9 @@ } }, "node_modules/@nx/nx-linux-arm-gnueabihf": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-19.5.7.tgz", - "integrity": "sha512-LhJ342HutpR258lBLVTkXd6x2Uj4ZPJ6xKdfEm+FYQvG1byPr2L0TlNXcfSBkYtd7wRn0qg9eQZoCV/5+w415Q==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-19.7.2.tgz", + "integrity": "sha512-KxCfE9qFwmtTBqcYGKs3uYkxsuAhItf1xyMK07uhdY6igI1cuhVBYNLtVd0t25lb4SU4RFtwQu69A328FVc11w==", "cpu": [ "arm" ], @@ -6140,9 +5986,9 @@ } }, "node_modules/@nx/nx-linux-arm64-gnu": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-19.5.7.tgz", - "integrity": "sha512-Q6gN+VNLisg7mYPTXC5JuGCP/s9tLjJFclKdH6FoP5K1Hgy88KK1uUoivDIfI8xaEgyLqphD1AAqokiFWZNWsg==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-19.7.2.tgz", + "integrity": "sha512-ljiDNBPwL+aGnqZw9fAygNj4c2FRUDqGypli0gjWNZjri+JJqqtPwdYLYsUVBCs8chcgwvsHYP0AVKZaPf2K1A==", "cpu": [ "arm64" ], @@ -6156,9 +6002,9 @@ } }, "node_modules/@nx/nx-linux-arm64-musl": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-19.5.7.tgz", - "integrity": "sha512-BsYNcYujNKb+uE7PrJp4PrX8a3G9oy+THaUr0t5+L435HjuZDBiK+tK9JzYGvM0bR5FOYm5K99I1DVD/Hv0snw==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-19.7.2.tgz", + "integrity": "sha512-G9IBIfCFknbVd+ZNn22BC80pu6JgToslEZyl2qRKRgq6D4Xsfm8zwKlKJNQDWY3I//f26u+wiA83yEFOaQcqyQ==", "cpu": [ "arm64" ], @@ -6172,9 +6018,9 @@ } }, "node_modules/@nx/nx-linux-x64-gnu": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-19.5.7.tgz", - "integrity": "sha512-ILaLU8b5lUokYVF3vxAVj62qFok1hexiNzBdLGJPI1OkPGELtLyb8RymI3939iJoNMk1DS3/6dqK7NHXvHX8Mw==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-19.7.2.tgz", + "integrity": "sha512-P5HQhLoxLodpbhF5Col+ygScXfcVnk0gqXPxbc7kOnhdCwwIISZxHPsrgm0jbWaB5TufBuZNlo+ST8Evtnzojg==", "cpu": [ "x64" ], @@ -6188,9 +6034,9 @@ } }, "node_modules/@nx/nx-linux-x64-musl": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-19.5.7.tgz", - "integrity": "sha512-LfTnO4JZebLugioMk+GTptv3N38Wj2i2Pko0bdRZaKba+INGSlUgFqoRuO0KqZEmVIUGrxfkfqIN3HghVQ4D/Q==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-19.7.2.tgz", + "integrity": "sha512-b08iqgz4Z2jKRJ66rf7ci/n0LFZ3CnaxdpXnOpb1FM/ZBLn3BuNah36K03UWamBlkrVEmAORZtPKZ5OuQHnlMg==", "cpu": [ "x64" ], @@ -6204,9 +6050,9 @@ } }, "node_modules/@nx/nx-win32-arm64-msvc": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-19.5.7.tgz", - "integrity": "sha512-cCTttdbf1AKuDU8j108SpIMWs53A/0mOVDPOPpa+oKkvBaI8ruZkxOceMjWZjWULd2gi1nS+5nJePpbrdQ8mkg==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-19.7.2.tgz", + "integrity": "sha512-hn8Qm/iGiOpyP/34M/aKFYDStLzudX1dYPC62RnXU0/WI29JTdnT420rYjwXkQTaPMZsvi5xkQmBphowfGlHww==", "cpu": [ "arm64" ], @@ -6220,9 +6066,9 @@ } }, "node_modules/@nx/nx-win32-x64-msvc": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-19.5.7.tgz", - "integrity": "sha512-EqSnjpq1PNR/C8/YkL+Gn79dDfQ+HwJM8VJOt4qoCOQ9gQZqNJphjW2hg0H8WxLYezMScx3fbL99mvJO7ab2Cw==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-19.7.2.tgz", + "integrity": "sha512-gK5XnkeiVbjs9+dkukGmZedXrxSL845t/ntlA8wp4joOnb7xUED/xvwhIP7DRjL6VefFbFIzhxgPaSaKfzaiiA==", "cpu": [ "x64" ], @@ -6236,14 +6082,14 @@ } }, "node_modules/@nx/web": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/web/-/web-19.5.7.tgz", - "integrity": "sha512-ToZmgBuB1AJBFxY6+qILf+JyRgRjqbOIzwa0oyydwqFGPUr5UiHTDuDvmjHKOKsTZKcwfg/ladtvQkt943h/CQ==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/web/-/web-19.7.2.tgz", + "integrity": "sha512-2vtNymzmGzNtwivRM90qkntMjGEY3YPDA2noh0g9yYrN3Tb3U5cx11RhopVAZsJnVU+6DDnKmgWqzYn8rTyZvQ==", "license": "MIT", "dependencies": { - "@nrwl/web": "19.5.7", - "@nx/devkit": "19.5.7", - "@nx/js": "19.5.7", + "@nrwl/web": "19.7.2", + "@nx/devkit": "19.7.2", + "@nx/js": "19.7.2", "chalk": "^4.1.0", "detect-port": "^1.5.1", "http-server": "^14.1.0", @@ -6321,17 +6167,17 @@ } }, "node_modules/@nx/webpack": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/webpack/-/webpack-19.5.7.tgz", - "integrity": "sha512-llnefD+MHajVVHslf1Wo8BMYT7U4Z1zhg1qpFc9DvBNC2GcM86D8KmNi0JJbBMV/f1Xuk5cAa9Dwj8B3BE3ynQ==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/webpack/-/webpack-19.7.2.tgz", + "integrity": "sha512-R5gWxiwu+oLTggiGpzYofP8RVOm83L9RHbu1JIDLcy+hJhaXKNT/fINfiTusMjl2kdj2eDWTkeDtyzybYmOkqw==", "license": "MIT", "dependencies": { "@babel/core": "^7.23.2", - "@module-federation/enhanced": "^0.2.3", - "@module-federation/sdk": "^0.2.3", - "@nrwl/webpack": "19.5.7", - "@nx/devkit": "19.5.7", - "@nx/js": "19.5.7", + "@module-federation/enhanced": "^0.6.0", + "@module-federation/sdk": "^0.6.0", + "@nrwl/webpack": "19.7.2", + "@nx/devkit": "19.7.2", + "@nx/js": "19.7.2", "@phenomnomnominal/tsquery": "~5.0.1", "ajv": "^8.12.0", "autoprefixer": "^10.4.9", @@ -6365,17 +6211,11 @@ "tsconfig-paths-webpack-plugin": "4.0.0", "tslib": "^2.3.0", "webpack": "^5.80.0", - "webpack-dev-server": "^4.9.3", + "webpack-dev-server": "^5.0.4", "webpack-node-externals": "^3.0.0", "webpack-subresource-integrity": "^5.1.0" } }, - "node_modules/@nx/webpack/node_modules/@types/retry": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz", - "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==", - "license": "MIT" - }, "node_modules/@nx/webpack/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -6512,15 +6352,6 @@ } } }, - "node_modules/@nx/webpack/node_modules/define-lazy-prop": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", - "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, "node_modules/@nx/webpack/node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -6562,54 +6393,18 @@ "node": ">=8" } }, - "node_modules/@nx/webpack/node_modules/ipaddr.js": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-2.2.0.tgz", - "integrity": "sha512-Ag3wB2o37wslZS19hZqorUnrnzSkpOVy+IiiDEiTqNubEYpYuHWIf6K4psgN2ZWKExS4xhVCrRVfb/wfW8fWJA==", - "license": "MIT", - "engines": { - "node": ">= 10" - } - }, - "node_modules/@nx/webpack/node_modules/is-docker": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", - "license": "MIT", + "node_modules/@nx/webpack/node_modules/less": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/less/-/less-4.1.3.tgz", + "integrity": "sha512-w16Xk/Ta9Hhyei0Gpz9m7VS8F28nieJaL/VyShID7cYvP6IL5oHeL6p4TXSDJqZE/lNv0oJ2pGVjJsRkfwm5FA==", + "license": "Apache-2.0", + "dependencies": { + "copy-anything": "^2.0.1", + "parse-node-version": "^1.0.1", + "tslib": "^2.3.0" + }, "bin": { - "is-docker": "cli.js" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@nx/webpack/node_modules/is-wsl": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", - "license": "MIT", - "dependencies": { - "is-docker": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@nx/webpack/node_modules/less": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/less/-/less-4.1.3.tgz", - "integrity": "sha512-w16Xk/Ta9Hhyei0Gpz9m7VS8F28nieJaL/VyShID7cYvP6IL5oHeL6p4TXSDJqZE/lNv0oJ2pGVjJsRkfwm5FA==", - "license": "Apache-2.0", - "dependencies": { - "copy-anything": "^2.0.1", - "parse-node-version": "^1.0.1", - "tslib": "^2.3.0" - }, - "bin": { - "lessc": "bin/lessc" + "lessc": "bin/lessc" }, "engines": { "node": ">=6" @@ -6701,36 +6496,6 @@ "webpack": "^5.0.0" } }, - "node_modules/@nx/webpack/node_modules/open": { - "version": "8.4.2", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz", - "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==", - "license": "MIT", - "dependencies": { - "define-lazy-prop": "^2.0.0", - "is-docker": "^2.1.1", - "is-wsl": "^2.2.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@nx/webpack/node_modules/p-retry": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz", - "integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==", - "license": "MIT", - "dependencies": { - "@types/retry": "0.12.0", - "retry": "^0.13.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/@nx/webpack/node_modules/pify": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", @@ -6763,15 +6528,6 @@ "webpack": "^5.0.0" } }, - "node_modules/@nx/webpack/node_modules/retry": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", - "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, "node_modules/@nx/webpack/node_modules/sass-loader": { "version": "12.6.0", "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-12.6.0.tgz", @@ -6844,123 +6600,17 @@ "node": ">=8" } }, - "node_modules/@nx/webpack/node_modules/webpack-dev-middleware": { - "version": "5.3.4", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-5.3.4.tgz", - "integrity": "sha512-BVdTqhhs+0IfoeAf7EoH5WE+exCmqGerHfDM0IL096Px60Tq2Mn9MAbnaGUe6HiMa41KMCYF19gyzZmBcq/o4Q==", - "license": "MIT", - "dependencies": { - "colorette": "^2.0.10", - "memfs": "^3.4.3", - "mime-types": "^2.1.31", - "range-parser": "^1.2.1", - "schema-utils": "^4.0.0" - }, - "engines": { - "node": ">= 12.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.0.0 || ^5.0.0" - } - }, - "node_modules/@nx/webpack/node_modules/webpack-dev-server": { - "version": "4.15.2", - "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.15.2.tgz", - "integrity": "sha512-0XavAZbNJ5sDrCbkpWL8mia0o5WPOd2YGtxrEiZkBK9FjLppIUK2TgxK6qGD2P3hUXTJNNPVibrerKcx5WkR1g==", - "license": "MIT", - "dependencies": { - "@types/bonjour": "^3.5.9", - "@types/connect-history-api-fallback": "^1.3.5", - "@types/express": "^4.17.13", - "@types/serve-index": "^1.9.1", - "@types/serve-static": "^1.13.10", - "@types/sockjs": "^0.3.33", - "@types/ws": "^8.5.5", - "ansi-html-community": "^0.0.8", - "bonjour-service": "^1.0.11", - "chokidar": "^3.5.3", - "colorette": "^2.0.10", - "compression": "^1.7.4", - "connect-history-api-fallback": "^2.0.0", - "default-gateway": "^6.0.3", - "express": "^4.17.3", - "graceful-fs": "^4.2.6", - "html-entities": "^2.3.2", - "http-proxy-middleware": "^2.0.3", - "ipaddr.js": "^2.0.1", - "launch-editor": "^2.6.0", - "open": "^8.0.9", - "p-retry": "^4.5.0", - "rimraf": "^3.0.2", - "schema-utils": "^4.0.0", - "selfsigned": "^2.1.1", - "serve-index": "^1.9.1", - "sockjs": "^0.3.24", - "spdy": "^4.0.2", - "webpack-dev-middleware": "^5.3.4", - "ws": "^8.13.0" - }, - "bin": { - "webpack-dev-server": "bin/webpack-dev-server.js" - }, - "engines": { - "node": ">= 12.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^4.37.0 || ^5.0.0" - }, - "peerDependenciesMeta": { - "webpack": { - "optional": true - }, - "webpack-cli": { - "optional": true - } - } - }, - "node_modules/@nx/webpack/node_modules/webpack-dev-server/node_modules/http-proxy-middleware": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz", - "integrity": "sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw==", - "license": "MIT", - "dependencies": { - "@types/http-proxy": "^1.17.8", - "http-proxy": "^1.18.1", - "is-glob": "^4.0.1", - "is-plain-obj": "^3.0.0", - "micromatch": "^4.0.2" - }, - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "@types/express": "^4.17.13" - }, - "peerDependenciesMeta": { - "@types/express": { - "optional": true - } - } - }, "node_modules/@nx/workspace": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/@nx/workspace/-/workspace-19.5.7.tgz", - "integrity": "sha512-HtyRP0358QxKCpRkEffG0SAvZ9aIWvazMX6vlyHoJt8fkUuxN/wkkR80TTmTurqt87OpJK67ylUx0eOzzzm8Lw==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/@nx/workspace/-/workspace-19.7.2.tgz", + "integrity": "sha512-Nj7OSY0jBtz5S2U5SC9HoUlaRyzUseQNwfVTvLb9yTByhcR/XkJZW+iWXYcG4VHF7fRhJjH1IdX8HaXkbN74KA==", "license": "MIT", "dependencies": { - "@nrwl/workspace": "19.5.7", - "@nx/devkit": "19.5.7", + "@nrwl/workspace": "19.7.2", + "@nx/devkit": "19.7.2", "chalk": "^4.1.0", "enquirer": "~2.3.6", - "nx": "19.5.7", + "nx": "19.7.2", "tslib": "^2.3.0", "yargs-parser": "21.1.1" } @@ -7036,9 +6686,9 @@ } }, "node_modules/@oxc-resolver/binding-darwin-arm64": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-darwin-arm64/-/binding-darwin-arm64-1.10.2.tgz", - "integrity": "sha512-aOCZYXqmFL+2sXlaVkYbAOtICGGeTFtmdul8OimQfOXHJods6YHJ2nR6+rEeBcJzaXyXPP18ne1IsEc4AYL1IA==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-darwin-arm64/-/binding-darwin-arm64-1.11.0.tgz", + "integrity": "sha512-jjhTgaTMhJ5lpE/OiqF5eX7Nhy5gPZBjZNqwmZstbHmqujfVs1MGiTEXHWgKUrcFdLnENWtuoIR3Kmdp3/vuqw==", "cpu": [ "arm64" ], @@ -7049,9 +6699,9 @@ ] }, "node_modules/@oxc-resolver/binding-darwin-x64": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-darwin-x64/-/binding-darwin-x64-1.10.2.tgz", - "integrity": "sha512-6WD7lHGkoduFZfUgnC2suKOlqttQRKxWsiVXiiGPu3mfXvQAhMd/gekuH1t8vOhFlPJduaww15n5UB0bSjCK+w==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-darwin-x64/-/binding-darwin-x64-1.11.0.tgz", + "integrity": "sha512-w/svTRKnuRinojYAVsWRozVoPar7XUPlJhpfnsYlReRjls6A53/ziTzHfpmcKjdBrP/AXPcDVJDnM4pOSsvWvA==", "cpu": [ "x64" ], @@ -7062,9 +6712,9 @@ ] }, "node_modules/@oxc-resolver/binding-freebsd-x64": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-freebsd-x64/-/binding-freebsd-x64-1.10.2.tgz", - "integrity": "sha512-nEqHWx/Ot5p7Mafj8qH6vFlLSvHjECxAcZwhnAMqRuQu1NgXC/QM3emkdhVGy7QJgsxZbHpPaF6TERNf5/NL9Q==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-freebsd-x64/-/binding-freebsd-x64-1.11.0.tgz", + "integrity": "sha512-thGp8g8maYUx7vYJqD0vSsuUO95vWNJwKS2AXchq212J5dQ0Dybq4gjt2O2N9iU+lxj1QzmIDXGw7q5HCagOiw==", "cpu": [ "x64" ], @@ -7075,9 +6725,9 @@ ] }, "node_modules/@oxc-resolver/binding-linux-arm-gnueabihf": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.10.2.tgz", - "integrity": "sha512-+AlZI0fPnpfArh8aC5k2295lmQrxa2p8gBLxC3buvCkz0ZpbVLxyyAXz3J2jGwJnmc5MUPLEqPYw6ZlAGH4XHA==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.11.0.tgz", + "integrity": "sha512-8G99bs4cnwpJRjRK2cEJXiJVyLogzPJq4JgLlcMEKSGhdkoMV1Ia0dghLk9lAFog33U4lWIwKmPgqQzTO6JM8g==", "cpu": [ "arm" ], @@ -7088,9 +6738,9 @@ ] }, "node_modules/@oxc-resolver/binding-linux-arm64-gnu": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.10.2.tgz", - "integrity": "sha512-8fZ8NszFaUZaoA8eUwkF2lHjgUs76aFiewWgG/cjcZmwKp+ErZQLW8eOvIWZ4SohHQ+ScvhVsSaU2PU38c88gw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.11.0.tgz", + "integrity": "sha512-hNcB/wbuCFbsspg4h9+Nz5gSL8PbRW7zG/eVvmEpzGhmVubzDFuNmlYtmaUaZ6b9jzOrrqTkYCt9t7Q2TDHnBA==", "cpu": [ "arm64" ], @@ -7101,9 +6751,9 @@ ] }, "node_modules/@oxc-resolver/binding-linux-arm64-musl": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.10.2.tgz", - "integrity": "sha512-oPrLICrw96Ym9n04FWXWGkbkpF6qJtZ57JSnqI3oQ24xHTt4iWyjHKHQO46NbJAK9sFb3Qce4BzV8faDI5Rifg==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.11.0.tgz", + "integrity": "sha512-H9rjqCcNQT9aip1VLrtsiyj9So0DEKUoutMNu1oL9UuD3H5lWIaxhDlHTAFsobWeUHCnuaCbizhGb9wyLRHSuA==", "cpu": [ "arm64" ], @@ -7114,9 +6764,9 @@ ] }, "node_modules/@oxc-resolver/binding-linux-x64-gnu": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.10.2.tgz", - "integrity": "sha512-eli74jTAUiIfqi8IPFqiPxQS69Alcr6w/IFRyf3XxrkxeFGgcgxJkRIxWNTKJ6T3EXxjuma+49LdZn6l9rEj7A==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.11.0.tgz", + "integrity": "sha512-6hdv/kmaGysK3/hUaGTYG07yX+nvk6hGoWombmOuc0vBnGLRtSjqvvgDBdAs9/iIcOSQI2YNUEiJvTyy6eb5GA==", "cpu": [ "x64" ], @@ -7127,9 +6777,9 @@ ] }, "node_modules/@oxc-resolver/binding-linux-x64-musl": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-x64-musl/-/binding-linux-x64-musl-1.10.2.tgz", - "integrity": "sha512-HH9zmjNSQo3rkbqJH5nIjGrtjC+QPrUy0KGGMR/oRCSLuD0cNFJ/Uly1XAugwSm4oEw0+rv6PmeclXmVTKsxhw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-linux-x64-musl/-/binding-linux-x64-musl-1.11.0.tgz", + "integrity": "sha512-AYUvI4VwQkBq0rcYI3Z7a9+BpllbllbxQCD30ZRgHghvqXvDECWfP8r98iynz7u0oKGO8ZPf15d/l9VrkRtiuQ==", "cpu": [ "x64" ], @@ -7140,9 +6790,9 @@ ] }, "node_modules/@oxc-resolver/binding-wasm32-wasi": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-wasm32-wasi/-/binding-wasm32-wasi-1.10.2.tgz", - "integrity": "sha512-3ItX23q33sfVBtMMdMhVDSe0NX5zBHxHfmFiXhSJuwNaVIwGpLFU7WU2nmq9oNdnmTOvjL8vlhOqiGvumBLlRA==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-wasm32-wasi/-/binding-wasm32-wasi-1.11.0.tgz", + "integrity": "sha512-vhXnOs34q8p7QhqQ04bIGy7ZzLEHBaBTsqh2wpAzSBCmjL7MmTpM8KWwXFPFB+Wj0P7/parjGDHzbZG20pEePg==", "cpu": [ "wasm32" ], @@ -7156,9 +6806,9 @@ } }, "node_modules/@oxc-resolver/binding-win32-arm64-msvc": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.10.2.tgz", - "integrity": "sha512-aVoj2V+jmQ1N+lVy9AhaLmzssJM0lcKt8D0UL83aNLZJ5lSN7hgBuUXTVmL+VF268f167khjo38z+fbELDVm8Q==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.11.0.tgz", + "integrity": "sha512-5XMm8EELDkAVQoMGv4QKqi+SjWnhcU1aq5B9q59iqiXIBNAs72f0d3LAldLrqE2XomP2QweorpsoxuGuIk2Cnw==", "cpu": [ "arm64" ], @@ -7169,9 +6819,9 @@ ] }, "node_modules/@oxc-resolver/binding-win32-x64-msvc": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.10.2.tgz", - "integrity": "sha512-l8BDQWyP0Piw8hlmYPUqTRKLsq+ceG9h+9p6ZrjNzwW9AmJX7T7T2hgoVVHqS6f4WNA/CFkb3RyZP9QTzNkyyA==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@oxc-resolver/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.11.0.tgz", + "integrity": "sha512-rVKiZSTgao4SBWyqWvStxDhKmwbKEN/E8+H3CJzIP4FcsL7MQtWH2HT86bmoefkyRe1yO+m2/mG7j3TfADh/Fg==", "cpu": [ "x64" ], @@ -7204,9 +6854,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.18.0.tgz", - "integrity": "sha512-Tya6xypR10giZV1XzxmH5wr25VcZSncG0pZIjfePT0OVBvqNEurzValetGNarVrGiq66EBVAFn15iYX4w6FKgQ==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.20.0.tgz", + "integrity": "sha512-TSpWzflCc4VGAUJZlPpgAJE1+V60MePDQnBd7PPkpuEmOy8i87aL6tinFGKBFKuEDikYpig72QzdT3QPYIi+oA==", "cpu": [ "arm" ], @@ -7217,9 +6867,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.18.0.tgz", - "integrity": "sha512-avCea0RAP03lTsDhEyfy+hpfr85KfyTctMADqHVhLAF3MlIkq83CP8UfAHUssgXTYd+6er6PaAhx/QGv4L1EiA==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.20.0.tgz", + "integrity": "sha512-u00Ro/nok7oGzVuh/FMYfNoGqxU5CPWz1mxV85S2w9LxHR8OoMQBuSk+3BKVIDYgkpeOET5yXkx90OYFc+ytpQ==", "cpu": [ "arm64" ], @@ -7230,9 +6880,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.18.0.tgz", - "integrity": "sha512-IWfdwU7KDSm07Ty0PuA/W2JYoZ4iTj3TUQjkVsO/6U+4I1jN5lcR71ZEvRh52sDOERdnNhhHU57UITXz5jC1/w==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.20.0.tgz", + "integrity": "sha512-uFVfvzvsdGtlSLuL0ZlvPJvl6ZmrH4CBwLGEFPe7hUmf7htGAN+aXo43R/V6LATyxlKVC/m6UsLb7jbG+LG39Q==", "cpu": [ "arm64" ], @@ -7243,9 +6893,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.18.0.tgz", - "integrity": "sha512-n2LMsUz7Ynu7DoQrSQkBf8iNrjOGyPLrdSg802vk6XT3FtsgX6JbE8IHRvposskFm9SNxzkLYGSq9QdpLYpRNA==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.20.0.tgz", + "integrity": "sha512-xbrMDdlev53vNXexEa6l0LffojxhqDTBeL+VUxuuIXys4x6xyvbKq5XqTXBCEUA8ty8iEJblHvFaWRJTk/icAQ==", "cpu": [ "x64" ], @@ -7256,9 +6906,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.18.0.tgz", - "integrity": "sha512-C/zbRYRXFjWvz9Z4haRxcTdnkPt1BtCkz+7RtBSuNmKzMzp3ZxdM28Mpccn6pt28/UWUCTXa+b0Mx1k3g6NOMA==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.20.0.tgz", + "integrity": "sha512-jMYvxZwGmoHFBTbr12Xc6wOdc2xA5tF5F2q6t7Rcfab68TT0n+r7dgawD4qhPEvasDsVpQi+MgDzj2faOLsZjA==", "cpu": [ "arm" ], @@ -7269,9 +6919,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.18.0.tgz", - "integrity": "sha512-l3m9ewPgjQSXrUMHg93vt0hYCGnrMOcUpTz6FLtbwljo2HluS4zTXFy2571YQbisTnfTKPZ01u/ukJdQTLGh9A==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.20.0.tgz", + "integrity": "sha512-1asSTl4HKuIHIB1GcdFHNNZhxAYEdqML/MW4QmPS4G0ivbEcBr1JKlFLKsIRqjSwOBkdItn3/ZDlyvZ/N6KPlw==", "cpu": [ "arm" ], @@ -7282,9 +6932,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.18.0.tgz", - "integrity": "sha512-rJ5D47d8WD7J+7STKdCUAgmQk49xuFrRi9pZkWoRD1UeSMakbcepWXPF8ycChBoAqs1pb2wzvbY6Q33WmN2ftw==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.20.0.tgz", + "integrity": "sha512-COBb8Bkx56KldOYJfMf6wKeYJrtJ9vEgBRAOkfw6Ens0tnmzPqvlpjZiLgkhg6cA3DGzCmLmmd319pmHvKWWlQ==", "cpu": [ "arm64" ], @@ -7295,9 +6945,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.18.0.tgz", - "integrity": "sha512-be6Yx37b24ZwxQ+wOQXXLZqpq4jTckJhtGlWGZs68TgdKXJgw54lUUoFYrg6Zs/kjzAQwEwYbp8JxZVzZLRepQ==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.20.0.tgz", + "integrity": "sha512-+it+mBSyMslVQa8wSPvBx53fYuZK/oLTu5RJoXogjk6x7Q7sz1GNRsXWjn6SwyJm8E/oMjNVwPhmNdIjwP135Q==", "cpu": [ "arm64" ], @@ -7308,9 +6958,9 @@ ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.18.0.tgz", - "integrity": "sha512-hNVMQK+qrA9Todu9+wqrXOHxFiD5YmdEi3paj6vP02Kx1hjd2LLYR2eaN7DsEshg09+9uzWi2W18MJDlG0cxJA==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.20.0.tgz", + "integrity": "sha512-yAMvqhPfGKsAxHN8I4+jE0CpLWD8cv4z7CK7BMmhjDuz606Q2tFKkWRY8bHR9JQXYcoLfopo5TTqzxgPUjUMfw==", "cpu": [ "ppc64" ], @@ -7321,9 +6971,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.18.0.tgz", - "integrity": "sha512-ROCM7i+m1NfdrsmvwSzoxp9HFtmKGHEqu5NNDiZWQtXLA8S5HBCkVvKAxJ8U+CVctHwV2Gb5VUaK7UAkzhDjlg==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.20.0.tgz", + "integrity": "sha512-qmuxFpfmi/2SUkAw95TtNq/w/I7Gpjurx609OOOV7U4vhvUhBcftcmXwl3rqAek+ADBwSjIC4IVNLiszoj3dPA==", "cpu": [ "riscv64" ], @@ -7334,9 +6984,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.18.0.tgz", - "integrity": "sha512-0UyyRHyDN42QL+NbqevXIIUnKA47A+45WyasO+y2bGJ1mhQrfrtXUpTxCOrfxCR4esV3/RLYyucGVPiUsO8xjg==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.20.0.tgz", + "integrity": "sha512-I0BtGXddHSHjV1mqTNkgUZLnS3WtsqebAXv11D5BZE/gfw5KoyXSAXVqyJximQXNvNzUo4GKlCK/dIwXlz+jlg==", "cpu": [ "s390x" ], @@ -7347,9 +6997,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.18.0.tgz", - "integrity": "sha512-xuglR2rBVHA5UsI8h8UbX4VJ470PtGCf5Vpswh7p2ukaqBGFTnsfzxUBetoWBWymHMxbIG0Cmx7Y9qDZzr648w==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.20.0.tgz", + "integrity": "sha512-y+eoL2I3iphUg9tN9GB6ku1FA8kOfmF4oUEWhztDJ4KXJy1agk/9+pejOuZkNFhRwHAOxMsBPLbXPd6mJiCwew==", "cpu": [ "x64" ], @@ -7360,9 +7010,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.18.0.tgz", - "integrity": "sha512-LKaqQL9osY/ir2geuLVvRRs+utWUNilzdE90TpyoX0eNqPzWjRm14oMEE+YLve4k/NAqCdPkGYDaDF5Sw+xBfg==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.20.0.tgz", + "integrity": "sha512-hM3nhW40kBNYUkZb/r9k2FKK+/MnKglX7UYd4ZUy5DJs8/sMsIbqWK2piZtVGE3kcXVNj3B2IrUYROJMMCikNg==", "cpu": [ "x64" ], @@ -7373,9 +7023,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.18.0.tgz", - "integrity": "sha512-7J6TkZQFGo9qBKH0pk2cEVSRhJbL6MtfWxth7Y5YmZs57Pi+4x6c2dStAUvaQkHQLnEQv1jzBUW43GvZW8OFqA==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.20.0.tgz", + "integrity": "sha512-psegMvP+Ik/Bg7QRJbv8w8PAytPA7Uo8fpFjXyCRHWm6Nt42L+JtoqH8eDQ5hRP7/XW2UiIriy1Z46jf0Oa1kA==", "cpu": [ "arm64" ], @@ -7386,9 +7036,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.18.0.tgz", - "integrity": "sha512-Txjh+IxBPbkUB9+SXZMpv+b/vnTEtFyfWZgJ6iyCmt2tdx0OF5WhFowLmnh8ENGNpfUlUZkdI//4IEmhwPieNg==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.20.0.tgz", + "integrity": "sha512-GabekH3w4lgAJpVxkk7hUzUf2hICSQO0a/BLFA11/RMxQT92MabKAqyubzDZmMOC/hcJNlc+rrypzNzYl4Dx7A==", "cpu": [ "ia32" ], @@ -7399,9 +7049,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.18.0.tgz", - "integrity": "sha512-UOo5FdvOL0+eIVTgS4tIdbW+TtnBLWg1YBCcU2KWM7nuNwRz9bksDX1bekJJCpu25N1DVWaCwnT39dVQxzqS8g==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.20.0.tgz", + "integrity": "sha512-aJ1EJSuTdGnM6qbVC4B5DSmozPTqIag9fSzXRNNo+humQLG89XpPgdt16Ia56ORD7s+H8Pmyx44uczDQ0yDzpg==", "cpu": [ "x64" ], @@ -7412,13 +7062,13 @@ ] }, "node_modules/@schematics/angular": { - "version": "18.1.4", - "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-18.1.4.tgz", - "integrity": "sha512-M3edVYKiAGWAAKs7XDLpz1OKUy4STVMT+46Y44ydYz06hI8m/dJfS8ZHTvXPl7JhkrIrSDEMed+WidZtGPIxMg==", + "version": "18.2.4", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-18.2.4.tgz", + "integrity": "sha512-GxrPv4eOPrjMKoAVhch9eprW8H/DFhBy5Zgp7CgGui9NprYkkubxw/yyo11WfR5CFZ/q5AfsjV76dPCkhLwLmA==", "license": "MIT", "dependencies": { - "@angular-devkit/core": "18.1.4", - "@angular-devkit/schematics": "18.1.4", + "@angular-devkit/core": "18.2.4", + "@angular-devkit/schematics": "18.2.4", "jsonc-parser": "3.3.1" }, "engines": { @@ -7599,9 +7249,9 @@ } }, "node_modules/@swc/core": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.7.6.tgz", - "integrity": "sha512-FZxyao9eQks1MRmUshgsZTmlg/HB2oXK5fghkoWJm/1CU2q2kaJlVDll2as5j+rmWiwkp0Gidlq8wlXcEEAO+g==", + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@swc/core/-/core-1.7.26.tgz", + "integrity": "sha512-f5uYFf+TmMQyYIoxkn/evWhNGuUzC730dFwAKGwBVHHVoPyak1/GvJUm6i1SKl+2Hrj9oN0i3WSoWWZ4pgI8lw==", "devOptional": true, "hasInstallScript": true, "license": "Apache-2.0", @@ -7617,16 +7267,16 @@ "url": "https://opencollective.com/swc" }, "optionalDependencies": { - "@swc/core-darwin-arm64": "1.7.6", - "@swc/core-darwin-x64": "1.7.6", - "@swc/core-linux-arm-gnueabihf": "1.7.6", - "@swc/core-linux-arm64-gnu": "1.7.6", - "@swc/core-linux-arm64-musl": "1.7.6", - "@swc/core-linux-x64-gnu": "1.7.6", - "@swc/core-linux-x64-musl": "1.7.6", - "@swc/core-win32-arm64-msvc": "1.7.6", - "@swc/core-win32-ia32-msvc": "1.7.6", - "@swc/core-win32-x64-msvc": "1.7.6" + "@swc/core-darwin-arm64": "1.7.26", + "@swc/core-darwin-x64": "1.7.26", + "@swc/core-linux-arm-gnueabihf": "1.7.26", + "@swc/core-linux-arm64-gnu": "1.7.26", + "@swc/core-linux-arm64-musl": "1.7.26", + "@swc/core-linux-x64-gnu": "1.7.26", + "@swc/core-linux-x64-musl": "1.7.26", + "@swc/core-win32-arm64-msvc": "1.7.26", + "@swc/core-win32-ia32-msvc": "1.7.26", + "@swc/core-win32-x64-msvc": "1.7.26" }, "peerDependencies": { "@swc/helpers": "*" @@ -7638,9 +7288,9 @@ } }, "node_modules/@swc/core-darwin-arm64": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.7.6.tgz", - "integrity": "sha512-6lYHey84ZzsdtC7UuPheM4Rm0Inzxm6Sb8U6dmKc4eCx8JL0LfWG4LC5RsdsrTxnjTsbriWlnhZBffh8ijUHIQ==", + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-arm64/-/core-darwin-arm64-1.7.26.tgz", + "integrity": "sha512-FF3CRYTg6a7ZVW4yT9mesxoVVZTrcSWtmZhxKCYJX9brH4CS/7PRPjAKNk6kzWgWuRoglP7hkjQcd6EpMcZEAw==", "cpu": [ "arm64" ], @@ -7655,9 +7305,9 @@ } }, "node_modules/@swc/core-darwin-x64": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.7.6.tgz", - "integrity": "sha512-Fyl+8aH9O5rpx4O7r2KnsPpoi32iWoKOYKiipeTbGjQ/E95tNPxbmsz4yqE8Ovldcga60IPJ5OKQA3HWRiuzdw==", + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@swc/core-darwin-x64/-/core-darwin-x64-1.7.26.tgz", + "integrity": "sha512-az3cibZdsay2HNKmc4bjf62QVukuiMRh5sfM5kHR/JMTrLyS6vSw7Ihs3UTkZjUxkLTT8ro54LI6sV6sUQUbLQ==", "cpu": [ "x64" ], @@ -7672,9 +7322,9 @@ } }, "node_modules/@swc/core-linux-arm-gnueabihf": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.7.6.tgz", - "integrity": "sha512-2WxYTqFaOx48GKC2cbO1/IntA+w+kfCFy436Ij7qRqqtV/WAvTM9TC1OmiFbqq436rSot52qYmX8fkwdB5UcLQ==", + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.7.26.tgz", + "integrity": "sha512-VYPFVJDO5zT5U3RpCdHE5v1gz4mmR8BfHecUZTmD2v1JeFY6fv9KArJUpjrHEEsjK/ucXkQFmJ0jaiWXmpOV9Q==", "cpu": [ "arm" ], @@ -7689,9 +7339,9 @@ } }, "node_modules/@swc/core-linux-arm64-gnu": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.7.6.tgz", - "integrity": "sha512-TBEGMSe0LhvPe4S7E68c7VzgT3OMu4VTmBLS7B2aHv4v8uZO92Khpp7L0WqgYU1y5eMjk+XLDLi4kokiNHv/Hg==", + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.7.26.tgz", + "integrity": "sha512-YKevOV7abpjcAzXrhsl+W48Z9mZvgoVs2eP5nY+uoMAdP2b3GxC0Df1Co0I90o2lkzO4jYBpTMcZlmUXLdXn+Q==", "cpu": [ "arm64" ], @@ -7706,9 +7356,9 @@ } }, "node_modules/@swc/core-linux-arm64-musl": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.7.6.tgz", - "integrity": "sha512-QI8QGL0HGT42tj7F1A+YAzhGkJjUcvvTfI1e2m704W0Enl2/UIK9v5D1zvQzYwusRyKuaQfbeBRYDh0NcLOGLg==", + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.7.26.tgz", + "integrity": "sha512-3w8iZICMkQQON0uIcvz7+Q1MPOW6hJ4O5ETjA0LSP/tuKqx30hIniCGOgPDnv3UTMruLUnQbtBwVCZTBKR3Rkg==", "cpu": [ "arm64" ], @@ -7723,9 +7373,9 @@ } }, "node_modules/@swc/core-linux-x64-gnu": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.7.6.tgz", - "integrity": "sha512-61AYVzhjuNQAVIKKWOJu3H0/pFD28RYJGxnGg3YMhvRLRyuWNyY5Nyyj2WkKcz/ON+g38Arlz00NT1LDIViRLg==", + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.7.26.tgz", + "integrity": "sha512-c+pp9Zkk2lqb06bNGkR2Looxrs7FtGDMA4/aHjZcCqATgp348hOKH5WPvNLBl+yPrISuWjbKDVn3NgAvfvpH4w==", "cpu": [ "x64" ], @@ -7740,9 +7390,9 @@ } }, "node_modules/@swc/core-linux-x64-musl": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.7.6.tgz", - "integrity": "sha512-hQFznpfLK8XajfAAN9Cjs0w/aVmO7iu9VZvInyrTCRcPqxV5O+rvrhRxKvC1LRMZXr5M6JRSRtepp5w+TK4kAw==", + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.7.26.tgz", + "integrity": "sha512-PgtyfHBF6xG87dUSSdTJHwZ3/8vWZfNIXQV2GlwEpslrOkGqy+WaiiyE7Of7z9AvDILfBBBcJvJ/r8u980wAfQ==", "cpu": [ "x64" ], @@ -7757,9 +7407,9 @@ } }, "node_modules/@swc/core-win32-arm64-msvc": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.7.6.tgz", - "integrity": "sha512-Aqsd9afykVMuekzjm4X4TDqwxmG4CrzoOSFe0hZrn9SMio72l5eAPnMtYoe5LsIqtjV8MNprLfXaNbjHjTegmA==", + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.7.26.tgz", + "integrity": "sha512-9TNXPIJqFynlAOrRD6tUQjMq7KApSklK3R/tXgIxc7Qx+lWu8hlDQ/kVPLpU7PWvMMwC/3hKBW+p5f+Tms1hmA==", "cpu": [ "arm64" ], @@ -7774,9 +7424,9 @@ } }, "node_modules/@swc/core-win32-ia32-msvc": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.7.6.tgz", - "integrity": "sha512-9h0hYnOeRVNeQgHQTvD1Im67faNSSzBZ7Adtxyu9urNLfBTJilMllFd2QuGHlKW5+uaT6ZH7ZWDb+c/enx7Lcg==", + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.7.26.tgz", + "integrity": "sha512-9YngxNcG3177GYdsTum4V98Re+TlCeJEP4kEwEg9EagT5s3YejYdKwVAkAsJszzkXuyRDdnHUpYbTrPG6FiXrQ==", "cpu": [ "ia32" ], @@ -7791,9 +7441,9 @@ } }, "node_modules/@swc/core-win32-x64-msvc": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.7.6.tgz", - "integrity": "sha512-izeoB8glCSe6IIDQmrVm6bvR9muk9TeKgmtY7b6l1BwL4BFnTUk4dMmpbntT90bEVQn3JPCaPtUG4HfL8VuyuA==", + "version": "1.7.26", + "resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.7.26.tgz", + "integrity": "sha512-VR+hzg9XqucgLjXxA13MtV5O3C0bK0ywtLIBw/+a+O+Oc6mxFWHtdUeXDbIi5AiPbn0fjgVJMqYnyjGyyX8u0w==", "cpu": [ "x64" ], @@ -7815,9 +7465,9 @@ "license": "Apache-2.0" }, "node_modules/@swc/helpers": { - "version": "0.5.12", - "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.12.tgz", - "integrity": "sha512-KMZNXiGibsW9kvZAO1Pam2JPTDBm+KSHMMHWdsyI/1DbIZjT2A6Gy3hblVXUMEDvUAKq+e0vL0X0o54owWji7g==", + "version": "0.5.13", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.13.tgz", + "integrity": "sha512-UoKGxQ3r5kYI9dALKJapMmuK+1zWM/H17Z1+iwnNmzcJRnfFuevZs375TA5rW31pu4BS4NoSy1fRsexDXfWn5w==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -8009,26 +7659,6 @@ "@types/node": "*" } }, - "node_modules/@types/eslint": { - "version": "9.6.0", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.0.tgz", - "integrity": "sha512-gi6WQJ7cHRgZxtkQEoyHMppPjq9Kxo5Tjn2prSKDSmZrCz8TZ3jSRCeTJm+WoM+oB0WG37bRqLzaaU3q7JypGg==", - "license": "MIT", - "dependencies": { - "@types/estree": "*", - "@types/json-schema": "*" - } - }, - "node_modules/@types/eslint-scope": { - "version": "3.7.7", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", - "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", - "license": "MIT", - "dependencies": { - "@types/eslint": "*", - "@types/estree": "*" - } - }, "node_modules/@types/estree": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", @@ -8166,12 +7796,12 @@ } }, "node_modules/@types/node": { - "version": "22.1.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.1.0.tgz", - "integrity": "sha512-AOmuRF0R2/5j1knA3c6G3HOk523Ga+l+ZXltX8SF1+5oqcXijjfTd8fY3XRZqSihEu9XhtQnKYLmkFaoxgsJHw==", + "version": "22.5.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.4.tgz", + "integrity": "sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==", "license": "MIT", "dependencies": { - "undici-types": "~6.13.0" + "undici-types": "~6.19.2" } }, "node_modules/@types/node-forge": { @@ -8207,6 +7837,12 @@ "integrity": "sha512-XISRgDJ2Tc5q4TRqvgJtzsRkFYNJzZrhTdtMoGVBttwzzQJkPnS3WWTFc7kuDRoPtPakl+T+OfdEUjYJj7Jbow==", "license": "MIT" }, + "node_modules/@types/semver": { + "version": "7.5.8", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz", + "integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==", + "license": "MIT" + }, "node_modules/@types/send": { "version": "0.17.4", "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz", @@ -8499,17 +8135,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.0.1.tgz", - "integrity": "sha512-CBFR0G0sCt0+fzfnKaciu9IBsKvEKYwN9UZ+eeogK1fYHg4Qxk1yf/wLQkLXlq8wbU2dFlgAesxt8Gi76E8RTA==", + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.5.0.tgz", + "integrity": "sha512-6yyGYVL0e+VzGYp60wvkBHiqDWOpT63pdMV2CVG4LVDd5uR6q1qQN/7LafBZtAtNIn/mqXjsSeS5ggv/P0iECw==", "dev": true, "license": "MIT", "peer": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.0.1", - "@typescript-eslint/types": "8.0.1", - "@typescript-eslint/typescript-estree": "8.0.1" + "@typescript-eslint/scope-manager": "8.5.0", + "@typescript-eslint/types": "8.5.0", + "@typescript-eslint/typescript-estree": "8.5.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -8523,15 +8159,15 @@ } }, "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.0.1.tgz", - "integrity": "sha512-NpixInP5dm7uukMiRyiHjRKkom5RIFA4dfiHvalanD2cF0CLUuQqxfg8PtEUo9yqJI2bBhF+pcSafqnG3UBnRQ==", + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.5.0.tgz", + "integrity": "sha512-06JOQ9Qgj33yvBEx6tpC8ecP9o860rsR22hWMEd12WcTRrfaFgHr2RB/CA/B+7BMhHkXT4chg2MyboGdFGawYg==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@typescript-eslint/types": "8.0.1", - "@typescript-eslint/visitor-keys": "8.0.1" + "@typescript-eslint/types": "8.5.0", + "@typescript-eslint/visitor-keys": "8.5.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -8542,9 +8178,9 @@ } }, "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/types": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.0.1.tgz", - "integrity": "sha512-PpqTVT3yCA/bIgJ12czBuE3iBlM3g4inRSC5J0QOdQFAn07TYrYEQBBKgXH1lQpglup+Zy6c1fxuwTk4MTNKIw==", + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.5.0.tgz", + "integrity": "sha512-qjkormnQS5wF9pjSi6q60bKUHH44j2APxfh9TQRXK8wbYVeDYYdYJGIROL87LGZZ2gz3Rbmjc736qyL8deVtdw==", "dev": true, "license": "MIT", "peer": true, @@ -8557,17 +8193,17 @@ } }, "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.0.1.tgz", - "integrity": "sha512-8V9hriRvZQXPWU3bbiUV4Epo7EvgM6RTs+sUmxp5G//dBGy402S7Fx0W0QkB2fb4obCF8SInoUzvTYtc3bkb5w==", + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.5.0.tgz", + "integrity": "sha512-vEG2Sf9P8BPQ+d0pxdfndw3xIXaoSjliG0/Ejk7UggByZPKXmJmw3GW5jV2gHNQNawBUyfahoSiCFVov0Ruf7Q==", "dev": true, "license": "BSD-2-Clause", "peer": true, "dependencies": { - "@typescript-eslint/types": "8.0.1", - "@typescript-eslint/visitor-keys": "8.0.1", + "@typescript-eslint/types": "8.5.0", + "@typescript-eslint/visitor-keys": "8.5.0", "debug": "^4.3.4", - "globby": "^11.1.0", + "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", @@ -8587,14 +8223,14 @@ } }, "node_modules/@typescript-eslint/utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.0.1.tgz", - "integrity": "sha512-W5E+o0UfUcK5EgchLZsyVWqARmsM7v54/qEq6PY3YI5arkgmCzHiuk0zKSJJbm71V0xdRna4BGomkCTXz2/LkQ==", + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.5.0.tgz", + "integrity": "sha512-yTPqMnbAZJNy2Xq2XU8AdtOW9tJIr+UQb64aXB9f3B1498Zx9JorVgFJcZpEc9UBuCCrdzKID2RGAMkYcDtZOw==", "dev": true, "license": "MIT", "peer": true, "dependencies": { - "@typescript-eslint/types": "8.0.1", + "@typescript-eslint/types": "8.5.0", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -8925,9 +8561,9 @@ } }, "node_modules/acorn-walk": { - "version": "8.3.3", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.3.tgz", - "integrity": "sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==", + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", + "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", "license": "MIT", "dependencies": { "acorn": "^8.11.0" @@ -8973,9 +8609,9 @@ } }, "node_modules/adm-zip": { - "version": "0.5.15", - "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.5.15.tgz", - "integrity": "sha512-jYPWSeOA8EFoZnucrKCNihqBjoEGQSU4HKgHYQgKNEQ0pQF9a/DYuo/+fAxY76k4qe75LUlLWpAM1QWcBMTOKw==", + "version": "0.5.16", + "resolved": "https://registry.npmjs.org/adm-zip/-/adm-zip-0.5.16.tgz", + "integrity": "sha512-TGw5yVi4saajsSEgz25grObGHEUaDrniwvA2qwSC060KfqGPdglhvPMA2lPIoxs3PQIItj2iag35fONcQqgUaQ==", "license": "MIT", "engines": { "node": ">=12.0" @@ -9008,15 +8644,15 @@ } }, "node_modules/ajv": { - "version": "8.16.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.16.0.tgz", - "integrity": "sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.4.1" + "require-from-string": "^2.0.2" }, "funding": { "type": "github", @@ -9109,12 +8745,6 @@ "node": ">=4" } }, - "node_modules/any-promise": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", - "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", - "license": "MIT" - }, "node_modules/anymatch": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", @@ -9181,9 +8811,9 @@ } }, "node_modules/async": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", - "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", "license": "MIT" }, "node_modules/asynckit": { @@ -9202,9 +8832,9 @@ } }, "node_modules/autoprefixer": { - "version": "10.4.19", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.19.tgz", - "integrity": "sha512-BaENR2+zBZ8xXhM4pUaKUxlVdxZ0EZhjvbopwnXmxRUfqDmwSpC2lAi/QXvx7NRdPCo1WKEcEF6mV64si1z4Ew==", + "version": "10.4.20", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.20.tgz", + "integrity": "sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==", "funding": [ { "type": "opencollective", @@ -9221,11 +8851,11 @@ ], "license": "MIT", "dependencies": { - "browserslist": "^4.23.0", - "caniuse-lite": "^1.0.30001599", + "browserslist": "^4.23.3", + "caniuse-lite": "^1.0.30001646", "fraction.js": "^4.3.7", "normalize-range": "^0.1.2", - "picocolors": "^1.0.0", + "picocolors": "^1.0.1", "postcss-value-parser": "^4.2.0" }, "bin": { @@ -9239,9 +8869,9 @@ } }, "node_modules/axios": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.3.tgz", - "integrity": "sha512-Ar7ND9pU99eJ9GpoGQKhKf58GpUOgnzuaB7ueNQ5BMi0p+LZ5oaEnfF999fAArcTIBwXTCHAmGcHOZJaWPq9Nw==", + "version": "1.7.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.7.tgz", + "integrity": "sha512-S4kL7XrjgBmvdGut0sN3yJxqYzrDOnivkBiN0OFs6hLiUam3UPvswUo0kqGyhqUZGEOytHyumEdXsAkgCOUf3Q==", "license": "MIT", "dependencies": { "follow-redirects": "^1.15.6", @@ -9630,24 +9260,27 @@ } }, "node_modules/babel-preset-current-node-syntax": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", - "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.1.0.tgz", + "integrity": "sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw==", "devOptional": true, "license": "MIT", "dependencies": { "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-bigint": "^7.8.3", - "@babel/plugin-syntax-class-properties": "^7.8.3", - "@babel/plugin-syntax-import-meta": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-import-attributes": "^7.24.7", + "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-top-level-await": "^7.8.3" + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5" }, "peerDependencies": { "@babel/core": "^7.0.0" @@ -9753,9 +9386,9 @@ } }, "node_modules/body-parser": { - "version": "1.20.2", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", - "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", + "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", "license": "MIT", "dependencies": { "bytes": "3.1.2", @@ -9766,7 +9399,7 @@ "http-errors": "2.0.0", "iconv-lite": "0.4.24", "on-finished": "2.4.1", - "qs": "6.11.0", + "qs": "6.13.0", "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" @@ -10081,9 +9714,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001651", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001651.tgz", - "integrity": "sha512-9Cf+Xv1jJNe1xPZLGuUXLNkE1BoDkqRqYyFJ9TDYSqhduqA4hu4oR9HluGoWYQC/aj8WHjsGVV+bwkh0+tegRg==", + "version": "1.0.30001660", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001660.tgz", + "integrity": "sha512-GacvNTTuATm26qC74pt+ad1fW15mlQ/zuTzzY1ZoIzECTP8HURDfF43kNxPgf7H1jmelCBQTTbBNxdSXOA7Bqg==", "funding": [ { "type": "opencollective", @@ -10194,9 +9827,9 @@ } }, "node_modules/cjs-module-lexer": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.3.1.tgz", - "integrity": "sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.4.1.tgz", + "integrity": "sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==", "devOptional": true, "license": "MIT" }, @@ -10214,7 +9847,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-5.0.0.tgz", "integrity": "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==", - "dev": true, "license": "MIT", "dependencies": { "restore-cursor": "^5.0.0" @@ -10242,7 +9874,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-4.0.0.tgz", "integrity": "sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==", - "dev": true, "license": "MIT", "dependencies": { "slice-ansi": "^5.0.0", @@ -10595,9 +10226,9 @@ "license": "MIT" }, "node_modules/cookies": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/cookies/-/cookies-0.8.0.tgz", - "integrity": "sha512-8aPsApQfebXnuI+537McwYsDtjVxGm8gTIzQI3FDW6t5t/DAhERxtnbEPN/8RX+uZthoz4eCOgloXaE5cYyNow==", + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/cookies/-/cookies-0.9.1.tgz", + "integrity": "sha512-TG2hpqe4ELx54QER/S3HQ9SRVnQnGBtKUz5bLQWtYAQ+o6GpgMs6sYUvaiJjVxb+UXwhRhAEP3m7LbsIZ77Hmw==", "license": "MIT", "dependencies": { "depd": "~2.0.0", @@ -10700,9 +10331,9 @@ } }, "node_modules/core-js-compat": { - "version": "3.38.0", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.38.0.tgz", - "integrity": "sha512-75LAicdLa4OJVwFxFbQR3NdnZjNgX6ILpVcVzcC4T2smerB5lELMrJQQQoWV6TiuC/vlaFqgU2tKQx9w5s0e0A==", + "version": "3.38.1", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.38.1.tgz", + "integrity": "sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw==", "license": "MIT", "dependencies": { "browserslist": "^4.23.3" @@ -11263,12 +10894,12 @@ } }, "node_modules/debug": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", - "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "license": "MIT", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -11658,9 +11289,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.5.tgz", - "integrity": "sha512-QR7/A7ZkMS8tZuoftC/jfqNkZLQO779SSW3YuZHP4eXpj3EffGLFcB/Xu9AAZQzLccTiCV+EmUo3ha4mQ9wnlA==", + "version": "1.5.20", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.20.tgz", + "integrity": "sha512-74mdl6Fs1HHzK9SUX4CKFxAtAe3nUns48y79TskHNAG6fGOlLfyKA4j855x+0b5u8rWJIrlaG9tcTPstMlwjIw==", "license": "ISC" }, "node_modules/emittery": { @@ -11677,10 +11308,9 @@ } }, "node_modules/emoji-regex": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.3.0.tgz", - "integrity": "sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw==", - "dev": true, + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.4.0.tgz", + "integrity": "sha512-EC+0oUMY1Rqm4O6LLrgjtYDvcVYTy7chDnM4Q7030tP4Kwj3u/pR6gP9ygnp2CJMK5Gq+9Q2oqmrFJAz01DXjw==", "license": "MIT" }, "node_modules/emojis-list": { @@ -11693,9 +11323,9 @@ } }, "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", "license": "MIT", "engines": { "node": ">= 0.8" @@ -11785,7 +11415,6 @@ "version": "1.1.0", "resolved": "https://registry.npmjs.org/environment/-/environment-1.1.0.tgz", "integrity": "sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==", - "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -11823,12 +11452,6 @@ "is-arrayish": "^0.2.1" } }, - "node_modules/error-inject": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/error-inject/-/error-inject-1.0.0.tgz", - "integrity": "sha512-JM8N6PytDbmIYm1IhPWlo8vr3NtfjhDY/1MhD/a5b/aad/USE8a0+NsqE9d5n+GVGmuNkPQWm4bFQWv18d8tMg==", - "license": "MIT" - }, "node_modules/es-define-property": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", @@ -11857,59 +11480,60 @@ "license": "MIT" }, "node_modules/esbuild": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", - "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.23.0.tgz", + "integrity": "sha512-1lvV17H2bMYda/WaFb2jLPeHU3zml2k4/yagNMG8Q/YtfMjCwEUZa2eXXMgZTVSL5q1n4H7sQ0X6CdJDqqeCFA==", "hasInstallScript": true, "license": "MIT", "bin": { "esbuild": "bin/esbuild" }, "engines": { - "node": ">=12" + "node": ">=18" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.21.5", - "@esbuild/android-arm": "0.21.5", - "@esbuild/android-arm64": "0.21.5", - "@esbuild/android-x64": "0.21.5", - "@esbuild/darwin-arm64": "0.21.5", - "@esbuild/darwin-x64": "0.21.5", - "@esbuild/freebsd-arm64": "0.21.5", - "@esbuild/freebsd-x64": "0.21.5", - "@esbuild/linux-arm": "0.21.5", - "@esbuild/linux-arm64": "0.21.5", - "@esbuild/linux-ia32": "0.21.5", - "@esbuild/linux-loong64": "0.21.5", - "@esbuild/linux-mips64el": "0.21.5", - "@esbuild/linux-ppc64": "0.21.5", - "@esbuild/linux-riscv64": "0.21.5", - "@esbuild/linux-s390x": "0.21.5", - "@esbuild/linux-x64": "0.21.5", - "@esbuild/netbsd-x64": "0.21.5", - "@esbuild/openbsd-x64": "0.21.5", - "@esbuild/sunos-x64": "0.21.5", - "@esbuild/win32-arm64": "0.21.5", - "@esbuild/win32-ia32": "0.21.5", - "@esbuild/win32-x64": "0.21.5" + "@esbuild/aix-ppc64": "0.23.0", + "@esbuild/android-arm": "0.23.0", + "@esbuild/android-arm64": "0.23.0", + "@esbuild/android-x64": "0.23.0", + "@esbuild/darwin-arm64": "0.23.0", + "@esbuild/darwin-x64": "0.23.0", + "@esbuild/freebsd-arm64": "0.23.0", + "@esbuild/freebsd-x64": "0.23.0", + "@esbuild/linux-arm": "0.23.0", + "@esbuild/linux-arm64": "0.23.0", + "@esbuild/linux-ia32": "0.23.0", + "@esbuild/linux-loong64": "0.23.0", + "@esbuild/linux-mips64el": "0.23.0", + "@esbuild/linux-ppc64": "0.23.0", + "@esbuild/linux-riscv64": "0.23.0", + "@esbuild/linux-s390x": "0.23.0", + "@esbuild/linux-x64": "0.23.0", + "@esbuild/netbsd-x64": "0.23.0", + "@esbuild/openbsd-arm64": "0.23.0", + "@esbuild/openbsd-x64": "0.23.0", + "@esbuild/sunos-x64": "0.23.0", + "@esbuild/win32-arm64": "0.23.0", + "@esbuild/win32-ia32": "0.23.0", + "@esbuild/win32-x64": "0.23.0" } }, "node_modules/esbuild-wasm": { - "version": "0.21.5", - "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.21.5.tgz", - "integrity": "sha512-L/FlOPMMFtw+6qPAbuPvJXdrOYOp9yx/PEwSrIZW0qghY4vgV003evdYDwqQ/9ENMQI0B6RMod9xT4FHtto6OQ==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/esbuild-wasm/-/esbuild-wasm-0.23.0.tgz", + "integrity": "sha512-6jP8UmWy6R6TUUV8bMuC3ZyZ6lZKI56x0tkxyCIqWwRRJ/DgeQKneh/Oid5EoGoPFLrGNkz47ZEtWAYuiY/u9g==", "license": "MIT", "bin": { "esbuild": "bin/esbuild" }, "engines": { - "node": ">=12" + "node": ">=18" } }, "node_modules/escalade": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", - "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "license": "MIT", "engines": { "node": ">=6" @@ -12476,37 +12100,37 @@ "license": "Apache-2.0" }, "node_modules/express": { - "version": "4.19.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", - "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz", + "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==", "license": "MIT", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.2", + "body-parser": "1.20.3", "content-disposition": "0.5.4", "content-type": "~1.0.4", "cookie": "0.6.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "etag": "~1.8.1", - "finalhandler": "1.2.0", + "finalhandler": "1.3.1", "fresh": "0.5.2", "http-errors": "2.0.0", - "merge-descriptors": "1.0.1", + "merge-descriptors": "1.0.3", "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", + "path-to-regexp": "0.1.10", "proxy-addr": "~2.0.7", - "qs": "6.11.0", + "qs": "6.13.0", "range-parser": "~1.2.1", "safe-buffer": "5.2.1", - "send": "0.18.0", - "serve-static": "1.15.0", + "send": "0.19.0", + "serve-static": "1.16.2", "setprototypeof": "1.2.0", "statuses": "2.0.1", "type-is": "~1.6.18", @@ -12594,6 +12218,12 @@ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "license": "MIT" }, + "node_modules/fast-uri": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.1.tgz", + "integrity": "sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==", + "license": "MIT" + }, "node_modules/fastq": { "version": "1.17.1", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", @@ -12686,13 +12316,13 @@ } }, "node_modules/finalhandler": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", - "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", + "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", "license": "MIT", "dependencies": { "debug": "2.6.9", - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "on-finished": "2.4.1", "parseurl": "~1.3.3", @@ -12802,9 +12432,9 @@ "license": "ISC" }, "node_modules/follow-redirects": { - "version": "1.15.6", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", - "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", "funding": [ { "type": "individual", @@ -13187,7 +12817,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz", "integrity": "sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA==", - "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -13955,9 +13584,9 @@ "license": "BSD-3-Clause" }, "node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "license": "MIT", "engines": { "node": ">= 4" @@ -14135,9 +13764,9 @@ } }, "node_modules/is-core-module": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.0.tgz", - "integrity": "sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==", + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", "license": "MIT", "dependencies": { "hasown": "^2.0.2" @@ -14177,7 +13806,6 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz", "integrity": "sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==", - "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -14412,9 +14040,9 @@ } }, "node_modules/istanbul-lib-instrument": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.2.tgz", - "integrity": "sha512-1WUsZ9R1lA0HtBSohTkm39WTPlNKSJ5iFk7UwqXkBLoHQT+hfqPsfsTDVuZdKGaBwn7din9bS7SsnoAr943hvw==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz", + "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", "license": "BSD-3-Clause", "dependencies": { "@babel/core": "^7.23.9", @@ -15588,9 +15216,9 @@ } }, "node_modules/jest-preset-angular": { - "version": "14.2.2", - "resolved": "https://registry.npmjs.org/jest-preset-angular/-/jest-preset-angular-14.2.2.tgz", - "integrity": "sha512-vdpv1DV4yJMMoBRbTdwRA16Es0UU+8CuOHsV2vfUL0LOy69anvq2RUawh07EyTWSVxko838jOC146jlnCkWOOw==", + "version": "14.2.4", + "resolved": "https://registry.npmjs.org/jest-preset-angular/-/jest-preset-angular-14.2.4.tgz", + "integrity": "sha512-xyhkaiBdn3keBgxxkcbqZu/my3ADU9NcDrz6DaMuGRaxz/bf6ZC1qxZ1eQuz5V1WuA3/rD64VA3Kke8P6E9qNg==", "dev": true, "license": "MIT", "dependencies": { @@ -16715,29 +16343,28 @@ } }, "node_modules/koa": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/koa/-/koa-2.11.0.tgz", - "integrity": "sha512-EpR9dElBTDlaDgyhDMiLkXrPwp6ZqgAIBvhhmxQ9XN4TFgW+gEz6tkcsNI6BnUbUftrKDjVFj4lW2/J2aNBMMA==", + "version": "2.15.3", + "resolved": "https://registry.npmjs.org/koa/-/koa-2.15.3.tgz", + "integrity": "sha512-j/8tY9j5t+GVMLeioLaxweJiKUayFhlGqNTzf2ZGwL0ZCQijd2RLHK0SLW5Tsko8YyyqCZC2cojIb0/s62qTAg==", "license": "MIT", "dependencies": { "accepts": "^1.3.5", "cache-content-type": "^1.0.0", "content-disposition": "~0.5.2", "content-type": "^1.0.4", - "cookies": "~0.8.0", - "debug": "~3.1.0", + "cookies": "~0.9.0", + "debug": "^4.3.2", "delegates": "^1.0.0", - "depd": "^1.1.2", + "depd": "^2.0.0", "destroy": "^1.0.4", "encodeurl": "^1.0.2", - "error-inject": "^1.0.0", "escape-html": "^1.0.3", "fresh": "~0.5.2", "http-assert": "^1.3.0", "http-errors": "^1.6.3", "is-generator-function": "^1.0.7", "koa-compose": "^4.1.0", - "koa-convert": "^1.2.0", + "koa-convert": "^2.0.0", "on-finished": "^2.3.0", "only": "~0.0.2", "parseurl": "^1.3.2", @@ -16756,43 +16383,25 @@ "license": "MIT" }, "node_modules/koa-convert": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/koa-convert/-/koa-convert-1.2.0.tgz", - "integrity": "sha512-K9XqjmEDStGX09v3oxR7t5uPRy0jqJdvodHa6wxWTHrTfDq0WUNnYTOOUZN6g8OM8oZQXprQASbiIXG2Ez8ehA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/koa-convert/-/koa-convert-2.0.0.tgz", + "integrity": "sha512-asOvN6bFlSnxewce2e/DK3p4tltyfC4VM7ZwuTuepI7dEQVcvpyFuBcEARu1+Hxg8DIwytce2n7jrZtRlPrARA==", "license": "MIT", "dependencies": { "co": "^4.6.0", - "koa-compose": "^3.0.0" + "koa-compose": "^4.1.0" }, "engines": { - "node": ">= 4" - } - }, - "node_modules/koa-convert/node_modules/koa-compose": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/koa-compose/-/koa-compose-3.2.1.tgz", - "integrity": "sha512-8gen2cvKHIZ35eDEik5WOo8zbVp9t4cP8p4hW4uE55waxolLRexKKrqfCpwhGVppnB40jWeF8bZeTVg99eZgPw==", - "license": "MIT", - "dependencies": { - "any-promise": "^1.1.0" - } - }, - "node_modules/koa/node_modules/debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", - "license": "MIT", - "dependencies": { - "ms": "2.0.0" + "node": ">= 10" } }, - "node_modules/koa/node_modules/depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", + "node_modules/koa/node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", "license": "MIT", "engines": { - "node": ">= 0.6" + "node": ">= 0.8" } }, "node_modules/koa/node_modules/http-errors": { @@ -16811,11 +16420,14 @@ "node": ">= 0.6" } }, - "node_modules/koa/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "license": "MIT" + "node_modules/koa/node_modules/http-errors/node_modules/depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", + "license": "MIT", + "engines": { + "node": ">= 0.6" + } }, "node_modules/koa/node_modules/statuses": { "version": "1.5.0", @@ -16827,9 +16439,9 @@ } }, "node_modules/launch-editor": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.8.1.tgz", - "integrity": "sha512-elBx2l/tp9z99X5H/qev8uyDywVh0VXAwEbjk8kJhnc5grOFkGh7aW6q55me9xnYbss261XtnUrysZ+XvGbhQA==", + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.9.1.tgz", + "integrity": "sha512-Gcnl4Bd+hRO9P9icCP/RVVT2o8SFlPXofuCxvA2SaZuH45whSvf5p8x5oih5ftLiVhEI4sp5xDY+R+b3zJBh5w==", "license": "MIT", "dependencies": { "picocolors": "^1.0.0", @@ -16985,25 +16597,24 @@ } }, "node_modules/lines-and-columns": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.4.tgz", - "integrity": "sha512-wM1+Z03eypVAVUCE7QdSqpVIvelbOakn1M0bPDoA4SGWPx3sNDVUiMo3L6To6WWGClB7VyXnhQ4Sn7gxiJbE6A==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.3.tgz", + "integrity": "sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w==", "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }, "node_modules/listr2": { - "version": "8.2.3", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.2.3.tgz", - "integrity": "sha512-Lllokma2mtoniUOS94CcOErHWAug5iu7HOmDrvWgpw8jyQH2fomgB+7lZS4HWZxytUuQwkGOwe49FvwVaA85Xw==", - "dev": true, + "version": "8.2.4", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.2.4.tgz", + "integrity": "sha512-opevsywziHd3zHCVQGAj8zu+Z3yHNkkoYhWIGnq54RrCVwLz0MozotJEDnKsIBLvkfLGN6BLOyAeRrYI0pKA4g==", "license": "MIT", "dependencies": { "cli-truncate": "^4.0.0", "colorette": "^2.0.20", "eventemitter3": "^5.0.1", - "log-update": "^6.0.0", + "log-update": "^6.1.0", "rfdc": "^1.4.1", "wrap-ansi": "^9.0.0" }, @@ -17012,10 +16623,9 @@ } }, "node_modules/listr2/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "dev": true, + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "license": "MIT", "engines": { "node": ">=12" @@ -17028,7 +16638,6 @@ "version": "6.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -17041,14 +16650,12 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", - "dev": true, "license": "MIT" }, "node_modules/listr2/node_modules/strip-ansi": { "version": "7.1.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" @@ -17064,7 +16671,6 @@ "version": "9.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", - "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^6.2.1", @@ -17079,9 +16685,9 @@ } }, "node_modules/lmdb": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-3.0.12.tgz", - "integrity": "sha512-JnoEulTgveoC64vlYJ9sufGLuNkk6TcxSYpKxSC9aM42I61jIv3pQH0fgb6qW7HV0+FNqA3g1WCQQYfhfawGoQ==", + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-3.0.13.tgz", + "integrity": "sha512-UGe+BbaSUQtAMZobTb4nHvFMrmvuAQKSeaqAX2meTEQjfsbpl5sxdHD8T72OnwD4GU9uwNhYXIVe4QGs8N9Zyw==", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -17095,12 +16701,12 @@ "download-lmdb-prebuilds": "bin/download-prebuilds.js" }, "optionalDependencies": { - "@lmdb/lmdb-darwin-arm64": "3.0.12", - "@lmdb/lmdb-darwin-x64": "3.0.12", - "@lmdb/lmdb-linux-arm": "3.0.12", - "@lmdb/lmdb-linux-arm64": "3.0.12", - "@lmdb/lmdb-linux-x64": "3.0.12", - "@lmdb/lmdb-win32-x64": "3.0.12" + "@lmdb/lmdb-darwin-arm64": "3.0.13", + "@lmdb/lmdb-darwin-x64": "3.0.13", + "@lmdb/lmdb-linux-arm": "3.0.13", + "@lmdb/lmdb-linux-arm64": "3.0.13", + "@lmdb/lmdb-linux-x64": "3.0.13", + "@lmdb/lmdb-win32-x64": "3.0.13" } }, "node_modules/loader-runner": { @@ -17259,7 +16865,6 @@ "version": "6.1.0", "resolved": "https://registry.npmjs.org/log-update/-/log-update-6.1.0.tgz", "integrity": "sha512-9ie8ItPR6tjY5uYJh8K/Zrv/RMZ5VOlOWvtZdEHYSTFKZfIBPQa9tOAEeAWhd+AnIneLJ22w5fjOYtoutpWq5w==", - "dev": true, "license": "MIT", "dependencies": { "ansi-escapes": "^7.0.0", @@ -17279,7 +16884,6 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-7.0.0.tgz", "integrity": "sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==", - "dev": true, "license": "MIT", "dependencies": { "environment": "^1.0.0" @@ -17292,10 +16896,9 @@ } }, "node_modules/log-update/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "dev": true, + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "license": "MIT", "engines": { "node": ">=12" @@ -17308,7 +16911,6 @@ "version": "6.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -17321,7 +16923,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-5.0.0.tgz", "integrity": "sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA==", - "dev": true, "license": "MIT", "dependencies": { "get-east-asian-width": "^1.0.0" @@ -17337,7 +16938,6 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-7.1.0.tgz", "integrity": "sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg==", - "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^6.2.1", @@ -17354,7 +16954,6 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" @@ -17370,7 +16969,6 @@ "version": "9.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.0.tgz", "integrity": "sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q==", - "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^6.2.1", @@ -17425,12 +17023,12 @@ } }, "node_modules/magic-string": { - "version": "0.30.10", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.10.tgz", - "integrity": "sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==", + "version": "0.30.11", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.11.tgz", + "integrity": "sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==", "license": "MIT", "dependencies": { - "@jridgewell/sourcemap-codec": "^1.4.15" + "@jridgewell/sourcemap-codec": "^1.5.0" } }, "node_modules/make-dir": { @@ -17525,10 +17123,13 @@ } }, "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", - "license": "MIT" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, "node_modules/merge-stream": { "version": "2.0.0", @@ -17555,9 +17156,9 @@ } }, "node_modules/micromatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", - "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "license": "MIT", "dependencies": { "braces": "^3.0.3", @@ -17625,7 +17226,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/mimic-function/-/mimic-function-5.0.1.tgz", "integrity": "sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==", - "dev": true, "license": "MIT", "engines": { "node": ">=18" @@ -17879,9 +17479,9 @@ } }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "license": "MIT" }, "node_modules/msgpackr": { @@ -18075,9 +17675,9 @@ } }, "node_modules/node-gyp-build": { - "version": "4.8.1", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.1.tgz", - "integrity": "sha512-OSs33Z9yWr148JZcbZd5WiAXhh/n9z8TxQcdMhIOlpN9AhWpLfvVFO73+m77bBABQMaY9XSvIa+qk0jlI7Gcaw==", + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.2.tgz", + "integrity": "sha512-IRUxE4BVsHWXkV/SFOut4qTlagw2aM8T5/vnTsmrHJvVoKueJHRc/JaFND7QDDc61kLYUJ6qlZM3sqTSyx2dTw==", "license": "MIT", "optional": true, "bin": { @@ -18282,9 +17882,9 @@ } }, "node_modules/npm-package-arg": { - "version": "11.0.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.2.tgz", - "integrity": "sha512-IGN0IAwmhDJwy13Wc8k+4PEbTPhpJnMtfR53ZbOyjkvmEcLS4nCwp6mvMWjS5sUjeiW3mpx6cHmuhKEu9XmcQw==", + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.3.tgz", + "integrity": "sha512-sHGJy8sOC1YraBywpzQlIKBE4pBbGbiF95U6Auspzyem956E0+FtDtsx1ZxlOJkQCZ1AFXAY/yuvtFYrOxF+Bw==", "dev": true, "license": "ISC", "dependencies": { @@ -18311,9 +17911,9 @@ } }, "node_modules/npm-pick-manifest": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-9.0.1.tgz", - "integrity": "sha512-Udm1f0l2nXb3wxDpKjfohwgdFUSV50UVwzEIpDXVsbDMXVIEF81a/i0UhuQbhrPMMmdiq3+YMFLFIRVLs3hxQw==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-9.1.0.tgz", + "integrity": "sha512-nkc+3pIIhqHVQr085X9d2JzPzLyjzQS96zbruppqC9aZRm/x8xx6xhI98gHtsfELP2bE+loHq8ZaHFHhe+NauA==", "dev": true, "license": "ISC", "dependencies": { @@ -18378,18 +17978,18 @@ "license": "MIT" }, "node_modules/nx": { - "version": "19.5.7", - "resolved": "https://registry.npmjs.org/nx/-/nx-19.5.7.tgz", - "integrity": "sha512-AUmGgE19NB4m/7oHYQVdzZHtclVevD8w0/nNzzjDJE823T8oeoNhmc9MfCLz+/2l2KOp+Wqm+8LiG9/xWpXk0g==", + "version": "19.7.2", + "resolved": "https://registry.npmjs.org/nx/-/nx-19.7.2.tgz", + "integrity": "sha512-mHwRk6UdTkGrLwyYq4Via30kiG2he3d3z1ny0DFlkTQVHZPKpNOf0iROfyZOe31mcjSaTt/eHo7LgEQf1GaXvQ==", "hasInstallScript": true, "license": "MIT", "dependencies": { "@napi-rs/wasm-runtime": "0.2.4", - "@nrwl/tao": "19.5.7", + "@nrwl/tao": "19.7.2", "@yarnpkg/lockfile": "^1.1.0", "@yarnpkg/parsers": "3.0.0-rc.46", "@zkochan/js-yaml": "0.0.7", - "axios": "^1.7.2", + "axios": "^1.7.4", "chalk": "^4.1.0", "cli-cursor": "3.1.0", "cli-spinners": "2.6.1", @@ -18404,7 +18004,7 @@ "ignore": "^5.0.4", "jest-diff": "^29.4.1", "jsonc-parser": "3.2.0", - "lines-and-columns": "~2.0.3", + "lines-and-columns": "2.0.3", "minimatch": "9.0.3", "node-machine-id": "1.1.12", "npm-run-path": "^4.0.1", @@ -18425,16 +18025,16 @@ "nx-cloud": "bin/nx-cloud.js" }, "optionalDependencies": { - "@nx/nx-darwin-arm64": "19.5.7", - "@nx/nx-darwin-x64": "19.5.7", - "@nx/nx-freebsd-x64": "19.5.7", - "@nx/nx-linux-arm-gnueabihf": "19.5.7", - "@nx/nx-linux-arm64-gnu": "19.5.7", - "@nx/nx-linux-arm64-musl": "19.5.7", - "@nx/nx-linux-x64-gnu": "19.5.7", - "@nx/nx-linux-x64-musl": "19.5.7", - "@nx/nx-win32-arm64-msvc": "19.5.7", - "@nx/nx-win32-x64-msvc": "19.5.7" + "@nx/nx-darwin-arm64": "19.7.2", + "@nx/nx-darwin-x64": "19.7.2", + "@nx/nx-freebsd-x64": "19.7.2", + "@nx/nx-linux-arm-gnueabihf": "19.7.2", + "@nx/nx-linux-arm64-gnu": "19.7.2", + "@nx/nx-linux-arm64-musl": "19.7.2", + "@nx/nx-linux-x64-gnu": "19.7.2", + "@nx/nx-linux-x64-musl": "19.7.2", + "@nx/nx-win32-arm64-msvc": "19.7.2", + "@nx/nx-win32-x64-msvc": "19.7.2" }, "peerDependencies": { "@swc-node/register": "^1.8.0", @@ -18939,26 +18539,26 @@ } }, "node_modules/oxc-resolver": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/oxc-resolver/-/oxc-resolver-1.10.2.tgz", - "integrity": "sha512-NIbwVqoU8Bhl7PVtItHCg+VFFokIDwBgIgFUwFG2Y8ePhxftFh5xG+KLar5PLWXlCP4WunPIuXD3jr3v6/MfRw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/oxc-resolver/-/oxc-resolver-1.11.0.tgz", + "integrity": "sha512-N3qMse2AM7uST8PaiUMXZkcACyGAMN073tomyvzHTICSzaOqKHvVS0IZ3vj/OqoE140QP4CyOiWmgC1Hw5Urmg==", "devOptional": true, "license": "MIT", "funding": { "url": "https://github.com/sponsors/Boshen" }, "optionalDependencies": { - "@oxc-resolver/binding-darwin-arm64": "1.10.2", - "@oxc-resolver/binding-darwin-x64": "1.10.2", - "@oxc-resolver/binding-freebsd-x64": "1.10.2", - "@oxc-resolver/binding-linux-arm-gnueabihf": "1.10.2", - "@oxc-resolver/binding-linux-arm64-gnu": "1.10.2", - "@oxc-resolver/binding-linux-arm64-musl": "1.10.2", - "@oxc-resolver/binding-linux-x64-gnu": "1.10.2", - "@oxc-resolver/binding-linux-x64-musl": "1.10.2", - "@oxc-resolver/binding-wasm32-wasi": "1.10.2", - "@oxc-resolver/binding-win32-arm64-msvc": "1.10.2", - "@oxc-resolver/binding-win32-x64-msvc": "1.10.2" + "@oxc-resolver/binding-darwin-arm64": "1.11.0", + "@oxc-resolver/binding-darwin-x64": "1.11.0", + "@oxc-resolver/binding-freebsd-x64": "1.11.0", + "@oxc-resolver/binding-linux-arm-gnueabihf": "1.11.0", + "@oxc-resolver/binding-linux-arm64-gnu": "1.11.0", + "@oxc-resolver/binding-linux-arm64-musl": "1.11.0", + "@oxc-resolver/binding-linux-x64-gnu": "1.11.0", + "@oxc-resolver/binding-linux-x64-musl": "1.11.0", + "@oxc-resolver/binding-wasm32-wasi": "1.11.0", + "@oxc-resolver/binding-win32-arm64-msvc": "1.11.0", + "@oxc-resolver/binding-win32-x64-msvc": "1.11.0" } }, "node_modules/p-limit": { @@ -19273,9 +18873,9 @@ "license": "ISC" }, "node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", + "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", "license": "MIT" }, "node_modules/path-type": { @@ -19288,9 +18888,9 @@ } }, "node_modules/picocolors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", - "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", + "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", "license": "ISC" }, "node_modules/picomatch": { @@ -19378,9 +18978,9 @@ } }, "node_modules/postcss": { - "version": "8.4.38", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", - "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", + "version": "8.4.41", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.41.tgz", + "integrity": "sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==", "funding": [ { "type": "opencollective", @@ -19398,7 +18998,7 @@ "license": "MIT", "dependencies": { "nanoid": "^3.3.7", - "picocolors": "^1.0.0", + "picocolors": "^1.0.1", "source-map-js": "^1.2.0" }, "engines": { @@ -19939,9 +19539,9 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.1.tgz", - "integrity": "sha512-b4dlw/9V8A71rLIDsSwVmak9z2DuBUB7CA1/wSdelNEzqsjoSPeADTWNO09lpH49Diy3/JIZ2bSPB1dI3LJCHg==", + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", + "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", "license": "MIT", "dependencies": { "cssesc": "^3.0.0", @@ -20156,12 +19756,12 @@ "license": "MIT" }, "node_modules/qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", + "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", "license": "BSD-3-Clause", "dependencies": { - "side-channel": "^1.0.4" + "side-channel": "^1.0.6" }, "engines": { "node": ">=0.6" @@ -20198,9 +19798,9 @@ "license": "MIT" }, "node_modules/rambda": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/rambda/-/rambda-9.2.1.tgz", - "integrity": "sha512-6Dp+QQVQuAuhwBlbIvL2FjJVHCKF29W+n9ca/BMTVDqpj+Q7KKqUh7UAINEna8aaB2/oRvPuL5hViCTQARa70Q==", + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/rambda/-/rambda-9.3.0.tgz", + "integrity": "sha512-cl/7DCCKNxmsbc0dXZTJTY08rvDdzLhVfE6kPBson1fWzDapLzv0RKSzjpmAqP53fkQqAvq05gpUVHTrUNsuxg==", "license": "MIT" }, "node_modules/randombytes": { @@ -20302,9 +19902,9 @@ "license": "MIT" }, "node_modules/regenerate-unicode-properties": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.1.tgz", - "integrity": "sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.0.tgz", + "integrity": "sha512-DqHn3DwbmmPVzeKj9woBadqmXxLvQoQIwu7nopMc72ztvxVmVk2SBhSnx67zuye5TP+lJsb/TBQsjLKhnDf3MA==", "license": "MIT", "dependencies": { "regenerate": "^1.4.2" @@ -20501,7 +20101,6 @@ "version": "5.1.0", "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-5.1.0.tgz", "integrity": "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==", - "dev": true, "license": "MIT", "dependencies": { "onetime": "^7.0.0", @@ -20518,7 +20117,6 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/onetime/-/onetime-7.0.0.tgz", "integrity": "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==", - "dev": true, "license": "MIT", "dependencies": { "mimic-function": "^5.0.0" @@ -20573,9 +20171,9 @@ } }, "node_modules/rollup": { - "version": "4.18.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.18.0.tgz", - "integrity": "sha512-QmJz14PX3rzbJCN1SG4Xe/bAAX2a6NpCP8ab2vfu2GiUr8AQcr2nCV/oEO3yneFarB67zk8ShlIyWb2LGTb3Sg==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.20.0.tgz", + "integrity": "sha512-6rbWBChcnSGzIlXeIdNIZTopKYad8ZG8ajhl78lGRLsI2rX8IkaotQhVas2Ma+GPxJav19wrSzvRvuiv0YKzWw==", "license": "MIT", "dependencies": { "@types/estree": "1.0.5" @@ -20588,22 +20186,22 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.18.0", - "@rollup/rollup-android-arm64": "4.18.0", - "@rollup/rollup-darwin-arm64": "4.18.0", - "@rollup/rollup-darwin-x64": "4.18.0", - "@rollup/rollup-linux-arm-gnueabihf": "4.18.0", - "@rollup/rollup-linux-arm-musleabihf": "4.18.0", - "@rollup/rollup-linux-arm64-gnu": "4.18.0", - "@rollup/rollup-linux-arm64-musl": "4.18.0", - "@rollup/rollup-linux-powerpc64le-gnu": "4.18.0", - "@rollup/rollup-linux-riscv64-gnu": "4.18.0", - "@rollup/rollup-linux-s390x-gnu": "4.18.0", - "@rollup/rollup-linux-x64-gnu": "4.18.0", - "@rollup/rollup-linux-x64-musl": "4.18.0", - "@rollup/rollup-win32-arm64-msvc": "4.18.0", - "@rollup/rollup-win32-ia32-msvc": "4.18.0", - "@rollup/rollup-win32-x64-msvc": "4.18.0", + "@rollup/rollup-android-arm-eabi": "4.20.0", + "@rollup/rollup-android-arm64": "4.20.0", + "@rollup/rollup-darwin-arm64": "4.20.0", + "@rollup/rollup-darwin-x64": "4.20.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.20.0", + "@rollup/rollup-linux-arm-musleabihf": "4.20.0", + "@rollup/rollup-linux-arm64-gnu": "4.20.0", + "@rollup/rollup-linux-arm64-musl": "4.20.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.20.0", + "@rollup/rollup-linux-riscv64-gnu": "4.20.0", + "@rollup/rollup-linux-s390x-gnu": "4.20.0", + "@rollup/rollup-linux-x64-gnu": "4.20.0", + "@rollup/rollup-linux-x64-musl": "4.20.0", + "@rollup/rollup-win32-arm64-msvc": "4.20.0", + "@rollup/rollup-win32-ia32-msvc": "4.20.0", + "@rollup/rollup-win32-x64-msvc": "4.20.0", "fsevents": "~2.3.2" } }, @@ -20695,9 +20293,9 @@ } }, "node_modules/sass-loader": { - "version": "14.2.1", - "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-14.2.1.tgz", - "integrity": "sha512-G0VcnMYU18a4N7VoNDegg2OuMjYtxnqzQWARVWCIVSZwJeiL9kg8QMsuIZOplsJgTzZLF6jGxI3AClj8I9nRdQ==", + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-16.0.0.tgz", + "integrity": "sha512-n13Z+3rU9A177dk4888czcVFiC8CL9dii4qpXWUg3YIIgZEvi9TCFKjOQcbK0kJM7DJu9VucrZFddvNfYCPwtw==", "license": "MIT", "dependencies": { "neo-async": "^2.6.2" @@ -20816,9 +20414,9 @@ } }, "node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "license": "ISC", "bin": { "semver": "bin/semver.js" @@ -20828,9 +20426,9 @@ } }, "node_modules/send": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", - "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", + "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", "license": "MIT", "dependencies": { "debug": "2.6.9", @@ -20866,11 +20464,14 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "license": "MIT" }, - "node_modules/send/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "license": "MIT" + "node_modules/send/node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } }, "node_modules/serialize-javascript": { "version": "6.0.2", @@ -20960,15 +20561,15 @@ } }, "node_modules/serve-static": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", - "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", + "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", "license": "MIT", "dependencies": { - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "parseurl": "~1.3.3", - "send": "0.18.0" + "send": "0.19.0" }, "engines": { "node": ">= 0.8.0" @@ -21107,7 +20708,6 @@ "version": "5.0.0", "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-5.0.0.tgz", "integrity": "sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==", - "dev": true, "license": "MIT", "dependencies": { "ansi-styles": "^6.0.0", @@ -21124,7 +20724,6 @@ "version": "6.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", - "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -21201,9 +20800,9 @@ } }, "node_modules/source-map-js": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", - "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" @@ -21290,9 +20889,9 @@ } }, "node_modules/spdx-license-ids": { - "version": "3.0.18", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.18.tgz", - "integrity": "sha512-xxRs31BqRYHwiMzudOrpSiHtZ8i/GeionCBDSilhYRj+9gIcI8wCZTlXZKu9vZIVqViP3dcp9qE5G6AlIaD+TQ==", + "version": "3.0.20", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz", + "integrity": "sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw==", "dev": true, "license": "CC0-1.0" }, @@ -21450,7 +21049,6 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==", - "dev": true, "license": "MIT", "dependencies": { "emoji-regex": "^10.3.0", @@ -21495,10 +21093,9 @@ } }, "node_modules/string-width/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", - "dev": true, + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "license": "MIT", "engines": { "node": ">=12" @@ -21511,7 +21108,6 @@ "version": "7.1.0", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dev": true, "license": "MIT", "dependencies": { "ansi-regex": "^6.0.1" @@ -21843,9 +21439,9 @@ "license": "ISC" }, "node_modules/terser": { - "version": "5.29.2", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.29.2.tgz", - "integrity": "sha512-ZiGkhUBIM+7LwkNjXYJq8svgkd+QK3UUr0wJqY4MieaezBSAIPgbSPZyIx0idM6XWK5CMzSWa8MJIzmRcB8Caw==", + "version": "5.31.6", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.6.tgz", + "integrity": "sha512-PQ4DAriWzKj+qgehQ7LK5bQqCFNMmlhjR2PFFLuqGCpuCAauxemVBWwWOxo3UIwWQx8+Pr61Df++r76wDmkQBg==", "license": "BSD-2-Clause", "dependencies": { "@jridgewell/source-map": "^0.3.3", @@ -22179,21 +21775,21 @@ } }, "node_modules/ts-jest": { - "version": "29.2.4", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.2.4.tgz", - "integrity": "sha512-3d6tgDyhCI29HlpwIq87sNuI+3Q6GLTTCeYRHCs7vDz+/3GCMwEtV9jezLyl4ZtnBgx00I7hm8PCP8cTksMGrw==", + "version": "29.2.5", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.2.5.tgz", + "integrity": "sha512-KD8zB2aAZrcKIdGk4OwpJggeLcH1FgrICqDSROWqlnJXGCXK4Mn6FcdK2B6670Xr73lHMG1kHw8R87A0ecZ+vA==", "dev": true, "license": "MIT", "dependencies": { - "bs-logger": "0.x", + "bs-logger": "^0.2.6", "ejs": "^3.1.10", - "fast-json-stable-stringify": "2.x", + "fast-json-stable-stringify": "^2.1.0", "jest-util": "^29.0.0", "json5": "^2.2.3", - "lodash.memoize": "4.x", - "make-error": "1.x", - "semver": "^7.5.3", - "yargs-parser": "^21.0.1" + "lodash.memoize": "^4.1.2", + "make-error": "^1.3.6", + "semver": "^7.6.3", + "yargs-parser": "^21.1.1" }, "bin": { "ts-jest": "cli.js" @@ -22469,9 +22065,9 @@ } }, "node_modules/tslib": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", - "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", "license": "0BSD" }, "node_modules/tsscmp": { @@ -22564,25 +22160,16 @@ "node": ">=14.17" } }, - "node_modules/undici": { - "version": "6.19.2", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.19.2.tgz", - "integrity": "sha512-JfjKqIauur3Q6biAtHJ564e3bWa8VvT+7cSiOJHFbX4Erv6CLGDpg8z+Fmg/1OI/47RA+GI2QZaF48SSaLvyBA==", - "license": "MIT", - "engines": { - "node": ">=18.17" - } - }, "node_modules/undici-types": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.13.0.tgz", - "integrity": "sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg==", + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", "license": "MIT" }, "node_modules/unicode-canonical-property-names-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", - "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz", + "integrity": "sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==", "license": "MIT", "engines": { "node": ">=4" @@ -22602,9 +22189,9 @@ } }, "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz", - "integrity": "sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.0.tgz", + "integrity": "sha512-4IehN3V/+kkr5YeSSDDQG8QLqO26XpL2XP3GQtqwlT/QYSECAwFztxVHjlbh0+gjJ3XmNLS0zDsbgs9jWKExLg==", "license": "MIT", "engines": { "node": ">=4" @@ -22834,13 +22421,13 @@ } }, "node_modules/vite": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.3.2.tgz", - "integrity": "sha512-6lA7OBHBlXUxiJxbO5aAY2fsHHzDr1q7DvXYnyZycRs2Dz+dXBWuhpWHvmljTRTpQC2uvGmUFFkSHF2vGo90MA==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.0.tgz", + "integrity": "sha512-5xokfMX0PIiwCMCMb9ZJcMyh5wbBun0zUzKib+L65vAZ8GY9ePZMXxFrHbr/Kyll2+LSCY7xtERPpxkBDKngwg==", "license": "MIT", "dependencies": { "esbuild": "^0.21.3", - "postcss": "^8.4.38", + "postcss": "^8.4.40", "rollup": "^4.13.0" }, "bin": { @@ -22860,6 +22447,7 @@ "less": "*", "lightningcss": "^1.21.0", "sass": "*", + "sass-embedded": "*", "stylus": "*", "sugarss": "*", "terser": "^5.4.0" @@ -22877,6 +22465,9 @@ "sass": { "optional": true }, + "sass-embedded": { + "optional": true + }, "stylus": { "optional": true }, @@ -22888,83 +22479,488 @@ } } }, - "node_modules/w3c-xmlserializer": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz", - "integrity": "sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==", - "devOptional": true, + "node_modules/vite/node_modules/@esbuild/aix-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", + "integrity": "sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==", + "cpu": [ + "ppc64" + ], "license": "MIT", - "dependencies": { - "xml-name-validator": "^4.0.0" - }, + "optional": true, + "os": [ + "aix" + ], "engines": { - "node": ">=14" + "node": ">=12" } }, - "node_modules/walker": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", - "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", - "devOptional": true, - "license": "Apache-2.0", - "dependencies": { - "makeerror": "1.0.12" + "node_modules/vite/node_modules/@esbuild/android-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.21.5.tgz", + "integrity": "sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" } }, - "node_modules/watchpack": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.1.tgz", - "integrity": "sha512-8wrBCMtVhqcXP2Sup1ctSkga6uc2Bx0IIvKyT7yTFier5AXHooSI+QyQQAtTb7+E0IUCCKyTFmXqdqgum2XWGg==", + "node_modules/vite/node_modules/@esbuild/android-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.21.5.tgz", + "integrity": "sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==", + "cpu": [ + "arm64" + ], "license": "MIT", - "dependencies": { - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.1.2" - }, + "optional": true, + "os": [ + "android" + ], "engines": { - "node": ">=10.13.0" + "node": ">=12" } }, - "node_modules/wbuf": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz", - "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==", + "node_modules/vite/node_modules/@esbuild/android-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.21.5.tgz", + "integrity": "sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==", + "cpu": [ + "x64" + ], "license": "MIT", - "dependencies": { - "minimalistic-assert": "^1.0.0" + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" } }, - "node_modules/wcwidth": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "node_modules/vite/node_modules/@esbuild/darwin-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.21.5.tgz", + "integrity": "sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==", + "cpu": [ + "arm64" + ], "license": "MIT", - "dependencies": { - "defaults": "^1.0.3" + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" } }, - "node_modules/weak-lru-cache": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/weak-lru-cache/-/weak-lru-cache-1.2.2.tgz", - "integrity": "sha512-DEAoo25RfSYMuTGc9vPJzZcZullwIqRDSI9LOy+fkCJPi6hykCnfKaXTuPBDuXAUcqHXyOgFtHNp/kB2FjYHbw==", - "license": "MIT" - }, - "node_modules/webidl-conversions": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", - "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", - "devOptional": true, - "license": "BSD-2-Clause", + "node_modules/vite/node_modules/@esbuild/darwin-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.21.5.tgz", + "integrity": "sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], "engines": { "node": ">=12" } }, - "node_modules/webpack": { - "version": "5.92.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.92.1.tgz", - "integrity": "sha512-JECQ7IwJb+7fgUFBlrJzbyu3GEuNBcdqr1LD7IbSzwkSmIevTm8PF+wej3Oxuz/JFBUZ6O1o43zsPkwm1C4TmA==", + "node_modules/vite/node_modules/@esbuild/freebsd-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.21.5.tgz", + "integrity": "sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/@esbuild/freebsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.21.5.tgz", + "integrity": "sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-arm": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.21.5.tgz", + "integrity": "sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.21.5.tgz", + "integrity": "sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.21.5.tgz", + "integrity": "sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-loong64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.21.5.tgz", + "integrity": "sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==", + "cpu": [ + "loong64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-mips64el": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.21.5.tgz", + "integrity": "sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==", + "cpu": [ + "mips64el" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-ppc64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.21.5.tgz", + "integrity": "sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==", + "cpu": [ + "ppc64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-riscv64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.21.5.tgz", + "integrity": "sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-s390x": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.21.5.tgz", + "integrity": "sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==", + "cpu": [ + "s390x" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/@esbuild/linux-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.21.5.tgz", + "integrity": "sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/@esbuild/netbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.21.5.tgz", + "integrity": "sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/@esbuild/openbsd-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.21.5.tgz", + "integrity": "sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/@esbuild/sunos-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.21.5.tgz", + "integrity": "sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/@esbuild/win32-arm64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.21.5.tgz", + "integrity": "sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/@esbuild/win32-ia32": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.21.5.tgz", + "integrity": "sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/@esbuild/win32-x64": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.21.5.tgz", + "integrity": "sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/vite/node_modules/esbuild": { + "version": "0.21.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.21.5.tgz", + "integrity": "sha512-mg3OPMV4hXywwpoDxu3Qda5xCKQi+vCTZq8S9J/EpkhB2HzKXq4SNFZE3+NK93JYxc8VMSep+lOUSC/RVKaBqw==", + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.21.5", + "@esbuild/android-arm": "0.21.5", + "@esbuild/android-arm64": "0.21.5", + "@esbuild/android-x64": "0.21.5", + "@esbuild/darwin-arm64": "0.21.5", + "@esbuild/darwin-x64": "0.21.5", + "@esbuild/freebsd-arm64": "0.21.5", + "@esbuild/freebsd-x64": "0.21.5", + "@esbuild/linux-arm": "0.21.5", + "@esbuild/linux-arm64": "0.21.5", + "@esbuild/linux-ia32": "0.21.5", + "@esbuild/linux-loong64": "0.21.5", + "@esbuild/linux-mips64el": "0.21.5", + "@esbuild/linux-ppc64": "0.21.5", + "@esbuild/linux-riscv64": "0.21.5", + "@esbuild/linux-s390x": "0.21.5", + "@esbuild/linux-x64": "0.21.5", + "@esbuild/netbsd-x64": "0.21.5", + "@esbuild/openbsd-x64": "0.21.5", + "@esbuild/sunos-x64": "0.21.5", + "@esbuild/win32-arm64": "0.21.5", + "@esbuild/win32-ia32": "0.21.5", + "@esbuild/win32-x64": "0.21.5" + } + }, + "node_modules/w3c-xmlserializer": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-4.0.0.tgz", + "integrity": "sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==", + "devOptional": true, + "license": "MIT", + "dependencies": { + "xml-name-validator": "^4.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/walker": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", + "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", + "devOptional": true, + "license": "Apache-2.0", + "dependencies": { + "makeerror": "1.0.12" + } + }, + "node_modules/watchpack": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.1.tgz", + "integrity": "sha512-8wrBCMtVhqcXP2Sup1ctSkga6uc2Bx0IIvKyT7yTFier5AXHooSI+QyQQAtTb7+E0IUCCKyTFmXqdqgum2XWGg==", + "license": "MIT", + "dependencies": { + "glob-to-regexp": "^0.4.1", + "graceful-fs": "^4.1.2" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/wbuf": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz", + "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==", + "license": "MIT", + "dependencies": { + "minimalistic-assert": "^1.0.0" + } + }, + "node_modules/wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "license": "MIT", + "dependencies": { + "defaults": "^1.0.3" + } + }, + "node_modules/weak-lru-cache": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/weak-lru-cache/-/weak-lru-cache-1.2.2.tgz", + "integrity": "sha512-DEAoo25RfSYMuTGc9vPJzZcZullwIqRDSI9LOy+fkCJPi6hykCnfKaXTuPBDuXAUcqHXyOgFtHNp/kB2FjYHbw==", + "license": "MIT" + }, + "node_modules/webidl-conversions": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", + "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", + "devOptional": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + } + }, + "node_modules/webpack": { + "version": "5.94.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.94.0.tgz", + "integrity": "sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg==", "license": "MIT", "dependencies": { - "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.5", "@webassemblyjs/ast": "^1.12.1", "@webassemblyjs/wasm-edit": "^1.12.1", @@ -22973,7 +22969,7 @@ "acorn-import-attributes": "^1.9.5", "browserslist": "^4.21.10", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.17.0", + "enhanced-resolve": "^5.17.1", "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", @@ -23006,9 +23002,9 @@ } }, "node_modules/webpack-dev-middleware": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-7.2.1.tgz", - "integrity": "sha512-hRLz+jPQXo999Nx9fXVdKlg/aehsw1ajA9skAneGmT03xwmyuhvF93p6HUKKbWhXdcERtGTzUCtIQr+2IQegrA==", + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-7.4.2.tgz", + "integrity": "sha512-xOO8n6eggxnwYpy1NlzUKpvrjfJTvae5/D6WOK0S2LSo7vjmo5gCM1DbLUmFqrMTJP+W/0YZNctm7jasWvLuBA==", "license": "MIT", "dependencies": { "colorette": "^2.0.10", @@ -23196,17 +23192,17 @@ } }, "node_modules/webpack-merge": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-5.10.0.tgz", - "integrity": "sha512-+4zXKdx7UnO+1jaN4l2lHVD+mFvnlZQP/6ljaJVb4SZiwIKeUnrT5l0gkT8z+n4hKpC+jpOv6O9R+gLtag7pSA==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-6.0.1.tgz", + "integrity": "sha512-hXXvrjtx2PLYx4qruKl+kyRSLc52V+cCvMxRjmKwoA+CBbbF5GfIBtR6kCvl0fYGqTUPKB+1ktVmTHqMOzgCBg==", "license": "MIT", "dependencies": { "clone-deep": "^4.0.1", "flat": "^5.0.2", - "wildcard": "^2.0.0" + "wildcard": "^2.0.1" }, "engines": { - "node": ">=10.0.0" + "node": ">=18.0.0" } }, "node_modules/webpack-node-externals": { @@ -23761,7 +23757,6 @@ "version": "2.1.2", "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.2.tgz", "integrity": "sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==", - "dev": true, "license": "MIT", "engines": { "node": ">=18" diff --git a/examples/frontend/angular/package.json b/examples/frontend/angular/package.json index d424e75e2..f72133ac7 100644 --- a/examples/frontend/angular/package.json +++ b/examples/frontend/angular/package.json @@ -11,43 +11,43 @@ }, "private": true, "dependencies": { - "@angular/animations": "~18.1.0", - "@angular/common": "~18.1.0", - "@angular/compiler": "~18.1.4", - "@angular/core": "~18.1.0", - "@angular/forms": "~18.1.0", - "@angular/platform-browser": "~18.1.4", - "@angular/platform-browser-dynamic": "~18.1.0", - "@angular/router": "~18.1.0", - "@nx/angular": "19.5.7", + "@angular/animations": "~18.2.4", + "@angular/common": "~18.2.4", + "@angular/compiler": "~18.2.4", + "@angular/core": "~18.2.4", + "@angular/forms": "~18.2.4", + "@angular/platform-browser": "~18.2.4", + "@angular/platform-browser-dynamic": "~18.2.4", + "@angular/router": "~18.2.4", + "@nx/angular": "19.7.2", "casper-sdk": "file:../../../pkg", "highlight.js": "^11.8.0", "promise-worker": "^2.0.1", "rxjs": "~7.8.0", "tslib": "^2.3.0", - "zone.js": "~0.14.4" + "zone.js": "~0.14.0" }, "devDependencies": { "@angular-devkit/build-angular": "^18.1.0", - "@angular-devkit/core": "~18.1.0", - "@angular-devkit/schematics": "~18.1.0", - "@angular-eslint/eslint-plugin": "~18.2.0", - "@angular-eslint/eslint-plugin-template": "~18.2.0", - "@angular-eslint/template-parser": "~18.2.0", - "@angular/cli": "~18.1.0", - "@angular/compiler-cli": "~18.1.0", - "@angular/language-service": "~18.1.0", - "@nx/eslint-plugin": "19.5.7", - "@nx/jest": "19.5.7", - "@nx/js": "19.5.7", - "@nx/linter": "19.5.7", - "@nx/workspace": "19.5.7", - "@schematics/angular": "~18.1.4", + "@angular-devkit/core": "~18.2.4", + "@angular-devkit/schematics": "~18.2.4", + "@angular-eslint/eslint-plugin": "~18.3.1", + "@angular-eslint/eslint-plugin-template": "~18.3.1", + "@angular-eslint/template-parser": "~18.3.1", + "@angular/cli": "~18.2.4", + "@angular/compiler-cli": "~18.2.4", + "@angular/language-service": "~18.2.4", + "@nx/eslint-plugin": "19.7.2", + "@nx/jest": "19.7.2", + "@nx/js": "19.7.2", + "@nx/linter": "19.7.2", + "@nx/workspace": "19.7.2", + "@schematics/angular": "~18.2.4", "@swc-node/register": "~1.10.7", "@swc/core": "~1.7.6", "@swc/helpers": "~0.5.2", "@types/jest": "^29.5.12", - "@types/node": "22.1.0", + "@types/node": "22.5.4", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "eslint": "~8.57.0", @@ -57,7 +57,7 @@ "jest-environment-node": "^29.7.0", "jest-preset-angular": "~14.2.2", "jsonc-eslint-parser": "^2.4.0", - "nx": "19.5.7", + "nx": "19.7.2", "prettier": "^3.2.5", "ts-jest": "^29.1.2", "ts-node": "~10.9.2", diff --git a/examples/frontend/react/package-lock.json b/examples/frontend/react/package-lock.json index 295c98415..7275a85ac 100644 --- a/examples/frontend/react/package-lock.json +++ b/examples/frontend/react/package-lock.json @@ -81,9 +81,9 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.25.2", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.2.tgz", - "integrity": "sha512-bYcppcpKBvX4znYaPEeFau03bp89ShqNMLs+rmdptMw+heSZh9+z84d2YG+K7cYLbWwzdjtDoW/uqZmPjulClQ==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.4.tgz", + "integrity": "sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ==", "dev": true, "license": "MIT", "engines": { @@ -151,13 +151,13 @@ } }, "node_modules/@babel/generator": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.0.tgz", - "integrity": "sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.6.tgz", + "integrity": "sha512-VPC82gr1seXOpkjAAKoLhP50vx4vGNlF4msF64dSFq1P8RfB+QAuJWGHPXXPc8QyfVWwwB/TNNU4+ayZmHNbZw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.25.0", + "@babel/types": "^7.25.6", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" @@ -211,9 +211,9 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.25.0.tgz", - "integrity": "sha512-GYM6BxeQsETc9mnct+nIIpf63SAyzvyYN7UB/IlTyd+MBg06afFGp0mIeUqGyWgS2mxad6vqbMrHVlaL3m70sQ==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.25.4.tgz", + "integrity": "sha512-ro/bFs3/84MDgDmMwbcHgDa8/E6J3QKNTk4xJJnVeFtGE+tL0K26E3pNxhYz2b67fJpt7Aphw5XcploKXuCvCQ==", "dev": true, "license": "MIT", "dependencies": { @@ -222,7 +222,7 @@ "@babel/helper-optimise-call-expression": "^7.24.7", "@babel/helper-replace-supers": "^7.25.0", "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7", - "@babel/traverse": "^7.25.0", + "@babel/traverse": "^7.25.4", "semver": "^6.3.1" }, "engines": { @@ -446,14 +446,14 @@ } }, "node_modules/@babel/helpers": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.0.tgz", - "integrity": "sha512-MjgLZ42aCm0oGjJj8CtSM3DB8NOOf8h2l7DCTePJs29u+v7yO/RBX9nShlKMgFnRks/Q4tBAe7Hxnov9VkGwLw==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.6.tgz", + "integrity": "sha512-Xg0tn4HcfTijTwfDwYlvVCl43V6h4KyVVX2aEm4qdO/PC6L2YvzLHFdmxhoeSA3eslcE6+ZVXHgWwopXYLNq4Q==", "dev": true, "license": "MIT", "dependencies": { "@babel/template": "^7.25.0", - "@babel/types": "^7.25.0" + "@babel/types": "^7.25.6" }, "engines": { "node": ">=6.9.0" @@ -475,13 +475,13 @@ } }, "node_modules/@babel/parser": { - "version": "7.25.3", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.3.tgz", - "integrity": "sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.6.tgz", + "integrity": "sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==", "dev": true, "license": "MIT", "dependencies": { - "@babel/types": "^7.25.2" + "@babel/types": "^7.25.6" }, "bin": { "parser": "bin/babel-parser.js" @@ -817,13 +817,13 @@ } }, "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.24.7.tgz", - "integrity": "sha512-Ec3NRUMoi8gskrkBe3fNmEQfxDvY8bgfQpz6jlk/41kX9eUjvpyqWU7PBP/pLAvMaSQjbMNKJmvX57jP+M6bPg==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.25.6.tgz", + "integrity": "sha512-aABl0jHw9bZ2karQ/uUD6XP4u0SG22SJrOHFoL6XB1R7dTovOP4TzTlsxOYC5yQ1pdscVK2JTUnF6QL3ARoAiQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -833,13 +833,13 @@ } }, "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.24.7.tgz", - "integrity": "sha512-hbX+lKKeUMGihnK8nvKqmXBInriT3GVjzXKFriV3YC6APGxMbP8RZNFwy91+hocLXq90Mta+HshoB31802bb8A==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.25.6.tgz", + "integrity": "sha512-sXaDXaJN9SNLymBdlWFA+bjzBhFD617ZaFiY13dGt7TVslVvVgA6fkZOP7Ki3IGElC45lwHdOTrCtKZGVAWeLQ==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1001,13 +1001,13 @@ } }, "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.7.tgz", - "integrity": "sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.4.tgz", + "integrity": "sha512-uMOCoHVU52BsSWxPOMVv5qKRdeSlPuImUCB2dlPuBSU+W2/ROE7/Zg8F2Kepbk+8yBa68LlRKxO+xgEVWorsDg==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1050,16 +1050,16 @@ } }, "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.25.0.tgz", - "integrity": "sha512-uaIi2FdqzjpAMvVqvB51S42oC2JEVgh0LDsGfZVDysWE8LrJtQC2jvKmOqEYThKyB7bDEb7BP1GYWDm7tABA0Q==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.25.4.tgz", + "integrity": "sha512-jz8cV2XDDTqjKPwVPJBIjORVEmSGYhdRa8e5k5+vN+uwcjSrSxUaebBRa4ko1jqNF2uxyg8G6XYk30Jv285xzg==", "dev": true, "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.24.8", "@babel/helper-remap-async-to-generator": "^7.25.0", "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/traverse": "^7.25.0" + "@babel/traverse": "^7.25.4" }, "engines": { "node": ">=6.9.0" @@ -1119,14 +1119,14 @@ } }, "node_modules/@babel/plugin-transform-class-properties": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.24.7.tgz", - "integrity": "sha512-vKbfawVYayKcSeSR5YYzzyXvsDFWU2mD8U5TFeXtbCPLFUqe7GyCgvO6XDHzje862ODrOwy6WCPmKeWHbCFJ4w==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.25.4.tgz", + "integrity": "sha512-nZeZHyCWPfjkdU5pA/uHiTaDAFUEqkpzf1YoQT2NeSynCGYq9rxfyI3XpQbfx/a0hSnFH6TGlEXvae5Vi7GD8g==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-class-features-plugin": "^7.25.4", + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1154,17 +1154,17 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.25.0.tgz", - "integrity": "sha512-xyi6qjr/fYU304fiRwFbekzkqVJZ6A7hOjWZd+89FVcBqPV3S9Wuozz82xdpLspckeaafntbzglaW4pqpzvtSw==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.25.4.tgz", + "integrity": "sha512-oexUfaQle2pF/b6E0dwsxQtAol9TLSO88kQvym6HHBWFliV2lGdrPieX+WgMRLSJDVzdYywk7jXbLPuO2KLTLg==", "dev": true, "license": "MIT", "dependencies": { "@babel/helper-annotate-as-pure": "^7.24.7", - "@babel/helper-compilation-targets": "^7.24.8", + "@babel/helper-compilation-targets": "^7.25.2", "@babel/helper-plugin-utils": "^7.24.8", "@babel/helper-replace-supers": "^7.25.0", - "@babel/traverse": "^7.25.0", + "@babel/traverse": "^7.25.4", "globals": "^11.1.0" }, "engines": { @@ -1652,14 +1652,14 @@ } }, "node_modules/@babel/plugin-transform-private-methods": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.24.7.tgz", - "integrity": "sha512-COTCOkG2hn4JKGEKBADkA8WNb35TGkkRbI5iT845dB+NyqgO8Hn+ajPbSnIQznneJTa3d30scb6iz/DhH8GsJQ==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.25.4.tgz", + "integrity": "sha512-ao8BG7E2b/URaUQGqN3Tlsg+M3KlHY6rJ1O1gXAEUnZoyNQnvKyH87Kfg+FoxSeyWUB8ISZZsC91C44ZuBFytw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-class-features-plugin": "^7.25.4", + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -1822,16 +1822,16 @@ } }, "node_modules/@babel/plugin-transform-runtime": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.24.7.tgz", - "integrity": "sha512-YqXjrk4C+a1kZjewqt+Mmu2UuV1s07y8kqcUf4qYLnoqemhR4gRQikhdAhSVJioMjVTu6Mo6pAbaypEA3jY6fw==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.25.4.tgz", + "integrity": "sha512-8hsyG+KUYGY0coX6KUCDancA0Vw225KJ2HJO0yCNr1vq5r+lJTleDaJf0K7iOhjw4SWhu03TMBzYTJ9krmzULQ==", "dev": true, "license": "MIT", "dependencies": { "@babel/helper-module-imports": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-plugin-utils": "^7.24.8", "babel-plugin-polyfill-corejs2": "^0.4.10", - "babel-plugin-polyfill-corejs3": "^0.10.1", + "babel-plugin-polyfill-corejs3": "^0.10.6", "babel-plugin-polyfill-regenerator": "^0.6.1", "semver": "^6.3.1" }, @@ -1994,14 +1994,14 @@ } }, "node_modules/@babel/plugin-transform-unicode-sets-regex": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.24.7.tgz", - "integrity": "sha512-2G8aAvF4wy1w/AGZkemprdGMRg5o6zPNhbHVImRz3lss55TYCBd6xStN19rt8XJHq20sqV0JbyWjOWwQRwV/wg==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.25.4.tgz", + "integrity": "sha512-qesBxiWkgN1Q+31xUE9RcMk79eOXXDCv6tfyGMRSs4RGlioSg2WVyQAm07k726cSE56pa+Kb0y9epX2qaXzTvA==", "dev": true, "license": "MIT", "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-regexp-features-plugin": "^7.25.2", + "@babel/helper-plugin-utils": "^7.24.8" }, "engines": { "node": ">=6.9.0" @@ -2011,13 +2011,13 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.25.3", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.25.3.tgz", - "integrity": "sha512-QsYW7UeAaXvLPX9tdVliMJE7MD7M6MLYVTovRTIwhoYQVFHR1rM4wO8wqAezYi3/BpSD+NzVCZ69R6smWiIi8g==", + "version": "7.25.4", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.25.4.tgz", + "integrity": "sha512-W9Gyo+KmcxjGahtt3t9fb14vFRWvPpu5pT6GBlovAK6BTBcxgjfVMSQCfJl4oi35ODrxP6xx2Wr8LNST57Mraw==", "dev": true, "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.25.2", + "@babel/compat-data": "^7.25.4", "@babel/helper-compilation-targets": "^7.25.2", "@babel/helper-plugin-utils": "^7.24.8", "@babel/helper-validator-option": "^7.24.8", @@ -2046,13 +2046,13 @@ "@babel/plugin-syntax-top-level-await": "^7.14.5", "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", "@babel/plugin-transform-arrow-functions": "^7.24.7", - "@babel/plugin-transform-async-generator-functions": "^7.25.0", + "@babel/plugin-transform-async-generator-functions": "^7.25.4", "@babel/plugin-transform-async-to-generator": "^7.24.7", "@babel/plugin-transform-block-scoped-functions": "^7.24.7", "@babel/plugin-transform-block-scoping": "^7.25.0", - "@babel/plugin-transform-class-properties": "^7.24.7", + "@babel/plugin-transform-class-properties": "^7.25.4", "@babel/plugin-transform-class-static-block": "^7.24.7", - "@babel/plugin-transform-classes": "^7.25.0", + "@babel/plugin-transform-classes": "^7.25.4", "@babel/plugin-transform-computed-properties": "^7.24.7", "@babel/plugin-transform-destructuring": "^7.24.8", "@babel/plugin-transform-dotall-regex": "^7.24.7", @@ -2080,7 +2080,7 @@ "@babel/plugin-transform-optional-catch-binding": "^7.24.7", "@babel/plugin-transform-optional-chaining": "^7.24.8", "@babel/plugin-transform-parameters": "^7.24.7", - "@babel/plugin-transform-private-methods": "^7.24.7", + "@babel/plugin-transform-private-methods": "^7.25.4", "@babel/plugin-transform-private-property-in-object": "^7.24.7", "@babel/plugin-transform-property-literals": "^7.24.7", "@babel/plugin-transform-regenerator": "^7.24.7", @@ -2093,10 +2093,10 @@ "@babel/plugin-transform-unicode-escapes": "^7.24.7", "@babel/plugin-transform-unicode-property-regex": "^7.24.7", "@babel/plugin-transform-unicode-regex": "^7.24.7", - "@babel/plugin-transform-unicode-sets-regex": "^7.24.7", + "@babel/plugin-transform-unicode-sets-regex": "^7.25.4", "@babel/preset-modules": "0.1.6-no-external-plugins", "babel-plugin-polyfill-corejs2": "^0.4.10", - "babel-plugin-polyfill-corejs3": "^0.10.4", + "babel-plugin-polyfill-corejs3": "^0.10.6", "babel-plugin-polyfill-regenerator": "^0.6.1", "core-js-compat": "^3.37.1", "semver": "^6.3.1" @@ -2185,9 +2185,9 @@ "license": "MIT" }, "node_modules/@babel/runtime": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.0.tgz", - "integrity": "sha512-7dRy4DwXwtzBrPbZflqxnvfxLF8kdZXPkhymtDeFoFqE6ldzjQFgYTtYIFARcLEYDrqfBfYcZt1WqFxRoyC9Rw==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.6.tgz", + "integrity": "sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ==", "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" @@ -2212,17 +2212,17 @@ } }, "node_modules/@babel/traverse": { - "version": "7.25.3", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.3.tgz", - "integrity": "sha512-HefgyP1x754oGCsKmV5reSmtV7IXj/kpaE1XYY+D9G5PvKKoFfSbiS4M77MdjuwlZKDIKFCffq9rPU+H/s3ZdQ==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.6.tgz", + "integrity": "sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ==", "dev": true, "license": "MIT", "dependencies": { "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.25.0", - "@babel/parser": "^7.25.3", + "@babel/generator": "^7.25.6", + "@babel/parser": "^7.25.6", "@babel/template": "^7.25.0", - "@babel/types": "^7.25.2", + "@babel/types": "^7.25.6", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -2231,9 +2231,9 @@ } }, "node_modules/@babel/types": { - "version": "7.25.2", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.2.tgz", - "integrity": "sha512-YTnYtra7W9e6/oAZEHj0bJehPRUlLH9/fbpT5LfB0NhQXyALCRkRs3zH9v07IYhkgpqX6Z78FnuccZr/l4Fs4Q==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.6.tgz", + "integrity": "sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==", "dev": true, "license": "MIT", "dependencies": { @@ -2720,9 +2720,9 @@ } }, "node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "dev": true, "license": "MIT", "engines": { @@ -4636,6 +4636,13 @@ "dev": true, "license": "MIT" }, + "node_modules/@rtsao/scc": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz", + "integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==", + "dev": true, + "license": "MIT" + }, "node_modules/@rushstack/eslint-patch": { "version": "1.10.4", "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.10.4.tgz", @@ -4918,9 +4925,9 @@ } }, "node_modules/@swc/helpers": { - "version": "0.5.12", - "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.12.tgz", - "integrity": "sha512-KMZNXiGibsW9kvZAO1Pam2JPTDBm+KSHMMHWdsyI/1DbIZjT2A6Gy3hblVXUMEDvUAKq+e0vL0X0o54owWji7g==", + "version": "0.5.13", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.13.tgz", + "integrity": "sha512-UoKGxQ3r5kYI9dALKJapMmuK+1zWM/H17Z1+iwnNmzcJRnfFuevZs375TA5rW31pu4BS4NoSy1fRsexDXfWn5w==", "license": "Apache-2.0", "dependencies": { "tslib": "^2.4.0" @@ -5023,13 +5030,12 @@ } }, "node_modules/@testing-library/jest-dom": { - "version": "6.4.8", - "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.4.8.tgz", - "integrity": "sha512-JD0G+Zc38f5MBHA4NgxQMR5XtO5Jx9g86jqturNTt2WUfRmLDIY7iKkWHDCCTiDuFMre6nxAD5wHw9W5kI4rGw==", + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/@testing-library/jest-dom/-/jest-dom-6.5.0.tgz", + "integrity": "sha512-xGGHpBXYSHUUr6XsKBfs85TWlYKpTc37cSBBVrXcib2MkHLboWlkClhWF37JKlDb9KEq3dHs+f2xR7XJEWGBxA==", "license": "MIT", "dependencies": { "@adobe/css-tools": "^4.4.0", - "@babel/runtime": "^7.9.2", "aria-query": "^5.0.0", "chalk": "^3.0.0", "css.escape": "^1.5.1", @@ -5117,9 +5123,9 @@ } }, "node_modules/@testing-library/react": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.0.0.tgz", - "integrity": "sha512-guuxUKRWQ+FgNX0h0NS0FIq3Q3uLtWVpBzcLOggmfMoUpgBnzBzvLLd4fbm6yS8ydJd94cIfY4yP9qUQjM2KwQ==", + "version": "16.0.1", + "resolved": "https://registry.npmjs.org/@testing-library/react/-/react-16.0.1.tgz", + "integrity": "sha512-dSmwJVtJXmku+iocRhWOUFbrERC76TX2Mnf0ATODz8brzAZrMBbzLwQixlBSanZxR6LddK3eiwpSFZgDET1URg==", "license": "MIT", "dependencies": { "@babel/runtime": "^7.12.5" @@ -5271,9 +5277,9 @@ } }, "node_modules/@types/eslint": { - "version": "8.56.11", - "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.11.tgz", - "integrity": "sha512-sVBpJMf7UPo/wGecYOpk2aQya2VUGeHhe38WG7/mN5FufNSubf5VT9Uh9Uyp8/eLJpu1/tuhJ/qTo4mhSB4V4Q==", + "version": "8.56.12", + "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.12.tgz", + "integrity": "sha512-03ruubjWyOHlmljCVoxSuNDdmfZDzsrrz0P2LeJsOXr+ZwFQ+0yQIwNCwt/GYhV7Z31fgtXJTAEs+FYlEL851g==", "dev": true, "license": "MIT", "dependencies": { @@ -5281,17 +5287,6 @@ "@types/json-schema": "*" } }, - "node_modules/@types/eslint-scope": { - "version": "3.7.7", - "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.7.tgz", - "integrity": "sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/eslint": "*", - "@types/estree": "*" - } - }, "node_modules/@types/estree": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", @@ -5446,12 +5441,12 @@ "license": "MIT" }, "node_modules/@types/node": { - "version": "22.1.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.1.0.tgz", - "integrity": "sha512-AOmuRF0R2/5j1knA3c6G3HOk523Ga+l+ZXltX8SF1+5oqcXijjfTd8fY3XRZqSihEu9XhtQnKYLmkFaoxgsJHw==", + "version": "22.5.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.4.tgz", + "integrity": "sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg==", "license": "MIT", "dependencies": { - "undici-types": "~6.13.0" + "undici-types": "~6.19.2" } }, "node_modules/@types/node-forge": { @@ -5506,9 +5501,9 @@ "license": "MIT" }, "node_modules/@types/react": { - "version": "18.3.3", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", - "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", + "version": "18.3.5", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.5.tgz", + "integrity": "sha512-WeqMfGJLGuLCqHGYRGHxnKrXcTitc6L/nBUWfWPcTarG3t9PsquqUMuVeXZeca+mglY4Vo5GZjCi0A3Or2lnxA==", "license": "MIT", "dependencies": { "@types/prop-types": "*", @@ -5525,9 +5520,9 @@ } }, "node_modules/@types/react-transition-group": { - "version": "4.4.10", - "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.10.tgz", - "integrity": "sha512-hT/+s0VQs2ojCX823m60m5f0sL5idt9SO6Tj6Dg+rdphGPIeJbJ6CxvBYkgkGKrYeDjvIpKTR38UzmtHJOGW3Q==", + "version": "4.4.11", + "resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.11.tgz", + "integrity": "sha512-RM05tAniPZ5DZPzzNFP+DmrcOdD0efDUxMy3145oljWSl3x9ZV5vhme98gTxFrj2lhXvmGNnUiuDyJgY9IKkNA==", "license": "MIT", "dependencies": { "@types/react": "*" @@ -6622,9 +6617,9 @@ "license": "MIT" }, "node_modules/async": { - "version": "3.2.5", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", - "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", "dev": true, "license": "MIT" }, @@ -6710,13 +6705,13 @@ } }, "node_modules/axobject-query": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.1.1.tgz", - "integrity": "sha512-goKlv8DZrK9hUh975fnHzhNIO4jUnFCfv/dszV5VwUGDFjI6vQ2VwoyjYjYNEbBE8AH87TduWP5uyDR1D+Iteg==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz", + "integrity": "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==", "dev": true, "license": "Apache-2.0", - "dependencies": { - "deep-equal": "^2.0.5" + "engines": { + "node": ">= 0.4" } }, "node_modules/babel-jest": { @@ -6993,24 +6988,27 @@ "license": "MIT" }, "node_modules/babel-preset-current-node-syntax": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", - "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.1.0.tgz", + "integrity": "sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw==", "dev": true, "license": "MIT", "dependencies": { "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-bigint": "^7.8.3", - "@babel/plugin-syntax-class-properties": "^7.8.3", - "@babel/plugin-syntax-import-meta": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-import-attributes": "^7.24.7", + "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-top-level-await": "^7.8.3" + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5" }, "peerDependencies": { "@babel/core": "^7.0.0" @@ -7120,9 +7118,9 @@ "license": "MIT" }, "node_modules/body-parser": { - "version": "1.20.2", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", - "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", + "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", "dev": true, "license": "MIT", "dependencies": { @@ -7134,7 +7132,7 @@ "http-errors": "2.0.0", "iconv-lite": "0.4.24", "on-finished": "2.4.1", - "qs": "6.11.0", + "qs": "6.13.0", "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" @@ -7402,9 +7400,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001651", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001651.tgz", - "integrity": "sha512-9Cf+Xv1jJNe1xPZLGuUXLNkE1BoDkqRqYyFJ9TDYSqhduqA4hu4oR9HluGoWYQC/aj8WHjsGVV+bwkh0+tegRg==", + "version": "1.0.30001660", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001660.tgz", + "integrity": "sha512-GacvNTTuATm26qC74pt+ad1fW15mlQ/zuTzzY1ZoIzECTP8HURDfF43kNxPgf7H1jmelCBQTTbBNxdSXOA7Bqg==", "dev": true, "funding": [ { @@ -7531,9 +7529,9 @@ } }, "node_modules/cjs-module-lexer": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.3.1.tgz", - "integrity": "sha512-a3KdPAANPbNE4ZUv9h6LckSl9zLsYOP4MBmhIPkRaeyybt+r4UghLvq+xw/YwUcC1gqylCkL4rdVs3Lwupjm4Q==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.4.1.tgz", + "integrity": "sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==", "dev": true, "license": "MIT" }, @@ -7808,9 +7806,9 @@ "license": "MIT" }, "node_modules/core-js": { - "version": "3.38.0", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.38.0.tgz", - "integrity": "sha512-XPpwqEodRljce9KswjZShh95qJ1URisBeKCjUdq27YdenkslVe7OO0ZJhlYXAChW7OhXaRLl8AAba7IBfoIHug==", + "version": "3.38.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.38.1.tgz", + "integrity": "sha512-OP35aUorbU3Zvlx7pjsFdu1rGNnD4pgw/CWoYzRY3t2EzoVT7shKHY1dlAy3f41cGIO7ZDPQimhGFTlEYkG/Hw==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -7820,9 +7818,9 @@ } }, "node_modules/core-js-compat": { - "version": "3.38.0", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.38.0.tgz", - "integrity": "sha512-75LAicdLa4OJVwFxFbQR3NdnZjNgX6ILpVcVzcC4T2smerB5lELMrJQQQoWV6TiuC/vlaFqgU2tKQx9w5s0e0A==", + "version": "3.38.1", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.38.1.tgz", + "integrity": "sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw==", "dev": true, "license": "MIT", "dependencies": { @@ -7834,9 +7832,9 @@ } }, "node_modules/core-js-pure": { - "version": "3.38.0", - "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.38.0.tgz", - "integrity": "sha512-8balb/HAXo06aHP58mZMtXgD8vcnXz9tUDePgqBgJgKdmTlMt+jw3ujqniuBDQXMvTzxnMpxHFeuSM3g1jWQuQ==", + "version": "3.38.1", + "resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.38.1.tgz", + "integrity": "sha512-BY8Etc1FZqdw1glX0XNOq2FDwfrg/VGqoZOZCdaL+UmdaqDwQwYXkMJT4t6In+zfEfOJDcM9T0KdbBeJg8KKCQ==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -8389,12 +8387,12 @@ } }, "node_modules/debug": { - "version": "4.3.6", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", - "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", "license": "MIT", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -8858,9 +8856,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.5.tgz", - "integrity": "sha512-QR7/A7ZkMS8tZuoftC/jfqNkZLQO779SSW3YuZHP4eXpj3EffGLFcB/Xu9AAZQzLccTiCV+EmUo3ha4mQ9wnlA==", + "version": "1.5.20", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.20.tgz", + "integrity": "sha512-74mdl6Fs1HHzK9SUX4CKFxAtAe3nUns48y79TskHNAG6fGOlLfyKA4j855x+0b5u8rWJIrlaG9tcTPstMlwjIw==", "dev": true, "license": "ISC" }, @@ -8895,9 +8893,9 @@ } }, "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", "dev": true, "license": "MIT", "engines": { @@ -9150,9 +9148,9 @@ } }, "node_modules/escalade": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", - "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", "dev": true, "license": "MIT", "engines": { @@ -9316,9 +9314,9 @@ } }, "node_modules/eslint-module-utils": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz", - "integrity": "sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==", + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.11.0.tgz", + "integrity": "sha512-gbBE5Hitek/oG6MUVj6sFuzEjA/ClzNflVrLovHi/JgLdC7fiN5gLAY1WIPW1a0V5I999MnsrvVrCOGmmVqDBQ==", "dev": true, "license": "MIT", "dependencies": { @@ -9363,27 +9361,28 @@ } }, "node_modules/eslint-plugin-import": { - "version": "2.29.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz", - "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==", + "version": "2.30.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.30.0.tgz", + "integrity": "sha512-/mHNE9jINJfiD2EKkg1BKyPyUk4zdnT54YgbOgfjSakWT5oyX/qQLVNTkehyfpcMxZXMy1zyonZ2v7hZTX43Yw==", "dev": true, "license": "MIT", "dependencies": { - "array-includes": "^3.1.7", - "array.prototype.findlastindex": "^1.2.3", + "@rtsao/scc": "^1.1.0", + "array-includes": "^3.1.8", + "array.prototype.findlastindex": "^1.2.5", "array.prototype.flat": "^1.3.2", "array.prototype.flatmap": "^1.3.2", "debug": "^3.2.7", "doctrine": "^2.1.0", "eslint-import-resolver-node": "^0.3.9", - "eslint-module-utils": "^2.8.0", - "hasown": "^2.0.0", - "is-core-module": "^2.13.1", + "eslint-module-utils": "^2.9.0", + "hasown": "^2.0.2", + "is-core-module": "^2.15.1", "is-glob": "^4.0.3", "minimatch": "^3.1.2", - "object.fromentries": "^2.0.7", - "object.groupby": "^1.0.1", - "object.values": "^1.1.7", + "object.fromentries": "^2.0.8", + "object.groupby": "^1.0.3", + "object.values": "^1.2.0", "semver": "^6.3.1", "tsconfig-paths": "^3.15.0" }, @@ -9443,9 +9442,9 @@ } }, "node_modules/eslint-plugin-jsx-a11y": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.9.0.tgz", - "integrity": "sha512-nOFOCaJG2pYqORjK19lqPqxMO/JpvdCZdPtNdxY3kvom3jTvkAbOvQvD8wuD0G8BYR0IGAGYDlzqWJOh/ybn2g==", + "version": "6.10.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.0.tgz", + "integrity": "sha512-ySOHvXX8eSN6zz8Bywacm7CvGNhUtdjvqfQDVe6020TUK34Cywkw7m0KsCCk1Qtm9G1FayfTN1/7mMYnYO2Bhg==", "dev": true, "license": "MIT", "dependencies": { @@ -9453,8 +9452,8 @@ "array-includes": "^3.1.8", "array.prototype.flatmap": "^1.3.2", "ast-types-flow": "^0.0.8", - "axe-core": "^4.9.1", - "axobject-query": "~3.1.1", + "axe-core": "^4.10.0", + "axobject-query": "^4.1.0", "damerau-levenshtein": "^1.0.8", "emoji-regex": "^9.2.2", "es-iterator-helpers": "^1.0.19", @@ -9470,7 +9469,7 @@ "node": ">=4.0" }, "peerDependencies": { - "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" + "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9" } }, "node_modules/eslint-plugin-jsx-a11y/node_modules/aria-query": { @@ -9484,9 +9483,9 @@ } }, "node_modules/eslint-plugin-react": { - "version": "7.35.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.35.0.tgz", - "integrity": "sha512-v501SSMOWv8gerHkk+IIQBkcGRGrO2nfybfj5pLxuJNFTPxxA3PSryhXTK+9pNbtkggheDdsC0E9Q8CuPk6JKA==", + "version": "7.36.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.36.0.tgz", + "integrity": "sha512-c+RvVxBH0JE2kHt/8p043nPPhIohSnyQOZApIzGJqM2tXnjEzcZzyKIAg72gymLtuwuKfgGxW2H2aqTJqRgTfQ==", "dev": true, "license": "MIT", "dependencies": { @@ -10037,38 +10036,38 @@ } }, "node_modules/express": { - "version": "4.19.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", - "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz", + "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==", "dev": true, "license": "MIT", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.2", + "body-parser": "1.20.3", "content-disposition": "0.5.4", "content-type": "~1.0.4", "cookie": "0.6.0", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "etag": "~1.8.1", - "finalhandler": "1.2.0", + "finalhandler": "1.3.1", "fresh": "0.5.2", "http-errors": "2.0.0", - "merge-descriptors": "1.0.1", + "merge-descriptors": "1.0.3", "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", + "path-to-regexp": "0.1.10", "proxy-addr": "~2.0.7", - "qs": "6.11.0", + "qs": "6.13.0", "range-parser": "~1.2.1", "safe-buffer": "5.2.1", - "send": "0.18.0", - "serve-static": "1.15.0", + "send": "0.19.0", + "serve-static": "1.16.2", "setprototypeof": "1.2.0", "statuses": "2.0.1", "type-is": "~1.6.18", @@ -10296,14 +10295,14 @@ } }, "node_modules/finalhandler": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", - "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", + "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", "dev": true, "license": "MIT", "dependencies": { "debug": "2.6.9", - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "on-finished": "2.4.1", "parseurl": "~1.3.3", @@ -10386,9 +10385,9 @@ "license": "ISC" }, "node_modules/follow-redirects": { - "version": "1.15.6", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", - "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", "funding": [ { "type": "individual", @@ -11376,17 +11375,17 @@ } }, "node_modules/http-proxy-middleware": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-3.0.0.tgz", - "integrity": "sha512-36AV1fIaI2cWRzHo+rbcxhe3M3jUDCNzc4D5zRl57sEWRAxdXYtw7FSQKYY6PDKssiAKjLYypbssHk+xs/kMXw==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-3.0.2.tgz", + "integrity": "sha512-fBLFpmvDzlxdckwZRjM0wWtwDZ4KBtQ8NFqhrFKoEtK4myzuiumBuNTxD+F4cVbXfOZljIbrynmvByofDzT7Ag==", "license": "MIT", "dependencies": { - "@types/http-proxy": "^1.17.10", - "debug": "^4.3.4", + "@types/http-proxy": "^1.17.15", + "debug": "^4.3.6", "http-proxy": "^1.18.1", - "is-glob": "^4.0.1", - "is-plain-obj": "^3.0.0", - "micromatch": "^4.0.5" + "is-glob": "^4.0.3", + "is-plain-object": "^5.0.0", + "micromatch": "^4.0.8" }, "engines": { "node": "^14.15.0 || ^16.10.0 || >=18.0.0" @@ -11463,9 +11462,9 @@ } }, "node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, "license": "MIT", "engines": { @@ -11723,9 +11722,9 @@ } }, "node_modules/is-core-module": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.0.tgz", - "integrity": "sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==", + "version": "2.15.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", + "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", "dev": true, "license": "MIT", "dependencies": { @@ -11938,6 +11937,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz", "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==", + "dev": true, "license": "MIT", "engines": { "node": ">=10" @@ -11946,6 +11946,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/is-potential-custom-element-name": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", @@ -15972,9 +15981,9 @@ } }, "node_modules/jest-watch-typeahead/node_modules/strip-ansi/node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", + "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", "dev": true, "license": "MIT", "engines": { @@ -16441,9 +16450,9 @@ } }, "node_modules/launch-editor": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.8.1.tgz", - "integrity": "sha512-elBx2l/tp9z99X5H/qev8uyDywVh0VXAwEbjk8kJhnc5grOFkGh7aW6q55me9xnYbss261XtnUrysZ+XvGbhQA==", + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/launch-editor/-/launch-editor-2.9.1.tgz", + "integrity": "sha512-Gcnl4Bd+hRO9P9icCP/RVVT2o8SFlPXofuCxvA2SaZuH45whSvf5p8x5oih5ftLiVhEI4sp5xDY+R+b3zJBh5w==", "dev": true, "license": "MIT", "dependencies": { @@ -16680,11 +16689,14 @@ } }, "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", "dev": true, - "license": "MIT" + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, "node_modules/merge-stream": { "version": "2.0.0", @@ -16714,9 +16726,9 @@ } }, "node_modules/micromatch": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.7.tgz", - "integrity": "sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "license": "MIT", "dependencies": { "braces": "^3.0.3", @@ -16782,9 +16794,9 @@ } }, "node_modules/mini-css-extract-plugin": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.9.0.tgz", - "integrity": "sha512-Zs1YsZVfemekSZG+44vBsYTLQORkPMwnlv+aehcxK/NLKC+EGhDB39/YePYYqx/sTk6NnYpuqikhSn7+JIevTA==", + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.9.1.tgz", + "integrity": "sha512-+Vyi+GCCOHnrJ2VPS+6aPoXN2k2jgUzDRhTFLjjTBn23qyXJXkjUWQgTL+mXpF5/A8ixLdCc6kWsoeOjKGejKQ==", "dev": true, "license": "MIT", "dependencies": { @@ -16856,9 +16868,9 @@ } }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "license": "MIT" }, "node_modules/multicast-dns": { @@ -17490,9 +17502,9 @@ "license": "ISC" }, "node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==", + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", + "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", "dev": true, "license": "MIT" }, @@ -17514,9 +17526,9 @@ "license": "MIT" }, "node_modules/picocolors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", - "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", + "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", "license": "ISC" }, "node_modules/picomatch": { @@ -17638,9 +17650,9 @@ } }, "node_modules/postcss": { - "version": "8.4.41", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.41.tgz", - "integrity": "sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==", + "version": "8.4.45", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.45.tgz", + "integrity": "sha512-7KTLTdzdZZYscUc65XmjFiB73vBhBfbPztCYdUNvlaso9PrzjzcmjqBPR0lNGkcVlcO4BjiO5rK/qNz+XAen1Q==", "dev": true, "funding": [ { @@ -18203,9 +18215,9 @@ } }, "node_modules/postcss-load-config/node_modules/yaml": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.0.tgz", - "integrity": "sha512-2wWLbGbYDiSqqIKoPjar3MPgB94ErzCtrNE1FdqGuaO0pi2JGjmE8aW8TDZwzU7vuxcGRdL/4gPQwQ7hD5AMSw==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.1.tgz", + "integrity": "sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==", "dev": true, "license": "ISC", "bin": { @@ -18895,9 +18907,9 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.1.tgz", - "integrity": "sha512-b4dlw/9V8A71rLIDsSwVmak9z2DuBUB7CA1/wSdelNEzqsjoSPeADTWNO09lpH49Diy3/JIZ2bSPB1dI3LJCHg==", + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", + "integrity": "sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==", "dev": true, "license": "MIT", "dependencies": { @@ -19192,13 +19204,13 @@ } }, "node_modules/qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", + "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", "dev": true, "license": "BSD-3-Clause", "dependencies": { - "side-channel": "^1.0.4" + "side-channel": "^1.0.6" }, "engines": { "node": ">=0.6" @@ -19810,9 +19822,9 @@ "license": "MIT" }, "node_modules/regenerate-unicode-properties": { - "version": "10.1.1", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.1.tgz", - "integrity": "sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-10.2.0.tgz", + "integrity": "sha512-DqHn3DwbmmPVzeKj9woBadqmXxLvQoQIwu7nopMc72ztvxVmVk2SBhSnx67zuye5TP+lJsb/TBQsjLKhnDf3MA==", "dev": true, "license": "MIT", "dependencies": { @@ -20448,9 +20460,9 @@ } }, "node_modules/send": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", - "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", + "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", "dev": true, "license": "MIT", "dependencies": { @@ -20489,12 +20501,15 @@ "dev": true, "license": "MIT" }, - "node_modules/send/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "node_modules/send/node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", "dev": true, - "license": "MIT" + "license": "MIT", + "engines": { + "node": ">= 0.8" + } }, "node_modules/serialize-javascript": { "version": "6.0.2", @@ -20593,16 +20608,16 @@ } }, "node_modules/serve-static": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", - "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", + "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", "dev": true, "license": "MIT", "dependencies": { - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "parseurl": "~1.3.3", - "send": "0.18.0" + "send": "0.19.0" }, "engines": { "node": ">= 0.8.0" @@ -20754,9 +20769,9 @@ } }, "node_modules/source-map-js": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", - "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", + "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", "dev": true, "license": "BSD-3-Clause", "engines": { @@ -21579,9 +21594,9 @@ "license": "MIT" }, "node_modules/tailwindcss": { - "version": "3.4.8", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.8.tgz", - "integrity": "sha512-GkP17r9GQkxgZ9FKHJQEnjJuKBcbFhMFzKu5slmN6NjlCuFnYJMQ8N4AZ6VrUyiRXlDtPKHkesuQ/MS913Nvdg==", + "version": "3.4.11", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.11.tgz", + "integrity": "sha512-qhEuBcLemjSJk5ajccN9xJFtM/h0AVCPaA6C92jNP+M2J8kX+eMJHI7R2HFKUvvAsMpcfLILMCFYSeDwpMmlUg==", "dev": true, "license": "MIT", "dependencies": { @@ -21686,9 +21701,9 @@ } }, "node_modules/terser": { - "version": "5.31.4", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.4.tgz", - "integrity": "sha512-3OU03GgblDgu0g+sdnsVzhBPxnjV+WJuMmocN1qBBZDQ3ia7jZQSAkePeKbPlYAejGXUTYe1CmSaUeV51mvaIw==", + "version": "5.32.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.32.0.tgz", + "integrity": "sha512-v3Gtw3IzpBJ0ugkxEX8U0W6+TnPKRRCWGh1jC/iM/e3Ki5+qvO1L1EAZ56bZasc64aXHwRHNIQEzm6//i5cemQ==", "dev": true, "license": "BSD-2-Clause", "dependencies": { @@ -21953,9 +21968,9 @@ } }, "node_modules/tslib": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", - "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==", "license": "0BSD" }, "node_modules/tsutils": { @@ -22119,9 +22134,9 @@ } }, "node_modules/typescript": { - "version": "5.5.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", - "integrity": "sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==", + "version": "5.6.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", + "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", @@ -22170,15 +22185,15 @@ "license": "MIT" }, "node_modules/undici-types": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.13.0.tgz", - "integrity": "sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg==", + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", "license": "MIT" }, "node_modules/unicode-canonical-property-names-ecmascript": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", - "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.1.tgz", + "integrity": "sha512-dA8WbNeb2a6oQzAQ55YlT5vQAWGV9WXOsi3SskE3bcCdM0P4SDd+24zS/OCacdRq5BkdsRj9q3Pg6YyQoxIGqg==", "dev": true, "license": "MIT", "engines": { @@ -22200,9 +22215,9 @@ } }, "node_modules/unicode-match-property-value-ecmascript": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz", - "integrity": "sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.2.0.tgz", + "integrity": "sha512-4IehN3V/+kkr5YeSSDDQG8QLqO26XpL2XP3GQtqwlT/QYSECAwFztxVHjlbh0+gjJ3XmNLS0zDsbgs9jWKExLg==", "dev": true, "license": "MIT", "engines": { @@ -22448,9 +22463,9 @@ } }, "node_modules/watchpack": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.1.tgz", - "integrity": "sha512-8wrBCMtVhqcXP2Sup1ctSkga6uc2Bx0IIvKyT7yTFier5AXHooSI+QyQQAtTb7+E0IUCCKyTFmXqdqgum2XWGg==", + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.4.2.tgz", + "integrity": "sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw==", "dev": true, "license": "MIT", "dependencies": { @@ -22488,13 +22503,12 @@ } }, "node_modules/webpack": { - "version": "5.93.0", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.93.0.tgz", - "integrity": "sha512-Y0m5oEY1LRuwly578VqluorkXbvXKh7U3rLoQCEO04M97ScRr44afGVkI0FQFsXzysk5OgFAxjZAb9rsGQVihA==", + "version": "5.94.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.94.0.tgz", + "integrity": "sha512-KcsGn50VT+06JH/iunZJedYGUJS5FGjow8wb9c0v5n1Om8O1g4L6LjtfxwlXIATopoQu+vOXXa7gYisWxCoPyg==", "dev": true, "license": "MIT", "dependencies": { - "@types/eslint-scope": "^3.7.3", "@types/estree": "^1.0.5", "@webassemblyjs/ast": "^1.12.1", "@webassemblyjs/wasm-edit": "^1.12.1", @@ -22503,7 +22517,7 @@ "acorn-import-attributes": "^1.9.5", "browserslist": "^4.21.10", "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.17.0", + "enhanced-resolve": "^5.17.1", "es-module-lexer": "^1.2.1", "eslint-scope": "5.1.1", "events": "^3.2.0", diff --git a/pkg-nodejs/casper_rust_wasm_sdk.d.ts b/pkg-nodejs/casper_rust_wasm_sdk.d.ts index 3f7ce8b37..d3a66df66 100644 --- a/pkg-nodejs/casper_rust_wasm_sdk.d.ts +++ b/pkg-nodejs/casper_rust_wasm_sdk.d.ts @@ -1788,182 +1788,140 @@ export class QueryGlobalStateResult { export class SDK { free(): void; /** -* JavaScript alias for deploying with deserialized parameters. -* -* # Arguments -* -* * `deploy_params` - Deploy parameters. -* * `session_params` - Session parameters. -* * `payment_params` - Payment parameters. -* * `verbosity` - An optional verbosity level. -* * `node_address` - An optional node address. -* -* # Returns -* -* A result containing PutDeployResult or a JsError. -* @param {DeployStrParams} deploy_params -* @param {SessionStrParams} session_params -* @param {PaymentStrParams} payment_params -* @param {Verbosity | undefined} [verbosity] -* @param {string | undefined} [node_address] -* @returns {Promise} -*/ - deploy(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_params: PaymentStrParams, verbosity?: Verbosity, node_address?: string): Promise; -/** -* Parses balance options from a JsValue. +* Parses auction info options from a JsValue. * * # Arguments * -* * `options` - A JsValue containing balance options to be parsed. +* * `options` - A JsValue containing auction info options to be parsed. * * # Returns * -* Parsed balance options as a `GetBalanceOptions` struct. +* Result containing parsed auction info options as a `GetAuctionInfoOptions` struct, +* or a `JsError` if deserialization fails. * @param {any} options -* @returns {getBalanceOptions} +* @returns {getAuctionInfoOptions} */ - get_balance_options(options: any): getBalanceOptions; + get_auction_info_options(options: any): getAuctionInfoOptions; /** -* Retrieves balance information using the provided options. +* Retrieves auction information using the provided options. * * # Arguments * -* * `options` - An optional `GetBalanceOptions` struct containing retrieval options. +* * `options` - An optional `GetAuctionInfoOptions` struct containing retrieval options. * * # Returns * -* A `Result` containing either a `GetBalanceResult` or a `JsError` in case of an error. +* A `Result` containing either a `GetAuctionInfoResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. -* @param {getBalanceOptions | undefined} [options] -* @returns {Promise} -*/ - get_balance(options?: getBalanceOptions): Promise; -/** -* JS Alias for `get_balance_js_alias`. -* -* # Arguments -* -* * `options` - An optional `GetBalanceOptions` struct containing retrieval options. -* -* # Returns -* -* A `Result` containing either a `GetBalanceResult` or a `JsError` in case of an error. -* @param {getBalanceOptions | undefined} [options] -* @returns {Promise} +* @param {getAuctionInfoOptions | undefined} [options] +* @returns {Promise} */ - state_get_balance(options?: getBalanceOptions): Promise; + get_auction_info(options?: getAuctionInfoOptions): Promise; /** -* Parses era summary options from a JsValue. +* Parses dictionary item options from a JsValue. * * # Arguments * -* * `options` - A JsValue containing era summary options to be parsed. +* * `options` - A JsValue containing dictionary item options to be parsed. * * # Returns * -* Parsed era summary options as a `GetEraSummaryOptions` struct. +* Parsed dictionary item options as a `GetDictionaryItemOptions` struct. * @param {any} options -* @returns {getEraSummaryOptions} +* @returns {getDictionaryItemOptions} */ - get_era_summary_options(options: any): getEraSummaryOptions; + get_dictionary_item_options(options: any): getDictionaryItemOptions; /** -* Retrieves era summary information using the provided options. +* Retrieves dictionary item information using the provided options. * * # Arguments * -* * `options` - An optional `GetEraSummaryOptions` struct containing retrieval options. +* * `options` - An optional `GetDictionaryItemOptions` struct containing retrieval options. * * # Returns * -* A `Result` containing either a `GetEraSummaryResult` or a `JsError` in case of an error. +* A `Result` containing either a `GetDictionaryItemResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. -* @param {getEraSummaryOptions | undefined} [options] -* @returns {Promise} +* @param {getDictionaryItemOptions | undefined} [options] +* @returns {Promise} */ - get_era_summary(options?: getEraSummaryOptions): Promise; + get_dictionary_item(options?: getDictionaryItemOptions): Promise; +/** +* JS Alias for `get_dictionary_item_js_alias` +* @param {getDictionaryItemOptions | undefined} [options] +* @returns {Promise} +*/ + state_get_dictionary_item(options?: getDictionaryItemOptions): Promise; /** -* Parses query global state options from a JsValue. -* -* # Arguments -* -* * `options` - A JsValue containing query global state options to be parsed. -* -* # Returns -* -* Parsed query global state options as a `QueryGlobalStateOptions` struct. * @param {any} options -* @returns {queryGlobalStateOptions} +* @returns {getEraInfoOptions} */ - query_global_state_options(options: any): queryGlobalStateOptions; + get_era_info_options(options: any): getEraInfoOptions; /** -* Retrieves global state information using the provided options. +* @param {getEraInfoOptions | undefined} [options] +* @returns {Promise} +*/ + get_era_info(options?: getEraInfoOptions): Promise; +/** +* Retrieves node status information using the provided options. * * # Arguments * -* * `options` - An optional `QueryGlobalStateOptions` struct containing retrieval options. +* * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. +* * `node_address` - An optional string specifying the node address to use for the request. * * # Returns * -* A `Result` containing either a `QueryGlobalStateResult` or a `JsError` in case of an error. +* A `Result` containing either a `GetNodeStatusResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. -* @param {queryGlobalStateOptions | undefined} [options] -* @returns {Promise} -*/ - query_global_state(options?: queryGlobalStateOptions): Promise; -/** -* Deserialize query_contract_key_options from a JavaScript object. -* @param {any} options -* @returns {queryContractKeyOptions} -*/ - query_contract_key_options(options: any): queryContractKeyOptions; -/** -* JavaScript alias for query_contract_key with deserialized options. -* @param {queryContractKeyOptions | undefined} [options] -* @returns {Promise} +* @param {Verbosity | undefined} [verbosity] +* @param {string | undefined} [node_address] +* @returns {Promise} */ - query_contract_key(options?: queryContractKeyOptions): Promise; + get_node_status(verbosity?: Verbosity, node_address?: string): Promise; /** -* Parses auction info options from a JsValue. +* JS Alias for `make_deploy`. * * # Arguments * -* * `options` - A JsValue containing auction info options to be parsed. +* * `deploy_params` - The deploy parameters. +* * `session_params` - The session parameters. +* * `payment_params` - The payment parameters. * * # Returns * -* Result containing parsed auction info options as a `GetAuctionInfoOptions` struct, -* or a `JsError` if deserialization fails. -* @param {any} options -* @returns {getAuctionInfoOptions} +* A `Result` containing the created `Deploy` or a `JsError` in case of an error. +* @param {DeployStrParams} deploy_params +* @param {SessionStrParams} session_params +* @param {PaymentStrParams} payment_params +* @returns {Deploy} */ - get_auction_info_options(options: any): getAuctionInfoOptions; + make_deploy(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_params: PaymentStrParams): Deploy; /** -* Retrieves auction information using the provided options. +* JS Alias for `sign_deploy`. * * # Arguments * -* * `options` - An optional `GetAuctionInfoOptions` struct containing retrieval options. +* * `deploy` - The deploy to sign. +* * `secret_key` - The secret key for signing. * * # Returns * -* A `Result` containing either a `GetAuctionInfoResult` or a `JsError` in case of an error. -* -* # Errors -* -* Returns a `JsError` if there is an error during the retrieval process. -* @param {getAuctionInfoOptions | undefined} [options] -* @returns {Promise} +* The signed `Deploy`. +* @param {Deploy} deploy +* @param {string} secret_key +* @returns {Deploy} */ - get_auction_info(options?: getAuctionInfoOptions): Promise; + sign_deploy(deploy: Deploy, secret_key: string): Deploy; /** * Parses block options from a JsValue. * @@ -2015,258 +1973,69 @@ export class SDK { */ chain_get_block(options?: getBlockOptions): Promise; /** -* Parses dictionary item options from a JsValue. +* Parses era summary options from a JsValue. * * # Arguments * -* * `options` - A JsValue containing dictionary item options to be parsed. +* * `options` - A JsValue containing era summary options to be parsed. * * # Returns * -* Parsed dictionary item options as a `GetDictionaryItemOptions` struct. +* Parsed era summary options as a `GetEraSummaryOptions` struct. * @param {any} options -* @returns {getDictionaryItemOptions} +* @returns {getEraSummaryOptions} */ - get_dictionary_item_options(options: any): getDictionaryItemOptions; + get_era_summary_options(options: any): getEraSummaryOptions; /** -* Retrieves dictionary item information using the provided options. +* Retrieves era summary information using the provided options. * * # Arguments * -* * `options` - An optional `GetDictionaryItemOptions` struct containing retrieval options. +* * `options` - An optional `GetEraSummaryOptions` struct containing retrieval options. * * # Returns * -* A `Result` containing either a `GetDictionaryItemResult` or a `JsError` in case of an error. +* A `Result` containing either a `GetEraSummaryResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. -* @param {getDictionaryItemOptions | undefined} [options] -* @returns {Promise} -*/ - get_dictionary_item(options?: getDictionaryItemOptions): Promise; -/** -* JS Alias for `get_dictionary_item_js_alias` -* @param {getDictionaryItemOptions | undefined} [options] -* @returns {Promise} -*/ - state_get_dictionary_item(options?: getDictionaryItemOptions): Promise; -/** -* @param {any} options -* @returns {getEraInfoOptions} -*/ - get_era_info_options(options: any): getEraInfoOptions; -/** -* @param {getEraInfoOptions | undefined} [options] -* @returns {Promise} +* @param {getEraSummaryOptions | undefined} [options] +* @returns {Promise} */ - get_era_info(options?: getEraInfoOptions): Promise; + get_era_summary(options?: getEraSummaryOptions): Promise; /** -* JS Alias for `make_deploy`. +* Parses query global state options from a JsValue. * * # Arguments * -* * `deploy_params` - The deploy parameters. -* * `session_params` - The session parameters. -* * `payment_params` - The payment parameters. +* * `options` - A JsValue containing query global state options to be parsed. * * # Returns * -* A `Result` containing the created `Deploy` or a `JsError` in case of an error. -* @param {DeployStrParams} deploy_params -* @param {SessionStrParams} session_params -* @param {PaymentStrParams} payment_params -* @returns {Deploy} +* Parsed query global state options as a `QueryGlobalStateOptions` struct. +* @param {any} options +* @returns {queryGlobalStateOptions} */ - make_deploy(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_params: PaymentStrParams): Deploy; + query_global_state_options(options: any): queryGlobalStateOptions; /** -* Calls a smart contract entry point with the specified parameters and returns the result. +* Retrieves global state information using the provided options. * * # Arguments * -* * `deploy_params` - The deploy parameters. -* * `session_params` - The session parameters. -* * `payment_amount` - The payment amount as a string. -* * `node_address` - An optional node address to send the request to. +* * `options` - An optional `QueryGlobalStateOptions` struct containing retrieval options. * * # Returns * -* A `Result` containing either a `PutDeployResult` or a `JsError` in case of an error. +* A `Result` containing either a `QueryGlobalStateResult` or a `JsError` in case of an error. * * # Errors * -* Returns a `JsError` if there is an error during the call. -* @param {DeployStrParams} deploy_params -* @param {SessionStrParams} session_params -* @param {string} payment_amount -* @param {string | undefined} [node_address] -* @returns {Promise} +* Returns a `JsError` if there is an error during the retrieval process. +* @param {queryGlobalStateOptions | undefined} [options] +* @returns {Promise} */ - call_entrypoint(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_amount: string, node_address?: string): Promise; -/** -* JS Alias for transferring funds. -* -* # Arguments -* -* * `amount` - The amount to transfer. -* * `target_account` - The target account. -* * `transfer_id` - An optional transfer ID (defaults to a random number). -* * `deploy_params` - The deployment parameters. -* * `payment_params` - The payment parameters. -* * `verbosity` - The verbosity level for logging (optional). -* * `node_address` - The address of the node to connect to (optional). -* -* # Returns -* -* A `Result` containing the result of the transfer or a `JsError` in case of an error. -* @param {string} amount -* @param {string} target_account -* @param {string | undefined} transfer_id -* @param {DeployStrParams} deploy_params -* @param {PaymentStrParams} payment_params -* @param {Verbosity | undefined} [verbosity] -* @param {string | undefined} [node_address] -* @returns {Promise} -*/ - transfer(amount: string, target_account: string, transfer_id: string | undefined, deploy_params: DeployStrParams, payment_params: PaymentStrParams, verbosity?: Verbosity, node_address?: string): Promise; -/** -* Parses deploy options from a JsValue. -* -* # Arguments -* -* * `options` - A JsValue containing deploy options to be parsed. -* -* # Returns -* -* Parsed deploy options as a `GetDeployOptions` struct. -* @param {any} options -* @returns {getDeployOptions} -*/ - get_deploy_options(options: any): getDeployOptions; -/** -* Retrieves deploy information using the provided options. -* -* # Arguments -* -* * `options` - An optional `GetDeployOptions` struct containing retrieval options. -* -* # Returns -* -* A `Result` containing either a `GetDeployResult` or an error. -* @param {getDeployOptions | undefined} [options] -* @returns {Promise} -*/ - get_deploy(options?: getDeployOptions): Promise; -/** -* Retrieves deploy information using the provided options, alias for `get_deploy_js_alias`. -* @param {getDeployOptions | undefined} [options] -* @returns {Promise} -*/ - info_get_deploy(options?: getDeployOptions): Promise; -/** -* Get options for speculative execution from a JavaScript value. -* @param {any} options -* @returns {getSpeculativeExecOptions} -*/ - get_speculative_exec_options(options: any): getSpeculativeExecOptions; -/** -* JS Alias for speculative execution. -* -* # Arguments -* -* * `options` - The options for speculative execution. -* -* # Returns -* -* A `Result` containing the result of the speculative execution or a `JsError` in case of an error. -* @param {getSpeculativeExecOptions | undefined} [options] -* @returns {Promise} -*/ - speculative_exec(options?: getSpeculativeExecOptions): Promise; -/** -* JS Alias for `sign_deploy`. -* -* # Arguments -* -* * `deploy` - The deploy to sign. -* * `secret_key` - The secret key for signing. -* -* # Returns -* -* The signed `Deploy`. -* @param {Deploy} deploy -* @param {string} secret_key -* @returns {Deploy} -*/ - sign_deploy(deploy: Deploy, secret_key: string): Deploy; -/** -* Deserialize query_contract_dict_options from a JavaScript object. -* @param {any} options -* @returns {queryContractDictOptions} -*/ - query_contract_dict_options(options: any): queryContractDictOptions; -/** -* JavaScript alias for query_contract_dict with deserialized options. -* @param {queryContractDictOptions | undefined} [options] -* @returns {Promise} -*/ - query_contract_dict(options?: queryContractDictOptions): Promise; -/** -* @param {string | undefined} [node_address] -* @param {Verbosity | undefined} [verbosity] -*/ - constructor(node_address?: string, verbosity?: Verbosity); -/** -* @param {string | undefined} [node_address] -* @returns {string} -*/ - getNodeAddress(node_address?: string): string; -/** -* @param {string | undefined} [node_address] -*/ - setNodeAddress(node_address?: string): void; -/** -* @param {Verbosity | undefined} [verbosity] -* @returns {Verbosity} -*/ - getVerbosity(verbosity?: Verbosity): Verbosity; -/** -* @param {Verbosity | undefined} [verbosity] -*/ - setVerbosity(verbosity?: Verbosity): void; -/** -* Puts a deploy using the provided options. -* -* # Arguments -* -* * `deploy` - The `Deploy` object to be sent. -* * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. -* * `node_address` - An optional string specifying the node address to use for the request. -* -* # Returns -* -* A `Result` containing either a `PutDeployResult` or a `JsError` in case of an error. -* -* # Errors -* -* Returns a `JsError` if there is an error during the deploy process. -* @param {Deploy} deploy -* @param {Verbosity | undefined} [verbosity] -* @param {string | undefined} [node_address] -* @returns {Promise} -*/ - put_deploy(deploy: Deploy, verbosity?: Verbosity, node_address?: string): Promise; -/** -* JS Alias for `put_deploy_js_alias`. -* -* This function provides an alternative name for `put_deploy_js_alias`. -* @param {Deploy} deploy -* @param {Verbosity | undefined} [verbosity] -* @param {string | undefined} [node_address] -* @returns {Promise} -*/ - account_put_deploy(deploy: Deploy, verbosity?: Verbosity, node_address?: string): Promise; + query_global_state(options?: queryGlobalStateOptions): Promise; /** * @param {any} options * @returns {getAccountOptions} @@ -2283,38 +2052,6 @@ export class SDK { */ state_get_account_info(options?: getAccountOptions): Promise; /** -* Parses block transfers options from a JsValue. -* -* # Arguments -* -* * `options` - A JsValue containing block transfers options to be parsed. -* -* # Returns -* -* Parsed block transfers options as a `GetBlockTransfersOptions` struct. -* @param {any} options -* @returns {getBlockTransfersOptions} -*/ - get_block_transfers_options(options: any): getBlockTransfersOptions; -/** -* Retrieves block transfers information using the provided options. -* -* # Arguments -* -* * `options` - An optional `GetBlockTransfersOptions` struct containing retrieval options. -* -* # Returns -* -* A `Result` containing either a `GetBlockTransfersResult` or a `JsError` in case of an error. -* -* # Errors -* -* Returns a `JsError` if there is an error during the retrieval process. -* @param {getBlockTransfersOptions | undefined} [options] -* @returns {Promise} -*/ - get_block_transfers(options?: getBlockTransfersOptions): Promise; -/** * Parses state root hash options from a JsValue. * * # Arguments @@ -2365,38 +2102,6 @@ export class SDK { */ chain_get_state_root_hash(options?: getStateRootHashOptions): Promise; /** -* Parses query balance options from a JsValue. -* -* # Arguments -* -* * `options` - A JsValue containing query balance options to be parsed. -* -* # Returns -* -* Parsed query balance options as a `QueryBalanceOptions` struct. -* @param {any} options -* @returns {queryBalanceOptions} -*/ - query_balance_options(options: any): queryBalanceOptions; -/** -* Retrieves balance information using the provided options. -* -* # Arguments -* -* * `options` - An optional `QueryBalanceOptions` struct containing retrieval options. -* -* # Returns -* -* A `Result` containing either a `QueryBalanceResult` or a `JsError` in case of an error. -* -* # Errors -* -* Returns a `JsError` if there is an error during the retrieval process. -* @param {queryBalanceOptions | undefined} [options] -* @returns {Promise} -*/ - query_balance(options?: queryBalanceOptions): Promise; -/** * JS Alias for `make_transfer`. * * # Arguments @@ -2453,48 +2158,86 @@ export class SDK { */ waitDeploy(events_url: string, deploy_hash: string, timeout_duration?: number): Promise>; /** -* Asynchronously retrieves the chainspec. +* Deserialize query_contract_key_options from a JavaScript object. +* @param {any} options +* @returns {queryContractKeyOptions} +*/ + query_contract_key_options(options: any): queryContractKeyOptions; +/** +* JavaScript alias for query_contract_key with deserialized options. +* @param {queryContractKeyOptions | undefined} [options] +* @returns {Promise} +*/ + query_contract_key(options?: queryContractKeyOptions): Promise; +/** +* Parses balance options from a JsValue. * * # Arguments * -* * `verbosity` - An optional `Verbosity` parameter. -* * `node_address` - An optional node address as a string. +* * `options` - A JsValue containing balance options to be parsed. * * # Returns * -* A `Result` containing either a `GetChainspecResult` or a `JsError` in case of an error. -* @param {Verbosity | undefined} [verbosity] -* @param {string | undefined} [node_address] -* @returns {Promise} +* Parsed balance options as a `GetBalanceOptions` struct. +* @param {any} options +* @returns {getBalanceOptions} */ - get_chainspec(verbosity?: Verbosity, node_address?: string): Promise; + get_balance_options(options: any): getBalanceOptions; /** -* Retrieves node status information using the provided options. +* Retrieves balance information using the provided options. * * # Arguments * -* * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. -* * `node_address` - An optional string specifying the node address to use for the request. +* * `options` - An optional `GetBalanceOptions` struct containing retrieval options. * * # Returns * -* A `Result` containing either a `GetNodeStatusResult` or a `JsError` in case of an error. +* A `Result` containing either a `GetBalanceResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. -* @param {Verbosity | undefined} [verbosity] -* @param {string | undefined} [node_address] -* @returns {Promise} +* @param {getBalanceOptions | undefined} [options] +* @returns {Promise} */ - get_node_status(verbosity?: Verbosity, node_address?: string): Promise; + get_balance(options?: getBalanceOptions): Promise; /** -* Retrieves peers asynchronously. +* JS Alias for `get_balance_js_alias`. * * # Arguments * -* * `verbosity` - Optional verbosity level. -* * `node_address` - Optional node address. +* * `options` - An optional `GetBalanceOptions` struct containing retrieval options. +* +* # Returns +* +* A `Result` containing either a `GetBalanceResult` or a `JsError` in case of an error. +* @param {getBalanceOptions | undefined} [options] +* @returns {Promise} +*/ + state_get_balance(options?: getBalanceOptions): Promise; +/** +* Asynchronously retrieves the chainspec. +* +* # Arguments +* +* * `verbosity` - An optional `Verbosity` parameter. +* * `node_address` - An optional node address as a string. +* +* # Returns +* +* A `Result` containing either a `GetChainspecResult` or a `JsError` in case of an error. +* @param {Verbosity | undefined} [verbosity] +* @param {string | undefined} [node_address] +* @returns {Promise} +*/ + get_chainspec(verbosity?: Verbosity, node_address?: string): Promise; +/** +* Retrieves peers asynchronously. +* +* # Arguments +* +* * `verbosity` - Optional verbosity level. +* * `node_address` - Optional node address. * * # Returns * @@ -2505,25 +2248,147 @@ export class SDK { */ get_peers(verbosity?: Verbosity, node_address?: string): Promise; /** -* Retrieves validator changes using the provided options. +* Puts a deploy using the provided options. * * # Arguments * +* * `deploy` - The `Deploy` object to be sent. * * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. * * `node_address` - An optional string specifying the node address to use for the request. * * # Returns * -* A `Result` containing either a `GetValidatorChangesResult` or a `JsError` in case of an error. +* A `Result` containing either a `PutDeployResult` or a `JsError` in case of an error. * * # Errors * -* Returns a `JsError` if there is an error during the retrieval process. +* Returns a `JsError` if there is an error during the deploy process. +* @param {Deploy} deploy * @param {Verbosity | undefined} [verbosity] * @param {string | undefined} [node_address] -* @returns {Promise} +* @returns {Promise} */ - get_validator_changes(verbosity?: Verbosity, node_address?: string): Promise; + put_deploy(deploy: Deploy, verbosity?: Verbosity, node_address?: string): Promise; +/** +* JS Alias for `put_deploy_js_alias`. +* +* This function provides an alternative name for `put_deploy_js_alias`. +* @param {Deploy} deploy +* @param {Verbosity | undefined} [verbosity] +* @param {string | undefined} [node_address] +* @returns {Promise} +*/ + account_put_deploy(deploy: Deploy, verbosity?: Verbosity, node_address?: string): Promise; +/** +* JS Alias for speculative transfer. +* +* # Arguments +* +* * `amount` - The amount to transfer. +* * `target_account` - The target account. +* * `transfer_id` - An optional transfer ID (defaults to a random number). +* * `deploy_params` - The deployment parameters. +* * `payment_params` - The payment parameters. +* * `maybe_block_id_as_string` - An optional block ID as a string. +* * `maybe_block_identifier` - An optional block identifier. +* * `verbosity` - The verbosity level for logging (optional). +* * `node_address` - The address of the node to connect to (optional). +* +* # Returns +* +* A `Result` containing the result of the speculative transfer or a `JsError` in case of an error. +* @param {string} amount +* @param {string} target_account +* @param {string | undefined} transfer_id +* @param {DeployStrParams} deploy_params +* @param {PaymentStrParams} payment_params +* @param {string | undefined} [maybe_block_id_as_string] +* @param {BlockIdentifier | undefined} [maybe_block_identifier] +* @param {Verbosity | undefined} [verbosity] +* @param {string | undefined} [node_address] +* @returns {Promise} +*/ + speculative_transfer(amount: string, target_account: string, transfer_id: string | undefined, deploy_params: DeployStrParams, payment_params: PaymentStrParams, maybe_block_id_as_string?: string, maybe_block_identifier?: BlockIdentifier, verbosity?: Verbosity, node_address?: string): Promise; +/** +* JavaScript alias for deploying with deserialized parameters. +* +* # Arguments +* +* * `deploy_params` - Deploy parameters. +* * `session_params` - Session parameters. +* * `payment_params` - Payment parameters. +* * `verbosity` - An optional verbosity level. +* * `node_address` - An optional node address. +* +* # Returns +* +* A result containing PutDeployResult or a JsError. +* @param {DeployStrParams} deploy_params +* @param {SessionStrParams} session_params +* @param {PaymentStrParams} payment_params +* @param {Verbosity | undefined} [verbosity] +* @param {string | undefined} [node_address] +* @returns {Promise} +*/ + deploy(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_params: PaymentStrParams, verbosity?: Verbosity, node_address?: string): Promise; +/** +* JS Alias for transferring funds. +* +* # Arguments +* +* * `amount` - The amount to transfer. +* * `target_account` - The target account. +* * `transfer_id` - An optional transfer ID (defaults to a random number). +* * `deploy_params` - The deployment parameters. +* * `payment_params` - The payment parameters. +* * `verbosity` - The verbosity level for logging (optional). +* * `node_address` - The address of the node to connect to (optional). +* +* # Returns +* +* A `Result` containing the result of the transfer or a `JsError` in case of an error. +* @param {string} amount +* @param {string} target_account +* @param {string | undefined} transfer_id +* @param {DeployStrParams} deploy_params +* @param {PaymentStrParams} payment_params +* @param {Verbosity | undefined} [verbosity] +* @param {string | undefined} [node_address] +* @returns {Promise} +*/ + transfer(amount: string, target_account: string, transfer_id: string | undefined, deploy_params: DeployStrParams, payment_params: PaymentStrParams, verbosity?: Verbosity, node_address?: string): Promise; +/** +* Parses block transfers options from a JsValue. +* +* # Arguments +* +* * `options` - A JsValue containing block transfers options to be parsed. +* +* # Returns +* +* Parsed block transfers options as a `GetBlockTransfersOptions` struct. +* @param {any} options +* @returns {getBlockTransfersOptions} +*/ + get_block_transfers_options(options: any): getBlockTransfersOptions; +/** +* Retrieves block transfers information using the provided options. +* +* # Arguments +* +* * `options` - An optional `GetBlockTransfersOptions` struct containing retrieval options. +* +* # Returns +* +* A `Result` containing either a `GetBlockTransfersResult` or a `JsError` in case of an error. +* +* # Errors +* +* Returns a `JsError` if there is an error during the retrieval process. +* @param {getBlockTransfersOptions | undefined} [options] +* @returns {Promise} +*/ + get_block_transfers(options?: getBlockTransfersOptions): Promise; /** * Lists available RPCs using the provided options. * @@ -2545,7 +2410,39 @@ export class SDK { */ list_rpcs(verbosity?: Verbosity, node_address?: string): Promise; /** -* Installs a smart contract with the specified parameters and returns the result. +* Parses query balance options from a JsValue. +* +* # Arguments +* +* * `options` - A JsValue containing query balance options to be parsed. +* +* # Returns +* +* Parsed query balance options as a `QueryBalanceOptions` struct. +* @param {any} options +* @returns {queryBalanceOptions} +*/ + query_balance_options(options: any): queryBalanceOptions; +/** +* Retrieves balance information using the provided options. +* +* # Arguments +* +* * `options` - An optional `QueryBalanceOptions` struct containing retrieval options. +* +* # Returns +* +* A `Result` containing either a `QueryBalanceResult` or a `JsError` in case of an error. +* +* # Errors +* +* Returns a `JsError` if there is an error during the retrieval process. +* @param {queryBalanceOptions | undefined} [options] +* @returns {Promise} +*/ + query_balance(options?: queryBalanceOptions): Promise; +/** +* Calls a smart contract entry point with the specified parameters and returns the result. * * # Arguments * @@ -2560,14 +2457,14 @@ export class SDK { * * # Errors * -* Returns a `JsError` if there is an error during the installation. +* Returns a `JsError` if there is an error during the call. * @param {DeployStrParams} deploy_params * @param {SessionStrParams} session_params * @param {string} payment_amount * @param {string | undefined} [node_address] * @returns {Promise} */ - install(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_amount: string, node_address?: string): Promise; + call_entrypoint(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_amount: string, node_address?: string): Promise; /** * This function allows executing a deploy speculatively. * @@ -2595,35 +2492,138 @@ export class SDK { */ speculative_deploy(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_params: PaymentStrParams, maybe_block_id_as_string?: string, maybe_block_identifier?: BlockIdentifier, verbosity?: Verbosity, node_address?: string): Promise; /** -* JS Alias for speculative transfer. +* Parses deploy options from a JsValue. * * # Arguments * -* * `amount` - The amount to transfer. -* * `target_account` - The target account. -* * `transfer_id` - An optional transfer ID (defaults to a random number). -* * `deploy_params` - The deployment parameters. -* * `payment_params` - The payment parameters. -* * `maybe_block_id_as_string` - An optional block ID as a string. -* * `maybe_block_identifier` - An optional block identifier. -* * `verbosity` - The verbosity level for logging (optional). -* * `node_address` - The address of the node to connect to (optional). +* * `options` - A JsValue containing deploy options to be parsed. * * # Returns * -* A `Result` containing the result of the speculative transfer or a `JsError` in case of an error. -* @param {string} amount -* @param {string} target_account -* @param {string | undefined} transfer_id -* @param {DeployStrParams} deploy_params -* @param {PaymentStrParams} payment_params -* @param {string | undefined} [maybe_block_id_as_string] -* @param {BlockIdentifier | undefined} [maybe_block_identifier] +* Parsed deploy options as a `GetDeployOptions` struct. +* @param {any} options +* @returns {getDeployOptions} +*/ + get_deploy_options(options: any): getDeployOptions; +/** +* Retrieves deploy information using the provided options. +* +* # Arguments +* +* * `options` - An optional `GetDeployOptions` struct containing retrieval options. +* +* # Returns +* +* A `Result` containing either a `GetDeployResult` or an error. +* @param {getDeployOptions | undefined} [options] +* @returns {Promise} +*/ + get_deploy(options?: getDeployOptions): Promise; +/** +* Retrieves deploy information using the provided options, alias for `get_deploy_js_alias`. +* @param {getDeployOptions | undefined} [options] +* @returns {Promise} +*/ + info_get_deploy(options?: getDeployOptions): Promise; +/** +* Retrieves validator changes using the provided options. +* +* # Arguments +* +* * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. +* * `node_address` - An optional string specifying the node address to use for the request. +* +* # Returns +* +* A `Result` containing either a `GetValidatorChangesResult` or a `JsError` in case of an error. +* +* # Errors +* +* Returns a `JsError` if there is an error during the retrieval process. * @param {Verbosity | undefined} [verbosity] * @param {string | undefined} [node_address] +* @returns {Promise} +*/ + get_validator_changes(verbosity?: Verbosity, node_address?: string): Promise; +/** +* Get options for speculative execution from a JavaScript value. +* @param {any} options +* @returns {getSpeculativeExecOptions} +*/ + get_speculative_exec_options(options: any): getSpeculativeExecOptions; +/** +* JS Alias for speculative execution. +* +* # Arguments +* +* * `options` - The options for speculative execution. +* +* # Returns +* +* A `Result` containing the result of the speculative execution or a `JsError` in case of an error. +* @param {getSpeculativeExecOptions | undefined} [options] * @returns {Promise} */ - speculative_transfer(amount: string, target_account: string, transfer_id: string | undefined, deploy_params: DeployStrParams, payment_params: PaymentStrParams, maybe_block_id_as_string?: string, maybe_block_identifier?: BlockIdentifier, verbosity?: Verbosity, node_address?: string): Promise; + speculative_exec(options?: getSpeculativeExecOptions): Promise; +/** +* Deserialize query_contract_dict_options from a JavaScript object. +* @param {any} options +* @returns {queryContractDictOptions} +*/ + query_contract_dict_options(options: any): queryContractDictOptions; +/** +* JavaScript alias for query_contract_dict with deserialized options. +* @param {queryContractDictOptions | undefined} [options] +* @returns {Promise} +*/ + query_contract_dict(options?: queryContractDictOptions): Promise; +/** +* @param {string | undefined} [node_address] +* @param {Verbosity | undefined} [verbosity] +*/ + constructor(node_address?: string, verbosity?: Verbosity); +/** +* @param {string | undefined} [node_address] +* @returns {string} +*/ + getNodeAddress(node_address?: string): string; +/** +* @param {string | undefined} [node_address] +*/ + setNodeAddress(node_address?: string): void; +/** +* @param {Verbosity | undefined} [verbosity] +* @returns {Verbosity} +*/ + getVerbosity(verbosity?: Verbosity): Verbosity; +/** +* @param {Verbosity | undefined} [verbosity] +*/ + setVerbosity(verbosity?: Verbosity): void; +/** +* Installs a smart contract with the specified parameters and returns the result. +* +* # Arguments +* +* * `deploy_params` - The deploy parameters. +* * `session_params` - The session parameters. +* * `payment_amount` - The payment amount as a string. +* * `node_address` - An optional node address to send the request to. +* +* # Returns +* +* A `Result` containing either a `PutDeployResult` or a `JsError` in case of an error. +* +* # Errors +* +* Returns a `JsError` if there is an error during the installation. +* @param {DeployStrParams} deploy_params +* @param {SessionStrParams} session_params +* @param {string} payment_amount +* @param {string | undefined} [node_address] +* @returns {Promise} +*/ + install(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_amount: string, node_address?: string): Promise; } /** */ diff --git a/pkg-nodejs/casper_rust_wasm_sdk.js b/pkg-nodejs/casper_rust_wasm_sdk.js index fe9a18e98..75e3e076c 100644 --- a/pkg-nodejs/casper_rust_wasm_sdk.js +++ b/pkg-nodejs/casper_rust_wasm_sdk.js @@ -215,11 +215,18 @@ function makeMutClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_34(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf18b011da91a71a4(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0d84a86fb8ccef8f(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_37(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h828ea3939073e4cd(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h371b80b3de9ca300(arg0, arg1, addHeapObject(arg2)); +} + +function _assertClass(instance, klass) { + if (!(instance instanceof klass)) { + throw new Error(`expected instance of ${klass.name}`); + } + return instance.ptr; } function passArray8ToWasm0(arg, malloc) { @@ -229,11 +236,47 @@ function passArray8ToWasm0(arg, malloc) { return ptr; } -function _assertClass(instance, klass) { - if (!(instance instanceof klass)) { - throw new Error(`expected instance of ${klass.name}`); +let cachedUint32Memory0 = null; + +function getUint32Memory0() { + if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) { + cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer); } - return instance.ptr; + return cachedUint32Memory0; +} + +function passArrayJsValueToWasm0(array, malloc) { + const ptr = malloc(array.length * 4, 4) >>> 0; + const mem = getUint32Memory0(); + for (let i = 0; i < array.length; i++) { + mem[ptr / 4 + i] = addHeapObject(array[i]); + } + WASM_VECTOR_LEN = array.length; + return ptr; +} + +function getArrayJsValueFromWasm0(ptr, len) { + ptr = ptr >>> 0; + const mem = getUint32Memory0(); + const slice = mem.subarray(ptr / 4, ptr / 4 + len); + const result = []; + for (let i = 0; i < slice.length; i++) { + result.push(takeObject(slice[i])); + } + return result; +} + +function handleError(f, args) { + try { + return f.apply(this, args); + } catch (e) { + wasm.__wbindgen_exn_store(addHeapObject(e)); + } +} + +function getArrayU8FromWasm0(ptr, len) { + ptr = ptr >>> 0; + return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len); } /** * Converts a hexadecimal string to a regular string. @@ -267,10 +310,6 @@ module.exports.hexToString = function(hex_string) { } }; -function getArrayU8FromWasm0(ptr, len) { - ptr = ptr >>> 0; - return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len); -} /** * Converts a hexadecimal string to a Uint8Array. * @@ -597,45 +636,8 @@ module.exports.makeDictionaryItemKey = function(key, value) { } }; -function handleError(f, args) { - try { - return f.apply(this, args); - } catch (e) { - wasm.__wbindgen_exn_store(addHeapObject(e)); - } -} - -let cachedUint32Memory0 = null; - -function getUint32Memory0() { - if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) { - cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer); - } - return cachedUint32Memory0; -} - -function passArrayJsValueToWasm0(array, malloc) { - const ptr = malloc(array.length * 4, 4) >>> 0; - const mem = getUint32Memory0(); - for (let i = 0; i < array.length; i++) { - mem[ptr / 4 + i] = addHeapObject(array[i]); - } - WASM_VECTOR_LEN = array.length; - return ptr; -} - -function getArrayJsValueFromWasm0(ptr, len) { - ptr = ptr >>> 0; - const mem = getUint32Memory0(); - const slice = mem.subarray(ptr / 4, ptr / 4 + len); - const result = []; - for (let i = 0; i < slice.length; i++) { - result.push(takeObject(slice[i])); - } - return result; -} function __wbg_adapter_804(arg0, arg1, arg2, arg3) { - wasm.wasm_bindgen__convert__closures__invoke2_mut__h232935261d0e3333(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); + wasm.wasm_bindgen__convert__closures__invoke2_mut__h5ff82a3ec25de97a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } /** @@ -2126,7 +2128,7 @@ class DeployHash { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); _assertClass(digest, Digest); var ptr0 = digest.__destroy_into_raw(); - wasm.deployhash_fromDigest(retptr, ptr0); + wasm.blockhash_fromDigest(retptr, ptr0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; @@ -5173,7 +5175,7 @@ class PaymentStrParams { get payment_amount() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.paymentstrparams_payment_amount(retptr, this.__wbg_ptr); + wasm.deploystrparams_secret_key(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -5200,7 +5202,7 @@ class PaymentStrParams { get payment_hash() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.paymentstrparams_payment_hash(retptr, this.__wbg_ptr); + wasm.deploystrparams_timestamp(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -5227,7 +5229,7 @@ class PaymentStrParams { get payment_name() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.paymentstrparams_payment_name(retptr, this.__wbg_ptr); + wasm.deploystrparams_ttl(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -5254,7 +5256,7 @@ class PaymentStrParams { get payment_package_hash() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.paymentstrparams_payment_package_hash(retptr, this.__wbg_ptr); + wasm.deploystrparams_chain_name(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -5281,7 +5283,7 @@ class PaymentStrParams { get payment_package_name() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.paymentstrparams_payment_package_name(retptr, this.__wbg_ptr); + wasm.deploystrparams_session_account(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -5876,310 +5878,245 @@ class SDK { wasm.__wbg_sdk_free(ptr); } /** - * JavaScript alias for deploying with deserialized parameters. - * - * # Arguments - * - * * `deploy_params` - Deploy parameters. - * * `session_params` - Session parameters. - * * `payment_params` - Payment parameters. - * * `verbosity` - An optional verbosity level. - * * `node_address` - An optional node address. - * - * # Returns - * - * A result containing PutDeployResult or a JsError. - * @param {DeployStrParams} deploy_params - * @param {SessionStrParams} session_params - * @param {PaymentStrParams} payment_params - * @param {Verbosity | undefined} [verbosity] - * @param {string | undefined} [node_address] - * @returns {Promise} - */ - deploy(deploy_params, session_params, payment_params, verbosity, node_address) { - _assertClass(deploy_params, DeployStrParams); - var ptr0 = deploy_params.__destroy_into_raw(); - _assertClass(session_params, SessionStrParams); - var ptr1 = session_params.__destroy_into_raw(); - _assertClass(payment_params, PaymentStrParams); - var ptr2 = payment_params.__destroy_into_raw(); - var ptr3 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len3 = WASM_VECTOR_LEN; - const ret = wasm.sdk_deploy(this.__wbg_ptr, ptr0, ptr1, ptr2, isLikeNone(verbosity) ? 3 : verbosity, ptr3, len3); - return takeObject(ret); - } - /** - * Parses balance options from a JsValue. + * Parses auction info options from a JsValue. * * # Arguments * - * * `options` - A JsValue containing balance options to be parsed. + * * `options` - A JsValue containing auction info options to be parsed. * * # Returns * - * Parsed balance options as a `GetBalanceOptions` struct. + * Result containing parsed auction info options as a `GetAuctionInfoOptions` struct, + * or a `JsError` if deserialization fails. * @param {any} options - * @returns {getBalanceOptions} + * @returns {getAuctionInfoOptions} */ - get_balance_options(options) { + get_auction_info_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_balance_options(retptr, this.__wbg_ptr, addHeapObject(options)); + wasm.sdk_get_auction_info_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return getBalanceOptions.__wrap(r0); + return getAuctionInfoOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * Retrieves balance information using the provided options. + * Retrieves auction information using the provided options. * * # Arguments * - * * `options` - An optional `GetBalanceOptions` struct containing retrieval options. + * * `options` - An optional `GetAuctionInfoOptions` struct containing retrieval options. * * # Returns * - * A `Result` containing either a `GetBalanceResult` or a `JsError` in case of an error. + * A `Result` containing either a `GetAuctionInfoResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. - * @param {getBalanceOptions | undefined} [options] - * @returns {Promise} - */ - get_balance(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, getBalanceOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_get_balance(this.__wbg_ptr, ptr0); - return takeObject(ret); - } - /** - * JS Alias for `get_balance_js_alias`. - * - * # Arguments - * - * * `options` - An optional `GetBalanceOptions` struct containing retrieval options. - * - * # Returns - * - * A `Result` containing either a `GetBalanceResult` or a `JsError` in case of an error. - * @param {getBalanceOptions | undefined} [options] - * @returns {Promise} + * @param {getAuctionInfoOptions | undefined} [options] + * @returns {Promise} */ - state_get_balance(options) { + get_auction_info(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, getBalanceOptions); + _assertClass(options, getAuctionInfoOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_state_get_balance(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_get_auction_info(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * Parses era summary options from a JsValue. + * Parses dictionary item options from a JsValue. * * # Arguments * - * * `options` - A JsValue containing era summary options to be parsed. + * * `options` - A JsValue containing dictionary item options to be parsed. * * # Returns * - * Parsed era summary options as a `GetEraSummaryOptions` struct. + * Parsed dictionary item options as a `GetDictionaryItemOptions` struct. * @param {any} options - * @returns {getEraSummaryOptions} + * @returns {getDictionaryItemOptions} */ - get_era_summary_options(options) { + get_dictionary_item_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_era_summary_options(retptr, this.__wbg_ptr, addHeapObject(options)); + wasm.sdk_get_dictionary_item_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return getEraSummaryOptions.__wrap(r0); + return getDictionaryItemOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * Retrieves era summary information using the provided options. + * Retrieves dictionary item information using the provided options. * * # Arguments * - * * `options` - An optional `GetEraSummaryOptions` struct containing retrieval options. + * * `options` - An optional `GetDictionaryItemOptions` struct containing retrieval options. * * # Returns * - * A `Result` containing either a `GetEraSummaryResult` or a `JsError` in case of an error. + * A `Result` containing either a `GetDictionaryItemResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. - * @param {getEraSummaryOptions | undefined} [options] - * @returns {Promise} + * @param {getDictionaryItemOptions | undefined} [options] + * @returns {Promise} */ - get_era_summary(options) { + get_dictionary_item(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, getEraSummaryOptions); + _assertClass(options, getDictionaryItemOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_get_era_summary(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_get_dictionary_item(this.__wbg_ptr, ptr0); + return takeObject(ret); + } + /** + * JS Alias for `get_dictionary_item_js_alias` + * @param {getDictionaryItemOptions | undefined} [options] + * @returns {Promise} + */ + state_get_dictionary_item(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, getDictionaryItemOptions); + ptr0 = options.__destroy_into_raw(); + } + const ret = wasm.sdk_state_get_dictionary_item(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * Parses query global state options from a JsValue. - * - * # Arguments - * - * * `options` - A JsValue containing query global state options to be parsed. - * - * # Returns - * - * Parsed query global state options as a `QueryGlobalStateOptions` struct. * @param {any} options - * @returns {queryGlobalStateOptions} + * @returns {getEraInfoOptions} */ - query_global_state_options(options) { + get_era_info_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_query_global_state_options(retptr, this.__wbg_ptr, addHeapObject(options)); + wasm.sdk_get_era_info_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return queryGlobalStateOptions.__wrap(r0); + return getEraInfoOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * Retrieves global state information using the provided options. - * - * # Arguments - * - * * `options` - An optional `QueryGlobalStateOptions` struct containing retrieval options. - * - * # Returns - * - * A `Result` containing either a `QueryGlobalStateResult` or a `JsError` in case of an error. - * - * # Errors - * - * Returns a `JsError` if there is an error during the retrieval process. - * @param {queryGlobalStateOptions | undefined} [options] - * @returns {Promise} + * @param {getEraInfoOptions | undefined} [options] + * @returns {Promise} */ - query_global_state(options) { + get_era_info(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, queryGlobalStateOptions); + _assertClass(options, getEraInfoOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_query_global_state(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_get_era_info(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * Deserialize query_contract_key_options from a JavaScript object. - * @param {any} options - * @returns {queryContractKeyOptions} - */ - query_contract_key_options(options) { - try { - const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_query_contract_key_options(retptr, this.__wbg_ptr, addHeapObject(options)); - var r0 = getInt32Memory0()[retptr / 4 + 0]; - var r1 = getInt32Memory0()[retptr / 4 + 1]; - var r2 = getInt32Memory0()[retptr / 4 + 2]; - if (r2) { - throw takeObject(r1); - } - return queryContractKeyOptions.__wrap(r0); - } finally { - wasm.__wbindgen_add_to_stack_pointer(16); - } - } - /** - * JavaScript alias for query_contract_key with deserialized options. - * @param {queryContractKeyOptions | undefined} [options] - * @returns {Promise} + * Retrieves node status information using the provided options. + * + * # Arguments + * + * * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. + * * `node_address` - An optional string specifying the node address to use for the request. + * + * # Returns + * + * A `Result` containing either a `GetNodeStatusResult` or a `JsError` in case of an error. + * + * # Errors + * + * Returns a `JsError` if there is an error during the retrieval process. + * @param {Verbosity | undefined} [verbosity] + * @param {string | undefined} [node_address] + * @returns {Promise} */ - query_contract_key(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, queryContractKeyOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_query_contract_key(this.__wbg_ptr, ptr0); + get_node_status(verbosity, node_address) { + var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len0 = WASM_VECTOR_LEN; + const ret = wasm.sdk_get_node_status(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); return takeObject(ret); } /** - * Parses auction info options from a JsValue. + * JS Alias for `make_deploy`. * * # Arguments * - * * `options` - A JsValue containing auction info options to be parsed. + * * `deploy_params` - The deploy parameters. + * * `session_params` - The session parameters. + * * `payment_params` - The payment parameters. * * # Returns * - * Result containing parsed auction info options as a `GetAuctionInfoOptions` struct, - * or a `JsError` if deserialization fails. - * @param {any} options - * @returns {getAuctionInfoOptions} + * A `Result` containing the created `Deploy` or a `JsError` in case of an error. + * @param {DeployStrParams} deploy_params + * @param {SessionStrParams} session_params + * @param {PaymentStrParams} payment_params + * @returns {Deploy} */ - get_auction_info_options(options) { + make_deploy(deploy_params, session_params, payment_params) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_auction_info_options(retptr, this.__wbg_ptr, addHeapObject(options)); + _assertClass(deploy_params, DeployStrParams); + var ptr0 = deploy_params.__destroy_into_raw(); + _assertClass(session_params, SessionStrParams); + var ptr1 = session_params.__destroy_into_raw(); + _assertClass(payment_params, PaymentStrParams); + var ptr2 = payment_params.__destroy_into_raw(); + wasm.sdk_make_deploy(retptr, this.__wbg_ptr, ptr0, ptr1, ptr2); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return getAuctionInfoOptions.__wrap(r0); + return Deploy.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * Retrieves auction information using the provided options. + * JS Alias for `sign_deploy`. * * # Arguments * - * * `options` - An optional `GetAuctionInfoOptions` struct containing retrieval options. + * * `deploy` - The deploy to sign. + * * `secret_key` - The secret key for signing. * * # Returns * - * A `Result` containing either a `GetAuctionInfoResult` or a `JsError` in case of an error. - * - * # Errors - * - * Returns a `JsError` if there is an error during the retrieval process. - * @param {getAuctionInfoOptions | undefined} [options] - * @returns {Promise} + * The signed `Deploy`. + * @param {Deploy} deploy + * @param {string} secret_key + * @returns {Deploy} */ - get_auction_info(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, getAuctionInfoOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_get_auction_info(this.__wbg_ptr, ptr0); - return takeObject(ret); + sign_deploy(deploy, secret_key) { + _assertClass(deploy, Deploy); + var ptr0 = deploy.__destroy_into_raw(); + const ptr1 = passStringToWasm0(secret_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + const ret = wasm.sdk_sign_deploy(this.__wbg_ptr, ptr0, ptr1, len1); + return Deploy.__wrap(ret); } /** * Parses block options from a JsValue. @@ -6262,456 +6199,481 @@ class SDK { return takeObject(ret); } /** - * Parses dictionary item options from a JsValue. + * Parses era summary options from a JsValue. * * # Arguments * - * * `options` - A JsValue containing dictionary item options to be parsed. + * * `options` - A JsValue containing era summary options to be parsed. * * # Returns * - * Parsed dictionary item options as a `GetDictionaryItemOptions` struct. + * Parsed era summary options as a `GetEraSummaryOptions` struct. * @param {any} options - * @returns {getDictionaryItemOptions} + * @returns {getEraSummaryOptions} */ - get_dictionary_item_options(options) { + get_era_summary_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_dictionary_item_options(retptr, this.__wbg_ptr, addHeapObject(options)); + wasm.sdk_get_era_summary_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return getDictionaryItemOptions.__wrap(r0); + return getEraSummaryOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * Retrieves dictionary item information using the provided options. + * Retrieves era summary information using the provided options. * * # Arguments * - * * `options` - An optional `GetDictionaryItemOptions` struct containing retrieval options. + * * `options` - An optional `GetEraSummaryOptions` struct containing retrieval options. * * # Returns * - * A `Result` containing either a `GetDictionaryItemResult` or a `JsError` in case of an error. + * A `Result` containing either a `GetEraSummaryResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. - * @param {getDictionaryItemOptions | undefined} [options] - * @returns {Promise} + * @param {getEraSummaryOptions | undefined} [options] + * @returns {Promise} */ - get_dictionary_item(options) { + get_era_summary(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, getDictionaryItemOptions); + _assertClass(options, getEraSummaryOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_get_dictionary_item(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_get_era_summary(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * JS Alias for `get_dictionary_item_js_alias` - * @param {getDictionaryItemOptions | undefined} [options] - * @returns {Promise} + * Parses query global state options from a JsValue. + * + * # Arguments + * + * * `options` - A JsValue containing query global state options to be parsed. + * + * # Returns + * + * Parsed query global state options as a `QueryGlobalStateOptions` struct. + * @param {any} options + * @returns {queryGlobalStateOptions} */ - state_get_dictionary_item(options) { + query_global_state_options(options) { + try { + const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); + wasm.sdk_query_global_state_options(retptr, this.__wbg_ptr, addHeapObject(options)); + var r0 = getInt32Memory0()[retptr / 4 + 0]; + var r1 = getInt32Memory0()[retptr / 4 + 1]; + var r2 = getInt32Memory0()[retptr / 4 + 2]; + if (r2) { + throw takeObject(r1); + } + return queryGlobalStateOptions.__wrap(r0); + } finally { + wasm.__wbindgen_add_to_stack_pointer(16); + } + } + /** + * Retrieves global state information using the provided options. + * + * # Arguments + * + * * `options` - An optional `QueryGlobalStateOptions` struct containing retrieval options. + * + * # Returns + * + * A `Result` containing either a `QueryGlobalStateResult` or a `JsError` in case of an error. + * + * # Errors + * + * Returns a `JsError` if there is an error during the retrieval process. + * @param {queryGlobalStateOptions | undefined} [options] + * @returns {Promise} + */ + query_global_state(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, getDictionaryItemOptions); + _assertClass(options, queryGlobalStateOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_state_get_dictionary_item(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_query_global_state(this.__wbg_ptr, ptr0); return takeObject(ret); } /** * @param {any} options - * @returns {getEraInfoOptions} + * @returns {getAccountOptions} */ - get_era_info_options(options) { + get_account_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_era_info_options(retptr, this.__wbg_ptr, addHeapObject(options)); + wasm.sdk_get_account_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return getEraInfoOptions.__wrap(r0); + return getAccountOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * @param {getEraInfoOptions | undefined} [options] - * @returns {Promise} + * @param {getAccountOptions | undefined} [options] + * @returns {Promise} */ - get_era_info(options) { + get_account(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, getEraInfoOptions); + _assertClass(options, getAccountOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_get_era_info(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_get_account(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * JS Alias for `make_deploy`. + * @param {getAccountOptions | undefined} [options] + * @returns {Promise} + */ + state_get_account_info(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, getAccountOptions); + ptr0 = options.__destroy_into_raw(); + } + const ret = wasm.sdk_state_get_account_info(this.__wbg_ptr, ptr0); + return takeObject(ret); + } + /** + * Parses state root hash options from a JsValue. * * # Arguments * - * * `deploy_params` - The deploy parameters. - * * `session_params` - The session parameters. - * * `payment_params` - The payment parameters. + * * `options` - A JsValue containing state root hash options to be parsed. * * # Returns * - * A `Result` containing the created `Deploy` or a `JsError` in case of an error. - * @param {DeployStrParams} deploy_params - * @param {SessionStrParams} session_params - * @param {PaymentStrParams} payment_params - * @returns {Deploy} + * Parsed state root hash options as a `GetStateRootHashOptions` struct. + * @param {any} options + * @returns {getStateRootHashOptions} */ - make_deploy(deploy_params, session_params, payment_params) { + get_state_root_hash_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - _assertClass(deploy_params, DeployStrParams); - var ptr0 = deploy_params.__destroy_into_raw(); - _assertClass(session_params, SessionStrParams); - var ptr1 = session_params.__destroy_into_raw(); - _assertClass(payment_params, PaymentStrParams); - var ptr2 = payment_params.__destroy_into_raw(); - wasm.sdk_make_deploy(retptr, this.__wbg_ptr, ptr0, ptr1, ptr2); + wasm.sdk_get_state_root_hash_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return Deploy.__wrap(r0); + return getStateRootHashOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * Calls a smart contract entry point with the specified parameters and returns the result. + * Retrieves state root hash information using the provided options. * * # Arguments * - * * `deploy_params` - The deploy parameters. - * * `session_params` - The session parameters. - * * `payment_amount` - The payment amount as a string. - * * `node_address` - An optional node address to send the request to. + * * `options` - An optional `GetStateRootHashOptions` struct containing retrieval options. * * # Returns * - * A `Result` containing either a `PutDeployResult` or a `JsError` in case of an error. + * A `Result` containing either a `GetStateRootHashResult` or a `JsError` in case of an error. * * # Errors * - * Returns a `JsError` if there is an error during the call. - * @param {DeployStrParams} deploy_params - * @param {SessionStrParams} session_params - * @param {string} payment_amount - * @param {string | undefined} [node_address] - * @returns {Promise} + * Returns a `JsError` if there is an error during the retrieval process. + * @param {getStateRootHashOptions | undefined} [options] + * @returns {Promise} */ - call_entrypoint(deploy_params, session_params, payment_amount, node_address) { - _assertClass(deploy_params, DeployStrParams); - var ptr0 = deploy_params.__destroy_into_raw(); - _assertClass(session_params, SessionStrParams); - var ptr1 = session_params.__destroy_into_raw(); - const ptr2 = passStringToWasm0(payment_amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len2 = WASM_VECTOR_LEN; - var ptr3 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len3 = WASM_VECTOR_LEN; - const ret = wasm.sdk_call_entrypoint(this.__wbg_ptr, ptr0, ptr1, ptr2, len2, ptr3, len3); + get_state_root_hash(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, getStateRootHashOptions); + ptr0 = options.__destroy_into_raw(); + } + const ret = wasm.sdk_get_state_root_hash(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * JS Alias for transferring funds. + * Retrieves state root hash information using the provided options (alias for `get_state_root_hash_js_alias`). * * # Arguments * - * * `amount` - The amount to transfer. - * * `target_account` - The target account. - * * `transfer_id` - An optional transfer ID (defaults to a random number). - * * `deploy_params` - The deployment parameters. - * * `payment_params` - The payment parameters. - * * `verbosity` - The verbosity level for logging (optional). - * * `node_address` - The address of the node to connect to (optional). + * * `options` - An optional `GetStateRootHashOptions` struct containing retrieval options. * * # Returns * - * A `Result` containing the result of the transfer or a `JsError` in case of an error. - * @param {string} amount - * @param {string} target_account - * @param {string | undefined} transfer_id - * @param {DeployStrParams} deploy_params - * @param {PaymentStrParams} payment_params - * @param {Verbosity | undefined} [verbosity] - * @param {string | undefined} [node_address] - * @returns {Promise} + * A `Result` containing either a `GetStateRootHashResult` or a `JsError` in case of an error. + * + * # Errors + * + * Returns a `JsError` if there is an error during the retrieval process. + * @param {getStateRootHashOptions | undefined} [options] + * @returns {Promise} */ - transfer(amount, target_account, transfer_id, deploy_params, payment_params, verbosity, node_address) { - const ptr0 = passStringToWasm0(amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len0 = WASM_VECTOR_LEN; - const ptr1 = passStringToWasm0(target_account, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - var ptr2 = isLikeNone(transfer_id) ? 0 : passStringToWasm0(transfer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len2 = WASM_VECTOR_LEN; - _assertClass(deploy_params, DeployStrParams); - var ptr3 = deploy_params.__destroy_into_raw(); - _assertClass(payment_params, PaymentStrParams); - var ptr4 = payment_params.__destroy_into_raw(); - var ptr5 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len5 = WASM_VECTOR_LEN; - const ret = wasm.sdk_transfer(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, ptr4, isLikeNone(verbosity) ? 3 : verbosity, ptr5, len5); + chain_get_state_root_hash(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, getStateRootHashOptions); + ptr0 = options.__destroy_into_raw(); + } + const ret = wasm.sdk_chain_get_state_root_hash(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * Parses deploy options from a JsValue. + * JS Alias for `make_transfer`. * * # Arguments * - * * `options` - A JsValue containing deploy options to be parsed. + * * `amount` - The transfer amount. + * * `target_account` - The target account. + * * `transfer_id` - Optional transfer identifier. + * * `deploy_params` - The deploy parameters. + * * `payment_params` - The payment parameters. * * # Returns * - * Parsed deploy options as a `GetDeployOptions` struct. - * @param {any} options - * @returns {getDeployOptions} + * A `Result` containing the created `Deploy` or a `JsError` in case of an error. + * @param {string} amount + * @param {string} target_account + * @param {string | undefined} transfer_id + * @param {DeployStrParams} deploy_params + * @param {PaymentStrParams} payment_params + * @returns {Deploy} */ - get_deploy_options(options) { + make_transfer(amount, target_account, transfer_id, deploy_params, payment_params) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_deploy_options(retptr, this.__wbg_ptr, addHeapObject(options)); + const ptr0 = passStringToWasm0(amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len0 = WASM_VECTOR_LEN; + const ptr1 = passStringToWasm0(target_account, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + var ptr2 = isLikeNone(transfer_id) ? 0 : passStringToWasm0(transfer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len2 = WASM_VECTOR_LEN; + _assertClass(deploy_params, DeployStrParams); + var ptr3 = deploy_params.__destroy_into_raw(); + _assertClass(payment_params, PaymentStrParams); + var ptr4 = payment_params.__destroy_into_raw(); + wasm.sdk_make_transfer(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, ptr4); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return getDeployOptions.__wrap(r0); + return Deploy.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * Retrieves deploy information using the provided options. + * Creates a new DeployWatcher instance to watch deploys (JavaScript-friendly). * * # Arguments * - * * `options` - An optional `GetDeployOptions` struct containing retrieval options. + * * `events_url` - The URL to monitor for deploy events. + * * `timeout_duration` - An optional timeout duration in seconds. * * # Returns * - * A `Result` containing either a `GetDeployResult` or an error. - * @param {getDeployOptions | undefined} [options] - * @returns {Promise} + * A `DeployWatcher` instance. + * @param {string} events_url + * @param {number | undefined} [timeout_duration] + * @returns {DeployWatcher} */ - get_deploy(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, getDeployOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_get_deploy(this.__wbg_ptr, ptr0); - return takeObject(ret); + watchDeploy(events_url, timeout_duration) { + const ptr0 = passStringToWasm0(events_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len0 = WASM_VECTOR_LEN; + const ret = wasm.sdk_watchDeploy(this.__wbg_ptr, ptr0, len0, !isLikeNone(timeout_duration), isLikeNone(timeout_duration) ? 0 : timeout_duration); + return DeployWatcher.__wrap(ret); } /** - * Retrieves deploy information using the provided options, alias for `get_deploy_js_alias`. - * @param {getDeployOptions | undefined} [options] - * @returns {Promise} + * Waits for a deploy event to be processed asynchronously (JavaScript-friendly). + * + * # Arguments + * + * * `events_url` - The URL to monitor for deploy events. + * * `deploy_hash` - The deploy hash to wait for. + * * `timeout_duration` - An optional timeout duration in seconds. + * + * # Returns + * + * A JavaScript `Promise` resolving to either the processed `EventParseResult` or an error message. + * @param {string} events_url + * @param {string} deploy_hash + * @param {number | undefined} [timeout_duration] + * @returns {Promise>} */ - info_get_deploy(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, getDeployOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_info_get_deploy(this.__wbg_ptr, ptr0); + waitDeploy(events_url, deploy_hash, timeout_duration) { + const ptr0 = passStringToWasm0(events_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len0 = WASM_VECTOR_LEN; + const ptr1 = passStringToWasm0(deploy_hash, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + const ret = wasm.sdk_waitDeploy(this.__wbg_ptr, ptr0, len0, ptr1, len1, !isLikeNone(timeout_duration), isLikeNone(timeout_duration) ? 0 : timeout_duration); return takeObject(ret); } /** - * Get options for speculative execution from a JavaScript value. + * Deserialize query_contract_key_options from a JavaScript object. * @param {any} options - * @returns {getSpeculativeExecOptions} + * @returns {queryContractKeyOptions} */ - get_speculative_exec_options(options) { + query_contract_key_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_speculative_exec_options(retptr, this.__wbg_ptr, addHeapObject(options)); + wasm.sdk_query_contract_key_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return getSpeculativeExecOptions.__wrap(r0); + return queryContractKeyOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * JS Alias for speculative execution. - * - * # Arguments - * - * * `options` - The options for speculative execution. - * - * # Returns - * - * A `Result` containing the result of the speculative execution or a `JsError` in case of an error. - * @param {getSpeculativeExecOptions | undefined} [options] - * @returns {Promise} + * JavaScript alias for query_contract_key with deserialized options. + * @param {queryContractKeyOptions | undefined} [options] + * @returns {Promise} */ - speculative_exec(options) { + query_contract_key(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, getSpeculativeExecOptions); + _assertClass(options, queryContractKeyOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_speculative_exec(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_query_contract_key(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * JS Alias for `sign_deploy`. + * Parses balance options from a JsValue. * * # Arguments * - * * `deploy` - The deploy to sign. - * * `secret_key` - The secret key for signing. + * * `options` - A JsValue containing balance options to be parsed. * * # Returns * - * The signed `Deploy`. - * @param {Deploy} deploy - * @param {string} secret_key - * @returns {Deploy} - */ - sign_deploy(deploy, secret_key) { - _assertClass(deploy, Deploy); - var ptr0 = deploy.__destroy_into_raw(); - const ptr1 = passStringToWasm0(secret_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - const ret = wasm.sdk_sign_deploy(this.__wbg_ptr, ptr0, ptr1, len1); - return Deploy.__wrap(ret); - } - /** - * Deserialize query_contract_dict_options from a JavaScript object. + * Parsed balance options as a `GetBalanceOptions` struct. * @param {any} options - * @returns {queryContractDictOptions} + * @returns {getBalanceOptions} */ - query_contract_dict_options(options) { + get_balance_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_query_contract_dict_options(retptr, this.__wbg_ptr, addHeapObject(options)); + wasm.sdk_get_balance_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return queryContractDictOptions.__wrap(r0); + return getBalanceOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * JavaScript alias for query_contract_dict with deserialized options. - * @param {queryContractDictOptions | undefined} [options] - * @returns {Promise} + * Retrieves balance information using the provided options. + * + * # Arguments + * + * * `options` - An optional `GetBalanceOptions` struct containing retrieval options. + * + * # Returns + * + * A `Result` containing either a `GetBalanceResult` or a `JsError` in case of an error. + * + * # Errors + * + * Returns a `JsError` if there is an error during the retrieval process. + * @param {getBalanceOptions | undefined} [options] + * @returns {Promise} */ - query_contract_dict(options) { + get_balance(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, queryContractDictOptions); + _assertClass(options, getBalanceOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_query_contract_dict(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_get_balance(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * @param {string | undefined} [node_address] - * @param {Verbosity | undefined} [verbosity] - */ - constructor(node_address, verbosity) { - var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len0 = WASM_VECTOR_LEN; - const ret = wasm.sdk_new(ptr0, len0, isLikeNone(verbosity) ? 3 : verbosity); - this.__wbg_ptr = ret >>> 0; - return this; - } - /** - * @param {string | undefined} [node_address] - * @returns {string} - */ - getNodeAddress(node_address) { - let deferred2_0; - let deferred2_1; - try { - const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len0 = WASM_VECTOR_LEN; - wasm.sdk_getNodeAddress(retptr, this.__wbg_ptr, ptr0, len0); - var r0 = getInt32Memory0()[retptr / 4 + 0]; - var r1 = getInt32Memory0()[retptr / 4 + 1]; - deferred2_0 = r0; - deferred2_1 = r1; - return getStringFromWasm0(r0, r1); - } finally { - wasm.__wbindgen_add_to_stack_pointer(16); - wasm.__wbindgen_free(deferred2_0, deferred2_1, 1); - } - } - /** - * @param {string | undefined} [node_address] + * JS Alias for `get_balance_js_alias`. + * + * # Arguments + * + * * `options` - An optional `GetBalanceOptions` struct containing retrieval options. + * + * # Returns + * + * A `Result` containing either a `GetBalanceResult` or a `JsError` in case of an error. + * @param {getBalanceOptions | undefined} [options] + * @returns {Promise} */ - setNodeAddress(node_address) { - try { - const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len0 = WASM_VECTOR_LEN; - wasm.sdk_setNodeAddress(retptr, this.__wbg_ptr, ptr0, len0); - var r0 = getInt32Memory0()[retptr / 4 + 0]; - var r1 = getInt32Memory0()[retptr / 4 + 1]; - if (r1) { - throw takeObject(r0); - } - } finally { - wasm.__wbindgen_add_to_stack_pointer(16); + state_get_balance(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, getBalanceOptions); + ptr0 = options.__destroy_into_raw(); } + const ret = wasm.sdk_state_get_balance(this.__wbg_ptr, ptr0); + return takeObject(ret); } /** + * Asynchronously retrieves the chainspec. + * + * # Arguments + * + * * `verbosity` - An optional `Verbosity` parameter. + * * `node_address` - An optional node address as a string. + * + * # Returns + * + * A `Result` containing either a `GetChainspecResult` or a `JsError` in case of an error. * @param {Verbosity | undefined} [verbosity] - * @returns {Verbosity} + * @param {string | undefined} [node_address] + * @returns {Promise} */ - getVerbosity(verbosity) { - const ret = wasm.sdk_getVerbosity(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity); - return ret; + get_chainspec(verbosity, node_address) { + var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len0 = WASM_VECTOR_LEN; + const ret = wasm.sdk_get_chainspec(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); + return takeObject(ret); } /** + * Retrieves peers asynchronously. + * + * # Arguments + * + * * `verbosity` - Optional verbosity level. + * * `node_address` - Optional node address. + * + * # Returns + * + * A `Result` containing `GetPeersResult` or a `JsError` if an error occurs. * @param {Verbosity | undefined} [verbosity] + * @param {string | undefined} [node_address] + * @returns {Promise} */ - setVerbosity(verbosity) { - try { - const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_setVerbosity(retptr, this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity); - var r0 = getInt32Memory0()[retptr / 4 + 0]; - var r1 = getInt32Memory0()[retptr / 4 + 1]; - if (r1) { - throw takeObject(r0); - } - } finally { - wasm.__wbindgen_add_to_stack_pointer(16); - } + get_peers(verbosity, node_address) { + var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len0 = WASM_VECTOR_LEN; + const ret = wasm.sdk_get_peers(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); + return takeObject(ret); } /** * Puts a deploy using the provided options. @@ -6760,48 +6722,129 @@ class SDK { return takeObject(ret); } /** - * @param {any} options - * @returns {getAccountOptions} + * JS Alias for speculative transfer. + * + * # Arguments + * + * * `amount` - The amount to transfer. + * * `target_account` - The target account. + * * `transfer_id` - An optional transfer ID (defaults to a random number). + * * `deploy_params` - The deployment parameters. + * * `payment_params` - The payment parameters. + * * `maybe_block_id_as_string` - An optional block ID as a string. + * * `maybe_block_identifier` - An optional block identifier. + * * `verbosity` - The verbosity level for logging (optional). + * * `node_address` - The address of the node to connect to (optional). + * + * # Returns + * + * A `Result` containing the result of the speculative transfer or a `JsError` in case of an error. + * @param {string} amount + * @param {string} target_account + * @param {string | undefined} transfer_id + * @param {DeployStrParams} deploy_params + * @param {PaymentStrParams} payment_params + * @param {string | undefined} [maybe_block_id_as_string] + * @param {BlockIdentifier | undefined} [maybe_block_identifier] + * @param {Verbosity | undefined} [verbosity] + * @param {string | undefined} [node_address] + * @returns {Promise} */ - get_account_options(options) { - try { - const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_account_options(retptr, this.__wbg_ptr, addHeapObject(options)); - var r0 = getInt32Memory0()[retptr / 4 + 0]; - var r1 = getInt32Memory0()[retptr / 4 + 1]; - var r2 = getInt32Memory0()[retptr / 4 + 2]; - if (r2) { - throw takeObject(r1); - } - return getAccountOptions.__wrap(r0); - } finally { - wasm.__wbindgen_add_to_stack_pointer(16); + speculative_transfer(amount, target_account, transfer_id, deploy_params, payment_params, maybe_block_id_as_string, maybe_block_identifier, verbosity, node_address) { + const ptr0 = passStringToWasm0(amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len0 = WASM_VECTOR_LEN; + const ptr1 = passStringToWasm0(target_account, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + var ptr2 = isLikeNone(transfer_id) ? 0 : passStringToWasm0(transfer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len2 = WASM_VECTOR_LEN; + _assertClass(deploy_params, DeployStrParams); + var ptr3 = deploy_params.__destroy_into_raw(); + _assertClass(payment_params, PaymentStrParams); + var ptr4 = payment_params.__destroy_into_raw(); + var ptr5 = isLikeNone(maybe_block_id_as_string) ? 0 : passStringToWasm0(maybe_block_id_as_string, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len5 = WASM_VECTOR_LEN; + let ptr6 = 0; + if (!isLikeNone(maybe_block_identifier)) { + _assertClass(maybe_block_identifier, BlockIdentifier); + ptr6 = maybe_block_identifier.__destroy_into_raw(); } + var ptr7 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len7 = WASM_VECTOR_LEN; + const ret = wasm.sdk_speculative_transfer(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, ptr4, ptr5, len5, ptr6, isLikeNone(verbosity) ? 3 : verbosity, ptr7, len7); + return takeObject(ret); } /** - * @param {getAccountOptions | undefined} [options] - * @returns {Promise} + * JavaScript alias for deploying with deserialized parameters. + * + * # Arguments + * + * * `deploy_params` - Deploy parameters. + * * `session_params` - Session parameters. + * * `payment_params` - Payment parameters. + * * `verbosity` - An optional verbosity level. + * * `node_address` - An optional node address. + * + * # Returns + * + * A result containing PutDeployResult or a JsError. + * @param {DeployStrParams} deploy_params + * @param {SessionStrParams} session_params + * @param {PaymentStrParams} payment_params + * @param {Verbosity | undefined} [verbosity] + * @param {string | undefined} [node_address] + * @returns {Promise} */ - get_account(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, getAccountOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_get_account(this.__wbg_ptr, ptr0); + deploy(deploy_params, session_params, payment_params, verbosity, node_address) { + _assertClass(deploy_params, DeployStrParams); + var ptr0 = deploy_params.__destroy_into_raw(); + _assertClass(session_params, SessionStrParams); + var ptr1 = session_params.__destroy_into_raw(); + _assertClass(payment_params, PaymentStrParams); + var ptr2 = payment_params.__destroy_into_raw(); + var ptr3 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len3 = WASM_VECTOR_LEN; + const ret = wasm.sdk_deploy(this.__wbg_ptr, ptr0, ptr1, ptr2, isLikeNone(verbosity) ? 3 : verbosity, ptr3, len3); return takeObject(ret); } /** - * @param {getAccountOptions | undefined} [options] - * @returns {Promise} + * JS Alias for transferring funds. + * + * # Arguments + * + * * `amount` - The amount to transfer. + * * `target_account` - The target account. + * * `transfer_id` - An optional transfer ID (defaults to a random number). + * * `deploy_params` - The deployment parameters. + * * `payment_params` - The payment parameters. + * * `verbosity` - The verbosity level for logging (optional). + * * `node_address` - The address of the node to connect to (optional). + * + * # Returns + * + * A `Result` containing the result of the transfer or a `JsError` in case of an error. + * @param {string} amount + * @param {string} target_account + * @param {string | undefined} transfer_id + * @param {DeployStrParams} deploy_params + * @param {PaymentStrParams} payment_params + * @param {Verbosity | undefined} [verbosity] + * @param {string | undefined} [node_address] + * @returns {Promise} */ - state_get_account_info(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, getAccountOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_state_get_account_info(this.__wbg_ptr, ptr0); + transfer(amount, target_account, transfer_id, deploy_params, payment_params, verbosity, node_address) { + const ptr0 = passStringToWasm0(amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len0 = WASM_VECTOR_LEN; + const ptr1 = passStringToWasm0(target_account, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + var ptr2 = isLikeNone(transfer_id) ? 0 : passStringToWasm0(transfer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len2 = WASM_VECTOR_LEN; + _assertClass(deploy_params, DeployStrParams); + var ptr3 = deploy_params.__destroy_into_raw(); + _assertClass(payment_params, PaymentStrParams); + var ptr4 = payment_params.__destroy_into_raw(); + var ptr5 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len5 = WASM_VECTOR_LEN; + const ret = wasm.sdk_transfer(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, ptr4, isLikeNone(verbosity) ? 3 : verbosity, ptr5, len5); return takeObject(ret); } /** @@ -6859,83 +6902,28 @@ class SDK { return takeObject(ret); } /** - * Parses state root hash options from a JsValue. - * - * # Arguments - * - * * `options` - A JsValue containing state root hash options to be parsed. - * - * # Returns - * - * Parsed state root hash options as a `GetStateRootHashOptions` struct. - * @param {any} options - * @returns {getStateRootHashOptions} - */ - get_state_root_hash_options(options) { - try { - const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_state_root_hash_options(retptr, this.__wbg_ptr, addHeapObject(options)); - var r0 = getInt32Memory0()[retptr / 4 + 0]; - var r1 = getInt32Memory0()[retptr / 4 + 1]; - var r2 = getInt32Memory0()[retptr / 4 + 2]; - if (r2) { - throw takeObject(r1); - } - return getStateRootHashOptions.__wrap(r0); - } finally { - wasm.__wbindgen_add_to_stack_pointer(16); - } - } - /** - * Retrieves state root hash information using the provided options. - * - * # Arguments - * - * * `options` - An optional `GetStateRootHashOptions` struct containing retrieval options. - * - * # Returns - * - * A `Result` containing either a `GetStateRootHashResult` or a `JsError` in case of an error. - * - * # Errors - * - * Returns a `JsError` if there is an error during the retrieval process. - * @param {getStateRootHashOptions | undefined} [options] - * @returns {Promise} - */ - get_state_root_hash(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, getStateRootHashOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_get_state_root_hash(this.__wbg_ptr, ptr0); - return takeObject(ret); - } - /** - * Retrieves state root hash information using the provided options (alias for `get_state_root_hash_js_alias`). + * Lists available RPCs using the provided options. * * # Arguments * - * * `options` - An optional `GetStateRootHashOptions` struct containing retrieval options. + * * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. + * * `node_address` - An optional string specifying the node address to use for the request. * * # Returns * - * A `Result` containing either a `GetStateRootHashResult` or a `JsError` in case of an error. + * A `Result` containing either a `ListRpcsResult` or a `JsError` in case of an error. * * # Errors * - * Returns a `JsError` if there is an error during the retrieval process. - * @param {getStateRootHashOptions | undefined} [options] - * @returns {Promise} - */ - chain_get_state_root_hash(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, getStateRootHashOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_chain_get_state_root_hash(this.__wbg_ptr, ptr0); + * Returns a `JsError` if there is an error during the listing process. + * @param {Verbosity | undefined} [verbosity] + * @param {string | undefined} [node_address] + * @returns {Promise} + */ + list_rpcs(verbosity, node_address) { + var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len0 = WASM_VECTOR_LEN; + const ret = wasm.sdk_list_rpcs(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); return takeObject(ret); } /** @@ -6993,213 +6981,323 @@ class SDK { return takeObject(ret); } /** - * JS Alias for `make_transfer`. + * Calls a smart contract entry point with the specified parameters and returns the result. * * # Arguments * - * * `amount` - The transfer amount. - * * `target_account` - The target account. - * * `transfer_id` - Optional transfer identifier. * * `deploy_params` - The deploy parameters. - * * `payment_params` - The payment parameters. + * * `session_params` - The session parameters. + * * `payment_amount` - The payment amount as a string. + * * `node_address` - An optional node address to send the request to. * * # Returns * - * A `Result` containing the created `Deploy` or a `JsError` in case of an error. - * @param {string} amount - * @param {string} target_account - * @param {string | undefined} transfer_id + * A `Result` containing either a `PutDeployResult` or a `JsError` in case of an error. + * + * # Errors + * + * Returns a `JsError` if there is an error during the call. + * @param {DeployStrParams} deploy_params + * @param {SessionStrParams} session_params + * @param {string} payment_amount + * @param {string | undefined} [node_address] + * @returns {Promise} + */ + call_entrypoint(deploy_params, session_params, payment_amount, node_address) { + _assertClass(deploy_params, DeployStrParams); + var ptr0 = deploy_params.__destroy_into_raw(); + _assertClass(session_params, SessionStrParams); + var ptr1 = session_params.__destroy_into_raw(); + const ptr2 = passStringToWasm0(payment_amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len2 = WASM_VECTOR_LEN; + var ptr3 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len3 = WASM_VECTOR_LEN; + const ret = wasm.sdk_call_entrypoint(this.__wbg_ptr, ptr0, ptr1, ptr2, len2, ptr3, len3); + return takeObject(ret); + } + /** + * This function allows executing a deploy speculatively. + * + * # Arguments + * + * * `deploy_params` - Deployment parameters for the deploy. + * * `session_params` - Session parameters for the deploy. + * * `payment_params` - Payment parameters for the deploy. + * * `maybe_block_id_as_string` - An optional block ID as a string. + * * `maybe_block_identifier` - Optional block identifier. + * * `verbosity` - Optional verbosity level. + * * `node_address` - Optional node address. + * + * # Returns + * + * A `Result` containing either a `SpeculativeExecResult` or a `JsError` in case of an error. * @param {DeployStrParams} deploy_params + * @param {SessionStrParams} session_params * @param {PaymentStrParams} payment_params - * @returns {Deploy} + * @param {string | undefined} [maybe_block_id_as_string] + * @param {BlockIdentifier | undefined} [maybe_block_identifier] + * @param {Verbosity | undefined} [verbosity] + * @param {string | undefined} [node_address] + * @returns {Promise} */ - make_transfer(amount, target_account, transfer_id, deploy_params, payment_params) { + speculative_deploy(deploy_params, session_params, payment_params, maybe_block_id_as_string, maybe_block_identifier, verbosity, node_address) { + _assertClass(deploy_params, DeployStrParams); + var ptr0 = deploy_params.__destroy_into_raw(); + _assertClass(session_params, SessionStrParams); + var ptr1 = session_params.__destroy_into_raw(); + _assertClass(payment_params, PaymentStrParams); + var ptr2 = payment_params.__destroy_into_raw(); + var ptr3 = isLikeNone(maybe_block_id_as_string) ? 0 : passStringToWasm0(maybe_block_id_as_string, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len3 = WASM_VECTOR_LEN; + let ptr4 = 0; + if (!isLikeNone(maybe_block_identifier)) { + _assertClass(maybe_block_identifier, BlockIdentifier); + ptr4 = maybe_block_identifier.__destroy_into_raw(); + } + var ptr5 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len5 = WASM_VECTOR_LEN; + const ret = wasm.sdk_speculative_deploy(this.__wbg_ptr, ptr0, ptr1, ptr2, ptr3, len3, ptr4, isLikeNone(verbosity) ? 3 : verbosity, ptr5, len5); + return takeObject(ret); + } + /** + * Parses deploy options from a JsValue. + * + * # Arguments + * + * * `options` - A JsValue containing deploy options to be parsed. + * + * # Returns + * + * Parsed deploy options as a `GetDeployOptions` struct. + * @param {any} options + * @returns {getDeployOptions} + */ + get_deploy_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - const ptr0 = passStringToWasm0(amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len0 = WASM_VECTOR_LEN; - const ptr1 = passStringToWasm0(target_account, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - var ptr2 = isLikeNone(transfer_id) ? 0 : passStringToWasm0(transfer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len2 = WASM_VECTOR_LEN; - _assertClass(deploy_params, DeployStrParams); - var ptr3 = deploy_params.__destroy_into_raw(); - _assertClass(payment_params, PaymentStrParams); - var ptr4 = payment_params.__destroy_into_raw(); - wasm.sdk_make_transfer(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, ptr4); + wasm.sdk_get_deploy_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return Deploy.__wrap(r0); + return getDeployOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * Creates a new DeployWatcher instance to watch deploys (JavaScript-friendly). + * Retrieves deploy information using the provided options. * * # Arguments * - * * `events_url` - The URL to monitor for deploy events. - * * `timeout_duration` - An optional timeout duration in seconds. + * * `options` - An optional `GetDeployOptions` struct containing retrieval options. * * # Returns * - * A `DeployWatcher` instance. - * @param {string} events_url - * @param {number | undefined} [timeout_duration] - * @returns {DeployWatcher} + * A `Result` containing either a `GetDeployResult` or an error. + * @param {getDeployOptions | undefined} [options] + * @returns {Promise} */ - watchDeploy(events_url, timeout_duration) { - const ptr0 = passStringToWasm0(events_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len0 = WASM_VECTOR_LEN; - const ret = wasm.sdk_watchDeploy(this.__wbg_ptr, ptr0, len0, !isLikeNone(timeout_duration), isLikeNone(timeout_duration) ? 0 : timeout_duration); - return DeployWatcher.__wrap(ret); + get_deploy(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, getDeployOptions); + ptr0 = options.__destroy_into_raw(); + } + const ret = wasm.sdk_get_deploy(this.__wbg_ptr, ptr0); + return takeObject(ret); } /** - * Waits for a deploy event to be processed asynchronously (JavaScript-friendly). - * - * # Arguments - * - * * `events_url` - The URL to monitor for deploy events. - * * `deploy_hash` - The deploy hash to wait for. - * * `timeout_duration` - An optional timeout duration in seconds. - * - * # Returns - * - * A JavaScript `Promise` resolving to either the processed `EventParseResult` or an error message. - * @param {string} events_url - * @param {string} deploy_hash - * @param {number | undefined} [timeout_duration] - * @returns {Promise>} + * Retrieves deploy information using the provided options, alias for `get_deploy_js_alias`. + * @param {getDeployOptions | undefined} [options] + * @returns {Promise} */ - waitDeploy(events_url, deploy_hash, timeout_duration) { - const ptr0 = passStringToWasm0(events_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len0 = WASM_VECTOR_LEN; - const ptr1 = passStringToWasm0(deploy_hash, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - const ret = wasm.sdk_waitDeploy(this.__wbg_ptr, ptr0, len0, ptr1, len1, !isLikeNone(timeout_duration), isLikeNone(timeout_duration) ? 0 : timeout_duration); + info_get_deploy(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, getDeployOptions); + ptr0 = options.__destroy_into_raw(); + } + const ret = wasm.sdk_info_get_deploy(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * Asynchronously retrieves the chainspec. + * Retrieves validator changes using the provided options. * * # Arguments * - * * `verbosity` - An optional `Verbosity` parameter. - * * `node_address` - An optional node address as a string. + * * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. + * * `node_address` - An optional string specifying the node address to use for the request. * * # Returns * - * A `Result` containing either a `GetChainspecResult` or a `JsError` in case of an error. + * A `Result` containing either a `GetValidatorChangesResult` or a `JsError` in case of an error. + * + * # Errors + * + * Returns a `JsError` if there is an error during the retrieval process. * @param {Verbosity | undefined} [verbosity] * @param {string | undefined} [node_address] - * @returns {Promise} + * @returns {Promise} */ - get_chainspec(verbosity, node_address) { + get_validator_changes(verbosity, node_address) { var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - const ret = wasm.sdk_get_chainspec(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); + const ret = wasm.sdk_get_validator_changes(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); return takeObject(ret); } /** - * Retrieves node status information using the provided options. + * Get options for speculative execution from a JavaScript value. + * @param {any} options + * @returns {getSpeculativeExecOptions} + */ + get_speculative_exec_options(options) { + try { + const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); + wasm.sdk_get_speculative_exec_options(retptr, this.__wbg_ptr, addHeapObject(options)); + var r0 = getInt32Memory0()[retptr / 4 + 0]; + var r1 = getInt32Memory0()[retptr / 4 + 1]; + var r2 = getInt32Memory0()[retptr / 4 + 2]; + if (r2) { + throw takeObject(r1); + } + return getSpeculativeExecOptions.__wrap(r0); + } finally { + wasm.__wbindgen_add_to_stack_pointer(16); + } + } + /** + * JS Alias for speculative execution. * * # Arguments * - * * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. - * * `node_address` - An optional string specifying the node address to use for the request. + * * `options` - The options for speculative execution. * * # Returns * - * A `Result` containing either a `GetNodeStatusResult` or a `JsError` in case of an error. - * - * # Errors - * - * Returns a `JsError` if there is an error during the retrieval process. - * @param {Verbosity | undefined} [verbosity] - * @param {string | undefined} [node_address] - * @returns {Promise} + * A `Result` containing the result of the speculative execution or a `JsError` in case of an error. + * @param {getSpeculativeExecOptions | undefined} [options] + * @returns {Promise} + */ + speculative_exec(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, getSpeculativeExecOptions); + ptr0 = options.__destroy_into_raw(); + } + const ret = wasm.sdk_speculative_exec(this.__wbg_ptr, ptr0); + return takeObject(ret); + } + /** + * Deserialize query_contract_dict_options from a JavaScript object. + * @param {any} options + * @returns {queryContractDictOptions} + */ + query_contract_dict_options(options) { + try { + const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); + wasm.sdk_query_contract_dict_options(retptr, this.__wbg_ptr, addHeapObject(options)); + var r0 = getInt32Memory0()[retptr / 4 + 0]; + var r1 = getInt32Memory0()[retptr / 4 + 1]; + var r2 = getInt32Memory0()[retptr / 4 + 2]; + if (r2) { + throw takeObject(r1); + } + return queryContractDictOptions.__wrap(r0); + } finally { + wasm.__wbindgen_add_to_stack_pointer(16); + } + } + /** + * JavaScript alias for query_contract_dict with deserialized options. + * @param {queryContractDictOptions | undefined} [options] + * @returns {Promise} */ - get_node_status(verbosity, node_address) { - var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len0 = WASM_VECTOR_LEN; - const ret = wasm.sdk_get_node_status(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); + query_contract_dict(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, queryContractDictOptions); + ptr0 = options.__destroy_into_raw(); + } + const ret = wasm.sdk_query_contract_dict(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * Retrieves peers asynchronously. - * - * # Arguments - * - * * `verbosity` - Optional verbosity level. - * * `node_address` - Optional node address. - * - * # Returns - * - * A `Result` containing `GetPeersResult` or a `JsError` if an error occurs. - * @param {Verbosity | undefined} [verbosity] * @param {string | undefined} [node_address] - * @returns {Promise} + * @param {Verbosity | undefined} [verbosity] */ - get_peers(verbosity, node_address) { + constructor(node_address, verbosity) { var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - const ret = wasm.sdk_get_peers(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); - return takeObject(ret); + const ret = wasm.sdk_new(ptr0, len0, isLikeNone(verbosity) ? 3 : verbosity); + this.__wbg_ptr = ret >>> 0; + return this; } /** - * Retrieves validator changes using the provided options. - * - * # Arguments - * - * * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. - * * `node_address` - An optional string specifying the node address to use for the request. - * - * # Returns - * - * A `Result` containing either a `GetValidatorChangesResult` or a `JsError` in case of an error. - * - * # Errors - * - * Returns a `JsError` if there is an error during the retrieval process. - * @param {Verbosity | undefined} [verbosity] * @param {string | undefined} [node_address] - * @returns {Promise} + * @returns {string} */ - get_validator_changes(verbosity, node_address) { - var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len0 = WASM_VECTOR_LEN; - const ret = wasm.sdk_get_validator_changes(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); - return takeObject(ret); + getNodeAddress(node_address) { + let deferred2_0; + let deferred2_1; + try { + const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); + var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len0 = WASM_VECTOR_LEN; + wasm.sdk_getNodeAddress(retptr, this.__wbg_ptr, ptr0, len0); + var r0 = getInt32Memory0()[retptr / 4 + 0]; + var r1 = getInt32Memory0()[retptr / 4 + 1]; + deferred2_0 = r0; + deferred2_1 = r1; + return getStringFromWasm0(r0, r1); + } finally { + wasm.__wbindgen_add_to_stack_pointer(16); + wasm.__wbindgen_free(deferred2_0, deferred2_1, 1); + } } /** - * Lists available RPCs using the provided options. - * - * # Arguments - * - * * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. - * * `node_address` - An optional string specifying the node address to use for the request. - * - * # Returns - * - * A `Result` containing either a `ListRpcsResult` or a `JsError` in case of an error. - * - * # Errors - * - * Returns a `JsError` if there is an error during the listing process. - * @param {Verbosity | undefined} [verbosity] * @param {string | undefined} [node_address] - * @returns {Promise} */ - list_rpcs(verbosity, node_address) { - var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len0 = WASM_VECTOR_LEN; - const ret = wasm.sdk_list_rpcs(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); - return takeObject(ret); + setNodeAddress(node_address) { + try { + const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); + var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len0 = WASM_VECTOR_LEN; + wasm.sdk_setNodeAddress(retptr, this.__wbg_ptr, ptr0, len0); + var r0 = getInt32Memory0()[retptr / 4 + 0]; + var r1 = getInt32Memory0()[retptr / 4 + 1]; + if (r1) { + throw takeObject(r0); + } + } finally { + wasm.__wbindgen_add_to_stack_pointer(16); + } + } + /** + * @param {Verbosity | undefined} [verbosity] + * @returns {Verbosity} + */ + getVerbosity(verbosity) { + const ret = wasm.sdk_getVerbosity(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity); + return ret; + } + /** + * @param {Verbosity | undefined} [verbosity] + */ + setVerbosity(verbosity) { + try { + const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); + wasm.sdk_setVerbosity(retptr, this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity); + var r0 = getInt32Memory0()[retptr / 4 + 0]; + var r1 = getInt32Memory0()[retptr / 4 + 1]; + if (r1) { + throw takeObject(r0); + } + } finally { + wasm.__wbindgen_add_to_stack_pointer(16); + } } /** * Installs a smart contract with the specified parameters and returns the result. @@ -7236,102 +7334,6 @@ class SDK { const ret = wasm.sdk_install(this.__wbg_ptr, ptr0, ptr1, ptr2, len2, ptr3, len3); return takeObject(ret); } - /** - * This function allows executing a deploy speculatively. - * - * # Arguments - * - * * `deploy_params` - Deployment parameters for the deploy. - * * `session_params` - Session parameters for the deploy. - * * `payment_params` - Payment parameters for the deploy. - * * `maybe_block_id_as_string` - An optional block ID as a string. - * * `maybe_block_identifier` - Optional block identifier. - * * `verbosity` - Optional verbosity level. - * * `node_address` - Optional node address. - * - * # Returns - * - * A `Result` containing either a `SpeculativeExecResult` or a `JsError` in case of an error. - * @param {DeployStrParams} deploy_params - * @param {SessionStrParams} session_params - * @param {PaymentStrParams} payment_params - * @param {string | undefined} [maybe_block_id_as_string] - * @param {BlockIdentifier | undefined} [maybe_block_identifier] - * @param {Verbosity | undefined} [verbosity] - * @param {string | undefined} [node_address] - * @returns {Promise} - */ - speculative_deploy(deploy_params, session_params, payment_params, maybe_block_id_as_string, maybe_block_identifier, verbosity, node_address) { - _assertClass(deploy_params, DeployStrParams); - var ptr0 = deploy_params.__destroy_into_raw(); - _assertClass(session_params, SessionStrParams); - var ptr1 = session_params.__destroy_into_raw(); - _assertClass(payment_params, PaymentStrParams); - var ptr2 = payment_params.__destroy_into_raw(); - var ptr3 = isLikeNone(maybe_block_id_as_string) ? 0 : passStringToWasm0(maybe_block_id_as_string, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len3 = WASM_VECTOR_LEN; - let ptr4 = 0; - if (!isLikeNone(maybe_block_identifier)) { - _assertClass(maybe_block_identifier, BlockIdentifier); - ptr4 = maybe_block_identifier.__destroy_into_raw(); - } - var ptr5 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len5 = WASM_VECTOR_LEN; - const ret = wasm.sdk_speculative_deploy(this.__wbg_ptr, ptr0, ptr1, ptr2, ptr3, len3, ptr4, isLikeNone(verbosity) ? 3 : verbosity, ptr5, len5); - return takeObject(ret); - } - /** - * JS Alias for speculative transfer. - * - * # Arguments - * - * * `amount` - The amount to transfer. - * * `target_account` - The target account. - * * `transfer_id` - An optional transfer ID (defaults to a random number). - * * `deploy_params` - The deployment parameters. - * * `payment_params` - The payment parameters. - * * `maybe_block_id_as_string` - An optional block ID as a string. - * * `maybe_block_identifier` - An optional block identifier. - * * `verbosity` - The verbosity level for logging (optional). - * * `node_address` - The address of the node to connect to (optional). - * - * # Returns - * - * A `Result` containing the result of the speculative transfer or a `JsError` in case of an error. - * @param {string} amount - * @param {string} target_account - * @param {string | undefined} transfer_id - * @param {DeployStrParams} deploy_params - * @param {PaymentStrParams} payment_params - * @param {string | undefined} [maybe_block_id_as_string] - * @param {BlockIdentifier | undefined} [maybe_block_identifier] - * @param {Verbosity | undefined} [verbosity] - * @param {string | undefined} [node_address] - * @returns {Promise} - */ - speculative_transfer(amount, target_account, transfer_id, deploy_params, payment_params, maybe_block_id_as_string, maybe_block_identifier, verbosity, node_address) { - const ptr0 = passStringToWasm0(amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len0 = WASM_VECTOR_LEN; - const ptr1 = passStringToWasm0(target_account, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - var ptr2 = isLikeNone(transfer_id) ? 0 : passStringToWasm0(transfer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len2 = WASM_VECTOR_LEN; - _assertClass(deploy_params, DeployStrParams); - var ptr3 = deploy_params.__destroy_into_raw(); - _assertClass(payment_params, PaymentStrParams); - var ptr4 = payment_params.__destroy_into_raw(); - var ptr5 = isLikeNone(maybe_block_id_as_string) ? 0 : passStringToWasm0(maybe_block_id_as_string, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len5 = WASM_VECTOR_LEN; - let ptr6 = 0; - if (!isLikeNone(maybe_block_identifier)) { - _assertClass(maybe_block_identifier, BlockIdentifier); - ptr6 = maybe_block_identifier.__destroy_into_raw(); - } - var ptr7 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len7 = WASM_VECTOR_LEN; - const ret = wasm.sdk_speculative_transfer(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, ptr4, ptr5, len5, ptr6, isLikeNone(verbosity) ? 3 : verbosity, ptr7, len7); - return takeObject(ret); - } } module.exports.SDK = SDK; @@ -7401,7 +7403,7 @@ class SessionStrParams { get session_hash() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_hash(retptr, this.__wbg_ptr); + wasm.deploystrparams_secret_key(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -7428,7 +7430,7 @@ class SessionStrParams { get session_name() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_name(retptr, this.__wbg_ptr); + wasm.deploystrparams_timestamp(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -7455,7 +7457,7 @@ class SessionStrParams { get session_package_hash() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_package_hash(retptr, this.__wbg_ptr); + wasm.deploystrparams_ttl(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -7482,7 +7484,7 @@ class SessionStrParams { get session_package_name() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_package_name(retptr, this.__wbg_ptr); + wasm.deploystrparams_chain_name(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -7509,7 +7511,7 @@ class SessionStrParams { get session_path() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_path(retptr, this.__wbg_ptr); + wasm.deploystrparams_session_account(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -7564,7 +7566,7 @@ class SessionStrParams { get session_args_json() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_args_json(retptr, this.__wbg_ptr); + wasm.paymentstrparams_payment_args_json(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -7591,7 +7593,7 @@ class SessionStrParams { get session_args_complex() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_args_complex(retptr, this.__wbg_ptr); + wasm.paymentstrparams_payment_args_complex(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -7618,7 +7620,7 @@ class SessionStrParams { get session_version() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_version(retptr, this.__wbg_ptr); + wasm.paymentstrparams_payment_version(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -7645,7 +7647,7 @@ class SessionStrParams { get session_entry_point() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_entry_point(retptr, this.__wbg_ptr); + wasm.paymentstrparams_payment_entry_point(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -8539,7 +8541,7 @@ class getBlockOptions { get maybe_block_id_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_getauctioninfooptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_getblockoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -8558,13 +8560,13 @@ class getBlockOptions { set maybe_block_id_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_getauctioninfooptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_getblockoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {BlockIdentifier | undefined} */ get maybe_block_identifier() { - const ret = wasm.__wbg_get_getauctioninfooptions_maybe_block_identifier(this.__wbg_ptr); + const ret = wasm.__wbg_get_getblockoptions_maybe_block_identifier(this.__wbg_ptr); return ret === 0 ? undefined : BlockIdentifier.__wrap(ret); } /** @@ -8576,7 +8578,7 @@ class getBlockOptions { _assertClass(arg0, BlockIdentifier); ptr0 = arg0.__destroy_into_raw(); } - wasm.__wbg_set_getauctioninfooptions_maybe_block_identifier(this.__wbg_ptr, ptr0); + wasm.__wbg_set_getblockoptions_maybe_block_identifier(this.__wbg_ptr, ptr0); } /** * @returns {string | undefined} @@ -8584,7 +8586,7 @@ class getBlockOptions { get node_address() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_getauctioninfooptions_node_address(retptr, this.__wbg_ptr); + wasm.__wbg_get_getblockoptions_node_address(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -8603,20 +8605,20 @@ class getBlockOptions { set node_address(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_getauctioninfooptions_node_address(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_getblockoptions_node_address(this.__wbg_ptr, ptr0, len0); } /** * @returns {Verbosity | undefined} */ get verbosity() { - const ret = wasm.__wbg_get_getauctioninfooptions_verbosity(this.__wbg_ptr); + const ret = wasm.__wbg_get_getblockoptions_verbosity(this.__wbg_ptr); return ret === 3 ? undefined : ret; } /** * @param {Verbosity | undefined} [arg0] */ set verbosity(arg0) { - wasm.__wbg_set_getauctioninfooptions_verbosity(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0); + wasm.__wbg_set_getblockoptions_verbosity(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0); } } module.exports.getBlockOptions = getBlockOptions; @@ -8679,7 +8681,7 @@ class getBlockTransfersOptions { * @returns {BlockIdentifier | undefined} */ get maybe_block_identifier() { - const ret = wasm.__wbg_get_getaccountoptions_maybe_block_identifier(this.__wbg_ptr); + const ret = wasm.__wbg_get_getblocktransfersoptions_maybe_block_identifier(this.__wbg_ptr); return ret === 0 ? undefined : BlockIdentifier.__wrap(ret); } /** @@ -8691,7 +8693,7 @@ class getBlockTransfersOptions { _assertClass(arg0, BlockIdentifier); ptr0 = arg0.__destroy_into_raw(); } - wasm.__wbg_set_getaccountoptions_maybe_block_identifier(this.__wbg_ptr, ptr0); + wasm.__wbg_set_getblocktransfersoptions_maybe_block_identifier(this.__wbg_ptr, ptr0); } /** * @returns {Verbosity | undefined} @@ -9162,7 +9164,7 @@ class getEraSummaryOptions { get maybe_block_id_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_geterasummaryoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_getblockoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -9181,13 +9183,13 @@ class getEraSummaryOptions { set maybe_block_id_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_geterasummaryoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_getblockoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {BlockIdentifier | undefined} */ get maybe_block_identifier() { - const ret = wasm.__wbg_get_geterasummaryoptions_maybe_block_identifier(this.__wbg_ptr); + const ret = wasm.__wbg_get_getblockoptions_maybe_block_identifier(this.__wbg_ptr); return ret === 0 ? undefined : BlockIdentifier.__wrap(ret); } /** @@ -9199,7 +9201,7 @@ class getEraSummaryOptions { _assertClass(arg0, BlockIdentifier); ptr0 = arg0.__destroy_into_raw(); } - wasm.__wbg_set_geterasummaryoptions_maybe_block_identifier(this.__wbg_ptr, ptr0); + wasm.__wbg_set_getblockoptions_maybe_block_identifier(this.__wbg_ptr, ptr0); } /** * @returns {string | undefined} @@ -9207,7 +9209,7 @@ class getEraSummaryOptions { get node_address() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_geterasummaryoptions_node_address(retptr, this.__wbg_ptr); + wasm.__wbg_get_getblockoptions_node_address(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -9226,20 +9228,20 @@ class getEraSummaryOptions { set node_address(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_geterasummaryoptions_node_address(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_getblockoptions_node_address(this.__wbg_ptr, ptr0, len0); } /** * @returns {Verbosity | undefined} */ get verbosity() { - const ret = wasm.__wbg_get_geterasummaryoptions_verbosity(this.__wbg_ptr); + const ret = wasm.__wbg_get_getblockoptions_verbosity(this.__wbg_ptr); return ret === 3 ? undefined : ret; } /** * @param {Verbosity | undefined} [arg0] */ set verbosity(arg0) { - wasm.__wbg_set_geterasummaryoptions_verbosity(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0); + wasm.__wbg_set_getblockoptions_verbosity(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0); } } module.exports.getEraSummaryOptions = getEraSummaryOptions; @@ -9449,7 +9451,7 @@ class getStateRootHashOptions { get maybe_block_id_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_getblocktransfersoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_getstateroothashoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -9468,7 +9470,7 @@ class getStateRootHashOptions { set maybe_block_id_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_getblocktransfersoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_getstateroothashoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {BlockIdentifier | undefined} @@ -9494,7 +9496,7 @@ class getStateRootHashOptions { get node_address() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_getblocktransfersoptions_node_address(retptr, this.__wbg_ptr); + wasm.__wbg_get_getstateroothashoptions_node_address(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -9513,20 +9515,20 @@ class getStateRootHashOptions { set node_address(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_getblocktransfersoptions_node_address(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_getstateroothashoptions_node_address(this.__wbg_ptr, ptr0, len0); } /** * @returns {Verbosity | undefined} */ get verbosity() { - const ret = wasm.__wbg_get_getblocktransfersoptions_verbosity(this.__wbg_ptr); + const ret = wasm.__wbg_get_getstateroothashoptions_verbosity(this.__wbg_ptr); return ret === 3 ? undefined : ret; } /** * @param {Verbosity | undefined} [arg0] */ set verbosity(arg0) { - wasm.__wbg_set_getblocktransfersoptions_verbosity(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0); + wasm.__wbg_set_getstateroothashoptions_verbosity(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0); } } module.exports.getStateRootHashOptions = getStateRootHashOptions; @@ -9564,7 +9566,7 @@ class queryBalanceOptions { get purse_identifier_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_getaccountoptions_account_identifier_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_querybalanceoptions_purse_identifier_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -9583,7 +9585,7 @@ class queryBalanceOptions { set purse_identifier_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_getaccountoptions_account_identifier_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_querybalanceoptions_purse_identifier_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {PurseIdentifier | undefined} @@ -9627,7 +9629,7 @@ class queryBalanceOptions { get state_root_hash_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_getaccountoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_querybalanceoptions_state_root_hash_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -9646,7 +9648,7 @@ class queryBalanceOptions { set state_root_hash_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_getaccountoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_querybalanceoptions_state_root_hash_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {Digest | undefined} @@ -9672,7 +9674,7 @@ class queryBalanceOptions { get maybe_block_id_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_getaccountoptions_node_address(retptr, this.__wbg_ptr); + wasm.__wbg_get_querybalanceoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -9691,7 +9693,7 @@ class queryBalanceOptions { set maybe_block_id_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_getaccountoptions_node_address(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_querybalanceoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {string | undefined} @@ -10166,7 +10168,7 @@ class queryGlobalStateOptions { * @returns {GlobalStateIdentifier | undefined} */ get global_state_identifier() { - const ret = wasm.__wbg_get_querycontractkeyoptions_global_state_identifier(this.__wbg_ptr); + const ret = wasm.__wbg_get_queryglobalstateoptions_global_state_identifier(this.__wbg_ptr); return ret === 0 ? undefined : GlobalStateIdentifier.__wrap(ret); } /** @@ -10178,7 +10180,7 @@ class queryGlobalStateOptions { _assertClass(arg0, GlobalStateIdentifier); ptr0 = arg0.__destroy_into_raw(); } - wasm.__wbg_set_querycontractkeyoptions_global_state_identifier(this.__wbg_ptr, ptr0); + wasm.__wbg_set_queryglobalstateoptions_global_state_identifier(this.__wbg_ptr, ptr0); } /** * @returns {string | undefined} @@ -10186,7 +10188,7 @@ class queryGlobalStateOptions { get state_root_hash_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_querycontractkeyoptions_state_root_hash_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_queryglobalstateoptions_state_root_hash_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -10205,13 +10207,13 @@ class queryGlobalStateOptions { set state_root_hash_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_querycontractkeyoptions_state_root_hash_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_queryglobalstateoptions_state_root_hash_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {Digest | undefined} */ get state_root_hash() { - const ret = wasm.__wbg_get_querycontractkeyoptions_state_root_hash(this.__wbg_ptr); + const ret = wasm.__wbg_get_queryglobalstateoptions_state_root_hash(this.__wbg_ptr); return ret === 0 ? undefined : Digest.__wrap(ret); } /** @@ -10223,7 +10225,7 @@ class queryGlobalStateOptions { _assertClass(arg0, Digest); ptr0 = arg0.__destroy_into_raw(); } - wasm.__wbg_set_querycontractkeyoptions_state_root_hash(this.__wbg_ptr, ptr0); + wasm.__wbg_set_queryglobalstateoptions_state_root_hash(this.__wbg_ptr, ptr0); } /** * @returns {string | undefined} @@ -10231,7 +10233,7 @@ class queryGlobalStateOptions { get maybe_block_id_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_querycontractkeyoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_queryglobalstateoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -10250,7 +10252,7 @@ class queryGlobalStateOptions { set maybe_block_id_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_querycontractkeyoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_queryglobalstateoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {string | undefined} @@ -10258,7 +10260,7 @@ class queryGlobalStateOptions { get key_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_querycontractkeyoptions_contract_key_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_queryglobalstateoptions_key_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -10277,13 +10279,13 @@ class queryGlobalStateOptions { set key_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_querycontractkeyoptions_contract_key_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_queryglobalstateoptions_key_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {Key | undefined} */ get key() { - const ret = wasm.__wbg_get_querycontractkeyoptions_contract_key(this.__wbg_ptr); + const ret = wasm.__wbg_get_queryglobalstateoptions_key(this.__wbg_ptr); return ret === 0 ? undefined : Key.__wrap(ret); } /** @@ -10295,7 +10297,7 @@ class queryGlobalStateOptions { _assertClass(arg0, Key); ptr0 = arg0.__destroy_into_raw(); } - wasm.__wbg_set_querycontractkeyoptions_contract_key(this.__wbg_ptr, ptr0); + wasm.__wbg_set_queryglobalstateoptions_key(this.__wbg_ptr, ptr0); } /** * @returns {string | undefined} @@ -10303,7 +10305,7 @@ class queryGlobalStateOptions { get path_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_querycontractkeyoptions_path_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_queryglobalstateoptions_path_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -10322,13 +10324,13 @@ class queryGlobalStateOptions { set path_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_querycontractkeyoptions_path_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_queryglobalstateoptions_path_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {Path | undefined} */ get path() { - const ret = wasm.__wbg_get_querycontractkeyoptions_path(this.__wbg_ptr); + const ret = wasm.__wbg_get_queryglobalstateoptions_path(this.__wbg_ptr); return ret === 0 ? undefined : Path.__wrap(ret); } /** @@ -10340,7 +10342,7 @@ class queryGlobalStateOptions { _assertClass(arg0, Path); ptr0 = arg0.__destroy_into_raw(); } - wasm.__wbg_set_querycontractkeyoptions_path(this.__wbg_ptr, ptr0); + wasm.__wbg_set_queryglobalstateoptions_path(this.__wbg_ptr, ptr0); } /** * @returns {string | undefined} @@ -10348,7 +10350,7 @@ class queryGlobalStateOptions { get node_address() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_querycontractkeyoptions_node_address(retptr, this.__wbg_ptr); + wasm.__wbg_get_queryglobalstateoptions_node_address(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -10367,20 +10369,20 @@ class queryGlobalStateOptions { set node_address(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_querycontractkeyoptions_node_address(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_queryglobalstateoptions_node_address(this.__wbg_ptr, ptr0, len0); } /** * @returns {Verbosity | undefined} */ get verbosity() { - const ret = wasm.__wbg_get_querycontractkeyoptions_verbosity(this.__wbg_ptr); + const ret = wasm.__wbg_get_queryglobalstateoptions_verbosity(this.__wbg_ptr); return ret === 3 ? undefined : ret; } /** * @param {Verbosity | undefined} [arg0] */ set verbosity(arg0) { - wasm.__wbg_set_querycontractkeyoptions_verbosity(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0); + wasm.__wbg_set_queryglobalstateoptions_verbosity(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0); } } module.exports.queryGlobalStateOptions = queryGlobalStateOptions; @@ -10394,53 +10396,74 @@ module.exports.__wbg_getdictionaryitemresult_new = function(arg0) { return addHeapObject(ret); }; +module.exports.__wbg_requestSwitchAccount_e86874ef2727a0e9 = function() { return handleError(function (arg0) { + const ret = getObject(arg0).requestSwitchAccount(); + return addHeapObject(ret); +}, arguments) }; + module.exports.__wbindgen_error_new = function(arg0, arg1) { const ret = new Error(getStringFromWasm0(arg0, arg1)); return addHeapObject(ret); }; +module.exports.__wbindgen_boolean_get = function(arg0) { + const v = getObject(arg0); + const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2; + return ret; +}; + +module.exports.__wbg_getauctioninforesult_new = function(arg0) { + const ret = GetAuctionInfoResult.__wrap(arg0); + return addHeapObject(ret); +}; + module.exports.__wbg_putdeployresult_new = function(arg0) { const ret = PutDeployResult.__wrap(arg0); return addHeapObject(ret); }; -module.exports.__wbg_getdeployresult_new = function(arg0) { - const ret = GetDeployResult.__wrap(arg0); +module.exports.__wbindgen_string_new = function(arg0, arg1) { + const ret = getStringFromWasm0(arg0, arg1); return addHeapObject(ret); }; -module.exports.__wbg_getstateroothashresult_new = function(arg0) { - const ret = GetStateRootHashResult.__wrap(arg0); +module.exports.__wbg_speculativeexecresult_new = function(arg0) { + const ret = SpeculativeExecResult.__wrap(arg0); return addHeapObject(ret); }; -module.exports.__wbg_getaccountresult_new = function(arg0) { - const ret = GetAccountResult.__wrap(arg0); +module.exports.__wbg_getchainspecresult_new = function(arg0) { + const ret = GetChainspecResult.__wrap(arg0); return addHeapObject(ret); }; -module.exports.__wbg_querybalanceresult_new = function(arg0) { - const ret = QueryBalanceResult.__wrap(arg0); +module.exports.__wbg_getblocktransfersresult_new = function(arg0) { + const ret = GetBlockTransfersResult.__wrap(arg0); return addHeapObject(ret); }; -module.exports.__wbg_getblockresult_new = function(arg0) { - const ret = GetBlockResult.__wrap(arg0); +module.exports.__wbg_disconnectFromSite_c93f135e3be08357 = function() { return handleError(function (arg0) { + const ret = getObject(arg0).disconnectFromSite(); + return addHeapObject(ret); +}, arguments) }; + +module.exports.__wbg_getvalidatorchangesresult_new = function(arg0) { + const ret = GetValidatorChangesResult.__wrap(arg0); return addHeapObject(ret); }; -module.exports.__wbg_deploy_new = function(arg0) { - const ret = Deploy.__wrap(arg0); +module.exports.__wbg_getstateroothashresult_new = function(arg0) { + const ret = GetStateRootHashResult.__wrap(arg0); return addHeapObject(ret); }; -module.exports.__wbg_getvalidatorchangesresult_new = function(arg0) { - const ret = GetValidatorChangesResult.__wrap(arg0); +module.exports.__wbg_getdeployresult_new = function(arg0) { + const ret = GetDeployResult.__wrap(arg0); return addHeapObject(ret); }; -module.exports.__wbg_getpeersresult_new = function(arg0) { - const ret = GetPeersResult.__wrap(arg0); +module.exports.__wbg_geterasummaryresult_new = function(arg0) { + const ret = GetEraSummaryResult.__wrap(arg0); return addHeapObject(ret); }; @@ -10449,49 +10472,38 @@ module.exports.__wbg_geterainforesult_new = function(arg0) { return addHeapObject(ret); }; -module.exports.__wbg_isConnected_99de68533d79b4b6 = function() { return handleError(function (arg0) { - const ret = getObject(arg0).isConnected(); +module.exports.__wbg_getbalanceresult_new = function(arg0) { + const ret = GetBalanceResult.__wrap(arg0); return addHeapObject(ret); -}, arguments) }; - -module.exports.__wbindgen_boolean_get = function(arg0) { - const v = getObject(arg0); - const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2; - return ret; }; -module.exports.__wbg_getblocktransfersresult_new = function(arg0) { - const ret = GetBlockTransfersResult.__wrap(arg0); +module.exports.__wbg_querybalanceresult_new = function(arg0) { + const ret = QueryBalanceResult.__wrap(arg0); return addHeapObject(ret); }; -module.exports.__wbg_disconnectFromSite_c93f135e3be08357 = function() { return handleError(function (arg0) { - const ret = getObject(arg0).disconnectFromSite(); +module.exports.__wbg_getaccountresult_new = function(arg0) { + const ret = GetAccountResult.__wrap(arg0); return addHeapObject(ret); -}, arguments) }; +}; -module.exports.__wbg_requestSwitchAccount_e86874ef2727a0e9 = function() { return handleError(function (arg0) { - const ret = getObject(arg0).requestSwitchAccount(); +module.exports.__wbg_isConnected_99de68533d79b4b6 = function() { return handleError(function (arg0) { + const ret = getObject(arg0).isConnected(); return addHeapObject(ret); }, arguments) }; -module.exports.__wbg_queryglobalstateresult_new = function(arg0) { - const ret = QueryGlobalStateResult.__wrap(arg0); - return addHeapObject(ret); -}; - -module.exports.__wbg_getauctioninforesult_new = function(arg0) { - const ret = GetAuctionInfoResult.__wrap(arg0); +module.exports.__wbg_deploy_new = function(arg0) { + const ret = Deploy.__wrap(arg0); return addHeapObject(ret); }; -module.exports.__wbg_speculativeexecresult_new = function(arg0) { - const ret = SpeculativeExecResult.__wrap(arg0); +module.exports.__wbg_listrpcsresult_new = function(arg0) { + const ret = ListRpcsResult.__wrap(arg0); return addHeapObject(ret); }; -module.exports.__wbg_geterasummaryresult_new = function(arg0) { - const ret = GetEraSummaryResult.__wrap(arg0); +module.exports.__wbg_getblockresult_new = function(arg0) { + const ret = GetBlockResult.__wrap(arg0); return addHeapObject(ret); }; @@ -10509,33 +10521,18 @@ module.exports.__wbindgen_string_get = function(arg0, arg1) { getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; -module.exports.__wbindgen_string_new = function(arg0, arg1) { - const ret = getStringFromWasm0(arg0, arg1); - return addHeapObject(ret); -}; - -module.exports.__wbg_getnodestatusresult_new = function(arg0) { - const ret = GetNodeStatusResult.__wrap(arg0); - return addHeapObject(ret); -}; - -module.exports.__wbg_getbalanceresult_new = function(arg0) { - const ret = GetBalanceResult.__wrap(arg0); - return addHeapObject(ret); -}; - -module.exports.__wbg_getchainspecresult_new = function(arg0) { - const ret = GetChainspecResult.__wrap(arg0); +module.exports.__wbg_getpeersresult_new = function(arg0) { + const ret = GetPeersResult.__wrap(arg0); return addHeapObject(ret); }; -module.exports.__wbg_listrpcsresult_new = function(arg0) { - const ret = ListRpcsResult.__wrap(arg0); +module.exports.__wbg_queryglobalstateresult_new = function(arg0) { + const ret = QueryGlobalStateResult.__wrap(arg0); return addHeapObject(ret); }; -module.exports.__wbindgen_object_clone_ref = function(arg0) { - const ret = getObject(arg0); +module.exports.__wbg_getnodestatusresult_new = function(arg0) { + const ret = GetNodeStatusResult.__wrap(arg0); return addHeapObject(ret); }; @@ -10554,21 +10551,6 @@ module.exports.__wbg_getActivePublicKey_9bed721d5f33dde7 = function() { return h return addHeapObject(ret); }, arguments) }; -module.exports.__wbg_deploysubscription_unwrap = function(arg0) { - const ret = DeploySubscription.__unwrap(takeObject(arg0)); - return ret; -}; - -module.exports.__wbindgen_is_undefined = function(arg0) { - const ret = getObject(arg0) === undefined; - return ret; -}; - -module.exports.__wbg_CasperWalletProvider_eab6752fc5d28d32 = function() { - const ret = CasperWalletProvider(); - return addHeapObject(ret); -}; - module.exports.__wbindgen_cb_drop = function(arg0) { const obj = takeObject(arg0).original; if (obj.cnt-- == 1) { @@ -10579,22 +10561,42 @@ module.exports.__wbindgen_cb_drop = function(arg0) { return ret; }; +module.exports.__wbindgen_is_undefined = function(arg0) { + const ret = getObject(arg0) === undefined; + return ret; +}; + module.exports.__wbg_error_adb09b59c60c9cab = function(arg0, arg1) { console.error(getStringFromWasm0(arg0, arg1)); }; -module.exports.__wbindgen_jsval_eq = function(arg0, arg1) { - const ret = getObject(arg0) === getObject(arg1); +module.exports.__wbindgen_is_null = function(arg0) { + const ret = getObject(arg0) === null; + return ret; +}; + +module.exports.__wbg_deploysubscription_unwrap = function(arg0) { + const ret = DeploySubscription.__unwrap(takeObject(arg0)); return ret; }; +module.exports.__wbindgen_object_clone_ref = function(arg0) { + const ret = getObject(arg0); + return addHeapObject(ret); +}; + module.exports.__wbg_sign_0b9f2afaf89b6291 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { const ret = getObject(arg0).sign(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); return addHeapObject(ret); }, arguments) }; -module.exports.__wbindgen_is_null = function(arg0) { - const ret = getObject(arg0) === null; +module.exports.__wbg_CasperWalletProvider_eab6752fc5d28d32 = function() { + const ret = CasperWalletProvider(); + return addHeapObject(ret); +}; + +module.exports.__wbindgen_jsval_eq = function(arg0, arg1) { + const ret = getObject(arg0) === getObject(arg1); return ret; }; @@ -10637,6 +10639,37 @@ module.exports.__wbg_fetch_921fad6ef9e883dd = function(arg0, arg1) { return addHeapObject(ret); }; +module.exports.__wbg_new_ab6fd82b10560829 = function() { return handleError(function () { + const ret = new Headers(); + return addHeapObject(ret); +}, arguments) }; + +module.exports.__wbg_append_7bfcb4937d1d5e29 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); +}, arguments) }; + +module.exports.__wbg_signal_a61f78a3478fd9bc = function(arg0) { + const ret = getObject(arg0).signal; + return addHeapObject(ret); +}; + +module.exports.__wbg_new_0d76b0581eca6298 = function() { return handleError(function () { + const ret = new AbortController(); + return addHeapObject(ret); +}, arguments) }; + +module.exports.__wbg_abort_2aa7521d5690750e = function(arg0) { + getObject(arg0).abort(); +}; + +module.exports.__wbg_close_a994f9425dab445c = function() { return handleError(function (arg0) { + getObject(arg0).close(); +}, arguments) }; + +module.exports.__wbg_enqueue_ea194723156c0cc2 = function() { return handleError(function (arg0, arg1) { + getObject(arg0).enqueue(getObject(arg1)); +}, arguments) }; + module.exports.__wbg_instanceof_Response_849eb93e75734b6e = function(arg0) { let result; try { @@ -10676,29 +10709,6 @@ module.exports.__wbg_arrayBuffer_29931d52c7206b02 = function() { return handleEr return addHeapObject(ret); }, arguments) }; -module.exports.__wbg_signal_a61f78a3478fd9bc = function(arg0) { - const ret = getObject(arg0).signal; - return addHeapObject(ret); -}; - -module.exports.__wbg_new_0d76b0581eca6298 = function() { return handleError(function () { - const ret = new AbortController(); - return addHeapObject(ret); -}, arguments) }; - -module.exports.__wbg_abort_2aa7521d5690750e = function(arg0) { - getObject(arg0).abort(); -}; - -module.exports.__wbg_byobRequest_72fca99f9c32c193 = function(arg0) { - const ret = getObject(arg0).byobRequest; - return isLikeNone(ret) ? 0 : addHeapObject(ret); -}; - -module.exports.__wbg_close_184931724d961ccc = function() { return handleError(function (arg0) { - getObject(arg0).close(); -}, arguments) }; - module.exports.__wbg_read_e7d0f8a49be01d86 = function(arg0) { const ret = getObject(arg0).read(); return addHeapObject(ret); @@ -10727,23 +10737,15 @@ module.exports.__wbg_newwithstrandinit_3fd6fba4083ff2d0 = function() { return ha return addHeapObject(ret); }, arguments) }; -module.exports.__wbg_new_ab6fd82b10560829 = function() { return handleError(function () { - const ret = new Headers(); - return addHeapObject(ret); -}, arguments) }; - -module.exports.__wbg_append_7bfcb4937d1d5e29 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); -}, arguments) }; +module.exports.__wbg_byobRequest_72fca99f9c32c193 = function(arg0) { + const ret = getObject(arg0).byobRequest; + return isLikeNone(ret) ? 0 : addHeapObject(ret); +}; -module.exports.__wbg_close_a994f9425dab445c = function() { return handleError(function (arg0) { +module.exports.__wbg_close_184931724d961ccc = function() { return handleError(function (arg0) { getObject(arg0).close(); }, arguments) }; -module.exports.__wbg_enqueue_ea194723156c0cc2 = function() { return handleError(function (arg0, arg1) { - getObject(arg0).enqueue(getObject(arg1)); -}, arguments) }; - module.exports.__wbg_crypto_1d1f22824a6a080c = function(arg0) { const ret = getObject(arg0).crypto; return addHeapObject(ret); @@ -11044,13 +11046,13 @@ module.exports.__wbindgen_memory = function() { return addHeapObject(ret); }; -module.exports.__wbindgen_closure_wrapper4133 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 807, __wbg_adapter_34); +module.exports.__wbindgen_closure_wrapper4151 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 819, __wbg_adapter_34); return addHeapObject(ret); }; -module.exports.__wbindgen_closure_wrapper4199 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 826, __wbg_adapter_37); +module.exports.__wbindgen_closure_wrapper4166 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 831, __wbg_adapter_37); return addHeapObject(ret); }; diff --git a/pkg-nodejs/casper_rust_wasm_sdk_bg.wasm b/pkg-nodejs/casper_rust_wasm_sdk_bg.wasm index 4afc702cf..dfcd8307a 100644 Binary files a/pkg-nodejs/casper_rust_wasm_sdk_bg.wasm and b/pkg-nodejs/casper_rust_wasm_sdk_bg.wasm differ diff --git a/pkg-nodejs/casper_rust_wasm_sdk_bg.wasm.d.ts b/pkg-nodejs/casper_rust_wasm_sdk_bg.wasm.d.ts index 65d7cc399..5fe6de6b2 100644 --- a/pkg-nodejs/casper_rust_wasm_sdk_bg.wasm.d.ts +++ b/pkg-nodejs/casper_rust_wasm_sdk_bg.wasm.d.ts @@ -1,187 +1,12 @@ /* tslint:disable */ /* eslint-disable */ export const memory: WebAssembly.Memory; -export function __wbg_accessrights_free(a: number): void; -export function accessrights_NONE(): number; -export function accessrights_READ(): number; -export function accessrights_WRITE(): number; -export function accessrights_ADD(): number; -export function accessrights_READ_ADD(): number; -export function accessrights_READ_WRITE(): number; -export function accessrights_ADD_WRITE(): number; -export function accessrights_READ_ADD_WRITE(): number; -export function accessrights_new(a: number, b: number): void; -export function accessrights_from_bits(a: number, b: number, c: number): number; -export function accessrights_is_readable(a: number): number; -export function accessrights_is_writeable(a: number): number; -export function accessrights_is_addable(a: number): number; -export function accessrights_is_none(a: number): number; -export function hashaddr_new(a: number, b: number, c: number): void; -export function __wbg_blockhash_free(a: number): void; -export function blockhash_new_js_alias(a: number, b: number, c: number): void; -export function blockhash_fromDigest(a: number, b: number): void; -export function blockhash_toJson(a: number): number; -export function blockhash_toString(a: number, b: number): void; -export function contracthash_new_js_alias(a: number, b: number, c: number): void; -export function contracthash_fromFormattedStr(a: number, b: number, c: number): void; -export function contracthash_toFormattedString(a: number, b: number): void; -export function contracthash_fromUint8Array(a: number, b: number): number; -export function __wbg_argssimple_free(a: number): void; export function __wbg_eraid_free(a: number): void; export function eraid_new(a: number): number; export function eraid_value(a: number): number; export function __wbg_peerentry_free(a: number): void; export function peerentry_node_id(a: number, b: number): void; export function peerentry_address(a: number, b: number): void; -export function __wbg_purseidentifier_free(a: number): void; -export function purseidentifier_fromPublicKey(a: number): number; -export function purseidentifier_fromAccountHash(a: number): number; -export function purseidentifier_fromURef(a: number): number; -export function purseidentifier_toJson(a: number): number; -export function __wbg_putdeployresult_free(a: number): void; -export function putdeployresult_api_version(a: number): number; -export function putdeployresult_deploy_hash(a: number): number; -export function putdeployresult_toJson(a: number): number; -export function sdk_deploy(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number; -export function __wbg_getbalanceresult_free(a: number): void; -export function getbalanceresult_api_version(a: number): number; -export function getbalanceresult_balance_value(a: number): number; -export function getbalanceresult_merkle_proof(a: number, b: number): void; -export function getbalanceresult_toJson(a: number): number; -export function __wbg_getbalanceoptions_free(a: number): void; -export function __wbg_get_getbalanceoptions_state_root_hash_as_string(a: number, b: number): void; -export function __wbg_set_getbalanceoptions_state_root_hash_as_string(a: number, b: number, c: number): void; -export function __wbg_get_getbalanceoptions_state_root_hash(a: number): number; -export function __wbg_set_getbalanceoptions_state_root_hash(a: number, b: number): void; -export function __wbg_get_getbalanceoptions_purse_uref_as_string(a: number, b: number): void; -export function __wbg_set_getbalanceoptions_purse_uref_as_string(a: number, b: number, c: number): void; -export function __wbg_get_getbalanceoptions_purse_uref(a: number): number; -export function __wbg_set_getbalanceoptions_purse_uref(a: number, b: number): void; -export function __wbg_get_getbalanceoptions_node_address(a: number, b: number): void; -export function __wbg_set_getbalanceoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_get_getbalanceoptions_verbosity(a: number): number; -export function __wbg_set_getbalanceoptions_verbosity(a: number, b: number): void; -export function sdk_get_balance_options(a: number, b: number, c: number): void; -export function sdk_get_balance(a: number, b: number): number; -export function sdk_state_get_balance(a: number, b: number): number; -export function __wbg_geterasummaryresult_free(a: number): void; -export function geterasummaryresult_api_version(a: number): number; -export function geterasummaryresult_era_summary(a: number): number; -export function geterasummaryresult_toJson(a: number): number; -export function __wbg_geterasummaryoptions_free(a: number): void; -export function __wbg_get_geterasummaryoptions_maybe_block_id_as_string(a: number, b: number): void; -export function __wbg_set_geterasummaryoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; -export function __wbg_get_geterasummaryoptions_maybe_block_identifier(a: number): number; -export function __wbg_set_geterasummaryoptions_maybe_block_identifier(a: number, b: number): void; -export function __wbg_get_geterasummaryoptions_node_address(a: number, b: number): void; -export function __wbg_set_geterasummaryoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_get_geterasummaryoptions_verbosity(a: number): number; -export function __wbg_set_geterasummaryoptions_verbosity(a: number, b: number): void; -export function sdk_get_era_summary_options(a: number, b: number, c: number): void; -export function sdk_get_era_summary(a: number, b: number): number; -export function __wbg_queryglobalstateresult_free(a: number): void; -export function queryglobalstateresult_api_version(a: number): number; -export function queryglobalstateresult_block_header(a: number): number; -export function queryglobalstateresult_stored_value(a: number): number; -export function queryglobalstateresult_merkle_proof(a: number, b: number): void; -export function queryglobalstateresult_toJson(a: number): number; -export function sdk_query_global_state_options(a: number, b: number, c: number): void; -export function sdk_query_global_state(a: number, b: number): number; -export function __wbg_querycontractkeyoptions_free(a: number): void; -export function __wbg_get_querycontractkeyoptions_global_state_identifier(a: number): number; -export function __wbg_set_querycontractkeyoptions_global_state_identifier(a: number, b: number): void; -export function __wbg_get_querycontractkeyoptions_state_root_hash_as_string(a: number, b: number): void; -export function __wbg_set_querycontractkeyoptions_state_root_hash_as_string(a: number, b: number, c: number): void; -export function __wbg_get_querycontractkeyoptions_state_root_hash(a: number): number; -export function __wbg_set_querycontractkeyoptions_state_root_hash(a: number, b: number): void; -export function __wbg_get_querycontractkeyoptions_maybe_block_id_as_string(a: number, b: number): void; -export function __wbg_set_querycontractkeyoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; -export function __wbg_get_querycontractkeyoptions_contract_key_as_string(a: number, b: number): void; -export function __wbg_set_querycontractkeyoptions_contract_key_as_string(a: number, b: number, c: number): void; -export function __wbg_get_querycontractkeyoptions_contract_key(a: number): number; -export function __wbg_set_querycontractkeyoptions_contract_key(a: number, b: number): void; -export function __wbg_get_querycontractkeyoptions_path_as_string(a: number, b: number): void; -export function __wbg_set_querycontractkeyoptions_path_as_string(a: number, b: number, c: number): void; -export function __wbg_get_querycontractkeyoptions_path(a: number): number; -export function __wbg_set_querycontractkeyoptions_path(a: number, b: number): void; -export function __wbg_get_querycontractkeyoptions_node_address(a: number, b: number): void; -export function __wbg_set_querycontractkeyoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_get_querycontractkeyoptions_verbosity(a: number): number; -export function __wbg_set_querycontractkeyoptions_verbosity(a: number, b: number): void; -export function sdk_query_contract_key_options(a: number, b: number, c: number): void; -export function sdk_query_contract_key(a: number, b: number): number; -export function hexToString(a: number, b: number, c: number): void; -export function hexToUint8Array(a: number, b: number, c: number): void; -export function uint8ArrayToBytes(a: number): number; -export function motesToCSPR(a: number, b: number, c: number): void; -export function jsonPrettyPrint(a: number, b: number, c: number): void; -export function publicKeyFromSecretKey(a: number, b: number, c: number): void; -export function generateSecretKey(a: number): void; -export function generateSecretKey_secp256k1(a: number): void; -export function accountHashToBase64Key(a: number, b: number, c: number): void; -export function getTimestamp(): number; -export function encodeLowerBlake2b(a: number, b: number): number; -export function makeDictionaryItemKey(a: number, b: number, c: number, d: number): void; -export function __wbg_casperwallet_free(a: number): void; -export function casperwallet_new(): number; -export function casperwallet_signDeploy(a: number, b: number, c: number, d: number): number; -export function casperwallet_signDeployHash(a: number, b: number, c: number, d: number, e: number): number; -export function casperwallet_signMessage(a: number, b: number, c: number, d: number, e: number): number; -export function casperwallet_connect(a: number): number; -export function casperwallet_disconnect(a: number): number; -export function casperwallet_isConnected(a: number): number; -export function casperwallet_getVersion(a: number): number; -export function casperwallet_getActivePublicKey(a: number): number; -export function casperwallet_switchAccount(a: number): number; -export function __wbg_get_queryglobalstateoptions_global_state_identifier(a: number): number; -export function __wbg_get_queryglobalstateoptions_key(a: number): number; -export function __wbg_queryglobalstateoptions_free(a: number): void; -export function __wbg_set_queryglobalstateoptions_state_root_hash(a: number, b: number): void; -export function __wbg_set_queryglobalstateoptions_verbosity(a: number, b: number): void; -export function __wbg_set_queryglobalstateoptions_state_root_hash_as_string(a: number, b: number, c: number): void; -export function __wbg_set_queryglobalstateoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; -export function __wbg_set_queryglobalstateoptions_key_as_string(a: number, b: number, c: number): void; -export function __wbg_set_queryglobalstateoptions_path_as_string(a: number, b: number, c: number): void; -export function __wbg_set_queryglobalstateoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_get_queryglobalstateoptions_path(a: number): number; -export function __wbg_set_queryglobalstateoptions_global_state_identifier(a: number, b: number): void; -export function __wbg_set_queryglobalstateoptions_key(a: number, b: number): void; -export function __wbg_hashaddr_free(a: number): void; -export function __wbg_contracthash_free(a: number): void; -export function __wbg_get_queryglobalstateoptions_state_root_hash(a: number): number; -export function __wbg_set_queryglobalstateoptions_path(a: number, b: number): void; -export function __wbg_get_queryglobalstateoptions_state_root_hash_as_string(a: number, b: number): void; -export function __wbg_get_queryglobalstateoptions_maybe_block_id_as_string(a: number, b: number): void; -export function __wbg_get_queryglobalstateoptions_key_as_string(a: number, b: number): void; -export function __wbg_get_queryglobalstateoptions_path_as_string(a: number, b: number): void; -export function __wbg_get_queryglobalstateoptions_node_address(a: number, b: number): void; -export function __wbg_get_queryglobalstateoptions_verbosity(a: number): number; -export function __wbg_sessionstrparams_free(a: number): void; -export function sessionstrparams_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number): number; -export function sessionstrparams_session_hash(a: number, b: number): void; -export function sessionstrparams_set_session_hash(a: number, b: number, c: number): void; -export function sessionstrparams_session_name(a: number, b: number): void; -export function sessionstrparams_set_session_name(a: number, b: number, c: number): void; -export function sessionstrparams_session_package_hash(a: number, b: number): void; -export function sessionstrparams_set_session_package_hash(a: number, b: number, c: number): void; -export function sessionstrparams_session_package_name(a: number, b: number): void; -export function sessionstrparams_set_session_package_name(a: number, b: number, c: number): void; -export function sessionstrparams_session_path(a: number, b: number): void; -export function sessionstrparams_set_session_path(a: number, b: number, c: number): void; -export function sessionstrparams_session_bytes(a: number): number; -export function sessionstrparams_set_session_bytes(a: number, b: number): void; -export function sessionstrparams_session_args_simple(a: number): number; -export function sessionstrparams_set_session_args_simple(a: number, b: number): void; -export function sessionstrparams_session_args_json(a: number, b: number): void; -export function sessionstrparams_set_session_args_json(a: number, b: number, c: number): void; -export function sessionstrparams_session_args_complex(a: number, b: number): void; -export function sessionstrparams_set_session_args_complex(a: number, b: number, c: number): void; -export function sessionstrparams_session_version(a: number, b: number): void; -export function sessionstrparams_set_session_version(a: number, b: number, c: number): void; -export function sessionstrparams_session_entry_point(a: number, b: number): void; -export function sessionstrparams_set_session_entry_point(a: number, b: number, c: number): void; -export function sessionstrparams_is_session_transfer(a: number): number; -export function sessionstrparams_set_is_session_transfer(a: number, b: number): void; export function __wbg_getauctioninforesult_free(a: number): void; export function getauctioninforesult_api_version(a: number): number; export function getauctioninforesult_auction_state(a: number): number; @@ -197,13 +22,6 @@ export function __wbg_get_getauctioninfooptions_verbosity(a: number): number; export function __wbg_set_getauctioninfooptions_verbosity(a: number, b: number): void; export function sdk_get_auction_info_options(a: number, b: number, c: number): void; export function sdk_get_auction_info(a: number, b: number): number; -export function __wbg_getblockresult_free(a: number): void; -export function getblockresult_api_version(a: number): number; -export function getblockresult_block(a: number): number; -export function getblockresult_toJson(a: number): number; -export function sdk_get_block_options(a: number, b: number, c: number): void; -export function sdk_get_block(a: number, b: number): number; -export function sdk_chain_get_block(a: number, b: number): number; export function __wbg_getdictionaryitemresult_free(a: number): void; export function getdictionaryitemresult_api_version(a: number): number; export function getdictionaryitemresult_dictionary_key(a: number, b: number): void; @@ -232,175 +50,41 @@ export function geterainforesult_era_summary(a: number): number; export function geterainforesult_toJson(a: number): number; export function sdk_get_era_info_options(a: number, b: number, c: number): void; export function sdk_get_era_info(a: number, b: number): number; -export function __wbg_get_getblockoptions_maybe_block_identifier(a: number): number; +export function __wbg_getnodestatusresult_free(a: number): void; +export function getnodestatusresult_api_version(a: number): number; +export function getnodestatusresult_chainspec_name(a: number, b: number): void; +export function getnodestatusresult_starting_state_root_hash(a: number): number; +export function getnodestatusresult_peers(a: number): number; +export function getnodestatusresult_last_added_block_info(a: number): number; +export function getnodestatusresult_our_public_signing_key(a: number): number; +export function getnodestatusresult_round_length(a: number): number; +export function getnodestatusresult_next_upgrade(a: number): number; +export function getnodestatusresult_build_version(a: number, b: number): void; +export function getnodestatusresult_uptime(a: number): number; +export function getnodestatusresult_reactor_state(a: number): number; +export function getnodestatusresult_last_progress(a: number): number; +export function getnodestatusresult_available_block_range(a: number): number; +export function getnodestatusresult_block_sync(a: number): number; +export function getnodestatusresult_toJson(a: number): number; +export function sdk_get_node_status(a: number, b: number, c: number, d: number): number; +export function sdk_make_deploy(a: number, b: number, c: number, d: number, e: number): void; +export function sdk_sign_deploy(a: number, b: number, c: number, d: number): number; export function __wbg_get_geterainfooptions_maybe_block_identifier(a: number): number; -export function __wbg_getblockoptions_free(a: number): void; export function __wbg_geterainfooptions_free(a: number): void; -export function __wbg_set_getblockoptions_verbosity(a: number, b: number): void; export function __wbg_set_geterainfooptions_verbosity(a: number, b: number): void; -export function __wbg_set_getblockoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; -export function __wbg_set_getblockoptions_node_address(a: number, b: number, c: number): void; export function __wbg_set_geterainfooptions_maybe_block_id_as_string(a: number, b: number, c: number): void; export function __wbg_set_geterainfooptions_node_address(a: number, b: number, c: number): void; -export function __wbg_set_getblockoptions_maybe_block_identifier(a: number, b: number): void; export function __wbg_set_geterainfooptions_maybe_block_identifier(a: number, b: number): void; -export function __wbg_get_getblockoptions_maybe_block_id_as_string(a: number, b: number): void; -export function __wbg_get_getblockoptions_node_address(a: number, b: number): void; export function __wbg_get_geterainfooptions_maybe_block_id_as_string(a: number, b: number): void; export function __wbg_get_geterainfooptions_node_address(a: number, b: number): void; -export function __wbg_get_getblockoptions_verbosity(a: number): number; export function __wbg_get_geterainfooptions_verbosity(a: number): number; -export function sdk_make_deploy(a: number, b: number, c: number, d: number, e: number): void; -export function sdk_call_entrypoint(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number; -export function __wbg_transferaddr_free(a: number): void; -export function transferaddr_new(a: number, b: number, c: number): void; -export function urefaddr_new(a: number, b: number, c: number): void; -export function __wbg_bytes_free(a: number): void; -export function bytes_new(): number; -export function bytes_fromUint8Array(a: number): number; -export function __wbg_deploy_free(a: number): void; -export function deploy_new(a: number): number; -export function deploy_toJson(a: number): number; -export function deploy_withPaymentAndSession(a: number, b: number, c: number, d: number): void; -export function deploy_withTransfer(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): void; -export function deploy_withTTL(a: number, b: number, c: number, d: number, e: number): number; -export function deploy_withTimestamp(a: number, b: number, c: number, d: number, e: number): number; -export function deploy_withChainName(a: number, b: number, c: number, d: number, e: number): number; -export function deploy_withAccount(a: number, b: number, c: number, d: number): number; -export function deploy_withEntryPointName(a: number, b: number, c: number, d: number, e: number): number; -export function deploy_withHash(a: number, b: number, c: number, d: number): number; -export function deploy_withPackageHash(a: number, b: number, c: number, d: number): number; -export function deploy_withModuleBytes(a: number, b: number, c: number, d: number): number; -export function deploy_withSecretKey(a: number, b: number, c: number): number; -export function deploy_withStandardPayment(a: number, b: number, c: number, d: number, e: number): number; -export function deploy_withPayment(a: number, b: number, c: number, d: number): number; -export function deploy_withSession(a: number, b: number, c: number, d: number): number; -export function deploy_validateDeploySize(a: number): number; -export function deploy_hash(a: number): number; -export function deploy_sign(a: number, b: number, c: number): number; -export function deploy_addSignature(a: number, b: number, c: number, d: number, e: number): number; -export function deploy_TTL(a: number, b: number): void; -export function deploy_timestamp(a: number, b: number): void; -export function deploy_chainName(a: number, b: number): void; -export function deploy_account(a: number, b: number): void; -export function deploy_args(a: number): number; -export function deploy_addArg(a: number, b: number, c: number, d: number, e: number): void; -export function __wbg_deploystrparams_free(a: number): void; -export function deploystrparams_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; -export function deploystrparams_secret_key(a: number, b: number): void; -export function deploystrparams_set_secret_key(a: number, b: number, c: number): void; -export function deploystrparams_timestamp(a: number, b: number): void; -export function deploystrparams_set_timestamp(a: number, b: number, c: number): void; -export function deploystrparams_setDefaultTimestamp(a: number): void; -export function deploystrparams_ttl(a: number, b: number): void; -export function deploystrparams_set_ttl(a: number, b: number, c: number): void; -export function deploystrparams_setDefaultTTL(a: number): void; -export function deploystrparams_chain_name(a: number, b: number): void; -export function deploystrparams_set_chain_name(a: number, b: number, c: number): void; -export function deploystrparams_session_account(a: number, b: number): void; -export function deploystrparams_set_session_account(a: number, b: number, c: number): void; -export function __wbg_dictionaryitemstrparams_free(a: number): void; -export function dictionaryitemstrparams_new(): number; -export function dictionaryitemstrparams_setAccountNamedKey(a: number, b: number, c: number, d: number, e: number, f: number, g: number): void; -export function dictionaryitemstrparams_setContractNamedKey(a: number, b: number, c: number, d: number, e: number, f: number, g: number): void; -export function dictionaryitemstrparams_setUref(a: number, b: number, c: number, d: number, e: number): void; -export function dictionaryitemstrparams_setDictionary(a: number, b: number, c: number): void; -export function dictionaryitemstrparams_toJson(a: number): number; -export function __wbg_uref_free(a: number): void; -export function uref_new_js_alias(a: number, b: number, c: number, d: number): void; -export function uref_fromFormattedStr(a: number, b: number, c: number): void; -export function uref_fromUint8Array(a: number, b: number, c: number): number; -export function uref_toFormattedString(a: number, b: number): void; -export function uref_toJson(a: number): number; -export function __wbg_signatureresponse_free(a: number): void; -export function signatureresponse_is_cancelled(a: number): number; -export function signatureresponse_get_signature_hex(a: number, b: number): void; -export function signatureresponse_get_signature(a: number, b: number): void; -export function sdk_transfer(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number): number; -export function __wbg_getdeployresult_free(a: number): void; -export function getdeployresult_api_version(a: number): number; -export function getdeployresult_deploy(a: number): number; -export function getdeployresult_toJson(a: number): number; -export function __wbg_getdeployoptions_free(a: number): void; -export function __wbg_get_getdeployoptions_deploy_hash_as_string(a: number, b: number): void; -export function __wbg_set_getdeployoptions_deploy_hash_as_string(a: number, b: number, c: number): void; -export function __wbg_get_getdeployoptions_deploy_hash(a: number): number; -export function __wbg_set_getdeployoptions_deploy_hash(a: number, b: number): void; -export function __wbg_get_getdeployoptions_finalized_approvals(a: number): number; -export function __wbg_set_getdeployoptions_finalized_approvals(a: number, b: number): void; -export function __wbg_get_getdeployoptions_node_address(a: number, b: number): void; -export function __wbg_set_getdeployoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_get_getdeployoptions_verbosity(a: number): number; -export function __wbg_set_getdeployoptions_verbosity(a: number, b: number): void; -export function sdk_get_deploy_options(a: number, b: number, c: number): void; -export function sdk_get_deploy(a: number, b: number): number; -export function sdk_info_get_deploy(a: number, b: number): number; -export function __wbg_speculativeexecresult_free(a: number): void; -export function speculativeexecresult_api_version(a: number): number; -export function speculativeexecresult_block_hash(a: number): number; -export function speculativeexecresult_execution_result(a: number): number; -export function speculativeexecresult_toJson(a: number): number; -export function __wbg_getspeculativeexecoptions_free(a: number): void; -export function __wbg_get_getspeculativeexecoptions_deploy_as_string(a: number, b: number): void; -export function __wbg_set_getspeculativeexecoptions_deploy_as_string(a: number, b: number, c: number): void; -export function __wbg_get_getspeculativeexecoptions_deploy(a: number): number; -export function __wbg_set_getspeculativeexecoptions_deploy(a: number, b: number): void; -export function __wbg_get_getspeculativeexecoptions_maybe_block_id_as_string(a: number, b: number): void; -export function __wbg_set_getspeculativeexecoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; -export function __wbg_get_getspeculativeexecoptions_maybe_block_identifier(a: number): number; -export function __wbg_set_getspeculativeexecoptions_maybe_block_identifier(a: number, b: number): void; -export function __wbg_get_getspeculativeexecoptions_node_address(a: number, b: number): void; -export function __wbg_set_getspeculativeexecoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_get_getspeculativeexecoptions_verbosity(a: number): number; -export function __wbg_set_getspeculativeexecoptions_verbosity(a: number, b: number): void; -export function sdk_get_speculative_exec_options(a: number, b: number, c: number): void; -export function sdk_speculative_exec(a: number, b: number): number; -export function sdk_sign_deploy(a: number, b: number, c: number, d: number): number; -export function __wbg_querycontractdictoptions_free(a: number): void; -export function __wbg_get_querycontractdictoptions_state_root_hash_as_string(a: number, b: number): void; -export function __wbg_set_querycontractdictoptions_state_root_hash_as_string(a: number, b: number, c: number): void; -export function __wbg_get_querycontractdictoptions_state_root_hash(a: number): number; -export function __wbg_set_querycontractdictoptions_state_root_hash(a: number, b: number): void; -export function __wbg_get_querycontractdictoptions_dictionary_item_params(a: number): number; -export function __wbg_set_querycontractdictoptions_dictionary_item_params(a: number, b: number): void; -export function __wbg_get_querycontractdictoptions_dictionary_item_identifier(a: number): number; -export function __wbg_set_querycontractdictoptions_dictionary_item_identifier(a: number, b: number): void; -export function __wbg_get_querycontractdictoptions_node_address(a: number, b: number): void; -export function __wbg_set_querycontractdictoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_get_querycontractdictoptions_verbosity(a: number): number; -export function __wbg_set_querycontractdictoptions_verbosity(a: number, b: number): void; -export function sdk_query_contract_dict_options(a: number, b: number, c: number): void; -export function sdk_query_contract_dict(a: number, b: number): number; -export function __wbg_sdk_free(a: number): void; -export function sdk_new(a: number, b: number, c: number): number; -export function sdk_getNodeAddress(a: number, b: number, c: number, d: number): void; -export function sdk_setNodeAddress(a: number, b: number, c: number, d: number): void; -export function sdk_getVerbosity(a: number, b: number): number; -export function sdk_setVerbosity(a: number, b: number, c: number): void; -export function __wbg_urefaddr_free(a: number): void; -export function __wbg_accounthash_free(a: number): void; -export function accounthash_new_js_alias(a: number, b: number, c: number): void; -export function accounthash_fromFormattedStr(a: number, b: number, c: number): void; -export function accounthash_fromPublicKey(a: number): number; -export function accounthash_toFormattedString(a: number, b: number): void; -export function accounthash_toHexString(a: number, b: number): void; -export function accounthash_fromUint8Array(a: number, b: number): number; -export function accounthash_toJson(a: number): number; -export function __wbg_accountidentifier_free(a: number): void; -export function accountidentifier_fromFormattedStr(a: number, b: number, c: number): void; -export function accountidentifier_fromPublicKey(a: number): number; -export function accountidentifier_fromAccountHash(a: number): number; -export function accountidentifier_toJson(a: number): number; export function dictionaryaddr_new(a: number, b: number, c: number): void; -export function __wbg_blockidentifier_free(a: number): void; -export function blockidentifier_new(a: number): number; -export function blockidentifier_from_hash(a: number): number; -export function blockidentifier_fromHeight(a: number): number; -export function blockidentifier_toJson(a: number): number; +export function __wbg_contractpackagehash_free(a: number): void; export function contractpackagehash_new_js_alias(a: number, b: number, c: number): void; export function contractpackagehash_fromFormattedStr(a: number, b: number, c: number): void; export function contractpackagehash_toFormattedString(a: number, b: number): void; export function contractpackagehash_fromUint8Array(a: number, b: number): number; +export function __wbg_argssimple_free(a: number): void; export function __wbg_dictionaryitemidentifier_free(a: number): void; export function dictionaryitemidentifier_newFromAccountInfo(a: number, b: number, c: number, d: number, e: number, f: number, g: number): void; export function dictionaryitemidentifier_newFromContractInfo(a: number, b: number, c: number, d: number, e: number, f: number, g: number): void; @@ -412,6 +96,12 @@ export function digest_fromString(a: number, b: number, c: number): void; export function digest_fromRaw(a: number, b: number, c: number): void; export function digest_toJson(a: number): number; export function digest_toString(a: number, b: number): void; +export function __wbg_globalstateidentifier_free(a: number): void; +export function globalstateidentifier_new(a: number): number; +export function globalstateidentifier_fromBlockHash(a: number): number; +export function globalstateidentifier_fromBlockHeight(a: number): number; +export function globalstateidentifier_fromStateRootHash(a: number): number; +export function globalstateidentifier_toJson(a: number): number; export function __wbg_key_free(a: number): void; export function key_new(a: number, b: number): void; export function key_toJson(a: number): number; @@ -440,47 +130,96 @@ export function key_asBalance(a: number): number; export function key_intoURef(a: number): number; export function key_urefToHash(a: number): number; export function key_withdrawToUnbond(a: number): number; -export function publickey_new_js_alias(a: number, b: number, c: number): void; -export function publickey_fromUint8Array(a: number, b: number, c: number): void; -export function publickey_toAccountHash(a: number): number; -export function publickey_toPurseUref(a: number): number; -export function publickey_toJson(a: number): number; -export function sdk_put_deploy(a: number, b: number, c: number, d: number, e: number): number; -export function sdk_account_put_deploy(a: number, b: number, c: number, d: number, e: number): number; -export function accountidentifier_new(a: number, b: number, c: number): void; +export function __wbg_purseidentifier_free(a: number): void; +export function purseidentifier_fromPublicKey(a: number): number; +export function purseidentifier_fromAccountHash(a: number): number; +export function purseidentifier_fromURef(a: number): number; +export function purseidentifier_toJson(a: number): number; +export function __wbg_getblockresult_free(a: number): void; +export function getblockresult_api_version(a: number): number; +export function getblockresult_block(a: number): number; +export function getblockresult_toJson(a: number): number; +export function __wbg_getblockoptions_free(a: number): void; +export function __wbg_get_getblockoptions_maybe_block_id_as_string(a: number, b: number): void; +export function __wbg_set_getblockoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; +export function __wbg_get_getblockoptions_maybe_block_identifier(a: number): number; +export function __wbg_set_getblockoptions_maybe_block_identifier(a: number, b: number): void; +export function __wbg_get_getblockoptions_node_address(a: number, b: number): void; +export function __wbg_set_getblockoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_getblockoptions_verbosity(a: number): number; +export function __wbg_set_getblockoptions_verbosity(a: number, b: number): void; +export function sdk_get_block_options(a: number, b: number, c: number): void; +export function sdk_get_block(a: number, b: number): number; +export function sdk_chain_get_block(a: number, b: number): number; +export function __wbg_geterasummaryresult_free(a: number): void; +export function geterasummaryresult_api_version(a: number): number; +export function geterasummaryresult_era_summary(a: number): number; +export function geterasummaryresult_toJson(a: number): number; +export function sdk_get_era_summary_options(a: number, b: number, c: number): void; +export function sdk_get_era_summary(a: number, b: number): number; +export function __wbg_queryglobalstateresult_free(a: number): void; +export function queryglobalstateresult_api_version(a: number): number; +export function queryglobalstateresult_block_header(a: number): number; +export function queryglobalstateresult_stored_value(a: number): number; +export function queryglobalstateresult_merkle_proof(a: number, b: number): void; +export function queryglobalstateresult_toJson(a: number): number; +export function __wbg_queryglobalstateoptions_free(a: number): void; +export function __wbg_get_queryglobalstateoptions_global_state_identifier(a: number): number; +export function __wbg_set_queryglobalstateoptions_global_state_identifier(a: number, b: number): void; +export function __wbg_get_queryglobalstateoptions_state_root_hash_as_string(a: number, b: number): void; +export function __wbg_set_queryglobalstateoptions_state_root_hash_as_string(a: number, b: number, c: number): void; +export function __wbg_get_queryglobalstateoptions_state_root_hash(a: number): number; +export function __wbg_set_queryglobalstateoptions_state_root_hash(a: number, b: number): void; +export function __wbg_get_queryglobalstateoptions_maybe_block_id_as_string(a: number, b: number): void; +export function __wbg_set_queryglobalstateoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; +export function __wbg_get_queryglobalstateoptions_key_as_string(a: number, b: number): void; +export function __wbg_set_queryglobalstateoptions_key_as_string(a: number, b: number, c: number): void; +export function __wbg_get_queryglobalstateoptions_key(a: number): number; +export function __wbg_set_queryglobalstateoptions_key(a: number, b: number): void; +export function __wbg_get_queryglobalstateoptions_path_as_string(a: number, b: number): void; +export function __wbg_set_queryglobalstateoptions_path_as_string(a: number, b: number, c: number): void; +export function __wbg_get_queryglobalstateoptions_path(a: number): number; +export function __wbg_set_queryglobalstateoptions_path(a: number, b: number): void; +export function __wbg_get_queryglobalstateoptions_node_address(a: number, b: number): void; +export function __wbg_set_queryglobalstateoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_queryglobalstateoptions_verbosity(a: number): number; +export function __wbg_set_queryglobalstateoptions_verbosity(a: number, b: number): void; +export function sdk_query_global_state_options(a: number, b: number, c: number): void; +export function sdk_query_global_state(a: number, b: number): number; +export function __wbg_get_geterasummaryoptions_maybe_block_identifier(a: number): number; +export function __wbg_geterasummaryoptions_free(a: number): void; +export function __wbg_set_geterasummaryoptions_verbosity(a: number, b: number): void; +export function __wbg_set_geterasummaryoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; +export function __wbg_set_geterasummaryoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_set_geterasummaryoptions_maybe_block_identifier(a: number, b: number): void; export function __wbg_dictionaryaddr_free(a: number): void; -export function __wbg_contractpackagehash_free(a: number): void; export function __wbg_digest_free(a: number): void; -export function __wbg_publickey_free(a: number): void; -export function __wbg_deployhash_free(a: number): void; +export function __wbg_get_geterasummaryoptions_maybe_block_id_as_string(a: number, b: number): void; +export function __wbg_get_geterasummaryoptions_node_address(a: number, b: number): void; +export function __wbg_get_geterasummaryoptions_verbosity(a: number): number; +export function __wbg_accessrights_free(a: number): void; +export function accessrights_NONE(): number; +export function accessrights_READ(): number; +export function accessrights_WRITE(): number; +export function accessrights_ADD(): number; +export function accessrights_READ_ADD(): number; +export function accessrights_READ_WRITE(): number; +export function accessrights_ADD_WRITE(): number; +export function accessrights_READ_ADD_WRITE(): number; +export function accessrights_new(a: number, b: number): void; +export function accessrights_from_bits(a: number, b: number, c: number): number; +export function accessrights_is_readable(a: number): number; +export function accessrights_is_writeable(a: number): number; +export function accessrights_is_addable(a: number): number; +export function accessrights_is_none(a: number): number; +export function __wbg_blockhash_free(a: number): void; +export function blockhash_new_js_alias(a: number, b: number, c: number): void; +export function blockhash_fromDigest(a: number, b: number): void; +export function blockhash_toJson(a: number): number; +export function blockhash_toString(a: number, b: number): void; export function deployhash_new_js_alias(a: number, b: number, c: number): void; -export function deployhash_fromDigest(a: number, b: number): void; export function deployhash_toJson(a: number): number; export function deployhash_toString(a: number, b: number): void; -export function __wbg_paymentstrparams_free(a: number): void; -export function paymentstrparams_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number): number; -export function paymentstrparams_payment_amount(a: number, b: number): void; -export function paymentstrparams_set_payment_amount(a: number, b: number, c: number): void; -export function paymentstrparams_payment_hash(a: number, b: number): void; -export function paymentstrparams_set_payment_hash(a: number, b: number, c: number): void; -export function paymentstrparams_payment_name(a: number, b: number): void; -export function paymentstrparams_set_payment_name(a: number, b: number, c: number): void; -export function paymentstrparams_payment_package_hash(a: number, b: number): void; -export function paymentstrparams_set_payment_package_hash(a: number, b: number, c: number): void; -export function paymentstrparams_payment_package_name(a: number, b: number): void; -export function paymentstrparams_set_payment_package_name(a: number, b: number, c: number): void; -export function paymentstrparams_payment_path(a: number, b: number): void; -export function paymentstrparams_set_payment_path(a: number, b: number, c: number): void; -export function paymentstrparams_payment_args_simple(a: number): number; -export function paymentstrparams_set_payment_args_simple(a: number, b: number): void; -export function paymentstrparams_payment_args_json(a: number, b: number): void; -export function paymentstrparams_set_payment_args_json(a: number, b: number, c: number): void; -export function paymentstrparams_payment_args_complex(a: number, b: number): void; -export function paymentstrparams_set_payment_args_complex(a: number, b: number, c: number): void; -export function paymentstrparams_payment_version(a: number, b: number): void; -export function paymentstrparams_set_payment_version(a: number, b: number, c: number): void; -export function paymentstrparams_payment_entry_point(a: number, b: number): void; -export function paymentstrparams_set_payment_entry_point(a: number, b: number, c: number): void; export function __wbg_path_free(a: number): void; export function path_new(a: number): number; export function path_fromArray(a: number): number; @@ -508,46 +247,22 @@ export function __wbg_set_getaccountoptions_verbosity(a: number, b: number): voi export function sdk_get_account_options(a: number, b: number, c: number): void; export function sdk_get_account(a: number, b: number): number; export function sdk_state_get_account_info(a: number, b: number): number; -export function __wbg_getblocktransfersresult_free(a: number): void; -export function getblocktransfersresult_api_version(a: number): number; -export function getblocktransfersresult_block_hash(a: number): number; -export function getblocktransfersresult_transfers(a: number): number; -export function getblocktransfersresult_toJson(a: number): number; -export function __wbg_getblocktransfersoptions_free(a: number): void; -export function __wbg_get_getblocktransfersoptions_maybe_block_id_as_string(a: number, b: number): void; -export function __wbg_set_getblocktransfersoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; -export function __wbg_get_getblocktransfersoptions_verbosity(a: number): number; -export function __wbg_set_getblocktransfersoptions_verbosity(a: number, b: number): void; -export function __wbg_get_getblocktransfersoptions_node_address(a: number, b: number): void; -export function __wbg_set_getblocktransfersoptions_node_address(a: number, b: number, c: number): void; -export function sdk_get_block_transfers_options(a: number, b: number, c: number): void; -export function sdk_get_block_transfers(a: number, b: number): number; export function __wbg_getstateroothashresult_free(a: number): void; export function getstateroothashresult_api_version(a: number): number; export function getstateroothashresult_state_root_hash(a: number): number; export function getstateroothashresult_state_root_hash_as_string(a: number, b: number): void; export function getstateroothashresult_toString(a: number, b: number): void; export function getstateroothashresult_toJson(a: number): number; +export function __wbg_getstateroothashoptions_free(a: number): void; +export function __wbg_get_getstateroothashoptions_maybe_block_id_as_string(a: number, b: number): void; +export function __wbg_set_getstateroothashoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; +export function __wbg_get_getstateroothashoptions_node_address(a: number, b: number): void; +export function __wbg_set_getstateroothashoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_getstateroothashoptions_verbosity(a: number): number; +export function __wbg_set_getstateroothashoptions_verbosity(a: number, b: number): void; export function sdk_get_state_root_hash_options(a: number, b: number, c: number): void; export function sdk_get_state_root_hash(a: number, b: number): number; export function sdk_chain_get_state_root_hash(a: number, b: number): number; -export function __wbg_querybalanceresult_free(a: number): void; -export function querybalanceresult_api_version(a: number): number; -export function querybalanceresult_balance(a: number): number; -export function querybalanceresult_toJson(a: number): number; -export function __wbg_querybalanceoptions_free(a: number): void; -export function __wbg_get_querybalanceoptions_purse_identifier(a: number): number; -export function __wbg_set_querybalanceoptions_purse_identifier(a: number, b: number): void; -export function __wbg_get_querybalanceoptions_global_state_identifier(a: number): number; -export function __wbg_set_querybalanceoptions_global_state_identifier(a: number, b: number): void; -export function __wbg_get_querybalanceoptions_state_root_hash(a: number): number; -export function __wbg_set_querybalanceoptions_state_root_hash(a: number, b: number): void; -export function __wbg_get_querybalanceoptions_node_address(a: number, b: number): void; -export function __wbg_set_querybalanceoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_get_querybalanceoptions_verbosity(a: number): number; -export function __wbg_set_querybalanceoptions_verbosity(a: number, b: number): void; -export function sdk_query_balance_options(a: number, b: number, c: number): void; -export function sdk_query_balance(a: number, b: number): number; export function sdk_make_transfer(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): void; export function sdk_watchDeploy(a: number, b: number, c: number, d: number, e: number): number; export function sdk_waitDeploy(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number; @@ -590,81 +305,362 @@ export function __wbg_get_eventparseresult_err(a: number, b: number): void; export function __wbg_set_eventparseresult_err(a: number, b: number, c: number): void; export function __wbg_get_eventparseresult_body(a: number): number; export function __wbg_set_eventparseresult_body(a: number, b: number): void; -export function __wbg_get_getblocktransfersoptions_maybe_block_identifier(a: number): number; +export function __wbg_querycontractkeyoptions_free(a: number): void; +export function __wbg_get_querycontractkeyoptions_global_state_identifier(a: number): number; +export function __wbg_set_querycontractkeyoptions_global_state_identifier(a: number, b: number): void; +export function __wbg_get_querycontractkeyoptions_state_root_hash_as_string(a: number, b: number): void; +export function __wbg_set_querycontractkeyoptions_state_root_hash_as_string(a: number, b: number, c: number): void; +export function __wbg_get_querycontractkeyoptions_state_root_hash(a: number): number; +export function __wbg_set_querycontractkeyoptions_state_root_hash(a: number, b: number): void; +export function __wbg_get_querycontractkeyoptions_maybe_block_id_as_string(a: number, b: number): void; +export function __wbg_set_querycontractkeyoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; +export function __wbg_get_querycontractkeyoptions_contract_key_as_string(a: number, b: number): void; +export function __wbg_set_querycontractkeyoptions_contract_key_as_string(a: number, b: number, c: number): void; +export function __wbg_get_querycontractkeyoptions_contract_key(a: number): number; +export function __wbg_set_querycontractkeyoptions_contract_key(a: number, b: number): void; +export function __wbg_get_querycontractkeyoptions_path_as_string(a: number, b: number): void; +export function __wbg_set_querycontractkeyoptions_path_as_string(a: number, b: number, c: number): void; +export function __wbg_get_querycontractkeyoptions_path(a: number): number; +export function __wbg_set_querycontractkeyoptions_path(a: number, b: number): void; +export function __wbg_get_querycontractkeyoptions_node_address(a: number, b: number): void; +export function __wbg_set_querycontractkeyoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_querycontractkeyoptions_verbosity(a: number): number; +export function __wbg_set_querycontractkeyoptions_verbosity(a: number, b: number): void; +export function sdk_query_contract_key_options(a: number, b: number, c: number): void; +export function sdk_query_contract_key(a: number, b: number): number; +export function __wbg_casperwallet_free(a: number): void; +export function casperwallet_new(): number; +export function casperwallet_signDeploy(a: number, b: number, c: number, d: number): number; +export function casperwallet_signDeployHash(a: number, b: number, c: number, d: number, e: number): number; +export function casperwallet_signMessage(a: number, b: number, c: number, d: number, e: number): number; +export function casperwallet_connect(a: number): number; +export function casperwallet_disconnect(a: number): number; +export function casperwallet_isConnected(a: number): number; +export function casperwallet_getVersion(a: number): number; +export function casperwallet_getActivePublicKey(a: number): number; +export function casperwallet_switchAccount(a: number): number; export function __wbg_get_getstateroothashoptions_maybe_block_identifier(a: number): number; -export function __wbg_getstateroothashoptions_free(a: number): void; -export function __wbg_set_getstateroothashoptions_verbosity(a: number, b: number): void; +export function deployhash_fromDigest(a: number, b: number): void; export function __wbg_set_failure_error_message(a: number, b: number, c: number): void; export function __wbg_set_success_cost(a: number, b: number, c: number): void; export function __wbg_set_deploysubscription_deployHash(a: number, b: number, c: number): void; -export function __wbg_set_getstateroothashoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; -export function __wbg_set_getstateroothashoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_set_querybalanceoptions_purse_identifier_as_string(a: number, b: number, c: number): void; -export function __wbg_set_querybalanceoptions_state_root_hash_as_string(a: number, b: number, c: number): void; -export function __wbg_set_querybalanceoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; -export function __wbg_set_getblocktransfersoptions_maybe_block_identifier(a: number, b: number): void; export function __wbg_set_getstateroothashoptions_maybe_block_identifier(a: number, b: number): void; -export function __wbg_get_getstateroothashoptions_maybe_block_id_as_string(a: number, b: number): void; -export function __wbg_get_getstateroothashoptions_node_address(a: number, b: number): void; -export function __wbg_get_querybalanceoptions_purse_identifier_as_string(a: number, b: number): void; -export function __wbg_get_querybalanceoptions_state_root_hash_as_string(a: number, b: number): void; -export function __wbg_get_querybalanceoptions_maybe_block_id_as_string(a: number, b: number): void; -export function __wbg_get_getstateroothashoptions_verbosity(a: number): number; +export function __wbg_deployhash_free(a: number): void; export function __wbg_success_free(a: number): void; export function __wbg_get_failure_error_message(a: number, b: number): void; export function __wbg_get_success_cost(a: number, b: number): void; export function __wbg_get_deploysubscription_deployHash(a: number, b: number): void; -export function __wbg_globalstateidentifier_free(a: number): void; -export function globalstateidentifier_new(a: number): number; -export function globalstateidentifier_fromBlockHash(a: number): number; -export function globalstateidentifier_fromBlockHeight(a: number): number; -export function globalstateidentifier_fromStateRootHash(a: number): number; -export function globalstateidentifier_toJson(a: number): number; +export function __wbg_hashaddr_free(a: number): void; +export function hashaddr_new(a: number, b: number, c: number): void; +export function transferaddr_new(a: number, b: number, c: number): void; +export function __wbg_deploystrparams_free(a: number): void; +export function deploystrparams_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; +export function deploystrparams_secret_key(a: number, b: number): void; +export function deploystrparams_set_secret_key(a: number, b: number, c: number): void; +export function deploystrparams_timestamp(a: number, b: number): void; +export function deploystrparams_set_timestamp(a: number, b: number, c: number): void; +export function deploystrparams_setDefaultTimestamp(a: number): void; +export function deploystrparams_ttl(a: number, b: number): void; +export function deploystrparams_set_ttl(a: number, b: number, c: number): void; +export function deploystrparams_setDefaultTTL(a: number): void; +export function deploystrparams_chain_name(a: number, b: number): void; +export function deploystrparams_set_chain_name(a: number, b: number, c: number): void; +export function deploystrparams_session_account(a: number, b: number): void; +export function deploystrparams_set_session_account(a: number, b: number, c: number): void; +export function __wbg_paymentstrparams_free(a: number): void; +export function paymentstrparams_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number): number; +export function paymentstrparams_set_payment_amount(a: number, b: number, c: number): void; +export function paymentstrparams_set_payment_hash(a: number, b: number, c: number): void; +export function paymentstrparams_set_payment_name(a: number, b: number, c: number): void; +export function paymentstrparams_set_payment_package_hash(a: number, b: number, c: number): void; +export function paymentstrparams_set_payment_package_name(a: number, b: number, c: number): void; +export function paymentstrparams_payment_path(a: number, b: number): void; +export function paymentstrparams_set_payment_path(a: number, b: number, c: number): void; +export function paymentstrparams_payment_args_simple(a: number): number; +export function paymentstrparams_set_payment_args_simple(a: number, b: number): void; +export function paymentstrparams_payment_args_json(a: number, b: number): void; +export function paymentstrparams_set_payment_args_json(a: number, b: number, c: number): void; +export function paymentstrparams_payment_args_complex(a: number, b: number): void; +export function paymentstrparams_set_payment_args_complex(a: number, b: number, c: number): void; +export function paymentstrparams_payment_version(a: number, b: number): void; +export function paymentstrparams_set_payment_version(a: number, b: number, c: number): void; +export function paymentstrparams_payment_entry_point(a: number, b: number): void; +export function paymentstrparams_set_payment_entry_point(a: number, b: number, c: number): void; +export function __wbg_sessionstrparams_free(a: number): void; +export function sessionstrparams_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number): number; +export function sessionstrparams_set_session_hash(a: number, b: number, c: number): void; +export function sessionstrparams_set_session_name(a: number, b: number, c: number): void; +export function sessionstrparams_set_session_package_hash(a: number, b: number, c: number): void; +export function sessionstrparams_set_session_package_name(a: number, b: number, c: number): void; +export function sessionstrparams_set_session_path(a: number, b: number, c: number): void; +export function sessionstrparams_session_bytes(a: number): number; +export function sessionstrparams_set_session_bytes(a: number, b: number): void; +export function sessionstrparams_session_args_simple(a: number): number; +export function sessionstrparams_set_session_args_simple(a: number, b: number): void; +export function sessionstrparams_set_session_args_json(a: number, b: number, c: number): void; +export function sessionstrparams_set_session_args_complex(a: number, b: number, c: number): void; +export function sessionstrparams_set_session_version(a: number, b: number, c: number): void; +export function sessionstrparams_set_session_entry_point(a: number, b: number, c: number): void; +export function sessionstrparams_is_session_transfer(a: number): number; +export function sessionstrparams_set_is_session_transfer(a: number, b: number): void; +export function __wbg_signatureresponse_free(a: number): void; +export function signatureresponse_is_cancelled(a: number): number; +export function signatureresponse_get_signature_hex(a: number, b: number): void; +export function signatureresponse_get_signature(a: number, b: number): void; +export function __wbg_getbalanceresult_free(a: number): void; +export function getbalanceresult_api_version(a: number): number; +export function getbalanceresult_balance_value(a: number): number; +export function getbalanceresult_merkle_proof(a: number, b: number): void; +export function getbalanceresult_toJson(a: number): number; +export function __wbg_getbalanceoptions_free(a: number): void; +export function __wbg_get_getbalanceoptions_state_root_hash_as_string(a: number, b: number): void; +export function __wbg_set_getbalanceoptions_state_root_hash_as_string(a: number, b: number, c: number): void; +export function __wbg_get_getbalanceoptions_state_root_hash(a: number): number; +export function __wbg_set_getbalanceoptions_state_root_hash(a: number, b: number): void; +export function __wbg_get_getbalanceoptions_purse_uref_as_string(a: number, b: number): void; +export function __wbg_set_getbalanceoptions_purse_uref_as_string(a: number, b: number, c: number): void; +export function __wbg_get_getbalanceoptions_purse_uref(a: number): number; +export function __wbg_set_getbalanceoptions_purse_uref(a: number, b: number): void; +export function __wbg_get_getbalanceoptions_node_address(a: number, b: number): void; +export function __wbg_set_getbalanceoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_getbalanceoptions_verbosity(a: number): number; +export function __wbg_set_getbalanceoptions_verbosity(a: number, b: number): void; +export function sdk_get_balance_options(a: number, b: number, c: number): void; +export function sdk_get_balance(a: number, b: number): number; +export function sdk_state_get_balance(a: number, b: number): number; export function __wbg_getchainspecresult_free(a: number): void; export function getchainspecresult_api_version(a: number): number; export function getchainspecresult_chainspec_bytes(a: number): number; export function getchainspecresult_toJson(a: number): number; export function sdk_get_chainspec(a: number, b: number, c: number, d: number): number; -export function __wbg_getnodestatusresult_free(a: number): void; -export function getnodestatusresult_api_version(a: number): number; -export function getnodestatusresult_chainspec_name(a: number, b: number): void; -export function getnodestatusresult_starting_state_root_hash(a: number): number; -export function getnodestatusresult_peers(a: number): number; -export function getnodestatusresult_last_added_block_info(a: number): number; -export function getnodestatusresult_our_public_signing_key(a: number): number; -export function getnodestatusresult_round_length(a: number): number; -export function getnodestatusresult_next_upgrade(a: number): number; -export function getnodestatusresult_build_version(a: number, b: number): void; -export function getnodestatusresult_uptime(a: number): number; -export function getnodestatusresult_reactor_state(a: number): number; -export function getnodestatusresult_last_progress(a: number): number; -export function getnodestatusresult_available_block_range(a: number): number; -export function getnodestatusresult_block_sync(a: number): number; -export function getnodestatusresult_toJson(a: number): number; -export function sdk_get_node_status(a: number, b: number, c: number, d: number): number; export function __wbg_getpeersresult_free(a: number): void; export function getpeersresult_api_version(a: number): number; export function getpeersresult_peers(a: number): number; export function getpeersresult_toJson(a: number): number; export function sdk_get_peers(a: number, b: number, c: number, d: number): number; -export function __wbg_getvalidatorchangesresult_free(a: number): void; -export function getvalidatorchangesresult_api_version(a: number): number; -export function getvalidatorchangesresult_changes(a: number): number; -export function getvalidatorchangesresult_toJson(a: number): number; -export function sdk_get_validator_changes(a: number, b: number, c: number, d: number): number; +export function paymentstrparams_payment_amount(a: number, b: number): void; +export function paymentstrparams_payment_hash(a: number, b: number): void; +export function paymentstrparams_payment_name(a: number, b: number): void; +export function paymentstrparams_payment_package_hash(a: number, b: number): void; +export function paymentstrparams_payment_package_name(a: number, b: number): void; +export function sessionstrparams_session_hash(a: number, b: number): void; +export function sessionstrparams_session_name(a: number, b: number): void; +export function sessionstrparams_session_package_hash(a: number, b: number): void; +export function sessionstrparams_session_package_name(a: number, b: number): void; +export function sessionstrparams_session_path(a: number, b: number): void; +export function sessionstrparams_session_args_json(a: number, b: number): void; +export function sessionstrparams_session_args_complex(a: number, b: number): void; +export function sessionstrparams_session_version(a: number, b: number): void; +export function sessionstrparams_session_entry_point(a: number, b: number): void; +export function __wbg_transferaddr_free(a: number): void; +export function sdk_put_deploy(a: number, b: number, c: number, d: number, e: number): number; +export function sdk_account_put_deploy(a: number, b: number, c: number, d: number, e: number): number; +export function sdk_speculative_transfer(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number): number; +export function __wbg_blockidentifier_free(a: number): void; +export function blockidentifier_new(a: number): number; +export function blockidentifier_from_hash(a: number): number; +export function blockidentifier_fromHeight(a: number): number; +export function blockidentifier_toJson(a: number): number; +export function __wbg_putdeployresult_free(a: number): void; +export function putdeployresult_api_version(a: number): number; +export function putdeployresult_deploy_hash(a: number): number; +export function putdeployresult_toJson(a: number): number; +export function sdk_deploy(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number; +export function sdk_transfer(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number): number; +export function __wbg_getblocktransfersresult_free(a: number): void; +export function getblocktransfersresult_api_version(a: number): number; +export function getblocktransfersresult_block_hash(a: number): number; +export function getblocktransfersresult_transfers(a: number): number; +export function getblocktransfersresult_toJson(a: number): number; +export function __wbg_getblocktransfersoptions_free(a: number): void; +export function __wbg_get_getblocktransfersoptions_maybe_block_id_as_string(a: number, b: number): void; +export function __wbg_set_getblocktransfersoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; +export function __wbg_get_getblocktransfersoptions_maybe_block_identifier(a: number): number; +export function __wbg_set_getblocktransfersoptions_maybe_block_identifier(a: number, b: number): void; +export function __wbg_get_getblocktransfersoptions_verbosity(a: number): number; +export function __wbg_set_getblocktransfersoptions_verbosity(a: number, b: number): void; +export function __wbg_get_getblocktransfersoptions_node_address(a: number, b: number): void; +export function __wbg_set_getblocktransfersoptions_node_address(a: number, b: number, c: number): void; +export function sdk_get_block_transfers_options(a: number, b: number, c: number): void; +export function sdk_get_block_transfers(a: number, b: number): number; export function __wbg_listrpcsresult_free(a: number): void; export function listrpcsresult_api_version(a: number): number; export function listrpcsresult_name(a: number, b: number): void; export function listrpcsresult_schema(a: number): number; export function listrpcsresult_toJson(a: number): number; export function sdk_list_rpcs(a: number, b: number, c: number, d: number): number; -export function sdk_install(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number; +export function __wbg_querybalanceresult_free(a: number): void; +export function querybalanceresult_api_version(a: number): number; +export function querybalanceresult_balance(a: number): number; +export function querybalanceresult_toJson(a: number): number; +export function __wbg_querybalanceoptions_free(a: number): void; +export function __wbg_get_querybalanceoptions_purse_identifier_as_string(a: number, b: number): void; +export function __wbg_set_querybalanceoptions_purse_identifier_as_string(a: number, b: number, c: number): void; +export function __wbg_get_querybalanceoptions_purse_identifier(a: number): number; +export function __wbg_set_querybalanceoptions_purse_identifier(a: number, b: number): void; +export function __wbg_get_querybalanceoptions_global_state_identifier(a: number): number; +export function __wbg_set_querybalanceoptions_global_state_identifier(a: number, b: number): void; +export function __wbg_get_querybalanceoptions_state_root_hash_as_string(a: number, b: number): void; +export function __wbg_set_querybalanceoptions_state_root_hash_as_string(a: number, b: number, c: number): void; +export function __wbg_get_querybalanceoptions_state_root_hash(a: number): number; +export function __wbg_set_querybalanceoptions_state_root_hash(a: number, b: number): void; +export function __wbg_get_querybalanceoptions_maybe_block_id_as_string(a: number, b: number): void; +export function __wbg_set_querybalanceoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; +export function __wbg_get_querybalanceoptions_node_address(a: number, b: number): void; +export function __wbg_set_querybalanceoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_querybalanceoptions_verbosity(a: number): number; +export function __wbg_set_querybalanceoptions_verbosity(a: number, b: number): void; +export function sdk_query_balance_options(a: number, b: number, c: number): void; +export function sdk_query_balance(a: number, b: number): number; +export function sdk_call_entrypoint(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number; +export function __wbg_accounthash_free(a: number): void; +export function accounthash_new_js_alias(a: number, b: number, c: number): void; +export function accounthash_fromFormattedStr(a: number, b: number, c: number): void; +export function accounthash_fromPublicKey(a: number): number; +export function accounthash_toFormattedString(a: number, b: number): void; +export function accounthash_toHexString(a: number, b: number): void; +export function accounthash_fromUint8Array(a: number, b: number): number; +export function accounthash_toJson(a: number): number; +export function __wbg_accountidentifier_free(a: number): void; +export function accountidentifier_fromFormattedStr(a: number, b: number, c: number): void; +export function accountidentifier_fromPublicKey(a: number): number; +export function accountidentifier_fromAccountHash(a: number): number; +export function accountidentifier_toJson(a: number): number; +export function publickey_new_js_alias(a: number, b: number, c: number): void; +export function publickey_fromUint8Array(a: number, b: number, c: number): void; +export function publickey_toAccountHash(a: number): number; +export function publickey_toPurseUref(a: number): number; +export function publickey_toJson(a: number): number; +export function __wbg_uref_free(a: number): void; +export function uref_new_js_alias(a: number, b: number, c: number, d: number): void; +export function uref_fromFormattedStr(a: number, b: number, c: number): void; +export function uref_fromUint8Array(a: number, b: number, c: number): number; +export function uref_toFormattedString(a: number, b: number): void; +export function uref_toJson(a: number): number; export function sdk_speculative_deploy(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; -export function sdk_speculative_transfer(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number): number; -export function __wbg_intounderlyingsink_free(a: number): void; -export function intounderlyingsink_write(a: number, b: number): number; -export function intounderlyingsink_close(a: number): number; -export function intounderlyingsink_abort(a: number, b: number): number; +export function hexToString(a: number, b: number, c: number): void; +export function hexToUint8Array(a: number, b: number, c: number): void; +export function uint8ArrayToBytes(a: number): number; +export function motesToCSPR(a: number, b: number, c: number): void; +export function jsonPrettyPrint(a: number, b: number, c: number): void; +export function publicKeyFromSecretKey(a: number, b: number, c: number): void; +export function generateSecretKey(a: number): void; +export function generateSecretKey_secp256k1(a: number): void; +export function accountHashToBase64Key(a: number, b: number, c: number): void; +export function getTimestamp(): number; +export function encodeLowerBlake2b(a: number, b: number): number; +export function makeDictionaryItemKey(a: number, b: number, c: number, d: number): void; +export function accountidentifier_new(a: number, b: number, c: number): void; +export function __wbg_publickey_free(a: number): void; +export function urefaddr_new(a: number, b: number, c: number): void; +export function __wbg_bytes_free(a: number): void; +export function bytes_new(): number; +export function bytes_fromUint8Array(a: number): number; +export function __wbg_contracthash_free(a: number): void; +export function contracthash_new_js_alias(a: number, b: number, c: number): void; +export function contracthash_fromFormattedStr(a: number, b: number, c: number): void; +export function contracthash_toFormattedString(a: number, b: number): void; +export function contracthash_fromUint8Array(a: number, b: number): number; +export function __wbg_deploy_free(a: number): void; +export function deploy_new(a: number): number; +export function deploy_toJson(a: number): number; +export function deploy_withPaymentAndSession(a: number, b: number, c: number, d: number): void; +export function deploy_withTransfer(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): void; +export function deploy_withTTL(a: number, b: number, c: number, d: number, e: number): number; +export function deploy_withTimestamp(a: number, b: number, c: number, d: number, e: number): number; +export function deploy_withChainName(a: number, b: number, c: number, d: number, e: number): number; +export function deploy_withAccount(a: number, b: number, c: number, d: number): number; +export function deploy_withEntryPointName(a: number, b: number, c: number, d: number, e: number): number; +export function deploy_withHash(a: number, b: number, c: number, d: number): number; +export function deploy_withPackageHash(a: number, b: number, c: number, d: number): number; +export function deploy_withModuleBytes(a: number, b: number, c: number, d: number): number; +export function deploy_withSecretKey(a: number, b: number, c: number): number; +export function deploy_withStandardPayment(a: number, b: number, c: number, d: number, e: number): number; +export function deploy_withPayment(a: number, b: number, c: number, d: number): number; +export function deploy_withSession(a: number, b: number, c: number, d: number): number; +export function deploy_validateDeploySize(a: number): number; +export function deploy_hash(a: number): number; +export function deploy_sign(a: number, b: number, c: number): number; +export function deploy_addSignature(a: number, b: number, c: number, d: number, e: number): number; +export function deploy_TTL(a: number, b: number): void; +export function deploy_timestamp(a: number, b: number): void; +export function deploy_chainName(a: number, b: number): void; +export function deploy_account(a: number, b: number): void; +export function deploy_args(a: number): number; +export function deploy_addArg(a: number, b: number, c: number, d: number, e: number): void; +export function __wbg_dictionaryitemstrparams_free(a: number): void; +export function dictionaryitemstrparams_new(): number; +export function dictionaryitemstrparams_setAccountNamedKey(a: number, b: number, c: number, d: number, e: number, f: number, g: number): void; +export function dictionaryitemstrparams_setContractNamedKey(a: number, b: number, c: number, d: number, e: number, f: number, g: number): void; +export function dictionaryitemstrparams_setUref(a: number, b: number, c: number, d: number, e: number): void; +export function dictionaryitemstrparams_setDictionary(a: number, b: number, c: number): void; +export function dictionaryitemstrparams_toJson(a: number): number; +export function __wbg_getdeployresult_free(a: number): void; +export function getdeployresult_api_version(a: number): number; +export function getdeployresult_deploy(a: number): number; +export function getdeployresult_toJson(a: number): number; +export function __wbg_getdeployoptions_free(a: number): void; +export function __wbg_get_getdeployoptions_deploy_hash_as_string(a: number, b: number): void; +export function __wbg_set_getdeployoptions_deploy_hash_as_string(a: number, b: number, c: number): void; +export function __wbg_get_getdeployoptions_deploy_hash(a: number): number; +export function __wbg_set_getdeployoptions_deploy_hash(a: number, b: number): void; +export function __wbg_get_getdeployoptions_finalized_approvals(a: number): number; +export function __wbg_set_getdeployoptions_finalized_approvals(a: number, b: number): void; +export function __wbg_get_getdeployoptions_node_address(a: number, b: number): void; +export function __wbg_set_getdeployoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_getdeployoptions_verbosity(a: number): number; +export function __wbg_set_getdeployoptions_verbosity(a: number, b: number): void; +export function sdk_get_deploy_options(a: number, b: number, c: number): void; +export function sdk_get_deploy(a: number, b: number): number; +export function sdk_info_get_deploy(a: number, b: number): number; +export function __wbg_getvalidatorchangesresult_free(a: number): void; +export function getvalidatorchangesresult_api_version(a: number): number; +export function getvalidatorchangesresult_changes(a: number): number; +export function getvalidatorchangesresult_toJson(a: number): number; +export function sdk_get_validator_changes(a: number, b: number, c: number, d: number): number; +export function __wbg_speculativeexecresult_free(a: number): void; +export function speculativeexecresult_api_version(a: number): number; +export function speculativeexecresult_block_hash(a: number): number; +export function speculativeexecresult_execution_result(a: number): number; +export function speculativeexecresult_toJson(a: number): number; +export function __wbg_getspeculativeexecoptions_free(a: number): void; +export function __wbg_get_getspeculativeexecoptions_deploy_as_string(a: number, b: number): void; +export function __wbg_set_getspeculativeexecoptions_deploy_as_string(a: number, b: number, c: number): void; +export function __wbg_get_getspeculativeexecoptions_deploy(a: number): number; +export function __wbg_set_getspeculativeexecoptions_deploy(a: number, b: number): void; +export function __wbg_get_getspeculativeexecoptions_maybe_block_id_as_string(a: number, b: number): void; +export function __wbg_set_getspeculativeexecoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; +export function __wbg_get_getspeculativeexecoptions_maybe_block_identifier(a: number): number; +export function __wbg_set_getspeculativeexecoptions_maybe_block_identifier(a: number, b: number): void; +export function __wbg_get_getspeculativeexecoptions_node_address(a: number, b: number): void; +export function __wbg_set_getspeculativeexecoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_getspeculativeexecoptions_verbosity(a: number): number; +export function __wbg_set_getspeculativeexecoptions_verbosity(a: number, b: number): void; +export function sdk_get_speculative_exec_options(a: number, b: number, c: number): void; +export function sdk_speculative_exec(a: number, b: number): number; +export function __wbg_querycontractdictoptions_free(a: number): void; +export function __wbg_get_querycontractdictoptions_state_root_hash_as_string(a: number, b: number): void; +export function __wbg_set_querycontractdictoptions_state_root_hash_as_string(a: number, b: number, c: number): void; +export function __wbg_get_querycontractdictoptions_state_root_hash(a: number): number; +export function __wbg_set_querycontractdictoptions_state_root_hash(a: number, b: number): void; +export function __wbg_get_querycontractdictoptions_dictionary_item_params(a: number): number; +export function __wbg_set_querycontractdictoptions_dictionary_item_params(a: number, b: number): void; +export function __wbg_get_querycontractdictoptions_dictionary_item_identifier(a: number): number; +export function __wbg_set_querycontractdictoptions_dictionary_item_identifier(a: number, b: number): void; +export function __wbg_get_querycontractdictoptions_node_address(a: number, b: number): void; +export function __wbg_set_querycontractdictoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_querycontractdictoptions_verbosity(a: number): number; +export function __wbg_set_querycontractdictoptions_verbosity(a: number, b: number): void; +export function sdk_query_contract_dict_options(a: number, b: number, c: number): void; +export function sdk_query_contract_dict(a: number, b: number): number; +export function __wbg_sdk_free(a: number): void; +export function sdk_new(a: number, b: number, c: number): number; +export function sdk_getNodeAddress(a: number, b: number, c: number, d: number): void; +export function sdk_setNodeAddress(a: number, b: number, c: number, d: number): void; +export function sdk_getVerbosity(a: number, b: number): number; +export function sdk_setVerbosity(a: number, b: number, c: number): void; +export function __wbg_urefaddr_free(a: number): void; +export function sdk_install(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number; export function __wbg_intounderlyingsource_free(a: number): void; export function intounderlyingsource_pull(a: number, b: number): number; export function intounderlyingsource_cancel(a: number): void; @@ -674,12 +670,16 @@ export function intounderlyingbytesource_autoAllocateChunkSize(a: number): numbe export function intounderlyingbytesource_start(a: number, b: number): void; export function intounderlyingbytesource_pull(a: number, b: number): number; export function intounderlyingbytesource_cancel(a: number): void; +export function __wbg_intounderlyingsink_free(a: number): void; +export function intounderlyingsink_write(a: number, b: number): number; +export function intounderlyingsink_close(a: number): number; +export function intounderlyingsink_abort(a: number, b: number): number; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf18b011da91a71a4(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h828ea3939073e4cd(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0d84a86fb8ccef8f(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h371b80b3de9ca300(a: number, b: number, c: number): void; export function __wbindgen_add_to_stack_pointer(a: number): number; export function __wbindgen_free(a: number, b: number, c: number): void; export function __wbindgen_exn_store(a: number): void; -export function wasm_bindgen__convert__closures__invoke2_mut__h232935261d0e3333(a: number, b: number, c: number, d: number): void; +export function wasm_bindgen__convert__closures__invoke2_mut__h5ff82a3ec25de97a(a: number, b: number, c: number, d: number): void; diff --git a/pkg/casper_rust_wasm_sdk.d.ts b/pkg/casper_rust_wasm_sdk.d.ts index 7ca5b1425..92a935d1e 100644 --- a/pkg/casper_rust_wasm_sdk.d.ts +++ b/pkg/casper_rust_wasm_sdk.d.ts @@ -1788,182 +1788,140 @@ export class QueryGlobalStateResult { export class SDK { free(): void; /** -* JavaScript alias for deploying with deserialized parameters. -* -* # Arguments -* -* * `deploy_params` - Deploy parameters. -* * `session_params` - Session parameters. -* * `payment_params` - Payment parameters. -* * `verbosity` - An optional verbosity level. -* * `node_address` - An optional node address. -* -* # Returns -* -* A result containing PutDeployResult or a JsError. -* @param {DeployStrParams} deploy_params -* @param {SessionStrParams} session_params -* @param {PaymentStrParams} payment_params -* @param {Verbosity | undefined} [verbosity] -* @param {string | undefined} [node_address] -* @returns {Promise} -*/ - deploy(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_params: PaymentStrParams, verbosity?: Verbosity, node_address?: string): Promise; -/** -* Parses balance options from a JsValue. +* Parses auction info options from a JsValue. * * # Arguments * -* * `options` - A JsValue containing balance options to be parsed. +* * `options` - A JsValue containing auction info options to be parsed. * * # Returns * -* Parsed balance options as a `GetBalanceOptions` struct. +* Result containing parsed auction info options as a `GetAuctionInfoOptions` struct, +* or a `JsError` if deserialization fails. * @param {any} options -* @returns {getBalanceOptions} +* @returns {getAuctionInfoOptions} */ - get_balance_options(options: any): getBalanceOptions; + get_auction_info_options(options: any): getAuctionInfoOptions; /** -* Retrieves balance information using the provided options. +* Retrieves auction information using the provided options. * * # Arguments * -* * `options` - An optional `GetBalanceOptions` struct containing retrieval options. +* * `options` - An optional `GetAuctionInfoOptions` struct containing retrieval options. * * # Returns * -* A `Result` containing either a `GetBalanceResult` or a `JsError` in case of an error. +* A `Result` containing either a `GetAuctionInfoResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. -* @param {getBalanceOptions | undefined} [options] -* @returns {Promise} -*/ - get_balance(options?: getBalanceOptions): Promise; -/** -* JS Alias for `get_balance_js_alias`. -* -* # Arguments -* -* * `options` - An optional `GetBalanceOptions` struct containing retrieval options. -* -* # Returns -* -* A `Result` containing either a `GetBalanceResult` or a `JsError` in case of an error. -* @param {getBalanceOptions | undefined} [options] -* @returns {Promise} +* @param {getAuctionInfoOptions | undefined} [options] +* @returns {Promise} */ - state_get_balance(options?: getBalanceOptions): Promise; + get_auction_info(options?: getAuctionInfoOptions): Promise; /** -* Parses era summary options from a JsValue. +* Parses dictionary item options from a JsValue. * * # Arguments * -* * `options` - A JsValue containing era summary options to be parsed. +* * `options` - A JsValue containing dictionary item options to be parsed. * * # Returns * -* Parsed era summary options as a `GetEraSummaryOptions` struct. +* Parsed dictionary item options as a `GetDictionaryItemOptions` struct. * @param {any} options -* @returns {getEraSummaryOptions} +* @returns {getDictionaryItemOptions} */ - get_era_summary_options(options: any): getEraSummaryOptions; + get_dictionary_item_options(options: any): getDictionaryItemOptions; /** -* Retrieves era summary information using the provided options. +* Retrieves dictionary item information using the provided options. * * # Arguments * -* * `options` - An optional `GetEraSummaryOptions` struct containing retrieval options. +* * `options` - An optional `GetDictionaryItemOptions` struct containing retrieval options. * * # Returns * -* A `Result` containing either a `GetEraSummaryResult` or a `JsError` in case of an error. +* A `Result` containing either a `GetDictionaryItemResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. -* @param {getEraSummaryOptions | undefined} [options] -* @returns {Promise} +* @param {getDictionaryItemOptions | undefined} [options] +* @returns {Promise} */ - get_era_summary(options?: getEraSummaryOptions): Promise; + get_dictionary_item(options?: getDictionaryItemOptions): Promise; +/** +* JS Alias for `get_dictionary_item_js_alias` +* @param {getDictionaryItemOptions | undefined} [options] +* @returns {Promise} +*/ + state_get_dictionary_item(options?: getDictionaryItemOptions): Promise; /** -* Parses query global state options from a JsValue. -* -* # Arguments -* -* * `options` - A JsValue containing query global state options to be parsed. -* -* # Returns -* -* Parsed query global state options as a `QueryGlobalStateOptions` struct. * @param {any} options -* @returns {queryGlobalStateOptions} +* @returns {getEraInfoOptions} */ - query_global_state_options(options: any): queryGlobalStateOptions; + get_era_info_options(options: any): getEraInfoOptions; /** -* Retrieves global state information using the provided options. +* @param {getEraInfoOptions | undefined} [options] +* @returns {Promise} +*/ + get_era_info(options?: getEraInfoOptions): Promise; +/** +* Retrieves node status information using the provided options. * * # Arguments * -* * `options` - An optional `QueryGlobalStateOptions` struct containing retrieval options. +* * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. +* * `node_address` - An optional string specifying the node address to use for the request. * * # Returns * -* A `Result` containing either a `QueryGlobalStateResult` or a `JsError` in case of an error. +* A `Result` containing either a `GetNodeStatusResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. -* @param {queryGlobalStateOptions | undefined} [options] -* @returns {Promise} -*/ - query_global_state(options?: queryGlobalStateOptions): Promise; -/** -* Deserialize query_contract_key_options from a JavaScript object. -* @param {any} options -* @returns {queryContractKeyOptions} -*/ - query_contract_key_options(options: any): queryContractKeyOptions; -/** -* JavaScript alias for query_contract_key with deserialized options. -* @param {queryContractKeyOptions | undefined} [options] -* @returns {Promise} +* @param {Verbosity | undefined} [verbosity] +* @param {string | undefined} [node_address] +* @returns {Promise} */ - query_contract_key(options?: queryContractKeyOptions): Promise; + get_node_status(verbosity?: Verbosity, node_address?: string): Promise; /** -* Parses auction info options from a JsValue. +* JS Alias for `make_deploy`. * * # Arguments * -* * `options` - A JsValue containing auction info options to be parsed. +* * `deploy_params` - The deploy parameters. +* * `session_params` - The session parameters. +* * `payment_params` - The payment parameters. * * # Returns * -* Result containing parsed auction info options as a `GetAuctionInfoOptions` struct, -* or a `JsError` if deserialization fails. -* @param {any} options -* @returns {getAuctionInfoOptions} +* A `Result` containing the created `Deploy` or a `JsError` in case of an error. +* @param {DeployStrParams} deploy_params +* @param {SessionStrParams} session_params +* @param {PaymentStrParams} payment_params +* @returns {Deploy} */ - get_auction_info_options(options: any): getAuctionInfoOptions; + make_deploy(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_params: PaymentStrParams): Deploy; /** -* Retrieves auction information using the provided options. +* JS Alias for `sign_deploy`. * * # Arguments * -* * `options` - An optional `GetAuctionInfoOptions` struct containing retrieval options. +* * `deploy` - The deploy to sign. +* * `secret_key` - The secret key for signing. * * # Returns * -* A `Result` containing either a `GetAuctionInfoResult` or a `JsError` in case of an error. -* -* # Errors -* -* Returns a `JsError` if there is an error during the retrieval process. -* @param {getAuctionInfoOptions | undefined} [options] -* @returns {Promise} +* The signed `Deploy`. +* @param {Deploy} deploy +* @param {string} secret_key +* @returns {Deploy} */ - get_auction_info(options?: getAuctionInfoOptions): Promise; + sign_deploy(deploy: Deploy, secret_key: string): Deploy; /** * Parses block options from a JsValue. * @@ -2015,258 +1973,69 @@ export class SDK { */ chain_get_block(options?: getBlockOptions): Promise; /** -* Parses dictionary item options from a JsValue. +* Parses era summary options from a JsValue. * * # Arguments * -* * `options` - A JsValue containing dictionary item options to be parsed. +* * `options` - A JsValue containing era summary options to be parsed. * * # Returns * -* Parsed dictionary item options as a `GetDictionaryItemOptions` struct. +* Parsed era summary options as a `GetEraSummaryOptions` struct. * @param {any} options -* @returns {getDictionaryItemOptions} +* @returns {getEraSummaryOptions} */ - get_dictionary_item_options(options: any): getDictionaryItemOptions; + get_era_summary_options(options: any): getEraSummaryOptions; /** -* Retrieves dictionary item information using the provided options. +* Retrieves era summary information using the provided options. * * # Arguments * -* * `options` - An optional `GetDictionaryItemOptions` struct containing retrieval options. +* * `options` - An optional `GetEraSummaryOptions` struct containing retrieval options. * * # Returns * -* A `Result` containing either a `GetDictionaryItemResult` or a `JsError` in case of an error. +* A `Result` containing either a `GetEraSummaryResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. -* @param {getDictionaryItemOptions | undefined} [options] -* @returns {Promise} -*/ - get_dictionary_item(options?: getDictionaryItemOptions): Promise; -/** -* JS Alias for `get_dictionary_item_js_alias` -* @param {getDictionaryItemOptions | undefined} [options] -* @returns {Promise} -*/ - state_get_dictionary_item(options?: getDictionaryItemOptions): Promise; -/** -* @param {any} options -* @returns {getEraInfoOptions} -*/ - get_era_info_options(options: any): getEraInfoOptions; -/** -* @param {getEraInfoOptions | undefined} [options] -* @returns {Promise} +* @param {getEraSummaryOptions | undefined} [options] +* @returns {Promise} */ - get_era_info(options?: getEraInfoOptions): Promise; + get_era_summary(options?: getEraSummaryOptions): Promise; /** -* JS Alias for `make_deploy`. +* Parses query global state options from a JsValue. * * # Arguments * -* * `deploy_params` - The deploy parameters. -* * `session_params` - The session parameters. -* * `payment_params` - The payment parameters. +* * `options` - A JsValue containing query global state options to be parsed. * * # Returns * -* A `Result` containing the created `Deploy` or a `JsError` in case of an error. -* @param {DeployStrParams} deploy_params -* @param {SessionStrParams} session_params -* @param {PaymentStrParams} payment_params -* @returns {Deploy} +* Parsed query global state options as a `QueryGlobalStateOptions` struct. +* @param {any} options +* @returns {queryGlobalStateOptions} */ - make_deploy(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_params: PaymentStrParams): Deploy; + query_global_state_options(options: any): queryGlobalStateOptions; /** -* Calls a smart contract entry point with the specified parameters and returns the result. +* Retrieves global state information using the provided options. * * # Arguments * -* * `deploy_params` - The deploy parameters. -* * `session_params` - The session parameters. -* * `payment_amount` - The payment amount as a string. -* * `node_address` - An optional node address to send the request to. +* * `options` - An optional `QueryGlobalStateOptions` struct containing retrieval options. * * # Returns * -* A `Result` containing either a `PutDeployResult` or a `JsError` in case of an error. +* A `Result` containing either a `QueryGlobalStateResult` or a `JsError` in case of an error. * * # Errors * -* Returns a `JsError` if there is an error during the call. -* @param {DeployStrParams} deploy_params -* @param {SessionStrParams} session_params -* @param {string} payment_amount -* @param {string | undefined} [node_address] -* @returns {Promise} +* Returns a `JsError` if there is an error during the retrieval process. +* @param {queryGlobalStateOptions | undefined} [options] +* @returns {Promise} */ - call_entrypoint(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_amount: string, node_address?: string): Promise; -/** -* JS Alias for transferring funds. -* -* # Arguments -* -* * `amount` - The amount to transfer. -* * `target_account` - The target account. -* * `transfer_id` - An optional transfer ID (defaults to a random number). -* * `deploy_params` - The deployment parameters. -* * `payment_params` - The payment parameters. -* * `verbosity` - The verbosity level for logging (optional). -* * `node_address` - The address of the node to connect to (optional). -* -* # Returns -* -* A `Result` containing the result of the transfer or a `JsError` in case of an error. -* @param {string} amount -* @param {string} target_account -* @param {string | undefined} transfer_id -* @param {DeployStrParams} deploy_params -* @param {PaymentStrParams} payment_params -* @param {Verbosity | undefined} [verbosity] -* @param {string | undefined} [node_address] -* @returns {Promise} -*/ - transfer(amount: string, target_account: string, transfer_id: string | undefined, deploy_params: DeployStrParams, payment_params: PaymentStrParams, verbosity?: Verbosity, node_address?: string): Promise; -/** -* Parses deploy options from a JsValue. -* -* # Arguments -* -* * `options` - A JsValue containing deploy options to be parsed. -* -* # Returns -* -* Parsed deploy options as a `GetDeployOptions` struct. -* @param {any} options -* @returns {getDeployOptions} -*/ - get_deploy_options(options: any): getDeployOptions; -/** -* Retrieves deploy information using the provided options. -* -* # Arguments -* -* * `options` - An optional `GetDeployOptions` struct containing retrieval options. -* -* # Returns -* -* A `Result` containing either a `GetDeployResult` or an error. -* @param {getDeployOptions | undefined} [options] -* @returns {Promise} -*/ - get_deploy(options?: getDeployOptions): Promise; -/** -* Retrieves deploy information using the provided options, alias for `get_deploy_js_alias`. -* @param {getDeployOptions | undefined} [options] -* @returns {Promise} -*/ - info_get_deploy(options?: getDeployOptions): Promise; -/** -* Get options for speculative execution from a JavaScript value. -* @param {any} options -* @returns {getSpeculativeExecOptions} -*/ - get_speculative_exec_options(options: any): getSpeculativeExecOptions; -/** -* JS Alias for speculative execution. -* -* # Arguments -* -* * `options` - The options for speculative execution. -* -* # Returns -* -* A `Result` containing the result of the speculative execution or a `JsError` in case of an error. -* @param {getSpeculativeExecOptions | undefined} [options] -* @returns {Promise} -*/ - speculative_exec(options?: getSpeculativeExecOptions): Promise; -/** -* JS Alias for `sign_deploy`. -* -* # Arguments -* -* * `deploy` - The deploy to sign. -* * `secret_key` - The secret key for signing. -* -* # Returns -* -* The signed `Deploy`. -* @param {Deploy} deploy -* @param {string} secret_key -* @returns {Deploy} -*/ - sign_deploy(deploy: Deploy, secret_key: string): Deploy; -/** -* Deserialize query_contract_dict_options from a JavaScript object. -* @param {any} options -* @returns {queryContractDictOptions} -*/ - query_contract_dict_options(options: any): queryContractDictOptions; -/** -* JavaScript alias for query_contract_dict with deserialized options. -* @param {queryContractDictOptions | undefined} [options] -* @returns {Promise} -*/ - query_contract_dict(options?: queryContractDictOptions): Promise; -/** -* @param {string | undefined} [node_address] -* @param {Verbosity | undefined} [verbosity] -*/ - constructor(node_address?: string, verbosity?: Verbosity); -/** -* @param {string | undefined} [node_address] -* @returns {string} -*/ - getNodeAddress(node_address?: string): string; -/** -* @param {string | undefined} [node_address] -*/ - setNodeAddress(node_address?: string): void; -/** -* @param {Verbosity | undefined} [verbosity] -* @returns {Verbosity} -*/ - getVerbosity(verbosity?: Verbosity): Verbosity; -/** -* @param {Verbosity | undefined} [verbosity] -*/ - setVerbosity(verbosity?: Verbosity): void; -/** -* Puts a deploy using the provided options. -* -* # Arguments -* -* * `deploy` - The `Deploy` object to be sent. -* * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. -* * `node_address` - An optional string specifying the node address to use for the request. -* -* # Returns -* -* A `Result` containing either a `PutDeployResult` or a `JsError` in case of an error. -* -* # Errors -* -* Returns a `JsError` if there is an error during the deploy process. -* @param {Deploy} deploy -* @param {Verbosity | undefined} [verbosity] -* @param {string | undefined} [node_address] -* @returns {Promise} -*/ - put_deploy(deploy: Deploy, verbosity?: Verbosity, node_address?: string): Promise; -/** -* JS Alias for `put_deploy_js_alias`. -* -* This function provides an alternative name for `put_deploy_js_alias`. -* @param {Deploy} deploy -* @param {Verbosity | undefined} [verbosity] -* @param {string | undefined} [node_address] -* @returns {Promise} -*/ - account_put_deploy(deploy: Deploy, verbosity?: Verbosity, node_address?: string): Promise; + query_global_state(options?: queryGlobalStateOptions): Promise; /** * @param {any} options * @returns {getAccountOptions} @@ -2283,38 +2052,6 @@ export class SDK { */ state_get_account_info(options?: getAccountOptions): Promise; /** -* Parses block transfers options from a JsValue. -* -* # Arguments -* -* * `options` - A JsValue containing block transfers options to be parsed. -* -* # Returns -* -* Parsed block transfers options as a `GetBlockTransfersOptions` struct. -* @param {any} options -* @returns {getBlockTransfersOptions} -*/ - get_block_transfers_options(options: any): getBlockTransfersOptions; -/** -* Retrieves block transfers information using the provided options. -* -* # Arguments -* -* * `options` - An optional `GetBlockTransfersOptions` struct containing retrieval options. -* -* # Returns -* -* A `Result` containing either a `GetBlockTransfersResult` or a `JsError` in case of an error. -* -* # Errors -* -* Returns a `JsError` if there is an error during the retrieval process. -* @param {getBlockTransfersOptions | undefined} [options] -* @returns {Promise} -*/ - get_block_transfers(options?: getBlockTransfersOptions): Promise; -/** * Parses state root hash options from a JsValue. * * # Arguments @@ -2365,38 +2102,6 @@ export class SDK { */ chain_get_state_root_hash(options?: getStateRootHashOptions): Promise; /** -* Parses query balance options from a JsValue. -* -* # Arguments -* -* * `options` - A JsValue containing query balance options to be parsed. -* -* # Returns -* -* Parsed query balance options as a `QueryBalanceOptions` struct. -* @param {any} options -* @returns {queryBalanceOptions} -*/ - query_balance_options(options: any): queryBalanceOptions; -/** -* Retrieves balance information using the provided options. -* -* # Arguments -* -* * `options` - An optional `QueryBalanceOptions` struct containing retrieval options. -* -* # Returns -* -* A `Result` containing either a `QueryBalanceResult` or a `JsError` in case of an error. -* -* # Errors -* -* Returns a `JsError` if there is an error during the retrieval process. -* @param {queryBalanceOptions | undefined} [options] -* @returns {Promise} -*/ - query_balance(options?: queryBalanceOptions): Promise; -/** * JS Alias for `make_transfer`. * * # Arguments @@ -2453,48 +2158,86 @@ export class SDK { */ waitDeploy(events_url: string, deploy_hash: string, timeout_duration?: number): Promise>; /** -* Asynchronously retrieves the chainspec. +* Deserialize query_contract_key_options from a JavaScript object. +* @param {any} options +* @returns {queryContractKeyOptions} +*/ + query_contract_key_options(options: any): queryContractKeyOptions; +/** +* JavaScript alias for query_contract_key with deserialized options. +* @param {queryContractKeyOptions | undefined} [options] +* @returns {Promise} +*/ + query_contract_key(options?: queryContractKeyOptions): Promise; +/** +* Parses balance options from a JsValue. * * # Arguments * -* * `verbosity` - An optional `Verbosity` parameter. -* * `node_address` - An optional node address as a string. +* * `options` - A JsValue containing balance options to be parsed. * * # Returns * -* A `Result` containing either a `GetChainspecResult` or a `JsError` in case of an error. -* @param {Verbosity | undefined} [verbosity] -* @param {string | undefined} [node_address] -* @returns {Promise} +* Parsed balance options as a `GetBalanceOptions` struct. +* @param {any} options +* @returns {getBalanceOptions} */ - get_chainspec(verbosity?: Verbosity, node_address?: string): Promise; + get_balance_options(options: any): getBalanceOptions; /** -* Retrieves node status information using the provided options. +* Retrieves balance information using the provided options. * * # Arguments * -* * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. -* * `node_address` - An optional string specifying the node address to use for the request. +* * `options` - An optional `GetBalanceOptions` struct containing retrieval options. * * # Returns * -* A `Result` containing either a `GetNodeStatusResult` or a `JsError` in case of an error. +* A `Result` containing either a `GetBalanceResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. -* @param {Verbosity | undefined} [verbosity] -* @param {string | undefined} [node_address] -* @returns {Promise} +* @param {getBalanceOptions | undefined} [options] +* @returns {Promise} */ - get_node_status(verbosity?: Verbosity, node_address?: string): Promise; + get_balance(options?: getBalanceOptions): Promise; /** -* Retrieves peers asynchronously. +* JS Alias for `get_balance_js_alias`. * * # Arguments * -* * `verbosity` - Optional verbosity level. -* * `node_address` - Optional node address. +* * `options` - An optional `GetBalanceOptions` struct containing retrieval options. +* +* # Returns +* +* A `Result` containing either a `GetBalanceResult` or a `JsError` in case of an error. +* @param {getBalanceOptions | undefined} [options] +* @returns {Promise} +*/ + state_get_balance(options?: getBalanceOptions): Promise; +/** +* Asynchronously retrieves the chainspec. +* +* # Arguments +* +* * `verbosity` - An optional `Verbosity` parameter. +* * `node_address` - An optional node address as a string. +* +* # Returns +* +* A `Result` containing either a `GetChainspecResult` or a `JsError` in case of an error. +* @param {Verbosity | undefined} [verbosity] +* @param {string | undefined} [node_address] +* @returns {Promise} +*/ + get_chainspec(verbosity?: Verbosity, node_address?: string): Promise; +/** +* Retrieves peers asynchronously. +* +* # Arguments +* +* * `verbosity` - Optional verbosity level. +* * `node_address` - Optional node address. * * # Returns * @@ -2505,25 +2248,147 @@ export class SDK { */ get_peers(verbosity?: Verbosity, node_address?: string): Promise; /** -* Retrieves validator changes using the provided options. +* Puts a deploy using the provided options. * * # Arguments * +* * `deploy` - The `Deploy` object to be sent. * * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. * * `node_address` - An optional string specifying the node address to use for the request. * * # Returns * -* A `Result` containing either a `GetValidatorChangesResult` or a `JsError` in case of an error. +* A `Result` containing either a `PutDeployResult` or a `JsError` in case of an error. * * # Errors * -* Returns a `JsError` if there is an error during the retrieval process. +* Returns a `JsError` if there is an error during the deploy process. +* @param {Deploy} deploy * @param {Verbosity | undefined} [verbosity] * @param {string | undefined} [node_address] -* @returns {Promise} +* @returns {Promise} */ - get_validator_changes(verbosity?: Verbosity, node_address?: string): Promise; + put_deploy(deploy: Deploy, verbosity?: Verbosity, node_address?: string): Promise; +/** +* JS Alias for `put_deploy_js_alias`. +* +* This function provides an alternative name for `put_deploy_js_alias`. +* @param {Deploy} deploy +* @param {Verbosity | undefined} [verbosity] +* @param {string | undefined} [node_address] +* @returns {Promise} +*/ + account_put_deploy(deploy: Deploy, verbosity?: Verbosity, node_address?: string): Promise; +/** +* JS Alias for speculative transfer. +* +* # Arguments +* +* * `amount` - The amount to transfer. +* * `target_account` - The target account. +* * `transfer_id` - An optional transfer ID (defaults to a random number). +* * `deploy_params` - The deployment parameters. +* * `payment_params` - The payment parameters. +* * `maybe_block_id_as_string` - An optional block ID as a string. +* * `maybe_block_identifier` - An optional block identifier. +* * `verbosity` - The verbosity level for logging (optional). +* * `node_address` - The address of the node to connect to (optional). +* +* # Returns +* +* A `Result` containing the result of the speculative transfer or a `JsError` in case of an error. +* @param {string} amount +* @param {string} target_account +* @param {string | undefined} transfer_id +* @param {DeployStrParams} deploy_params +* @param {PaymentStrParams} payment_params +* @param {string | undefined} [maybe_block_id_as_string] +* @param {BlockIdentifier | undefined} [maybe_block_identifier] +* @param {Verbosity | undefined} [verbosity] +* @param {string | undefined} [node_address] +* @returns {Promise} +*/ + speculative_transfer(amount: string, target_account: string, transfer_id: string | undefined, deploy_params: DeployStrParams, payment_params: PaymentStrParams, maybe_block_id_as_string?: string, maybe_block_identifier?: BlockIdentifier, verbosity?: Verbosity, node_address?: string): Promise; +/** +* JavaScript alias for deploying with deserialized parameters. +* +* # Arguments +* +* * `deploy_params` - Deploy parameters. +* * `session_params` - Session parameters. +* * `payment_params` - Payment parameters. +* * `verbosity` - An optional verbosity level. +* * `node_address` - An optional node address. +* +* # Returns +* +* A result containing PutDeployResult or a JsError. +* @param {DeployStrParams} deploy_params +* @param {SessionStrParams} session_params +* @param {PaymentStrParams} payment_params +* @param {Verbosity | undefined} [verbosity] +* @param {string | undefined} [node_address] +* @returns {Promise} +*/ + deploy(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_params: PaymentStrParams, verbosity?: Verbosity, node_address?: string): Promise; +/** +* JS Alias for transferring funds. +* +* # Arguments +* +* * `amount` - The amount to transfer. +* * `target_account` - The target account. +* * `transfer_id` - An optional transfer ID (defaults to a random number). +* * `deploy_params` - The deployment parameters. +* * `payment_params` - The payment parameters. +* * `verbosity` - The verbosity level for logging (optional). +* * `node_address` - The address of the node to connect to (optional). +* +* # Returns +* +* A `Result` containing the result of the transfer or a `JsError` in case of an error. +* @param {string} amount +* @param {string} target_account +* @param {string | undefined} transfer_id +* @param {DeployStrParams} deploy_params +* @param {PaymentStrParams} payment_params +* @param {Verbosity | undefined} [verbosity] +* @param {string | undefined} [node_address] +* @returns {Promise} +*/ + transfer(amount: string, target_account: string, transfer_id: string | undefined, deploy_params: DeployStrParams, payment_params: PaymentStrParams, verbosity?: Verbosity, node_address?: string): Promise; +/** +* Parses block transfers options from a JsValue. +* +* # Arguments +* +* * `options` - A JsValue containing block transfers options to be parsed. +* +* # Returns +* +* Parsed block transfers options as a `GetBlockTransfersOptions` struct. +* @param {any} options +* @returns {getBlockTransfersOptions} +*/ + get_block_transfers_options(options: any): getBlockTransfersOptions; +/** +* Retrieves block transfers information using the provided options. +* +* # Arguments +* +* * `options` - An optional `GetBlockTransfersOptions` struct containing retrieval options. +* +* # Returns +* +* A `Result` containing either a `GetBlockTransfersResult` or a `JsError` in case of an error. +* +* # Errors +* +* Returns a `JsError` if there is an error during the retrieval process. +* @param {getBlockTransfersOptions | undefined} [options] +* @returns {Promise} +*/ + get_block_transfers(options?: getBlockTransfersOptions): Promise; /** * Lists available RPCs using the provided options. * @@ -2545,7 +2410,39 @@ export class SDK { */ list_rpcs(verbosity?: Verbosity, node_address?: string): Promise; /** -* Installs a smart contract with the specified parameters and returns the result. +* Parses query balance options from a JsValue. +* +* # Arguments +* +* * `options` - A JsValue containing query balance options to be parsed. +* +* # Returns +* +* Parsed query balance options as a `QueryBalanceOptions` struct. +* @param {any} options +* @returns {queryBalanceOptions} +*/ + query_balance_options(options: any): queryBalanceOptions; +/** +* Retrieves balance information using the provided options. +* +* # Arguments +* +* * `options` - An optional `QueryBalanceOptions` struct containing retrieval options. +* +* # Returns +* +* A `Result` containing either a `QueryBalanceResult` or a `JsError` in case of an error. +* +* # Errors +* +* Returns a `JsError` if there is an error during the retrieval process. +* @param {queryBalanceOptions | undefined} [options] +* @returns {Promise} +*/ + query_balance(options?: queryBalanceOptions): Promise; +/** +* Calls a smart contract entry point with the specified parameters and returns the result. * * # Arguments * @@ -2560,14 +2457,14 @@ export class SDK { * * # Errors * -* Returns a `JsError` if there is an error during the installation. +* Returns a `JsError` if there is an error during the call. * @param {DeployStrParams} deploy_params * @param {SessionStrParams} session_params * @param {string} payment_amount * @param {string | undefined} [node_address] * @returns {Promise} */ - install(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_amount: string, node_address?: string): Promise; + call_entrypoint(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_amount: string, node_address?: string): Promise; /** * This function allows executing a deploy speculatively. * @@ -2595,53 +2492,156 @@ export class SDK { */ speculative_deploy(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_params: PaymentStrParams, maybe_block_id_as_string?: string, maybe_block_identifier?: BlockIdentifier, verbosity?: Verbosity, node_address?: string): Promise; /** -* JS Alias for speculative transfer. +* Parses deploy options from a JsValue. * * # Arguments * -* * `amount` - The amount to transfer. -* * `target_account` - The target account. -* * `transfer_id` - An optional transfer ID (defaults to a random number). -* * `deploy_params` - The deployment parameters. -* * `payment_params` - The payment parameters. -* * `maybe_block_id_as_string` - An optional block ID as a string. -* * `maybe_block_identifier` - An optional block identifier. -* * `verbosity` - The verbosity level for logging (optional). -* * `node_address` - The address of the node to connect to (optional). +* * `options` - A JsValue containing deploy options to be parsed. * * # Returns * -* A `Result` containing the result of the speculative transfer or a `JsError` in case of an error. -* @param {string} amount -* @param {string} target_account -* @param {string | undefined} transfer_id -* @param {DeployStrParams} deploy_params -* @param {PaymentStrParams} payment_params -* @param {string | undefined} [maybe_block_id_as_string] -* @param {BlockIdentifier | undefined} [maybe_block_identifier] -* @param {Verbosity | undefined} [verbosity] -* @param {string | undefined} [node_address] -* @returns {Promise} +* Parsed deploy options as a `GetDeployOptions` struct. +* @param {any} options +* @returns {getDeployOptions} */ - speculative_transfer(amount: string, target_account: string, transfer_id: string | undefined, deploy_params: DeployStrParams, payment_params: PaymentStrParams, maybe_block_id_as_string?: string, maybe_block_identifier?: BlockIdentifier, verbosity?: Verbosity, node_address?: string): Promise; -} + get_deploy_options(options: any): getDeployOptions; /** +* Retrieves deploy information using the provided options. +* +* # Arguments +* +* * `options` - An optional `GetDeployOptions` struct containing retrieval options. +* +* # Returns +* +* A `Result` containing either a `GetDeployResult` or an error. +* @param {getDeployOptions | undefined} [options] +* @returns {Promise} */ -export class SessionStrParams { - free(): void; + get_deploy(options?: getDeployOptions): Promise; /** -* @param {string | undefined} [session_hash] -* @param {string | undefined} [session_name] -* @param {string | undefined} [session_package_hash] -* @param {string | undefined} [session_package_name] -* @param {string | undefined} [session_path] -* @param {Bytes | undefined} [session_bytes] -* @param {Array | undefined} [session_args_simple] -* @param {string | undefined} [session_args_json] -* @param {string | undefined} [session_args_complex] -* @param {string | undefined} [session_version] -* @param {string | undefined} [session_entry_point] -* @param {boolean | undefined} [is_session_transfer] +* Retrieves deploy information using the provided options, alias for `get_deploy_js_alias`. +* @param {getDeployOptions | undefined} [options] +* @returns {Promise} +*/ + info_get_deploy(options?: getDeployOptions): Promise; +/** +* Retrieves validator changes using the provided options. +* +* # Arguments +* +* * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. +* * `node_address` - An optional string specifying the node address to use for the request. +* +* # Returns +* +* A `Result` containing either a `GetValidatorChangesResult` or a `JsError` in case of an error. +* +* # Errors +* +* Returns a `JsError` if there is an error during the retrieval process. +* @param {Verbosity | undefined} [verbosity] +* @param {string | undefined} [node_address] +* @returns {Promise} +*/ + get_validator_changes(verbosity?: Verbosity, node_address?: string): Promise; +/** +* Get options for speculative execution from a JavaScript value. +* @param {any} options +* @returns {getSpeculativeExecOptions} +*/ + get_speculative_exec_options(options: any): getSpeculativeExecOptions; +/** +* JS Alias for speculative execution. +* +* # Arguments +* +* * `options` - The options for speculative execution. +* +* # Returns +* +* A `Result` containing the result of the speculative execution or a `JsError` in case of an error. +* @param {getSpeculativeExecOptions | undefined} [options] +* @returns {Promise} +*/ + speculative_exec(options?: getSpeculativeExecOptions): Promise; +/** +* Deserialize query_contract_dict_options from a JavaScript object. +* @param {any} options +* @returns {queryContractDictOptions} +*/ + query_contract_dict_options(options: any): queryContractDictOptions; +/** +* JavaScript alias for query_contract_dict with deserialized options. +* @param {queryContractDictOptions | undefined} [options] +* @returns {Promise} +*/ + query_contract_dict(options?: queryContractDictOptions): Promise; +/** +* @param {string | undefined} [node_address] +* @param {Verbosity | undefined} [verbosity] +*/ + constructor(node_address?: string, verbosity?: Verbosity); +/** +* @param {string | undefined} [node_address] +* @returns {string} +*/ + getNodeAddress(node_address?: string): string; +/** +* @param {string | undefined} [node_address] +*/ + setNodeAddress(node_address?: string): void; +/** +* @param {Verbosity | undefined} [verbosity] +* @returns {Verbosity} +*/ + getVerbosity(verbosity?: Verbosity): Verbosity; +/** +* @param {Verbosity | undefined} [verbosity] +*/ + setVerbosity(verbosity?: Verbosity): void; +/** +* Installs a smart contract with the specified parameters and returns the result. +* +* # Arguments +* +* * `deploy_params` - The deploy parameters. +* * `session_params` - The session parameters. +* * `payment_amount` - The payment amount as a string. +* * `node_address` - An optional node address to send the request to. +* +* # Returns +* +* A `Result` containing either a `PutDeployResult` or a `JsError` in case of an error. +* +* # Errors +* +* Returns a `JsError` if there is an error during the installation. +* @param {DeployStrParams} deploy_params +* @param {SessionStrParams} session_params +* @param {string} payment_amount +* @param {string | undefined} [node_address] +* @returns {Promise} +*/ + install(deploy_params: DeployStrParams, session_params: SessionStrParams, payment_amount: string, node_address?: string): Promise; +} +/** +*/ +export class SessionStrParams { + free(): void; +/** +* @param {string | undefined} [session_hash] +* @param {string | undefined} [session_name] +* @param {string | undefined} [session_package_hash] +* @param {string | undefined} [session_package_name] +* @param {string | undefined} [session_path] +* @param {Bytes | undefined} [session_bytes] +* @param {Array | undefined} [session_args_simple] +* @param {string | undefined} [session_args_json] +* @param {string | undefined} [session_args_complex] +* @param {string | undefined} [session_version] +* @param {string | undefined} [session_entry_point] +* @param {boolean | undefined} [is_session_transfer] */ constructor(session_hash?: string, session_name?: string, session_package_hash?: string, session_package_name?: string, session_path?: string, session_bytes?: Bytes, session_args_simple?: Array, session_args_json?: string, session_args_complex?: string, session_version?: string, session_entry_point?: string, is_session_transfer?: boolean); /** @@ -3134,187 +3134,12 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl export interface InitOutput { readonly memory: WebAssembly.Memory; - readonly __wbg_accessrights_free: (a: number) => void; - readonly accessrights_NONE: () => number; - readonly accessrights_READ: () => number; - readonly accessrights_WRITE: () => number; - readonly accessrights_ADD: () => number; - readonly accessrights_READ_ADD: () => number; - readonly accessrights_READ_WRITE: () => number; - readonly accessrights_ADD_WRITE: () => number; - readonly accessrights_READ_ADD_WRITE: () => number; - readonly accessrights_new: (a: number, b: number) => void; - readonly accessrights_from_bits: (a: number, b: number, c: number) => number; - readonly accessrights_is_readable: (a: number) => number; - readonly accessrights_is_writeable: (a: number) => number; - readonly accessrights_is_addable: (a: number) => number; - readonly accessrights_is_none: (a: number) => number; - readonly hashaddr_new: (a: number, b: number, c: number) => void; - readonly __wbg_blockhash_free: (a: number) => void; - readonly blockhash_new_js_alias: (a: number, b: number, c: number) => void; - readonly blockhash_fromDigest: (a: number, b: number) => void; - readonly blockhash_toJson: (a: number) => number; - readonly blockhash_toString: (a: number, b: number) => void; - readonly contracthash_new_js_alias: (a: number, b: number, c: number) => void; - readonly contracthash_fromFormattedStr: (a: number, b: number, c: number) => void; - readonly contracthash_toFormattedString: (a: number, b: number) => void; - readonly contracthash_fromUint8Array: (a: number, b: number) => number; - readonly __wbg_argssimple_free: (a: number) => void; readonly __wbg_eraid_free: (a: number) => void; readonly eraid_new: (a: number) => number; readonly eraid_value: (a: number) => number; readonly __wbg_peerentry_free: (a: number) => void; readonly peerentry_node_id: (a: number, b: number) => void; readonly peerentry_address: (a: number, b: number) => void; - readonly __wbg_purseidentifier_free: (a: number) => void; - readonly purseidentifier_fromPublicKey: (a: number) => number; - readonly purseidentifier_fromAccountHash: (a: number) => number; - readonly purseidentifier_fromURef: (a: number) => number; - readonly purseidentifier_toJson: (a: number) => number; - readonly __wbg_putdeployresult_free: (a: number) => void; - readonly putdeployresult_api_version: (a: number) => number; - readonly putdeployresult_deploy_hash: (a: number) => number; - readonly putdeployresult_toJson: (a: number) => number; - readonly sdk_deploy: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number; - readonly __wbg_getbalanceresult_free: (a: number) => void; - readonly getbalanceresult_api_version: (a: number) => number; - readonly getbalanceresult_balance_value: (a: number) => number; - readonly getbalanceresult_merkle_proof: (a: number, b: number) => void; - readonly getbalanceresult_toJson: (a: number) => number; - readonly __wbg_getbalanceoptions_free: (a: number) => void; - readonly __wbg_get_getbalanceoptions_state_root_hash_as_string: (a: number, b: number) => void; - readonly __wbg_set_getbalanceoptions_state_root_hash_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_get_getbalanceoptions_state_root_hash: (a: number) => number; - readonly __wbg_set_getbalanceoptions_state_root_hash: (a: number, b: number) => void; - readonly __wbg_get_getbalanceoptions_purse_uref_as_string: (a: number, b: number) => void; - readonly __wbg_set_getbalanceoptions_purse_uref_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_get_getbalanceoptions_purse_uref: (a: number) => number; - readonly __wbg_set_getbalanceoptions_purse_uref: (a: number, b: number) => void; - readonly __wbg_get_getbalanceoptions_node_address: (a: number, b: number) => void; - readonly __wbg_set_getbalanceoptions_node_address: (a: number, b: number, c: number) => void; - readonly __wbg_get_getbalanceoptions_verbosity: (a: number) => number; - readonly __wbg_set_getbalanceoptions_verbosity: (a: number, b: number) => void; - readonly sdk_get_balance_options: (a: number, b: number, c: number) => void; - readonly sdk_get_balance: (a: number, b: number) => number; - readonly sdk_state_get_balance: (a: number, b: number) => number; - readonly __wbg_geterasummaryresult_free: (a: number) => void; - readonly geterasummaryresult_api_version: (a: number) => number; - readonly geterasummaryresult_era_summary: (a: number) => number; - readonly geterasummaryresult_toJson: (a: number) => number; - readonly __wbg_geterasummaryoptions_free: (a: number) => void; - readonly __wbg_get_geterasummaryoptions_maybe_block_id_as_string: (a: number, b: number) => void; - readonly __wbg_set_geterasummaryoptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_get_geterasummaryoptions_maybe_block_identifier: (a: number) => number; - readonly __wbg_set_geterasummaryoptions_maybe_block_identifier: (a: number, b: number) => void; - readonly __wbg_get_geterasummaryoptions_node_address: (a: number, b: number) => void; - readonly __wbg_set_geterasummaryoptions_node_address: (a: number, b: number, c: number) => void; - readonly __wbg_get_geterasummaryoptions_verbosity: (a: number) => number; - readonly __wbg_set_geterasummaryoptions_verbosity: (a: number, b: number) => void; - readonly sdk_get_era_summary_options: (a: number, b: number, c: number) => void; - readonly sdk_get_era_summary: (a: number, b: number) => number; - readonly __wbg_queryglobalstateresult_free: (a: number) => void; - readonly queryglobalstateresult_api_version: (a: number) => number; - readonly queryglobalstateresult_block_header: (a: number) => number; - readonly queryglobalstateresult_stored_value: (a: number) => number; - readonly queryglobalstateresult_merkle_proof: (a: number, b: number) => void; - readonly queryglobalstateresult_toJson: (a: number) => number; - readonly sdk_query_global_state_options: (a: number, b: number, c: number) => void; - readonly sdk_query_global_state: (a: number, b: number) => number; - readonly __wbg_querycontractkeyoptions_free: (a: number) => void; - readonly __wbg_get_querycontractkeyoptions_global_state_identifier: (a: number) => number; - readonly __wbg_set_querycontractkeyoptions_global_state_identifier: (a: number, b: number) => void; - readonly __wbg_get_querycontractkeyoptions_state_root_hash_as_string: (a: number, b: number) => void; - readonly __wbg_set_querycontractkeyoptions_state_root_hash_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_get_querycontractkeyoptions_state_root_hash: (a: number) => number; - readonly __wbg_set_querycontractkeyoptions_state_root_hash: (a: number, b: number) => void; - readonly __wbg_get_querycontractkeyoptions_maybe_block_id_as_string: (a: number, b: number) => void; - readonly __wbg_set_querycontractkeyoptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_get_querycontractkeyoptions_contract_key_as_string: (a: number, b: number) => void; - readonly __wbg_set_querycontractkeyoptions_contract_key_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_get_querycontractkeyoptions_contract_key: (a: number) => number; - readonly __wbg_set_querycontractkeyoptions_contract_key: (a: number, b: number) => void; - readonly __wbg_get_querycontractkeyoptions_path_as_string: (a: number, b: number) => void; - readonly __wbg_set_querycontractkeyoptions_path_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_get_querycontractkeyoptions_path: (a: number) => number; - readonly __wbg_set_querycontractkeyoptions_path: (a: number, b: number) => void; - readonly __wbg_get_querycontractkeyoptions_node_address: (a: number, b: number) => void; - readonly __wbg_set_querycontractkeyoptions_node_address: (a: number, b: number, c: number) => void; - readonly __wbg_get_querycontractkeyoptions_verbosity: (a: number) => number; - readonly __wbg_set_querycontractkeyoptions_verbosity: (a: number, b: number) => void; - readonly sdk_query_contract_key_options: (a: number, b: number, c: number) => void; - readonly sdk_query_contract_key: (a: number, b: number) => number; - readonly hexToString: (a: number, b: number, c: number) => void; - readonly hexToUint8Array: (a: number, b: number, c: number) => void; - readonly uint8ArrayToBytes: (a: number) => number; - readonly motesToCSPR: (a: number, b: number, c: number) => void; - readonly jsonPrettyPrint: (a: number, b: number, c: number) => void; - readonly publicKeyFromSecretKey: (a: number, b: number, c: number) => void; - readonly generateSecretKey: (a: number) => void; - readonly generateSecretKey_secp256k1: (a: number) => void; - readonly accountHashToBase64Key: (a: number, b: number, c: number) => void; - readonly getTimestamp: () => number; - readonly encodeLowerBlake2b: (a: number, b: number) => number; - readonly makeDictionaryItemKey: (a: number, b: number, c: number, d: number) => void; - readonly __wbg_casperwallet_free: (a: number) => void; - readonly casperwallet_new: () => number; - readonly casperwallet_signDeploy: (a: number, b: number, c: number, d: number) => number; - readonly casperwallet_signDeployHash: (a: number, b: number, c: number, d: number, e: number) => number; - readonly casperwallet_signMessage: (a: number, b: number, c: number, d: number, e: number) => number; - readonly casperwallet_connect: (a: number) => number; - readonly casperwallet_disconnect: (a: number) => number; - readonly casperwallet_isConnected: (a: number) => number; - readonly casperwallet_getVersion: (a: number) => number; - readonly casperwallet_getActivePublicKey: (a: number) => number; - readonly casperwallet_switchAccount: (a: number) => number; - readonly __wbg_get_queryglobalstateoptions_global_state_identifier: (a: number) => number; - readonly __wbg_get_queryglobalstateoptions_key: (a: number) => number; - readonly __wbg_queryglobalstateoptions_free: (a: number) => void; - readonly __wbg_set_queryglobalstateoptions_state_root_hash: (a: number, b: number) => void; - readonly __wbg_set_queryglobalstateoptions_verbosity: (a: number, b: number) => void; - readonly __wbg_set_queryglobalstateoptions_state_root_hash_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_set_queryglobalstateoptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_set_queryglobalstateoptions_key_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_set_queryglobalstateoptions_path_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_set_queryglobalstateoptions_node_address: (a: number, b: number, c: number) => void; - readonly __wbg_get_queryglobalstateoptions_path: (a: number) => number; - readonly __wbg_set_queryglobalstateoptions_global_state_identifier: (a: number, b: number) => void; - readonly __wbg_set_queryglobalstateoptions_key: (a: number, b: number) => void; - readonly __wbg_hashaddr_free: (a: number) => void; - readonly __wbg_contracthash_free: (a: number) => void; - readonly __wbg_get_queryglobalstateoptions_state_root_hash: (a: number) => number; - readonly __wbg_set_queryglobalstateoptions_path: (a: number, b: number) => void; - readonly __wbg_get_queryglobalstateoptions_state_root_hash_as_string: (a: number, b: number) => void; - readonly __wbg_get_queryglobalstateoptions_maybe_block_id_as_string: (a: number, b: number) => void; - readonly __wbg_get_queryglobalstateoptions_key_as_string: (a: number, b: number) => void; - readonly __wbg_get_queryglobalstateoptions_path_as_string: (a: number, b: number) => void; - readonly __wbg_get_queryglobalstateoptions_node_address: (a: number, b: number) => void; - readonly __wbg_get_queryglobalstateoptions_verbosity: (a: number) => number; - readonly __wbg_sessionstrparams_free: (a: number) => void; - readonly sessionstrparams_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number) => number; - readonly sessionstrparams_session_hash: (a: number, b: number) => void; - readonly sessionstrparams_set_session_hash: (a: number, b: number, c: number) => void; - readonly sessionstrparams_session_name: (a: number, b: number) => void; - readonly sessionstrparams_set_session_name: (a: number, b: number, c: number) => void; - readonly sessionstrparams_session_package_hash: (a: number, b: number) => void; - readonly sessionstrparams_set_session_package_hash: (a: number, b: number, c: number) => void; - readonly sessionstrparams_session_package_name: (a: number, b: number) => void; - readonly sessionstrparams_set_session_package_name: (a: number, b: number, c: number) => void; - readonly sessionstrparams_session_path: (a: number, b: number) => void; - readonly sessionstrparams_set_session_path: (a: number, b: number, c: number) => void; - readonly sessionstrparams_session_bytes: (a: number) => number; - readonly sessionstrparams_set_session_bytes: (a: number, b: number) => void; - readonly sessionstrparams_session_args_simple: (a: number) => number; - readonly sessionstrparams_set_session_args_simple: (a: number, b: number) => void; - readonly sessionstrparams_session_args_json: (a: number, b: number) => void; - readonly sessionstrparams_set_session_args_json: (a: number, b: number, c: number) => void; - readonly sessionstrparams_session_args_complex: (a: number, b: number) => void; - readonly sessionstrparams_set_session_args_complex: (a: number, b: number, c: number) => void; - readonly sessionstrparams_session_version: (a: number, b: number) => void; - readonly sessionstrparams_set_session_version: (a: number, b: number, c: number) => void; - readonly sessionstrparams_session_entry_point: (a: number, b: number) => void; - readonly sessionstrparams_set_session_entry_point: (a: number, b: number, c: number) => void; - readonly sessionstrparams_is_session_transfer: (a: number) => number; - readonly sessionstrparams_set_is_session_transfer: (a: number, b: number) => void; readonly __wbg_getauctioninforesult_free: (a: number) => void; readonly getauctioninforesult_api_version: (a: number) => number; readonly getauctioninforesult_auction_state: (a: number) => number; @@ -3330,13 +3155,6 @@ export interface InitOutput { readonly __wbg_set_getauctioninfooptions_verbosity: (a: number, b: number) => void; readonly sdk_get_auction_info_options: (a: number, b: number, c: number) => void; readonly sdk_get_auction_info: (a: number, b: number) => number; - readonly __wbg_getblockresult_free: (a: number) => void; - readonly getblockresult_api_version: (a: number) => number; - readonly getblockresult_block: (a: number) => number; - readonly getblockresult_toJson: (a: number) => number; - readonly sdk_get_block_options: (a: number, b: number, c: number) => void; - readonly sdk_get_block: (a: number, b: number) => number; - readonly sdk_chain_get_block: (a: number, b: number) => number; readonly __wbg_getdictionaryitemresult_free: (a: number) => void; readonly getdictionaryitemresult_api_version: (a: number) => number; readonly getdictionaryitemresult_dictionary_key: (a: number, b: number) => void; @@ -3365,175 +3183,41 @@ export interface InitOutput { readonly geterainforesult_toJson: (a: number) => number; readonly sdk_get_era_info_options: (a: number, b: number, c: number) => void; readonly sdk_get_era_info: (a: number, b: number) => number; - readonly __wbg_get_getblockoptions_maybe_block_identifier: (a: number) => number; + readonly __wbg_getnodestatusresult_free: (a: number) => void; + readonly getnodestatusresult_api_version: (a: number) => number; + readonly getnodestatusresult_chainspec_name: (a: number, b: number) => void; + readonly getnodestatusresult_starting_state_root_hash: (a: number) => number; + readonly getnodestatusresult_peers: (a: number) => number; + readonly getnodestatusresult_last_added_block_info: (a: number) => number; + readonly getnodestatusresult_our_public_signing_key: (a: number) => number; + readonly getnodestatusresult_round_length: (a: number) => number; + readonly getnodestatusresult_next_upgrade: (a: number) => number; + readonly getnodestatusresult_build_version: (a: number, b: number) => void; + readonly getnodestatusresult_uptime: (a: number) => number; + readonly getnodestatusresult_reactor_state: (a: number) => number; + readonly getnodestatusresult_last_progress: (a: number) => number; + readonly getnodestatusresult_available_block_range: (a: number) => number; + readonly getnodestatusresult_block_sync: (a: number) => number; + readonly getnodestatusresult_toJson: (a: number) => number; + readonly sdk_get_node_status: (a: number, b: number, c: number, d: number) => number; + readonly sdk_make_deploy: (a: number, b: number, c: number, d: number, e: number) => void; + readonly sdk_sign_deploy: (a: number, b: number, c: number, d: number) => number; readonly __wbg_get_geterainfooptions_maybe_block_identifier: (a: number) => number; - readonly __wbg_getblockoptions_free: (a: number) => void; readonly __wbg_geterainfooptions_free: (a: number) => void; - readonly __wbg_set_getblockoptions_verbosity: (a: number, b: number) => void; readonly __wbg_set_geterainfooptions_verbosity: (a: number, b: number) => void; - readonly __wbg_set_getblockoptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_set_getblockoptions_node_address: (a: number, b: number, c: number) => void; readonly __wbg_set_geterainfooptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; readonly __wbg_set_geterainfooptions_node_address: (a: number, b: number, c: number) => void; - readonly __wbg_set_getblockoptions_maybe_block_identifier: (a: number, b: number) => void; readonly __wbg_set_geterainfooptions_maybe_block_identifier: (a: number, b: number) => void; - readonly __wbg_get_getblockoptions_maybe_block_id_as_string: (a: number, b: number) => void; - readonly __wbg_get_getblockoptions_node_address: (a: number, b: number) => void; readonly __wbg_get_geterainfooptions_maybe_block_id_as_string: (a: number, b: number) => void; readonly __wbg_get_geterainfooptions_node_address: (a: number, b: number) => void; - readonly __wbg_get_getblockoptions_verbosity: (a: number) => number; readonly __wbg_get_geterainfooptions_verbosity: (a: number) => number; - readonly sdk_make_deploy: (a: number, b: number, c: number, d: number, e: number) => void; - readonly sdk_call_entrypoint: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number; - readonly __wbg_transferaddr_free: (a: number) => void; - readonly transferaddr_new: (a: number, b: number, c: number) => void; - readonly urefaddr_new: (a: number, b: number, c: number) => void; - readonly __wbg_bytes_free: (a: number) => void; - readonly bytes_new: () => number; - readonly bytes_fromUint8Array: (a: number) => number; - readonly __wbg_deploy_free: (a: number) => void; - readonly deploy_new: (a: number) => number; - readonly deploy_toJson: (a: number) => number; - readonly deploy_withPaymentAndSession: (a: number, b: number, c: number, d: number) => void; - readonly deploy_withTransfer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void; - readonly deploy_withTTL: (a: number, b: number, c: number, d: number, e: number) => number; - readonly deploy_withTimestamp: (a: number, b: number, c: number, d: number, e: number) => number; - readonly deploy_withChainName: (a: number, b: number, c: number, d: number, e: number) => number; - readonly deploy_withAccount: (a: number, b: number, c: number, d: number) => number; - readonly deploy_withEntryPointName: (a: number, b: number, c: number, d: number, e: number) => number; - readonly deploy_withHash: (a: number, b: number, c: number, d: number) => number; - readonly deploy_withPackageHash: (a: number, b: number, c: number, d: number) => number; - readonly deploy_withModuleBytes: (a: number, b: number, c: number, d: number) => number; - readonly deploy_withSecretKey: (a: number, b: number, c: number) => number; - readonly deploy_withStandardPayment: (a: number, b: number, c: number, d: number, e: number) => number; - readonly deploy_withPayment: (a: number, b: number, c: number, d: number) => number; - readonly deploy_withSession: (a: number, b: number, c: number, d: number) => number; - readonly deploy_validateDeploySize: (a: number) => number; - readonly deploy_hash: (a: number) => number; - readonly deploy_sign: (a: number, b: number, c: number) => number; - readonly deploy_addSignature: (a: number, b: number, c: number, d: number, e: number) => number; - readonly deploy_TTL: (a: number, b: number) => void; - readonly deploy_timestamp: (a: number, b: number) => void; - readonly deploy_chainName: (a: number, b: number) => void; - readonly deploy_account: (a: number, b: number) => void; - readonly deploy_args: (a: number) => number; - readonly deploy_addArg: (a: number, b: number, c: number, d: number, e: number) => void; - readonly __wbg_deploystrparams_free: (a: number) => void; - readonly deploystrparams_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number; - readonly deploystrparams_secret_key: (a: number, b: number) => void; - readonly deploystrparams_set_secret_key: (a: number, b: number, c: number) => void; - readonly deploystrparams_timestamp: (a: number, b: number) => void; - readonly deploystrparams_set_timestamp: (a: number, b: number, c: number) => void; - readonly deploystrparams_setDefaultTimestamp: (a: number) => void; - readonly deploystrparams_ttl: (a: number, b: number) => void; - readonly deploystrparams_set_ttl: (a: number, b: number, c: number) => void; - readonly deploystrparams_setDefaultTTL: (a: number) => void; - readonly deploystrparams_chain_name: (a: number, b: number) => void; - readonly deploystrparams_set_chain_name: (a: number, b: number, c: number) => void; - readonly deploystrparams_session_account: (a: number, b: number) => void; - readonly deploystrparams_set_session_account: (a: number, b: number, c: number) => void; - readonly __wbg_dictionaryitemstrparams_free: (a: number) => void; - readonly dictionaryitemstrparams_new: () => number; - readonly dictionaryitemstrparams_setAccountNamedKey: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void; - readonly dictionaryitemstrparams_setContractNamedKey: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void; - readonly dictionaryitemstrparams_setUref: (a: number, b: number, c: number, d: number, e: number) => void; - readonly dictionaryitemstrparams_setDictionary: (a: number, b: number, c: number) => void; - readonly dictionaryitemstrparams_toJson: (a: number) => number; - readonly __wbg_uref_free: (a: number) => void; - readonly uref_new_js_alias: (a: number, b: number, c: number, d: number) => void; - readonly uref_fromFormattedStr: (a: number, b: number, c: number) => void; - readonly uref_fromUint8Array: (a: number, b: number, c: number) => number; - readonly uref_toFormattedString: (a: number, b: number) => void; - readonly uref_toJson: (a: number) => number; - readonly __wbg_signatureresponse_free: (a: number) => void; - readonly signatureresponse_is_cancelled: (a: number) => number; - readonly signatureresponse_get_signature_hex: (a: number, b: number) => void; - readonly signatureresponse_get_signature: (a: number, b: number) => void; - readonly sdk_transfer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => number; - readonly __wbg_getdeployresult_free: (a: number) => void; - readonly getdeployresult_api_version: (a: number) => number; - readonly getdeployresult_deploy: (a: number) => number; - readonly getdeployresult_toJson: (a: number) => number; - readonly __wbg_getdeployoptions_free: (a: number) => void; - readonly __wbg_get_getdeployoptions_deploy_hash_as_string: (a: number, b: number) => void; - readonly __wbg_set_getdeployoptions_deploy_hash_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_get_getdeployoptions_deploy_hash: (a: number) => number; - readonly __wbg_set_getdeployoptions_deploy_hash: (a: number, b: number) => void; - readonly __wbg_get_getdeployoptions_finalized_approvals: (a: number) => number; - readonly __wbg_set_getdeployoptions_finalized_approvals: (a: number, b: number) => void; - readonly __wbg_get_getdeployoptions_node_address: (a: number, b: number) => void; - readonly __wbg_set_getdeployoptions_node_address: (a: number, b: number, c: number) => void; - readonly __wbg_get_getdeployoptions_verbosity: (a: number) => number; - readonly __wbg_set_getdeployoptions_verbosity: (a: number, b: number) => void; - readonly sdk_get_deploy_options: (a: number, b: number, c: number) => void; - readonly sdk_get_deploy: (a: number, b: number) => number; - readonly sdk_info_get_deploy: (a: number, b: number) => number; - readonly __wbg_speculativeexecresult_free: (a: number) => void; - readonly speculativeexecresult_api_version: (a: number) => number; - readonly speculativeexecresult_block_hash: (a: number) => number; - readonly speculativeexecresult_execution_result: (a: number) => number; - readonly speculativeexecresult_toJson: (a: number) => number; - readonly __wbg_getspeculativeexecoptions_free: (a: number) => void; - readonly __wbg_get_getspeculativeexecoptions_deploy_as_string: (a: number, b: number) => void; - readonly __wbg_set_getspeculativeexecoptions_deploy_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_get_getspeculativeexecoptions_deploy: (a: number) => number; - readonly __wbg_set_getspeculativeexecoptions_deploy: (a: number, b: number) => void; - readonly __wbg_get_getspeculativeexecoptions_maybe_block_id_as_string: (a: number, b: number) => void; - readonly __wbg_set_getspeculativeexecoptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_get_getspeculativeexecoptions_maybe_block_identifier: (a: number) => number; - readonly __wbg_set_getspeculativeexecoptions_maybe_block_identifier: (a: number, b: number) => void; - readonly __wbg_get_getspeculativeexecoptions_node_address: (a: number, b: number) => void; - readonly __wbg_set_getspeculativeexecoptions_node_address: (a: number, b: number, c: number) => void; - readonly __wbg_get_getspeculativeexecoptions_verbosity: (a: number) => number; - readonly __wbg_set_getspeculativeexecoptions_verbosity: (a: number, b: number) => void; - readonly sdk_get_speculative_exec_options: (a: number, b: number, c: number) => void; - readonly sdk_speculative_exec: (a: number, b: number) => number; - readonly sdk_sign_deploy: (a: number, b: number, c: number, d: number) => number; - readonly __wbg_querycontractdictoptions_free: (a: number) => void; - readonly __wbg_get_querycontractdictoptions_state_root_hash_as_string: (a: number, b: number) => void; - readonly __wbg_set_querycontractdictoptions_state_root_hash_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_get_querycontractdictoptions_state_root_hash: (a: number) => number; - readonly __wbg_set_querycontractdictoptions_state_root_hash: (a: number, b: number) => void; - readonly __wbg_get_querycontractdictoptions_dictionary_item_params: (a: number) => number; - readonly __wbg_set_querycontractdictoptions_dictionary_item_params: (a: number, b: number) => void; - readonly __wbg_get_querycontractdictoptions_dictionary_item_identifier: (a: number) => number; - readonly __wbg_set_querycontractdictoptions_dictionary_item_identifier: (a: number, b: number) => void; - readonly __wbg_get_querycontractdictoptions_node_address: (a: number, b: number) => void; - readonly __wbg_set_querycontractdictoptions_node_address: (a: number, b: number, c: number) => void; - readonly __wbg_get_querycontractdictoptions_verbosity: (a: number) => number; - readonly __wbg_set_querycontractdictoptions_verbosity: (a: number, b: number) => void; - readonly sdk_query_contract_dict_options: (a: number, b: number, c: number) => void; - readonly sdk_query_contract_dict: (a: number, b: number) => number; - readonly __wbg_sdk_free: (a: number) => void; - readonly sdk_new: (a: number, b: number, c: number) => number; - readonly sdk_getNodeAddress: (a: number, b: number, c: number, d: number) => void; - readonly sdk_setNodeAddress: (a: number, b: number, c: number, d: number) => void; - readonly sdk_getVerbosity: (a: number, b: number) => number; - readonly sdk_setVerbosity: (a: number, b: number, c: number) => void; - readonly __wbg_urefaddr_free: (a: number) => void; - readonly __wbg_accounthash_free: (a: number) => void; - readonly accounthash_new_js_alias: (a: number, b: number, c: number) => void; - readonly accounthash_fromFormattedStr: (a: number, b: number, c: number) => void; - readonly accounthash_fromPublicKey: (a: number) => number; - readonly accounthash_toFormattedString: (a: number, b: number) => void; - readonly accounthash_toHexString: (a: number, b: number) => void; - readonly accounthash_fromUint8Array: (a: number, b: number) => number; - readonly accounthash_toJson: (a: number) => number; - readonly __wbg_accountidentifier_free: (a: number) => void; - readonly accountidentifier_fromFormattedStr: (a: number, b: number, c: number) => void; - readonly accountidentifier_fromPublicKey: (a: number) => number; - readonly accountidentifier_fromAccountHash: (a: number) => number; - readonly accountidentifier_toJson: (a: number) => number; readonly dictionaryaddr_new: (a: number, b: number, c: number) => void; - readonly __wbg_blockidentifier_free: (a: number) => void; - readonly blockidentifier_new: (a: number) => number; - readonly blockidentifier_from_hash: (a: number) => number; - readonly blockidentifier_fromHeight: (a: number) => number; - readonly blockidentifier_toJson: (a: number) => number; + readonly __wbg_contractpackagehash_free: (a: number) => void; readonly contractpackagehash_new_js_alias: (a: number, b: number, c: number) => void; readonly contractpackagehash_fromFormattedStr: (a: number, b: number, c: number) => void; readonly contractpackagehash_toFormattedString: (a: number, b: number) => void; readonly contractpackagehash_fromUint8Array: (a: number, b: number) => number; + readonly __wbg_argssimple_free: (a: number) => void; readonly __wbg_dictionaryitemidentifier_free: (a: number) => void; readonly dictionaryitemidentifier_newFromAccountInfo: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void; readonly dictionaryitemidentifier_newFromContractInfo: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void; @@ -3545,6 +3229,12 @@ export interface InitOutput { readonly digest_fromRaw: (a: number, b: number, c: number) => void; readonly digest_toJson: (a: number) => number; readonly digest_toString: (a: number, b: number) => void; + readonly __wbg_globalstateidentifier_free: (a: number) => void; + readonly globalstateidentifier_new: (a: number) => number; + readonly globalstateidentifier_fromBlockHash: (a: number) => number; + readonly globalstateidentifier_fromBlockHeight: (a: number) => number; + readonly globalstateidentifier_fromStateRootHash: (a: number) => number; + readonly globalstateidentifier_toJson: (a: number) => number; readonly __wbg_key_free: (a: number) => void; readonly key_new: (a: number, b: number) => void; readonly key_toJson: (a: number) => number; @@ -3573,47 +3263,96 @@ export interface InitOutput { readonly key_intoURef: (a: number) => number; readonly key_urefToHash: (a: number) => number; readonly key_withdrawToUnbond: (a: number) => number; - readonly publickey_new_js_alias: (a: number, b: number, c: number) => void; - readonly publickey_fromUint8Array: (a: number, b: number, c: number) => void; - readonly publickey_toAccountHash: (a: number) => number; - readonly publickey_toPurseUref: (a: number) => number; - readonly publickey_toJson: (a: number) => number; - readonly sdk_put_deploy: (a: number, b: number, c: number, d: number, e: number) => number; - readonly sdk_account_put_deploy: (a: number, b: number, c: number, d: number, e: number) => number; - readonly accountidentifier_new: (a: number, b: number, c: number) => void; - readonly __wbg_dictionaryaddr_free: (a: number) => void; - readonly __wbg_contractpackagehash_free: (a: number) => void; - readonly __wbg_digest_free: (a: number) => void; - readonly __wbg_publickey_free: (a: number) => void; - readonly __wbg_deployhash_free: (a: number) => void; - readonly deployhash_new_js_alias: (a: number, b: number, c: number) => void; - readonly deployhash_fromDigest: (a: number, b: number) => void; - readonly deployhash_toJson: (a: number) => number; - readonly deployhash_toString: (a: number, b: number) => void; - readonly __wbg_paymentstrparams_free: (a: number) => void; - readonly paymentstrparams_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number) => number; - readonly paymentstrparams_payment_amount: (a: number, b: number) => void; - readonly paymentstrparams_set_payment_amount: (a: number, b: number, c: number) => void; - readonly paymentstrparams_payment_hash: (a: number, b: number) => void; - readonly paymentstrparams_set_payment_hash: (a: number, b: number, c: number) => void; - readonly paymentstrparams_payment_name: (a: number, b: number) => void; - readonly paymentstrparams_set_payment_name: (a: number, b: number, c: number) => void; - readonly paymentstrparams_payment_package_hash: (a: number, b: number) => void; - readonly paymentstrparams_set_payment_package_hash: (a: number, b: number, c: number) => void; - readonly paymentstrparams_payment_package_name: (a: number, b: number) => void; - readonly paymentstrparams_set_payment_package_name: (a: number, b: number, c: number) => void; - readonly paymentstrparams_payment_path: (a: number, b: number) => void; - readonly paymentstrparams_set_payment_path: (a: number, b: number, c: number) => void; - readonly paymentstrparams_payment_args_simple: (a: number) => number; - readonly paymentstrparams_set_payment_args_simple: (a: number, b: number) => void; - readonly paymentstrparams_payment_args_json: (a: number, b: number) => void; - readonly paymentstrparams_set_payment_args_json: (a: number, b: number, c: number) => void; - readonly paymentstrparams_payment_args_complex: (a: number, b: number) => void; - readonly paymentstrparams_set_payment_args_complex: (a: number, b: number, c: number) => void; - readonly paymentstrparams_payment_version: (a: number, b: number) => void; - readonly paymentstrparams_set_payment_version: (a: number, b: number, c: number) => void; - readonly paymentstrparams_payment_entry_point: (a: number, b: number) => void; - readonly paymentstrparams_set_payment_entry_point: (a: number, b: number, c: number) => void; + readonly __wbg_purseidentifier_free: (a: number) => void; + readonly purseidentifier_fromPublicKey: (a: number) => number; + readonly purseidentifier_fromAccountHash: (a: number) => number; + readonly purseidentifier_fromURef: (a: number) => number; + readonly purseidentifier_toJson: (a: number) => number; + readonly __wbg_getblockresult_free: (a: number) => void; + readonly getblockresult_api_version: (a: number) => number; + readonly getblockresult_block: (a: number) => number; + readonly getblockresult_toJson: (a: number) => number; + readonly __wbg_getblockoptions_free: (a: number) => void; + readonly __wbg_get_getblockoptions_maybe_block_id_as_string: (a: number, b: number) => void; + readonly __wbg_set_getblockoptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_getblockoptions_maybe_block_identifier: (a: number) => number; + readonly __wbg_set_getblockoptions_maybe_block_identifier: (a: number, b: number) => void; + readonly __wbg_get_getblockoptions_node_address: (a: number, b: number) => void; + readonly __wbg_set_getblockoptions_node_address: (a: number, b: number, c: number) => void; + readonly __wbg_get_getblockoptions_verbosity: (a: number) => number; + readonly __wbg_set_getblockoptions_verbosity: (a: number, b: number) => void; + readonly sdk_get_block_options: (a: number, b: number, c: number) => void; + readonly sdk_get_block: (a: number, b: number) => number; + readonly sdk_chain_get_block: (a: number, b: number) => number; + readonly __wbg_geterasummaryresult_free: (a: number) => void; + readonly geterasummaryresult_api_version: (a: number) => number; + readonly geterasummaryresult_era_summary: (a: number) => number; + readonly geterasummaryresult_toJson: (a: number) => number; + readonly sdk_get_era_summary_options: (a: number, b: number, c: number) => void; + readonly sdk_get_era_summary: (a: number, b: number) => number; + readonly __wbg_queryglobalstateresult_free: (a: number) => void; + readonly queryglobalstateresult_api_version: (a: number) => number; + readonly queryglobalstateresult_block_header: (a: number) => number; + readonly queryglobalstateresult_stored_value: (a: number) => number; + readonly queryglobalstateresult_merkle_proof: (a: number, b: number) => void; + readonly queryglobalstateresult_toJson: (a: number) => number; + readonly __wbg_queryglobalstateoptions_free: (a: number) => void; + readonly __wbg_get_queryglobalstateoptions_global_state_identifier: (a: number) => number; + readonly __wbg_set_queryglobalstateoptions_global_state_identifier: (a: number, b: number) => void; + readonly __wbg_get_queryglobalstateoptions_state_root_hash_as_string: (a: number, b: number) => void; + readonly __wbg_set_queryglobalstateoptions_state_root_hash_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_queryglobalstateoptions_state_root_hash: (a: number) => number; + readonly __wbg_set_queryglobalstateoptions_state_root_hash: (a: number, b: number) => void; + readonly __wbg_get_queryglobalstateoptions_maybe_block_id_as_string: (a: number, b: number) => void; + readonly __wbg_set_queryglobalstateoptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_queryglobalstateoptions_key_as_string: (a: number, b: number) => void; + readonly __wbg_set_queryglobalstateoptions_key_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_queryglobalstateoptions_key: (a: number) => number; + readonly __wbg_set_queryglobalstateoptions_key: (a: number, b: number) => void; + readonly __wbg_get_queryglobalstateoptions_path_as_string: (a: number, b: number) => void; + readonly __wbg_set_queryglobalstateoptions_path_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_queryglobalstateoptions_path: (a: number) => number; + readonly __wbg_set_queryglobalstateoptions_path: (a: number, b: number) => void; + readonly __wbg_get_queryglobalstateoptions_node_address: (a: number, b: number) => void; + readonly __wbg_set_queryglobalstateoptions_node_address: (a: number, b: number, c: number) => void; + readonly __wbg_get_queryglobalstateoptions_verbosity: (a: number) => number; + readonly __wbg_set_queryglobalstateoptions_verbosity: (a: number, b: number) => void; + readonly sdk_query_global_state_options: (a: number, b: number, c: number) => void; + readonly sdk_query_global_state: (a: number, b: number) => number; + readonly __wbg_get_geterasummaryoptions_maybe_block_identifier: (a: number) => number; + readonly __wbg_geterasummaryoptions_free: (a: number) => void; + readonly __wbg_set_geterasummaryoptions_verbosity: (a: number, b: number) => void; + readonly __wbg_set_geterasummaryoptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_set_geterasummaryoptions_node_address: (a: number, b: number, c: number) => void; + readonly __wbg_set_geterasummaryoptions_maybe_block_identifier: (a: number, b: number) => void; + readonly __wbg_dictionaryaddr_free: (a: number) => void; + readonly __wbg_digest_free: (a: number) => void; + readonly __wbg_get_geterasummaryoptions_maybe_block_id_as_string: (a: number, b: number) => void; + readonly __wbg_get_geterasummaryoptions_node_address: (a: number, b: number) => void; + readonly __wbg_get_geterasummaryoptions_verbosity: (a: number) => number; + readonly __wbg_accessrights_free: (a: number) => void; + readonly accessrights_NONE: () => number; + readonly accessrights_READ: () => number; + readonly accessrights_WRITE: () => number; + readonly accessrights_ADD: () => number; + readonly accessrights_READ_ADD: () => number; + readonly accessrights_READ_WRITE: () => number; + readonly accessrights_ADD_WRITE: () => number; + readonly accessrights_READ_ADD_WRITE: () => number; + readonly accessrights_new: (a: number, b: number) => void; + readonly accessrights_from_bits: (a: number, b: number, c: number) => number; + readonly accessrights_is_readable: (a: number) => number; + readonly accessrights_is_writeable: (a: number) => number; + readonly accessrights_is_addable: (a: number) => number; + readonly accessrights_is_none: (a: number) => number; + readonly __wbg_blockhash_free: (a: number) => void; + readonly blockhash_new_js_alias: (a: number, b: number, c: number) => void; + readonly blockhash_fromDigest: (a: number, b: number) => void; + readonly blockhash_toJson: (a: number) => number; + readonly blockhash_toString: (a: number, b: number) => void; + readonly deployhash_new_js_alias: (a: number, b: number, c: number) => void; + readonly deployhash_toJson: (a: number) => number; + readonly deployhash_toString: (a: number, b: number) => void; readonly __wbg_path_free: (a: number) => void; readonly path_new: (a: number) => number; readonly path_fromArray: (a: number) => number; @@ -3641,46 +3380,22 @@ export interface InitOutput { readonly sdk_get_account_options: (a: number, b: number, c: number) => void; readonly sdk_get_account: (a: number, b: number) => number; readonly sdk_state_get_account_info: (a: number, b: number) => number; - readonly __wbg_getblocktransfersresult_free: (a: number) => void; - readonly getblocktransfersresult_api_version: (a: number) => number; - readonly getblocktransfersresult_block_hash: (a: number) => number; - readonly getblocktransfersresult_transfers: (a: number) => number; - readonly getblocktransfersresult_toJson: (a: number) => number; - readonly __wbg_getblocktransfersoptions_free: (a: number) => void; - readonly __wbg_get_getblocktransfersoptions_maybe_block_id_as_string: (a: number, b: number) => void; - readonly __wbg_set_getblocktransfersoptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_get_getblocktransfersoptions_verbosity: (a: number) => number; - readonly __wbg_set_getblocktransfersoptions_verbosity: (a: number, b: number) => void; - readonly __wbg_get_getblocktransfersoptions_node_address: (a: number, b: number) => void; - readonly __wbg_set_getblocktransfersoptions_node_address: (a: number, b: number, c: number) => void; - readonly sdk_get_block_transfers_options: (a: number, b: number, c: number) => void; - readonly sdk_get_block_transfers: (a: number, b: number) => number; readonly __wbg_getstateroothashresult_free: (a: number) => void; readonly getstateroothashresult_api_version: (a: number) => number; readonly getstateroothashresult_state_root_hash: (a: number) => number; readonly getstateroothashresult_state_root_hash_as_string: (a: number, b: number) => void; readonly getstateroothashresult_toString: (a: number, b: number) => void; readonly getstateroothashresult_toJson: (a: number) => number; + readonly __wbg_getstateroothashoptions_free: (a: number) => void; + readonly __wbg_get_getstateroothashoptions_maybe_block_id_as_string: (a: number, b: number) => void; + readonly __wbg_set_getstateroothashoptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_getstateroothashoptions_node_address: (a: number, b: number) => void; + readonly __wbg_set_getstateroothashoptions_node_address: (a: number, b: number, c: number) => void; + readonly __wbg_get_getstateroothashoptions_verbosity: (a: number) => number; + readonly __wbg_set_getstateroothashoptions_verbosity: (a: number, b: number) => void; readonly sdk_get_state_root_hash_options: (a: number, b: number, c: number) => void; readonly sdk_get_state_root_hash: (a: number, b: number) => number; readonly sdk_chain_get_state_root_hash: (a: number, b: number) => number; - readonly __wbg_querybalanceresult_free: (a: number) => void; - readonly querybalanceresult_api_version: (a: number) => number; - readonly querybalanceresult_balance: (a: number) => number; - readonly querybalanceresult_toJson: (a: number) => number; - readonly __wbg_querybalanceoptions_free: (a: number) => void; - readonly __wbg_get_querybalanceoptions_purse_identifier: (a: number) => number; - readonly __wbg_set_querybalanceoptions_purse_identifier: (a: number, b: number) => void; - readonly __wbg_get_querybalanceoptions_global_state_identifier: (a: number) => number; - readonly __wbg_set_querybalanceoptions_global_state_identifier: (a: number, b: number) => void; - readonly __wbg_get_querybalanceoptions_state_root_hash: (a: number) => number; - readonly __wbg_set_querybalanceoptions_state_root_hash: (a: number, b: number) => void; - readonly __wbg_get_querybalanceoptions_node_address: (a: number, b: number) => void; - readonly __wbg_set_querybalanceoptions_node_address: (a: number, b: number, c: number) => void; - readonly __wbg_get_querybalanceoptions_verbosity: (a: number) => number; - readonly __wbg_set_querybalanceoptions_verbosity: (a: number, b: number) => void; - readonly sdk_query_balance_options: (a: number, b: number, c: number) => void; - readonly sdk_query_balance: (a: number, b: number) => number; readonly sdk_make_transfer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void; readonly sdk_watchDeploy: (a: number, b: number, c: number, d: number, e: number) => number; readonly sdk_waitDeploy: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number; @@ -3723,99 +3438,384 @@ export interface InitOutput { readonly __wbg_set_eventparseresult_err: (a: number, b: number, c: number) => void; readonly __wbg_get_eventparseresult_body: (a: number) => number; readonly __wbg_set_eventparseresult_body: (a: number, b: number) => void; - readonly __wbg_get_getblocktransfersoptions_maybe_block_identifier: (a: number) => number; + readonly __wbg_querycontractkeyoptions_free: (a: number) => void; + readonly __wbg_get_querycontractkeyoptions_global_state_identifier: (a: number) => number; + readonly __wbg_set_querycontractkeyoptions_global_state_identifier: (a: number, b: number) => void; + readonly __wbg_get_querycontractkeyoptions_state_root_hash_as_string: (a: number, b: number) => void; + readonly __wbg_set_querycontractkeyoptions_state_root_hash_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_querycontractkeyoptions_state_root_hash: (a: number) => number; + readonly __wbg_set_querycontractkeyoptions_state_root_hash: (a: number, b: number) => void; + readonly __wbg_get_querycontractkeyoptions_maybe_block_id_as_string: (a: number, b: number) => void; + readonly __wbg_set_querycontractkeyoptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_querycontractkeyoptions_contract_key_as_string: (a: number, b: number) => void; + readonly __wbg_set_querycontractkeyoptions_contract_key_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_querycontractkeyoptions_contract_key: (a: number) => number; + readonly __wbg_set_querycontractkeyoptions_contract_key: (a: number, b: number) => void; + readonly __wbg_get_querycontractkeyoptions_path_as_string: (a: number, b: number) => void; + readonly __wbg_set_querycontractkeyoptions_path_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_querycontractkeyoptions_path: (a: number) => number; + readonly __wbg_set_querycontractkeyoptions_path: (a: number, b: number) => void; + readonly __wbg_get_querycontractkeyoptions_node_address: (a: number, b: number) => void; + readonly __wbg_set_querycontractkeyoptions_node_address: (a: number, b: number, c: number) => void; + readonly __wbg_get_querycontractkeyoptions_verbosity: (a: number) => number; + readonly __wbg_set_querycontractkeyoptions_verbosity: (a: number, b: number) => void; + readonly sdk_query_contract_key_options: (a: number, b: number, c: number) => void; + readonly sdk_query_contract_key: (a: number, b: number) => number; + readonly __wbg_casperwallet_free: (a: number) => void; + readonly casperwallet_new: () => number; + readonly casperwallet_signDeploy: (a: number, b: number, c: number, d: number) => number; + readonly casperwallet_signDeployHash: (a: number, b: number, c: number, d: number, e: number) => number; + readonly casperwallet_signMessage: (a: number, b: number, c: number, d: number, e: number) => number; + readonly casperwallet_connect: (a: number) => number; + readonly casperwallet_disconnect: (a: number) => number; + readonly casperwallet_isConnected: (a: number) => number; + readonly casperwallet_getVersion: (a: number) => number; + readonly casperwallet_getActivePublicKey: (a: number) => number; + readonly casperwallet_switchAccount: (a: number) => number; readonly __wbg_get_getstateroothashoptions_maybe_block_identifier: (a: number) => number; - readonly __wbg_getstateroothashoptions_free: (a: number) => void; - readonly __wbg_set_getstateroothashoptions_verbosity: (a: number, b: number) => void; + readonly deployhash_fromDigest: (a: number, b: number) => void; readonly __wbg_set_failure_error_message: (a: number, b: number, c: number) => void; readonly __wbg_set_success_cost: (a: number, b: number, c: number) => void; readonly __wbg_set_deploysubscription_deployHash: (a: number, b: number, c: number) => void; - readonly __wbg_set_getstateroothashoptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_set_getstateroothashoptions_node_address: (a: number, b: number, c: number) => void; - readonly __wbg_set_querybalanceoptions_purse_identifier_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_set_querybalanceoptions_state_root_hash_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_set_querybalanceoptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; - readonly __wbg_set_getblocktransfersoptions_maybe_block_identifier: (a: number, b: number) => void; readonly __wbg_set_getstateroothashoptions_maybe_block_identifier: (a: number, b: number) => void; - readonly __wbg_get_getstateroothashoptions_maybe_block_id_as_string: (a: number, b: number) => void; - readonly __wbg_get_getstateroothashoptions_node_address: (a: number, b: number) => void; - readonly __wbg_get_querybalanceoptions_purse_identifier_as_string: (a: number, b: number) => void; - readonly __wbg_get_querybalanceoptions_state_root_hash_as_string: (a: number, b: number) => void; - readonly __wbg_get_querybalanceoptions_maybe_block_id_as_string: (a: number, b: number) => void; - readonly __wbg_get_getstateroothashoptions_verbosity: (a: number) => number; + readonly __wbg_deployhash_free: (a: number) => void; readonly __wbg_success_free: (a: number) => void; readonly __wbg_get_failure_error_message: (a: number, b: number) => void; readonly __wbg_get_success_cost: (a: number, b: number) => void; readonly __wbg_get_deploysubscription_deployHash: (a: number, b: number) => void; - readonly __wbg_globalstateidentifier_free: (a: number) => void; - readonly globalstateidentifier_new: (a: number) => number; - readonly globalstateidentifier_fromBlockHash: (a: number) => number; - readonly globalstateidentifier_fromBlockHeight: (a: number) => number; - readonly globalstateidentifier_fromStateRootHash: (a: number) => number; - readonly globalstateidentifier_toJson: (a: number) => number; - readonly __wbg_getchainspecresult_free: (a: number) => void; - readonly getchainspecresult_api_version: (a: number) => number; - readonly getchainspecresult_chainspec_bytes: (a: number) => number; - readonly getchainspecresult_toJson: (a: number) => number; - readonly sdk_get_chainspec: (a: number, b: number, c: number, d: number) => number; - readonly __wbg_getnodestatusresult_free: (a: number) => void; - readonly getnodestatusresult_api_version: (a: number) => number; - readonly getnodestatusresult_chainspec_name: (a: number, b: number) => void; - readonly getnodestatusresult_starting_state_root_hash: (a: number) => number; - readonly getnodestatusresult_peers: (a: number) => number; - readonly getnodestatusresult_last_added_block_info: (a: number) => number; - readonly getnodestatusresult_our_public_signing_key: (a: number) => number; - readonly getnodestatusresult_round_length: (a: number) => number; - readonly getnodestatusresult_next_upgrade: (a: number) => number; - readonly getnodestatusresult_build_version: (a: number, b: number) => void; - readonly getnodestatusresult_uptime: (a: number) => number; - readonly getnodestatusresult_reactor_state: (a: number) => number; - readonly getnodestatusresult_last_progress: (a: number) => number; - readonly getnodestatusresult_available_block_range: (a: number) => number; - readonly getnodestatusresult_block_sync: (a: number) => number; - readonly getnodestatusresult_toJson: (a: number) => number; - readonly sdk_get_node_status: (a: number, b: number, c: number, d: number) => number; - readonly __wbg_getpeersresult_free: (a: number) => void; - readonly getpeersresult_api_version: (a: number) => number; - readonly getpeersresult_peers: (a: number) => number; - readonly getpeersresult_toJson: (a: number) => number; - readonly sdk_get_peers: (a: number, b: number, c: number, d: number) => number; - readonly __wbg_getvalidatorchangesresult_free: (a: number) => void; - readonly getvalidatorchangesresult_api_version: (a: number) => number; - readonly getvalidatorchangesresult_changes: (a: number) => number; - readonly getvalidatorchangesresult_toJson: (a: number) => number; - readonly sdk_get_validator_changes: (a: number, b: number, c: number, d: number) => number; - readonly __wbg_listrpcsresult_free: (a: number) => void; - readonly listrpcsresult_api_version: (a: number) => number; - readonly listrpcsresult_name: (a: number, b: number) => void; - readonly listrpcsresult_schema: (a: number) => number; - readonly listrpcsresult_toJson: (a: number) => number; - readonly sdk_list_rpcs: (a: number, b: number, c: number, d: number) => number; - readonly sdk_install: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number; - readonly sdk_speculative_deploy: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number; - readonly sdk_speculative_transfer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => number; - readonly __wbg_intounderlyingsink_free: (a: number) => void; - readonly intounderlyingsink_write: (a: number, b: number) => number; - readonly intounderlyingsink_close: (a: number) => number; - readonly intounderlyingsink_abort: (a: number, b: number) => number; - readonly __wbg_intounderlyingsource_free: (a: number) => void; - readonly intounderlyingsource_pull: (a: number, b: number) => number; - readonly intounderlyingsource_cancel: (a: number) => void; - readonly __wbg_intounderlyingbytesource_free: (a: number) => void; - readonly intounderlyingbytesource_type: (a: number, b: number) => void; - readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number; - readonly intounderlyingbytesource_start: (a: number, b: number) => void; - readonly intounderlyingbytesource_pull: (a: number, b: number) => number; - readonly intounderlyingbytesource_cancel: (a: number) => void; + readonly __wbg_hashaddr_free: (a: number) => void; + readonly hashaddr_new: (a: number, b: number, c: number) => void; + readonly transferaddr_new: (a: number, b: number, c: number) => void; + readonly __wbg_deploystrparams_free: (a: number) => void; + readonly deploystrparams_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number; + readonly deploystrparams_secret_key: (a: number, b: number) => void; + readonly deploystrparams_set_secret_key: (a: number, b: number, c: number) => void; + readonly deploystrparams_timestamp: (a: number, b: number) => void; + readonly deploystrparams_set_timestamp: (a: number, b: number, c: number) => void; + readonly deploystrparams_setDefaultTimestamp: (a: number) => void; + readonly deploystrparams_ttl: (a: number, b: number) => void; + readonly deploystrparams_set_ttl: (a: number, b: number, c: number) => void; + readonly deploystrparams_setDefaultTTL: (a: number) => void; + readonly deploystrparams_chain_name: (a: number, b: number) => void; + readonly deploystrparams_set_chain_name: (a: number, b: number, c: number) => void; + readonly deploystrparams_session_account: (a: number, b: number) => void; + readonly deploystrparams_set_session_account: (a: number, b: number, c: number) => void; + readonly __wbg_paymentstrparams_free: (a: number) => void; + readonly paymentstrparams_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number) => number; + readonly paymentstrparams_set_payment_amount: (a: number, b: number, c: number) => void; + readonly paymentstrparams_set_payment_hash: (a: number, b: number, c: number) => void; + readonly paymentstrparams_set_payment_name: (a: number, b: number, c: number) => void; + readonly paymentstrparams_set_payment_package_hash: (a: number, b: number, c: number) => void; + readonly paymentstrparams_set_payment_package_name: (a: number, b: number, c: number) => void; + readonly paymentstrparams_payment_path: (a: number, b: number) => void; + readonly paymentstrparams_set_payment_path: (a: number, b: number, c: number) => void; + readonly paymentstrparams_payment_args_simple: (a: number) => number; + readonly paymentstrparams_set_payment_args_simple: (a: number, b: number) => void; + readonly paymentstrparams_payment_args_json: (a: number, b: number) => void; + readonly paymentstrparams_set_payment_args_json: (a: number, b: number, c: number) => void; + readonly paymentstrparams_payment_args_complex: (a: number, b: number) => void; + readonly paymentstrparams_set_payment_args_complex: (a: number, b: number, c: number) => void; + readonly paymentstrparams_payment_version: (a: number, b: number) => void; + readonly paymentstrparams_set_payment_version: (a: number, b: number, c: number) => void; + readonly paymentstrparams_payment_entry_point: (a: number, b: number) => void; + readonly paymentstrparams_set_payment_entry_point: (a: number, b: number, c: number) => void; + readonly __wbg_sessionstrparams_free: (a: number) => void; + readonly sessionstrparams_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number) => number; + readonly sessionstrparams_set_session_hash: (a: number, b: number, c: number) => void; + readonly sessionstrparams_set_session_name: (a: number, b: number, c: number) => void; + readonly sessionstrparams_set_session_package_hash: (a: number, b: number, c: number) => void; + readonly sessionstrparams_set_session_package_name: (a: number, b: number, c: number) => void; + readonly sessionstrparams_set_session_path: (a: number, b: number, c: number) => void; + readonly sessionstrparams_session_bytes: (a: number) => number; + readonly sessionstrparams_set_session_bytes: (a: number, b: number) => void; + readonly sessionstrparams_session_args_simple: (a: number) => number; + readonly sessionstrparams_set_session_args_simple: (a: number, b: number) => void; + readonly sessionstrparams_set_session_args_json: (a: number, b: number, c: number) => void; + readonly sessionstrparams_set_session_args_complex: (a: number, b: number, c: number) => void; + readonly sessionstrparams_set_session_version: (a: number, b: number, c: number) => void; + readonly sessionstrparams_set_session_entry_point: (a: number, b: number, c: number) => void; + readonly sessionstrparams_is_session_transfer: (a: number) => number; + readonly sessionstrparams_set_is_session_transfer: (a: number, b: number) => void; + readonly __wbg_signatureresponse_free: (a: number) => void; + readonly signatureresponse_is_cancelled: (a: number) => number; + readonly signatureresponse_get_signature_hex: (a: number, b: number) => void; + readonly signatureresponse_get_signature: (a: number, b: number) => void; + readonly __wbg_getbalanceresult_free: (a: number) => void; + readonly getbalanceresult_api_version: (a: number) => number; + readonly getbalanceresult_balance_value: (a: number) => number; + readonly getbalanceresult_merkle_proof: (a: number, b: number) => void; + readonly getbalanceresult_toJson: (a: number) => number; + readonly __wbg_getbalanceoptions_free: (a: number) => void; + readonly __wbg_get_getbalanceoptions_state_root_hash_as_string: (a: number, b: number) => void; + readonly __wbg_set_getbalanceoptions_state_root_hash_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_getbalanceoptions_state_root_hash: (a: number) => number; + readonly __wbg_set_getbalanceoptions_state_root_hash: (a: number, b: number) => void; + readonly __wbg_get_getbalanceoptions_purse_uref_as_string: (a: number, b: number) => void; + readonly __wbg_set_getbalanceoptions_purse_uref_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_getbalanceoptions_purse_uref: (a: number) => number; + readonly __wbg_set_getbalanceoptions_purse_uref: (a: number, b: number) => void; + readonly __wbg_get_getbalanceoptions_node_address: (a: number, b: number) => void; + readonly __wbg_set_getbalanceoptions_node_address: (a: number, b: number, c: number) => void; + readonly __wbg_get_getbalanceoptions_verbosity: (a: number) => number; + readonly __wbg_set_getbalanceoptions_verbosity: (a: number, b: number) => void; + readonly sdk_get_balance_options: (a: number, b: number, c: number) => void; + readonly sdk_get_balance: (a: number, b: number) => number; + readonly sdk_state_get_balance: (a: number, b: number) => number; + readonly __wbg_getchainspecresult_free: (a: number) => void; + readonly getchainspecresult_api_version: (a: number) => number; + readonly getchainspecresult_chainspec_bytes: (a: number) => number; + readonly getchainspecresult_toJson: (a: number) => number; + readonly sdk_get_chainspec: (a: number, b: number, c: number, d: number) => number; + readonly __wbg_getpeersresult_free: (a: number) => void; + readonly getpeersresult_api_version: (a: number) => number; + readonly getpeersresult_peers: (a: number) => number; + readonly getpeersresult_toJson: (a: number) => number; + readonly sdk_get_peers: (a: number, b: number, c: number, d: number) => number; + readonly paymentstrparams_payment_amount: (a: number, b: number) => void; + readonly paymentstrparams_payment_hash: (a: number, b: number) => void; + readonly paymentstrparams_payment_name: (a: number, b: number) => void; + readonly paymentstrparams_payment_package_hash: (a: number, b: number) => void; + readonly paymentstrparams_payment_package_name: (a: number, b: number) => void; + readonly sessionstrparams_session_hash: (a: number, b: number) => void; + readonly sessionstrparams_session_name: (a: number, b: number) => void; + readonly sessionstrparams_session_package_hash: (a: number, b: number) => void; + readonly sessionstrparams_session_package_name: (a: number, b: number) => void; + readonly sessionstrparams_session_path: (a: number, b: number) => void; + readonly sessionstrparams_session_args_json: (a: number, b: number) => void; + readonly sessionstrparams_session_args_complex: (a: number, b: number) => void; + readonly sessionstrparams_session_version: (a: number, b: number) => void; + readonly sessionstrparams_session_entry_point: (a: number, b: number) => void; + readonly __wbg_transferaddr_free: (a: number) => void; + readonly sdk_put_deploy: (a: number, b: number, c: number, d: number, e: number) => number; + readonly sdk_account_put_deploy: (a: number, b: number, c: number, d: number, e: number) => number; + readonly sdk_speculative_transfer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number) => number; + readonly __wbg_blockidentifier_free: (a: number) => void; + readonly blockidentifier_new: (a: number) => number; + readonly blockidentifier_from_hash: (a: number) => number; + readonly blockidentifier_fromHeight: (a: number) => number; + readonly blockidentifier_toJson: (a: number) => number; + readonly __wbg_putdeployresult_free: (a: number) => void; + readonly putdeployresult_api_version: (a: number) => number; + readonly putdeployresult_deploy_hash: (a: number) => number; + readonly putdeployresult_toJson: (a: number) => number; + readonly sdk_deploy: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number; + readonly sdk_transfer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => number; + readonly __wbg_getblocktransfersresult_free: (a: number) => void; + readonly getblocktransfersresult_api_version: (a: number) => number; + readonly getblocktransfersresult_block_hash: (a: number) => number; + readonly getblocktransfersresult_transfers: (a: number) => number; + readonly getblocktransfersresult_toJson: (a: number) => number; + readonly __wbg_getblocktransfersoptions_free: (a: number) => void; + readonly __wbg_get_getblocktransfersoptions_maybe_block_id_as_string: (a: number, b: number) => void; + readonly __wbg_set_getblocktransfersoptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_getblocktransfersoptions_maybe_block_identifier: (a: number) => number; + readonly __wbg_set_getblocktransfersoptions_maybe_block_identifier: (a: number, b: number) => void; + readonly __wbg_get_getblocktransfersoptions_verbosity: (a: number) => number; + readonly __wbg_set_getblocktransfersoptions_verbosity: (a: number, b: number) => void; + readonly __wbg_get_getblocktransfersoptions_node_address: (a: number, b: number) => void; + readonly __wbg_set_getblocktransfersoptions_node_address: (a: number, b: number, c: number) => void; + readonly sdk_get_block_transfers_options: (a: number, b: number, c: number) => void; + readonly sdk_get_block_transfers: (a: number, b: number) => number; + readonly __wbg_listrpcsresult_free: (a: number) => void; + readonly listrpcsresult_api_version: (a: number) => number; + readonly listrpcsresult_name: (a: number, b: number) => void; + readonly listrpcsresult_schema: (a: number) => number; + readonly listrpcsresult_toJson: (a: number) => number; + readonly sdk_list_rpcs: (a: number, b: number, c: number, d: number) => number; + readonly __wbg_querybalanceresult_free: (a: number) => void; + readonly querybalanceresult_api_version: (a: number) => number; + readonly querybalanceresult_balance: (a: number) => number; + readonly querybalanceresult_toJson: (a: number) => number; + readonly __wbg_querybalanceoptions_free: (a: number) => void; + readonly __wbg_get_querybalanceoptions_purse_identifier_as_string: (a: number, b: number) => void; + readonly __wbg_set_querybalanceoptions_purse_identifier_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_querybalanceoptions_purse_identifier: (a: number) => number; + readonly __wbg_set_querybalanceoptions_purse_identifier: (a: number, b: number) => void; + readonly __wbg_get_querybalanceoptions_global_state_identifier: (a: number) => number; + readonly __wbg_set_querybalanceoptions_global_state_identifier: (a: number, b: number) => void; + readonly __wbg_get_querybalanceoptions_state_root_hash_as_string: (a: number, b: number) => void; + readonly __wbg_set_querybalanceoptions_state_root_hash_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_querybalanceoptions_state_root_hash: (a: number) => number; + readonly __wbg_set_querybalanceoptions_state_root_hash: (a: number, b: number) => void; + readonly __wbg_get_querybalanceoptions_maybe_block_id_as_string: (a: number, b: number) => void; + readonly __wbg_set_querybalanceoptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_querybalanceoptions_node_address: (a: number, b: number) => void; + readonly __wbg_set_querybalanceoptions_node_address: (a: number, b: number, c: number) => void; + readonly __wbg_get_querybalanceoptions_verbosity: (a: number) => number; + readonly __wbg_set_querybalanceoptions_verbosity: (a: number, b: number) => void; + readonly sdk_query_balance_options: (a: number, b: number, c: number) => void; + readonly sdk_query_balance: (a: number, b: number) => number; + readonly sdk_call_entrypoint: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number; + readonly __wbg_accounthash_free: (a: number) => void; + readonly accounthash_new_js_alias: (a: number, b: number, c: number) => void; + readonly accounthash_fromFormattedStr: (a: number, b: number, c: number) => void; + readonly accounthash_fromPublicKey: (a: number) => number; + readonly accounthash_toFormattedString: (a: number, b: number) => void; + readonly accounthash_toHexString: (a: number, b: number) => void; + readonly accounthash_fromUint8Array: (a: number, b: number) => number; + readonly accounthash_toJson: (a: number) => number; + readonly __wbg_accountidentifier_free: (a: number) => void; + readonly accountidentifier_fromFormattedStr: (a: number, b: number, c: number) => void; + readonly accountidentifier_fromPublicKey: (a: number) => number; + readonly accountidentifier_fromAccountHash: (a: number) => number; + readonly accountidentifier_toJson: (a: number) => number; + readonly publickey_new_js_alias: (a: number, b: number, c: number) => void; + readonly publickey_fromUint8Array: (a: number, b: number, c: number) => void; + readonly publickey_toAccountHash: (a: number) => number; + readonly publickey_toPurseUref: (a: number) => number; + readonly publickey_toJson: (a: number) => number; + readonly __wbg_uref_free: (a: number) => void; + readonly uref_new_js_alias: (a: number, b: number, c: number, d: number) => void; + readonly uref_fromFormattedStr: (a: number, b: number, c: number) => void; + readonly uref_fromUint8Array: (a: number, b: number, c: number) => number; + readonly uref_toFormattedString: (a: number, b: number) => void; + readonly uref_toJson: (a: number) => number; + readonly sdk_speculative_deploy: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number; + readonly hexToString: (a: number, b: number, c: number) => void; + readonly hexToUint8Array: (a: number, b: number, c: number) => void; + readonly uint8ArrayToBytes: (a: number) => number; + readonly motesToCSPR: (a: number, b: number, c: number) => void; + readonly jsonPrettyPrint: (a: number, b: number, c: number) => void; + readonly publicKeyFromSecretKey: (a: number, b: number, c: number) => void; + readonly generateSecretKey: (a: number) => void; + readonly generateSecretKey_secp256k1: (a: number) => void; + readonly accountHashToBase64Key: (a: number, b: number, c: number) => void; + readonly getTimestamp: () => number; + readonly encodeLowerBlake2b: (a: number, b: number) => number; + readonly makeDictionaryItemKey: (a: number, b: number, c: number, d: number) => void; + readonly accountidentifier_new: (a: number, b: number, c: number) => void; + readonly __wbg_publickey_free: (a: number) => void; + readonly urefaddr_new: (a: number, b: number, c: number) => void; + readonly __wbg_bytes_free: (a: number) => void; + readonly bytes_new: () => number; + readonly bytes_fromUint8Array: (a: number) => number; + readonly __wbg_contracthash_free: (a: number) => void; + readonly contracthash_new_js_alias: (a: number, b: number, c: number) => void; + readonly contracthash_fromFormattedStr: (a: number, b: number, c: number) => void; + readonly contracthash_toFormattedString: (a: number, b: number) => void; + readonly contracthash_fromUint8Array: (a: number, b: number) => number; + readonly __wbg_deploy_free: (a: number) => void; + readonly deploy_new: (a: number) => number; + readonly deploy_toJson: (a: number) => number; + readonly deploy_withPaymentAndSession: (a: number, b: number, c: number, d: number) => void; + readonly deploy_withTransfer: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void; + readonly deploy_withTTL: (a: number, b: number, c: number, d: number, e: number) => number; + readonly deploy_withTimestamp: (a: number, b: number, c: number, d: number, e: number) => number; + readonly deploy_withChainName: (a: number, b: number, c: number, d: number, e: number) => number; + readonly deploy_withAccount: (a: number, b: number, c: number, d: number) => number; + readonly deploy_withEntryPointName: (a: number, b: number, c: number, d: number, e: number) => number; + readonly deploy_withHash: (a: number, b: number, c: number, d: number) => number; + readonly deploy_withPackageHash: (a: number, b: number, c: number, d: number) => number; + readonly deploy_withModuleBytes: (a: number, b: number, c: number, d: number) => number; + readonly deploy_withSecretKey: (a: number, b: number, c: number) => number; + readonly deploy_withStandardPayment: (a: number, b: number, c: number, d: number, e: number) => number; + readonly deploy_withPayment: (a: number, b: number, c: number, d: number) => number; + readonly deploy_withSession: (a: number, b: number, c: number, d: number) => number; + readonly deploy_validateDeploySize: (a: number) => number; + readonly deploy_hash: (a: number) => number; + readonly deploy_sign: (a: number, b: number, c: number) => number; + readonly deploy_addSignature: (a: number, b: number, c: number, d: number, e: number) => number; + readonly deploy_TTL: (a: number, b: number) => void; + readonly deploy_timestamp: (a: number, b: number) => void; + readonly deploy_chainName: (a: number, b: number) => void; + readonly deploy_account: (a: number, b: number) => void; + readonly deploy_args: (a: number) => number; + readonly deploy_addArg: (a: number, b: number, c: number, d: number, e: number) => void; + readonly __wbg_dictionaryitemstrparams_free: (a: number) => void; + readonly dictionaryitemstrparams_new: () => number; + readonly dictionaryitemstrparams_setAccountNamedKey: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void; + readonly dictionaryitemstrparams_setContractNamedKey: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void; + readonly dictionaryitemstrparams_setUref: (a: number, b: number, c: number, d: number, e: number) => void; + readonly dictionaryitemstrparams_setDictionary: (a: number, b: number, c: number) => void; + readonly dictionaryitemstrparams_toJson: (a: number) => number; + readonly __wbg_getdeployresult_free: (a: number) => void; + readonly getdeployresult_api_version: (a: number) => number; + readonly getdeployresult_deploy: (a: number) => number; + readonly getdeployresult_toJson: (a: number) => number; + readonly __wbg_getdeployoptions_free: (a: number) => void; + readonly __wbg_get_getdeployoptions_deploy_hash_as_string: (a: number, b: number) => void; + readonly __wbg_set_getdeployoptions_deploy_hash_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_getdeployoptions_deploy_hash: (a: number) => number; + readonly __wbg_set_getdeployoptions_deploy_hash: (a: number, b: number) => void; + readonly __wbg_get_getdeployoptions_finalized_approvals: (a: number) => number; + readonly __wbg_set_getdeployoptions_finalized_approvals: (a: number, b: number) => void; + readonly __wbg_get_getdeployoptions_node_address: (a: number, b: number) => void; + readonly __wbg_set_getdeployoptions_node_address: (a: number, b: number, c: number) => void; + readonly __wbg_get_getdeployoptions_verbosity: (a: number) => number; + readonly __wbg_set_getdeployoptions_verbosity: (a: number, b: number) => void; + readonly sdk_get_deploy_options: (a: number, b: number, c: number) => void; + readonly sdk_get_deploy: (a: number, b: number) => number; + readonly sdk_info_get_deploy: (a: number, b: number) => number; + readonly __wbg_getvalidatorchangesresult_free: (a: number) => void; + readonly getvalidatorchangesresult_api_version: (a: number) => number; + readonly getvalidatorchangesresult_changes: (a: number) => number; + readonly getvalidatorchangesresult_toJson: (a: number) => number; + readonly sdk_get_validator_changes: (a: number, b: number, c: number, d: number) => number; + readonly __wbg_speculativeexecresult_free: (a: number) => void; + readonly speculativeexecresult_api_version: (a: number) => number; + readonly speculativeexecresult_block_hash: (a: number) => number; + readonly speculativeexecresult_execution_result: (a: number) => number; + readonly speculativeexecresult_toJson: (a: number) => number; + readonly __wbg_getspeculativeexecoptions_free: (a: number) => void; + readonly __wbg_get_getspeculativeexecoptions_deploy_as_string: (a: number, b: number) => void; + readonly __wbg_set_getspeculativeexecoptions_deploy_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_getspeculativeexecoptions_deploy: (a: number) => number; + readonly __wbg_set_getspeculativeexecoptions_deploy: (a: number, b: number) => void; + readonly __wbg_get_getspeculativeexecoptions_maybe_block_id_as_string: (a: number, b: number) => void; + readonly __wbg_set_getspeculativeexecoptions_maybe_block_id_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_getspeculativeexecoptions_maybe_block_identifier: (a: number) => number; + readonly __wbg_set_getspeculativeexecoptions_maybe_block_identifier: (a: number, b: number) => void; + readonly __wbg_get_getspeculativeexecoptions_node_address: (a: number, b: number) => void; + readonly __wbg_set_getspeculativeexecoptions_node_address: (a: number, b: number, c: number) => void; + readonly __wbg_get_getspeculativeexecoptions_verbosity: (a: number) => number; + readonly __wbg_set_getspeculativeexecoptions_verbosity: (a: number, b: number) => void; + readonly sdk_get_speculative_exec_options: (a: number, b: number, c: number) => void; + readonly sdk_speculative_exec: (a: number, b: number) => number; + readonly __wbg_querycontractdictoptions_free: (a: number) => void; + readonly __wbg_get_querycontractdictoptions_state_root_hash_as_string: (a: number, b: number) => void; + readonly __wbg_set_querycontractdictoptions_state_root_hash_as_string: (a: number, b: number, c: number) => void; + readonly __wbg_get_querycontractdictoptions_state_root_hash: (a: number) => number; + readonly __wbg_set_querycontractdictoptions_state_root_hash: (a: number, b: number) => void; + readonly __wbg_get_querycontractdictoptions_dictionary_item_params: (a: number) => number; + readonly __wbg_set_querycontractdictoptions_dictionary_item_params: (a: number, b: number) => void; + readonly __wbg_get_querycontractdictoptions_dictionary_item_identifier: (a: number) => number; + readonly __wbg_set_querycontractdictoptions_dictionary_item_identifier: (a: number, b: number) => void; + readonly __wbg_get_querycontractdictoptions_node_address: (a: number, b: number) => void; + readonly __wbg_set_querycontractdictoptions_node_address: (a: number, b: number, c: number) => void; + readonly __wbg_get_querycontractdictoptions_verbosity: (a: number) => number; + readonly __wbg_set_querycontractdictoptions_verbosity: (a: number, b: number) => void; + readonly sdk_query_contract_dict_options: (a: number, b: number, c: number) => void; + readonly sdk_query_contract_dict: (a: number, b: number) => number; + readonly __wbg_sdk_free: (a: number) => void; + readonly sdk_new: (a: number, b: number, c: number) => number; + readonly sdk_getNodeAddress: (a: number, b: number, c: number, d: number) => void; + readonly sdk_setNodeAddress: (a: number, b: number, c: number, d: number) => void; + readonly sdk_getVerbosity: (a: number, b: number) => number; + readonly sdk_setVerbosity: (a: number, b: number, c: number) => void; + readonly __wbg_urefaddr_free: (a: number) => void; + readonly sdk_install: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number; + readonly __wbg_intounderlyingsource_free: (a: number) => void; + readonly intounderlyingsource_pull: (a: number, b: number) => number; + readonly intounderlyingsource_cancel: (a: number) => void; + readonly __wbg_intounderlyingbytesource_free: (a: number) => void; + readonly intounderlyingbytesource_type: (a: number, b: number) => void; + readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number; + readonly intounderlyingbytesource_start: (a: number, b: number) => void; + readonly intounderlyingbytesource_pull: (a: number, b: number) => number; + readonly intounderlyingbytesource_cancel: (a: number) => void; + readonly __wbg_intounderlyingsink_free: (a: number) => void; + readonly intounderlyingsink_write: (a: number, b: number) => number; + readonly intounderlyingsink_close: (a: number) => number; + readonly intounderlyingsink_abort: (a: number, b: number) => number; readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf18b011da91a71a4: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h828ea3939073e4cd: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0d84a86fb8ccef8f: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h371b80b3de9ca300: (a: number, b: number, c: number) => void; readonly __wbindgen_add_to_stack_pointer: (a: number) => number; readonly __wbindgen_free: (a: number, b: number, c: number) => void; readonly __wbindgen_exn_store: (a: number) => void; - readonly wasm_bindgen__convert__closures__invoke2_mut__h232935261d0e3333: (a: number, b: number, c: number, d: number) => void; + readonly wasm_bindgen__convert__closures__invoke2_mut__h5ff82a3ec25de97a: (a: number, b: number, c: number, d: number) => void; } export type SyncInitInput = BufferSource | WebAssembly.Module; diff --git a/pkg/casper_rust_wasm_sdk.js b/pkg/casper_rust_wasm_sdk.js index 6a0af3d7a..edfd71b4c 100644 --- a/pkg/casper_rust_wasm_sdk.js +++ b/pkg/casper_rust_wasm_sdk.js @@ -212,11 +212,18 @@ function makeMutClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_34(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf18b011da91a71a4(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0d84a86fb8ccef8f(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_37(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h828ea3939073e4cd(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h371b80b3de9ca300(arg0, arg1, addHeapObject(arg2)); +} + +function _assertClass(instance, klass) { + if (!(instance instanceof klass)) { + throw new Error(`expected instance of ${klass.name}`); + } + return instance.ptr; } function passArray8ToWasm0(arg, malloc) { @@ -226,11 +233,47 @@ function passArray8ToWasm0(arg, malloc) { return ptr; } -function _assertClass(instance, klass) { - if (!(instance instanceof klass)) { - throw new Error(`expected instance of ${klass.name}`); +let cachedUint32Memory0 = null; + +function getUint32Memory0() { + if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) { + cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer); } - return instance.ptr; + return cachedUint32Memory0; +} + +function passArrayJsValueToWasm0(array, malloc) { + const ptr = malloc(array.length * 4, 4) >>> 0; + const mem = getUint32Memory0(); + for (let i = 0; i < array.length; i++) { + mem[ptr / 4 + i] = addHeapObject(array[i]); + } + WASM_VECTOR_LEN = array.length; + return ptr; +} + +function getArrayJsValueFromWasm0(ptr, len) { + ptr = ptr >>> 0; + const mem = getUint32Memory0(); + const slice = mem.subarray(ptr / 4, ptr / 4 + len); + const result = []; + for (let i = 0; i < slice.length; i++) { + result.push(takeObject(slice[i])); + } + return result; +} + +function handleError(f, args) { + try { + return f.apply(this, args); + } catch (e) { + wasm.__wbindgen_exn_store(addHeapObject(e)); + } +} + +function getArrayU8FromWasm0(ptr, len) { + ptr = ptr >>> 0; + return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len); } /** * Converts a hexadecimal string to a regular string. @@ -264,10 +307,6 @@ export function hexToString(hex_string) { } } -function getArrayU8FromWasm0(ptr, len) { - ptr = ptr >>> 0; - return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len); -} /** * Converts a hexadecimal string to a Uint8Array. * @@ -594,45 +633,8 @@ export function makeDictionaryItemKey(key, value) { } } -function handleError(f, args) { - try { - return f.apply(this, args); - } catch (e) { - wasm.__wbindgen_exn_store(addHeapObject(e)); - } -} - -let cachedUint32Memory0 = null; - -function getUint32Memory0() { - if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) { - cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer); - } - return cachedUint32Memory0; -} - -function passArrayJsValueToWasm0(array, malloc) { - const ptr = malloc(array.length * 4, 4) >>> 0; - const mem = getUint32Memory0(); - for (let i = 0; i < array.length; i++) { - mem[ptr / 4 + i] = addHeapObject(array[i]); - } - WASM_VECTOR_LEN = array.length; - return ptr; -} - -function getArrayJsValueFromWasm0(ptr, len) { - ptr = ptr >>> 0; - const mem = getUint32Memory0(); - const slice = mem.subarray(ptr / 4, ptr / 4 + len); - const result = []; - for (let i = 0; i < slice.length; i++) { - result.push(takeObject(slice[i])); - } - return result; -} function __wbg_adapter_804(arg0, arg1, arg2, arg3) { - wasm.wasm_bindgen__convert__closures__invoke2_mut__h232935261d0e3333(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); + wasm.wasm_bindgen__convert__closures__invoke2_mut__h5ff82a3ec25de97a(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } /** @@ -2111,7 +2113,7 @@ export class DeployHash { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); _assertClass(digest, Digest); var ptr0 = digest.__destroy_into_raw(); - wasm.deployhash_fromDigest(retptr, ptr0); + wasm.blockhash_fromDigest(retptr, ptr0); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; @@ -5123,7 +5125,7 @@ export class PaymentStrParams { get payment_amount() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.paymentstrparams_payment_amount(retptr, this.__wbg_ptr); + wasm.deploystrparams_secret_key(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -5150,7 +5152,7 @@ export class PaymentStrParams { get payment_hash() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.paymentstrparams_payment_hash(retptr, this.__wbg_ptr); + wasm.deploystrparams_timestamp(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -5177,7 +5179,7 @@ export class PaymentStrParams { get payment_name() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.paymentstrparams_payment_name(retptr, this.__wbg_ptr); + wasm.deploystrparams_ttl(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -5204,7 +5206,7 @@ export class PaymentStrParams { get payment_package_hash() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.paymentstrparams_payment_package_hash(retptr, this.__wbg_ptr); + wasm.deploystrparams_chain_name(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -5231,7 +5233,7 @@ export class PaymentStrParams { get payment_package_name() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.paymentstrparams_payment_package_name(retptr, this.__wbg_ptr); + wasm.deploystrparams_session_account(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -5819,310 +5821,245 @@ export class SDK { wasm.__wbg_sdk_free(ptr); } /** - * JavaScript alias for deploying with deserialized parameters. - * - * # Arguments - * - * * `deploy_params` - Deploy parameters. - * * `session_params` - Session parameters. - * * `payment_params` - Payment parameters. - * * `verbosity` - An optional verbosity level. - * * `node_address` - An optional node address. - * - * # Returns - * - * A result containing PutDeployResult or a JsError. - * @param {DeployStrParams} deploy_params - * @param {SessionStrParams} session_params - * @param {PaymentStrParams} payment_params - * @param {Verbosity | undefined} [verbosity] - * @param {string | undefined} [node_address] - * @returns {Promise} - */ - deploy(deploy_params, session_params, payment_params, verbosity, node_address) { - _assertClass(deploy_params, DeployStrParams); - var ptr0 = deploy_params.__destroy_into_raw(); - _assertClass(session_params, SessionStrParams); - var ptr1 = session_params.__destroy_into_raw(); - _assertClass(payment_params, PaymentStrParams); - var ptr2 = payment_params.__destroy_into_raw(); - var ptr3 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len3 = WASM_VECTOR_LEN; - const ret = wasm.sdk_deploy(this.__wbg_ptr, ptr0, ptr1, ptr2, isLikeNone(verbosity) ? 3 : verbosity, ptr3, len3); - return takeObject(ret); - } - /** - * Parses balance options from a JsValue. + * Parses auction info options from a JsValue. * * # Arguments * - * * `options` - A JsValue containing balance options to be parsed. + * * `options` - A JsValue containing auction info options to be parsed. * * # Returns * - * Parsed balance options as a `GetBalanceOptions` struct. + * Result containing parsed auction info options as a `GetAuctionInfoOptions` struct, + * or a `JsError` if deserialization fails. * @param {any} options - * @returns {getBalanceOptions} + * @returns {getAuctionInfoOptions} */ - get_balance_options(options) { + get_auction_info_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_balance_options(retptr, this.__wbg_ptr, addHeapObject(options)); + wasm.sdk_get_auction_info_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return getBalanceOptions.__wrap(r0); + return getAuctionInfoOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * Retrieves balance information using the provided options. + * Retrieves auction information using the provided options. * * # Arguments * - * * `options` - An optional `GetBalanceOptions` struct containing retrieval options. + * * `options` - An optional `GetAuctionInfoOptions` struct containing retrieval options. * * # Returns * - * A `Result` containing either a `GetBalanceResult` or a `JsError` in case of an error. + * A `Result` containing either a `GetAuctionInfoResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. - * @param {getBalanceOptions | undefined} [options] - * @returns {Promise} - */ - get_balance(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, getBalanceOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_get_balance(this.__wbg_ptr, ptr0); - return takeObject(ret); - } - /** - * JS Alias for `get_balance_js_alias`. - * - * # Arguments - * - * * `options` - An optional `GetBalanceOptions` struct containing retrieval options. - * - * # Returns - * - * A `Result` containing either a `GetBalanceResult` or a `JsError` in case of an error. - * @param {getBalanceOptions | undefined} [options] - * @returns {Promise} + * @param {getAuctionInfoOptions | undefined} [options] + * @returns {Promise} */ - state_get_balance(options) { + get_auction_info(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, getBalanceOptions); + _assertClass(options, getAuctionInfoOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_state_get_balance(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_get_auction_info(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * Parses era summary options from a JsValue. + * Parses dictionary item options from a JsValue. * * # Arguments * - * * `options` - A JsValue containing era summary options to be parsed. + * * `options` - A JsValue containing dictionary item options to be parsed. * * # Returns * - * Parsed era summary options as a `GetEraSummaryOptions` struct. + * Parsed dictionary item options as a `GetDictionaryItemOptions` struct. * @param {any} options - * @returns {getEraSummaryOptions} + * @returns {getDictionaryItemOptions} */ - get_era_summary_options(options) { + get_dictionary_item_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_era_summary_options(retptr, this.__wbg_ptr, addHeapObject(options)); + wasm.sdk_get_dictionary_item_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return getEraSummaryOptions.__wrap(r0); + return getDictionaryItemOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * Retrieves era summary information using the provided options. + * Retrieves dictionary item information using the provided options. * * # Arguments * - * * `options` - An optional `GetEraSummaryOptions` struct containing retrieval options. + * * `options` - An optional `GetDictionaryItemOptions` struct containing retrieval options. * * # Returns * - * A `Result` containing either a `GetEraSummaryResult` or a `JsError` in case of an error. + * A `Result` containing either a `GetDictionaryItemResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. - * @param {getEraSummaryOptions | undefined} [options] - * @returns {Promise} + * @param {getDictionaryItemOptions | undefined} [options] + * @returns {Promise} */ - get_era_summary(options) { + get_dictionary_item(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, getEraSummaryOptions); + _assertClass(options, getDictionaryItemOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_get_era_summary(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_get_dictionary_item(this.__wbg_ptr, ptr0); + return takeObject(ret); + } + /** + * JS Alias for `get_dictionary_item_js_alias` + * @param {getDictionaryItemOptions | undefined} [options] + * @returns {Promise} + */ + state_get_dictionary_item(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, getDictionaryItemOptions); + ptr0 = options.__destroy_into_raw(); + } + const ret = wasm.sdk_state_get_dictionary_item(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * Parses query global state options from a JsValue. - * - * # Arguments - * - * * `options` - A JsValue containing query global state options to be parsed. - * - * # Returns - * - * Parsed query global state options as a `QueryGlobalStateOptions` struct. * @param {any} options - * @returns {queryGlobalStateOptions} + * @returns {getEraInfoOptions} */ - query_global_state_options(options) { + get_era_info_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_query_global_state_options(retptr, this.__wbg_ptr, addHeapObject(options)); + wasm.sdk_get_era_info_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return queryGlobalStateOptions.__wrap(r0); + return getEraInfoOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * Retrieves global state information using the provided options. - * - * # Arguments - * - * * `options` - An optional `QueryGlobalStateOptions` struct containing retrieval options. - * - * # Returns - * - * A `Result` containing either a `QueryGlobalStateResult` or a `JsError` in case of an error. - * - * # Errors - * - * Returns a `JsError` if there is an error during the retrieval process. - * @param {queryGlobalStateOptions | undefined} [options] - * @returns {Promise} + * @param {getEraInfoOptions | undefined} [options] + * @returns {Promise} */ - query_global_state(options) { + get_era_info(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, queryGlobalStateOptions); + _assertClass(options, getEraInfoOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_query_global_state(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_get_era_info(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * Deserialize query_contract_key_options from a JavaScript object. - * @param {any} options - * @returns {queryContractKeyOptions} - */ - query_contract_key_options(options) { - try { - const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_query_contract_key_options(retptr, this.__wbg_ptr, addHeapObject(options)); - var r0 = getInt32Memory0()[retptr / 4 + 0]; - var r1 = getInt32Memory0()[retptr / 4 + 1]; - var r2 = getInt32Memory0()[retptr / 4 + 2]; - if (r2) { - throw takeObject(r1); - } - return queryContractKeyOptions.__wrap(r0); - } finally { - wasm.__wbindgen_add_to_stack_pointer(16); - } - } - /** - * JavaScript alias for query_contract_key with deserialized options. - * @param {queryContractKeyOptions | undefined} [options] - * @returns {Promise} + * Retrieves node status information using the provided options. + * + * # Arguments + * + * * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. + * * `node_address` - An optional string specifying the node address to use for the request. + * + * # Returns + * + * A `Result` containing either a `GetNodeStatusResult` or a `JsError` in case of an error. + * + * # Errors + * + * Returns a `JsError` if there is an error during the retrieval process. + * @param {Verbosity | undefined} [verbosity] + * @param {string | undefined} [node_address] + * @returns {Promise} */ - query_contract_key(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, queryContractKeyOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_query_contract_key(this.__wbg_ptr, ptr0); + get_node_status(verbosity, node_address) { + var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len0 = WASM_VECTOR_LEN; + const ret = wasm.sdk_get_node_status(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); return takeObject(ret); } /** - * Parses auction info options from a JsValue. + * JS Alias for `make_deploy`. * * # Arguments * - * * `options` - A JsValue containing auction info options to be parsed. + * * `deploy_params` - The deploy parameters. + * * `session_params` - The session parameters. + * * `payment_params` - The payment parameters. * * # Returns * - * Result containing parsed auction info options as a `GetAuctionInfoOptions` struct, - * or a `JsError` if deserialization fails. - * @param {any} options - * @returns {getAuctionInfoOptions} + * A `Result` containing the created `Deploy` or a `JsError` in case of an error. + * @param {DeployStrParams} deploy_params + * @param {SessionStrParams} session_params + * @param {PaymentStrParams} payment_params + * @returns {Deploy} */ - get_auction_info_options(options) { + make_deploy(deploy_params, session_params, payment_params) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_auction_info_options(retptr, this.__wbg_ptr, addHeapObject(options)); + _assertClass(deploy_params, DeployStrParams); + var ptr0 = deploy_params.__destroy_into_raw(); + _assertClass(session_params, SessionStrParams); + var ptr1 = session_params.__destroy_into_raw(); + _assertClass(payment_params, PaymentStrParams); + var ptr2 = payment_params.__destroy_into_raw(); + wasm.sdk_make_deploy(retptr, this.__wbg_ptr, ptr0, ptr1, ptr2); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return getAuctionInfoOptions.__wrap(r0); + return Deploy.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * Retrieves auction information using the provided options. + * JS Alias for `sign_deploy`. * * # Arguments * - * * `options` - An optional `GetAuctionInfoOptions` struct containing retrieval options. + * * `deploy` - The deploy to sign. + * * `secret_key` - The secret key for signing. * * # Returns * - * A `Result` containing either a `GetAuctionInfoResult` or a `JsError` in case of an error. - * - * # Errors - * - * Returns a `JsError` if there is an error during the retrieval process. - * @param {getAuctionInfoOptions | undefined} [options] - * @returns {Promise} + * The signed `Deploy`. + * @param {Deploy} deploy + * @param {string} secret_key + * @returns {Deploy} */ - get_auction_info(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, getAuctionInfoOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_get_auction_info(this.__wbg_ptr, ptr0); - return takeObject(ret); + sign_deploy(deploy, secret_key) { + _assertClass(deploy, Deploy); + var ptr0 = deploy.__destroy_into_raw(); + const ptr1 = passStringToWasm0(secret_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + const ret = wasm.sdk_sign_deploy(this.__wbg_ptr, ptr0, ptr1, len1); + return Deploy.__wrap(ret); } /** * Parses block options from a JsValue. @@ -6205,456 +6142,481 @@ export class SDK { return takeObject(ret); } /** - * Parses dictionary item options from a JsValue. + * Parses era summary options from a JsValue. * * # Arguments * - * * `options` - A JsValue containing dictionary item options to be parsed. + * * `options` - A JsValue containing era summary options to be parsed. * * # Returns * - * Parsed dictionary item options as a `GetDictionaryItemOptions` struct. + * Parsed era summary options as a `GetEraSummaryOptions` struct. * @param {any} options - * @returns {getDictionaryItemOptions} + * @returns {getEraSummaryOptions} */ - get_dictionary_item_options(options) { + get_era_summary_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_dictionary_item_options(retptr, this.__wbg_ptr, addHeapObject(options)); + wasm.sdk_get_era_summary_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return getDictionaryItemOptions.__wrap(r0); + return getEraSummaryOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * Retrieves dictionary item information using the provided options. + * Retrieves era summary information using the provided options. * * # Arguments * - * * `options` - An optional `GetDictionaryItemOptions` struct containing retrieval options. + * * `options` - An optional `GetEraSummaryOptions` struct containing retrieval options. * * # Returns * - * A `Result` containing either a `GetDictionaryItemResult` or a `JsError` in case of an error. + * A `Result` containing either a `GetEraSummaryResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. - * @param {getDictionaryItemOptions | undefined} [options] - * @returns {Promise} + * @param {getEraSummaryOptions | undefined} [options] + * @returns {Promise} */ - get_dictionary_item(options) { + get_era_summary(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, getDictionaryItemOptions); + _assertClass(options, getEraSummaryOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_get_dictionary_item(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_get_era_summary(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * JS Alias for `get_dictionary_item_js_alias` - * @param {getDictionaryItemOptions | undefined} [options] - * @returns {Promise} + * Parses query global state options from a JsValue. + * + * # Arguments + * + * * `options` - A JsValue containing query global state options to be parsed. + * + * # Returns + * + * Parsed query global state options as a `QueryGlobalStateOptions` struct. + * @param {any} options + * @returns {queryGlobalStateOptions} */ - state_get_dictionary_item(options) { + query_global_state_options(options) { + try { + const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); + wasm.sdk_query_global_state_options(retptr, this.__wbg_ptr, addHeapObject(options)); + var r0 = getInt32Memory0()[retptr / 4 + 0]; + var r1 = getInt32Memory0()[retptr / 4 + 1]; + var r2 = getInt32Memory0()[retptr / 4 + 2]; + if (r2) { + throw takeObject(r1); + } + return queryGlobalStateOptions.__wrap(r0); + } finally { + wasm.__wbindgen_add_to_stack_pointer(16); + } + } + /** + * Retrieves global state information using the provided options. + * + * # Arguments + * + * * `options` - An optional `QueryGlobalStateOptions` struct containing retrieval options. + * + * # Returns + * + * A `Result` containing either a `QueryGlobalStateResult` or a `JsError` in case of an error. + * + * # Errors + * + * Returns a `JsError` if there is an error during the retrieval process. + * @param {queryGlobalStateOptions | undefined} [options] + * @returns {Promise} + */ + query_global_state(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, getDictionaryItemOptions); + _assertClass(options, queryGlobalStateOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_state_get_dictionary_item(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_query_global_state(this.__wbg_ptr, ptr0); return takeObject(ret); } /** * @param {any} options - * @returns {getEraInfoOptions} + * @returns {getAccountOptions} */ - get_era_info_options(options) { + get_account_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_era_info_options(retptr, this.__wbg_ptr, addHeapObject(options)); + wasm.sdk_get_account_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return getEraInfoOptions.__wrap(r0); + return getAccountOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * @param {getEraInfoOptions | undefined} [options] - * @returns {Promise} + * @param {getAccountOptions | undefined} [options] + * @returns {Promise} */ - get_era_info(options) { + get_account(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, getEraInfoOptions); + _assertClass(options, getAccountOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_get_era_info(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_get_account(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * JS Alias for `make_deploy`. + * @param {getAccountOptions | undefined} [options] + * @returns {Promise} + */ + state_get_account_info(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, getAccountOptions); + ptr0 = options.__destroy_into_raw(); + } + const ret = wasm.sdk_state_get_account_info(this.__wbg_ptr, ptr0); + return takeObject(ret); + } + /** + * Parses state root hash options from a JsValue. * * # Arguments * - * * `deploy_params` - The deploy parameters. - * * `session_params` - The session parameters. - * * `payment_params` - The payment parameters. + * * `options` - A JsValue containing state root hash options to be parsed. * * # Returns * - * A `Result` containing the created `Deploy` or a `JsError` in case of an error. - * @param {DeployStrParams} deploy_params - * @param {SessionStrParams} session_params - * @param {PaymentStrParams} payment_params - * @returns {Deploy} + * Parsed state root hash options as a `GetStateRootHashOptions` struct. + * @param {any} options + * @returns {getStateRootHashOptions} */ - make_deploy(deploy_params, session_params, payment_params) { + get_state_root_hash_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - _assertClass(deploy_params, DeployStrParams); - var ptr0 = deploy_params.__destroy_into_raw(); - _assertClass(session_params, SessionStrParams); - var ptr1 = session_params.__destroy_into_raw(); - _assertClass(payment_params, PaymentStrParams); - var ptr2 = payment_params.__destroy_into_raw(); - wasm.sdk_make_deploy(retptr, this.__wbg_ptr, ptr0, ptr1, ptr2); + wasm.sdk_get_state_root_hash_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return Deploy.__wrap(r0); + return getStateRootHashOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * Calls a smart contract entry point with the specified parameters and returns the result. + * Retrieves state root hash information using the provided options. * * # Arguments * - * * `deploy_params` - The deploy parameters. - * * `session_params` - The session parameters. - * * `payment_amount` - The payment amount as a string. - * * `node_address` - An optional node address to send the request to. + * * `options` - An optional `GetStateRootHashOptions` struct containing retrieval options. * * # Returns * - * A `Result` containing either a `PutDeployResult` or a `JsError` in case of an error. + * A `Result` containing either a `GetStateRootHashResult` or a `JsError` in case of an error. * * # Errors * - * Returns a `JsError` if there is an error during the call. - * @param {DeployStrParams} deploy_params - * @param {SessionStrParams} session_params - * @param {string} payment_amount - * @param {string | undefined} [node_address] - * @returns {Promise} + * Returns a `JsError` if there is an error during the retrieval process. + * @param {getStateRootHashOptions | undefined} [options] + * @returns {Promise} */ - call_entrypoint(deploy_params, session_params, payment_amount, node_address) { - _assertClass(deploy_params, DeployStrParams); - var ptr0 = deploy_params.__destroy_into_raw(); - _assertClass(session_params, SessionStrParams); - var ptr1 = session_params.__destroy_into_raw(); - const ptr2 = passStringToWasm0(payment_amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len2 = WASM_VECTOR_LEN; - var ptr3 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len3 = WASM_VECTOR_LEN; - const ret = wasm.sdk_call_entrypoint(this.__wbg_ptr, ptr0, ptr1, ptr2, len2, ptr3, len3); + get_state_root_hash(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, getStateRootHashOptions); + ptr0 = options.__destroy_into_raw(); + } + const ret = wasm.sdk_get_state_root_hash(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * JS Alias for transferring funds. + * Retrieves state root hash information using the provided options (alias for `get_state_root_hash_js_alias`). * * # Arguments * - * * `amount` - The amount to transfer. - * * `target_account` - The target account. - * * `transfer_id` - An optional transfer ID (defaults to a random number). - * * `deploy_params` - The deployment parameters. - * * `payment_params` - The payment parameters. - * * `verbosity` - The verbosity level for logging (optional). - * * `node_address` - The address of the node to connect to (optional). + * * `options` - An optional `GetStateRootHashOptions` struct containing retrieval options. * * # Returns * - * A `Result` containing the result of the transfer or a `JsError` in case of an error. - * @param {string} amount - * @param {string} target_account - * @param {string | undefined} transfer_id - * @param {DeployStrParams} deploy_params - * @param {PaymentStrParams} payment_params - * @param {Verbosity | undefined} [verbosity] - * @param {string | undefined} [node_address] - * @returns {Promise} + * A `Result` containing either a `GetStateRootHashResult` or a `JsError` in case of an error. + * + * # Errors + * + * Returns a `JsError` if there is an error during the retrieval process. + * @param {getStateRootHashOptions | undefined} [options] + * @returns {Promise} */ - transfer(amount, target_account, transfer_id, deploy_params, payment_params, verbosity, node_address) { - const ptr0 = passStringToWasm0(amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len0 = WASM_VECTOR_LEN; - const ptr1 = passStringToWasm0(target_account, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - var ptr2 = isLikeNone(transfer_id) ? 0 : passStringToWasm0(transfer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len2 = WASM_VECTOR_LEN; - _assertClass(deploy_params, DeployStrParams); - var ptr3 = deploy_params.__destroy_into_raw(); - _assertClass(payment_params, PaymentStrParams); - var ptr4 = payment_params.__destroy_into_raw(); - var ptr5 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len5 = WASM_VECTOR_LEN; - const ret = wasm.sdk_transfer(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, ptr4, isLikeNone(verbosity) ? 3 : verbosity, ptr5, len5); + chain_get_state_root_hash(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, getStateRootHashOptions); + ptr0 = options.__destroy_into_raw(); + } + const ret = wasm.sdk_chain_get_state_root_hash(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * Parses deploy options from a JsValue. + * JS Alias for `make_transfer`. * * # Arguments * - * * `options` - A JsValue containing deploy options to be parsed. + * * `amount` - The transfer amount. + * * `target_account` - The target account. + * * `transfer_id` - Optional transfer identifier. + * * `deploy_params` - The deploy parameters. + * * `payment_params` - The payment parameters. * * # Returns * - * Parsed deploy options as a `GetDeployOptions` struct. - * @param {any} options - * @returns {getDeployOptions} + * A `Result` containing the created `Deploy` or a `JsError` in case of an error. + * @param {string} amount + * @param {string} target_account + * @param {string | undefined} transfer_id + * @param {DeployStrParams} deploy_params + * @param {PaymentStrParams} payment_params + * @returns {Deploy} */ - get_deploy_options(options) { + make_transfer(amount, target_account, transfer_id, deploy_params, payment_params) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_deploy_options(retptr, this.__wbg_ptr, addHeapObject(options)); + const ptr0 = passStringToWasm0(amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len0 = WASM_VECTOR_LEN; + const ptr1 = passStringToWasm0(target_account, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + var ptr2 = isLikeNone(transfer_id) ? 0 : passStringToWasm0(transfer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len2 = WASM_VECTOR_LEN; + _assertClass(deploy_params, DeployStrParams); + var ptr3 = deploy_params.__destroy_into_raw(); + _assertClass(payment_params, PaymentStrParams); + var ptr4 = payment_params.__destroy_into_raw(); + wasm.sdk_make_transfer(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, ptr4); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return getDeployOptions.__wrap(r0); + return Deploy.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * Retrieves deploy information using the provided options. + * Creates a new DeployWatcher instance to watch deploys (JavaScript-friendly). * * # Arguments * - * * `options` - An optional `GetDeployOptions` struct containing retrieval options. + * * `events_url` - The URL to monitor for deploy events. + * * `timeout_duration` - An optional timeout duration in seconds. * * # Returns * - * A `Result` containing either a `GetDeployResult` or an error. - * @param {getDeployOptions | undefined} [options] - * @returns {Promise} + * A `DeployWatcher` instance. + * @param {string} events_url + * @param {number | undefined} [timeout_duration] + * @returns {DeployWatcher} */ - get_deploy(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, getDeployOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_get_deploy(this.__wbg_ptr, ptr0); - return takeObject(ret); + watchDeploy(events_url, timeout_duration) { + const ptr0 = passStringToWasm0(events_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len0 = WASM_VECTOR_LEN; + const ret = wasm.sdk_watchDeploy(this.__wbg_ptr, ptr0, len0, !isLikeNone(timeout_duration), isLikeNone(timeout_duration) ? 0 : timeout_duration); + return DeployWatcher.__wrap(ret); } /** - * Retrieves deploy information using the provided options, alias for `get_deploy_js_alias`. - * @param {getDeployOptions | undefined} [options] - * @returns {Promise} + * Waits for a deploy event to be processed asynchronously (JavaScript-friendly). + * + * # Arguments + * + * * `events_url` - The URL to monitor for deploy events. + * * `deploy_hash` - The deploy hash to wait for. + * * `timeout_duration` - An optional timeout duration in seconds. + * + * # Returns + * + * A JavaScript `Promise` resolving to either the processed `EventParseResult` or an error message. + * @param {string} events_url + * @param {string} deploy_hash + * @param {number | undefined} [timeout_duration] + * @returns {Promise>} */ - info_get_deploy(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, getDeployOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_info_get_deploy(this.__wbg_ptr, ptr0); + waitDeploy(events_url, deploy_hash, timeout_duration) { + const ptr0 = passStringToWasm0(events_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len0 = WASM_VECTOR_LEN; + const ptr1 = passStringToWasm0(deploy_hash, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + const ret = wasm.sdk_waitDeploy(this.__wbg_ptr, ptr0, len0, ptr1, len1, !isLikeNone(timeout_duration), isLikeNone(timeout_duration) ? 0 : timeout_duration); return takeObject(ret); } /** - * Get options for speculative execution from a JavaScript value. + * Deserialize query_contract_key_options from a JavaScript object. * @param {any} options - * @returns {getSpeculativeExecOptions} + * @returns {queryContractKeyOptions} */ - get_speculative_exec_options(options) { + query_contract_key_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_speculative_exec_options(retptr, this.__wbg_ptr, addHeapObject(options)); + wasm.sdk_query_contract_key_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return getSpeculativeExecOptions.__wrap(r0); + return queryContractKeyOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * JS Alias for speculative execution. - * - * # Arguments - * - * * `options` - The options for speculative execution. - * - * # Returns - * - * A `Result` containing the result of the speculative execution or a `JsError` in case of an error. - * @param {getSpeculativeExecOptions | undefined} [options] - * @returns {Promise} + * JavaScript alias for query_contract_key with deserialized options. + * @param {queryContractKeyOptions | undefined} [options] + * @returns {Promise} */ - speculative_exec(options) { + query_contract_key(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, getSpeculativeExecOptions); + _assertClass(options, queryContractKeyOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_speculative_exec(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_query_contract_key(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * JS Alias for `sign_deploy`. + * Parses balance options from a JsValue. * * # Arguments * - * * `deploy` - The deploy to sign. - * * `secret_key` - The secret key for signing. + * * `options` - A JsValue containing balance options to be parsed. * * # Returns * - * The signed `Deploy`. - * @param {Deploy} deploy - * @param {string} secret_key - * @returns {Deploy} - */ - sign_deploy(deploy, secret_key) { - _assertClass(deploy, Deploy); - var ptr0 = deploy.__destroy_into_raw(); - const ptr1 = passStringToWasm0(secret_key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - const ret = wasm.sdk_sign_deploy(this.__wbg_ptr, ptr0, ptr1, len1); - return Deploy.__wrap(ret); - } - /** - * Deserialize query_contract_dict_options from a JavaScript object. + * Parsed balance options as a `GetBalanceOptions` struct. * @param {any} options - * @returns {queryContractDictOptions} + * @returns {getBalanceOptions} */ - query_contract_dict_options(options) { + get_balance_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_query_contract_dict_options(retptr, this.__wbg_ptr, addHeapObject(options)); + wasm.sdk_get_balance_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return queryContractDictOptions.__wrap(r0); + return getBalanceOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * JavaScript alias for query_contract_dict with deserialized options. - * @param {queryContractDictOptions | undefined} [options] - * @returns {Promise} + * Retrieves balance information using the provided options. + * + * # Arguments + * + * * `options` - An optional `GetBalanceOptions` struct containing retrieval options. + * + * # Returns + * + * A `Result` containing either a `GetBalanceResult` or a `JsError` in case of an error. + * + * # Errors + * + * Returns a `JsError` if there is an error during the retrieval process. + * @param {getBalanceOptions | undefined} [options] + * @returns {Promise} */ - query_contract_dict(options) { + get_balance(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, queryContractDictOptions); + _assertClass(options, getBalanceOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_query_contract_dict(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_get_balance(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * @param {string | undefined} [node_address] - * @param {Verbosity | undefined} [verbosity] - */ - constructor(node_address, verbosity) { - var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len0 = WASM_VECTOR_LEN; - const ret = wasm.sdk_new(ptr0, len0, isLikeNone(verbosity) ? 3 : verbosity); - this.__wbg_ptr = ret >>> 0; - return this; - } - /** - * @param {string | undefined} [node_address] - * @returns {string} - */ - getNodeAddress(node_address) { - let deferred2_0; - let deferred2_1; - try { - const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len0 = WASM_VECTOR_LEN; - wasm.sdk_getNodeAddress(retptr, this.__wbg_ptr, ptr0, len0); - var r0 = getInt32Memory0()[retptr / 4 + 0]; - var r1 = getInt32Memory0()[retptr / 4 + 1]; - deferred2_0 = r0; - deferred2_1 = r1; - return getStringFromWasm0(r0, r1); - } finally { - wasm.__wbindgen_add_to_stack_pointer(16); - wasm.__wbindgen_free(deferred2_0, deferred2_1, 1); - } - } - /** - * @param {string | undefined} [node_address] + * JS Alias for `get_balance_js_alias`. + * + * # Arguments + * + * * `options` - An optional `GetBalanceOptions` struct containing retrieval options. + * + * # Returns + * + * A `Result` containing either a `GetBalanceResult` or a `JsError` in case of an error. + * @param {getBalanceOptions | undefined} [options] + * @returns {Promise} */ - setNodeAddress(node_address) { - try { - const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len0 = WASM_VECTOR_LEN; - wasm.sdk_setNodeAddress(retptr, this.__wbg_ptr, ptr0, len0); - var r0 = getInt32Memory0()[retptr / 4 + 0]; - var r1 = getInt32Memory0()[retptr / 4 + 1]; - if (r1) { - throw takeObject(r0); - } - } finally { - wasm.__wbindgen_add_to_stack_pointer(16); + state_get_balance(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, getBalanceOptions); + ptr0 = options.__destroy_into_raw(); } + const ret = wasm.sdk_state_get_balance(this.__wbg_ptr, ptr0); + return takeObject(ret); } /** + * Asynchronously retrieves the chainspec. + * + * # Arguments + * + * * `verbosity` - An optional `Verbosity` parameter. + * * `node_address` - An optional node address as a string. + * + * # Returns + * + * A `Result` containing either a `GetChainspecResult` or a `JsError` in case of an error. * @param {Verbosity | undefined} [verbosity] - * @returns {Verbosity} + * @param {string | undefined} [node_address] + * @returns {Promise} */ - getVerbosity(verbosity) { - const ret = wasm.sdk_getVerbosity(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity); - return ret; + get_chainspec(verbosity, node_address) { + var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len0 = WASM_VECTOR_LEN; + const ret = wasm.sdk_get_chainspec(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); + return takeObject(ret); } /** + * Retrieves peers asynchronously. + * + * # Arguments + * + * * `verbosity` - Optional verbosity level. + * * `node_address` - Optional node address. + * + * # Returns + * + * A `Result` containing `GetPeersResult` or a `JsError` if an error occurs. * @param {Verbosity | undefined} [verbosity] + * @param {string | undefined} [node_address] + * @returns {Promise} */ - setVerbosity(verbosity) { - try { - const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_setVerbosity(retptr, this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity); - var r0 = getInt32Memory0()[retptr / 4 + 0]; - var r1 = getInt32Memory0()[retptr / 4 + 1]; - if (r1) { - throw takeObject(r0); - } - } finally { - wasm.__wbindgen_add_to_stack_pointer(16); - } + get_peers(verbosity, node_address) { + var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len0 = WASM_VECTOR_LEN; + const ret = wasm.sdk_get_peers(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); + return takeObject(ret); } /** * Puts a deploy using the provided options. @@ -6703,182 +6665,208 @@ export class SDK { return takeObject(ret); } /** - * @param {any} options - * @returns {getAccountOptions} - */ - get_account_options(options) { - try { - const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_account_options(retptr, this.__wbg_ptr, addHeapObject(options)); - var r0 = getInt32Memory0()[retptr / 4 + 0]; - var r1 = getInt32Memory0()[retptr / 4 + 1]; - var r2 = getInt32Memory0()[retptr / 4 + 2]; - if (r2) { - throw takeObject(r1); - } - return getAccountOptions.__wrap(r0); - } finally { - wasm.__wbindgen_add_to_stack_pointer(16); - } - } - /** - * @param {getAccountOptions | undefined} [options] - * @returns {Promise} - */ - get_account(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, getAccountOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_get_account(this.__wbg_ptr, ptr0); - return takeObject(ret); - } - /** - * @param {getAccountOptions | undefined} [options] - * @returns {Promise} + * JS Alias for speculative transfer. + * + * # Arguments + * + * * `amount` - The amount to transfer. + * * `target_account` - The target account. + * * `transfer_id` - An optional transfer ID (defaults to a random number). + * * `deploy_params` - The deployment parameters. + * * `payment_params` - The payment parameters. + * * `maybe_block_id_as_string` - An optional block ID as a string. + * * `maybe_block_identifier` - An optional block identifier. + * * `verbosity` - The verbosity level for logging (optional). + * * `node_address` - The address of the node to connect to (optional). + * + * # Returns + * + * A `Result` containing the result of the speculative transfer or a `JsError` in case of an error. + * @param {string} amount + * @param {string} target_account + * @param {string | undefined} transfer_id + * @param {DeployStrParams} deploy_params + * @param {PaymentStrParams} payment_params + * @param {string | undefined} [maybe_block_id_as_string] + * @param {BlockIdentifier | undefined} [maybe_block_identifier] + * @param {Verbosity | undefined} [verbosity] + * @param {string | undefined} [node_address] + * @returns {Promise} */ - state_get_account_info(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, getAccountOptions); - ptr0 = options.__destroy_into_raw(); + speculative_transfer(amount, target_account, transfer_id, deploy_params, payment_params, maybe_block_id_as_string, maybe_block_identifier, verbosity, node_address) { + const ptr0 = passStringToWasm0(amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len0 = WASM_VECTOR_LEN; + const ptr1 = passStringToWasm0(target_account, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + var ptr2 = isLikeNone(transfer_id) ? 0 : passStringToWasm0(transfer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len2 = WASM_VECTOR_LEN; + _assertClass(deploy_params, DeployStrParams); + var ptr3 = deploy_params.__destroy_into_raw(); + _assertClass(payment_params, PaymentStrParams); + var ptr4 = payment_params.__destroy_into_raw(); + var ptr5 = isLikeNone(maybe_block_id_as_string) ? 0 : passStringToWasm0(maybe_block_id_as_string, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len5 = WASM_VECTOR_LEN; + let ptr6 = 0; + if (!isLikeNone(maybe_block_identifier)) { + _assertClass(maybe_block_identifier, BlockIdentifier); + ptr6 = maybe_block_identifier.__destroy_into_raw(); } - const ret = wasm.sdk_state_get_account_info(this.__wbg_ptr, ptr0); + var ptr7 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len7 = WASM_VECTOR_LEN; + const ret = wasm.sdk_speculative_transfer(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, ptr4, ptr5, len5, ptr6, isLikeNone(verbosity) ? 3 : verbosity, ptr7, len7); return takeObject(ret); } /** - * Parses block transfers options from a JsValue. + * JavaScript alias for deploying with deserialized parameters. * * # Arguments * - * * `options` - A JsValue containing block transfers options to be parsed. + * * `deploy_params` - Deploy parameters. + * * `session_params` - Session parameters. + * * `payment_params` - Payment parameters. + * * `verbosity` - An optional verbosity level. + * * `node_address` - An optional node address. * * # Returns * - * Parsed block transfers options as a `GetBlockTransfersOptions` struct. - * @param {any} options - * @returns {getBlockTransfersOptions} + * A result containing PutDeployResult or a JsError. + * @param {DeployStrParams} deploy_params + * @param {SessionStrParams} session_params + * @param {PaymentStrParams} payment_params + * @param {Verbosity | undefined} [verbosity] + * @param {string | undefined} [node_address] + * @returns {Promise} */ - get_block_transfers_options(options) { - try { - const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_block_transfers_options(retptr, this.__wbg_ptr, addHeapObject(options)); - var r0 = getInt32Memory0()[retptr / 4 + 0]; - var r1 = getInt32Memory0()[retptr / 4 + 1]; - var r2 = getInt32Memory0()[retptr / 4 + 2]; - if (r2) { - throw takeObject(r1); - } - return getBlockTransfersOptions.__wrap(r0); - } finally { - wasm.__wbindgen_add_to_stack_pointer(16); - } + deploy(deploy_params, session_params, payment_params, verbosity, node_address) { + _assertClass(deploy_params, DeployStrParams); + var ptr0 = deploy_params.__destroy_into_raw(); + _assertClass(session_params, SessionStrParams); + var ptr1 = session_params.__destroy_into_raw(); + _assertClass(payment_params, PaymentStrParams); + var ptr2 = payment_params.__destroy_into_raw(); + var ptr3 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len3 = WASM_VECTOR_LEN; + const ret = wasm.sdk_deploy(this.__wbg_ptr, ptr0, ptr1, ptr2, isLikeNone(verbosity) ? 3 : verbosity, ptr3, len3); + return takeObject(ret); } /** - * Retrieves block transfers information using the provided options. + * JS Alias for transferring funds. * * # Arguments * - * * `options` - An optional `GetBlockTransfersOptions` struct containing retrieval options. + * * `amount` - The amount to transfer. + * * `target_account` - The target account. + * * `transfer_id` - An optional transfer ID (defaults to a random number). + * * `deploy_params` - The deployment parameters. + * * `payment_params` - The payment parameters. + * * `verbosity` - The verbosity level for logging (optional). + * * `node_address` - The address of the node to connect to (optional). * * # Returns * - * A `Result` containing either a `GetBlockTransfersResult` or a `JsError` in case of an error. - * - * # Errors - * - * Returns a `JsError` if there is an error during the retrieval process. - * @param {getBlockTransfersOptions | undefined} [options] - * @returns {Promise} + * A `Result` containing the result of the transfer or a `JsError` in case of an error. + * @param {string} amount + * @param {string} target_account + * @param {string | undefined} transfer_id + * @param {DeployStrParams} deploy_params + * @param {PaymentStrParams} payment_params + * @param {Verbosity | undefined} [verbosity] + * @param {string | undefined} [node_address] + * @returns {Promise} */ - get_block_transfers(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, getBlockTransfersOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_get_block_transfers(this.__wbg_ptr, ptr0); + transfer(amount, target_account, transfer_id, deploy_params, payment_params, verbosity, node_address) { + const ptr0 = passStringToWasm0(amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len0 = WASM_VECTOR_LEN; + const ptr1 = passStringToWasm0(target_account, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len1 = WASM_VECTOR_LEN; + var ptr2 = isLikeNone(transfer_id) ? 0 : passStringToWasm0(transfer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len2 = WASM_VECTOR_LEN; + _assertClass(deploy_params, DeployStrParams); + var ptr3 = deploy_params.__destroy_into_raw(); + _assertClass(payment_params, PaymentStrParams); + var ptr4 = payment_params.__destroy_into_raw(); + var ptr5 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len5 = WASM_VECTOR_LEN; + const ret = wasm.sdk_transfer(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, ptr4, isLikeNone(verbosity) ? 3 : verbosity, ptr5, len5); return takeObject(ret); } /** - * Parses state root hash options from a JsValue. + * Parses block transfers options from a JsValue. * * # Arguments * - * * `options` - A JsValue containing state root hash options to be parsed. + * * `options` - A JsValue containing block transfers options to be parsed. * * # Returns * - * Parsed state root hash options as a `GetStateRootHashOptions` struct. + * Parsed block transfers options as a `GetBlockTransfersOptions` struct. * @param {any} options - * @returns {getStateRootHashOptions} + * @returns {getBlockTransfersOptions} */ - get_state_root_hash_options(options) { + get_block_transfers_options(options) { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sdk_get_state_root_hash_options(retptr, this.__wbg_ptr, addHeapObject(options)); + wasm.sdk_get_block_transfers_options(retptr, this.__wbg_ptr, addHeapObject(options)); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; var r2 = getInt32Memory0()[retptr / 4 + 2]; if (r2) { throw takeObject(r1); } - return getStateRootHashOptions.__wrap(r0); + return getBlockTransfersOptions.__wrap(r0); } finally { wasm.__wbindgen_add_to_stack_pointer(16); } } /** - * Retrieves state root hash information using the provided options. + * Retrieves block transfers information using the provided options. * * # Arguments * - * * `options` - An optional `GetStateRootHashOptions` struct containing retrieval options. + * * `options` - An optional `GetBlockTransfersOptions` struct containing retrieval options. * * # Returns * - * A `Result` containing either a `GetStateRootHashResult` or a `JsError` in case of an error. + * A `Result` containing either a `GetBlockTransfersResult` or a `JsError` in case of an error. * * # Errors * * Returns a `JsError` if there is an error during the retrieval process. - * @param {getStateRootHashOptions | undefined} [options] - * @returns {Promise} + * @param {getBlockTransfersOptions | undefined} [options] + * @returns {Promise} */ - get_state_root_hash(options) { + get_block_transfers(options) { let ptr0 = 0; if (!isLikeNone(options)) { - _assertClass(options, getStateRootHashOptions); + _assertClass(options, getBlockTransfersOptions); ptr0 = options.__destroy_into_raw(); } - const ret = wasm.sdk_get_state_root_hash(this.__wbg_ptr, ptr0); + const ret = wasm.sdk_get_block_transfers(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * Retrieves state root hash information using the provided options (alias for `get_state_root_hash_js_alias`). + * Lists available RPCs using the provided options. * * # Arguments * - * * `options` - An optional `GetStateRootHashOptions` struct containing retrieval options. + * * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. + * * `node_address` - An optional string specifying the node address to use for the request. * * # Returns * - * A `Result` containing either a `GetStateRootHashResult` or a `JsError` in case of an error. + * A `Result` containing either a `ListRpcsResult` or a `JsError` in case of an error. * * # Errors * - * Returns a `JsError` if there is an error during the retrieval process. - * @param {getStateRootHashOptions | undefined} [options] - * @returns {Promise} + * Returns a `JsError` if there is an error during the listing process. + * @param {Verbosity | undefined} [verbosity] + * @param {string | undefined} [node_address] + * @returns {Promise} */ - chain_get_state_root_hash(options) { - let ptr0 = 0; - if (!isLikeNone(options)) { - _assertClass(options, getStateRootHashOptions); - ptr0 = options.__destroy_into_raw(); - } - const ret = wasm.sdk_chain_get_state_root_hash(this.__wbg_ptr, ptr0); + list_rpcs(verbosity, node_address) { + var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len0 = WASM_VECTOR_LEN; + const ret = wasm.sdk_list_rpcs(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); return takeObject(ret); } /** @@ -6936,162 +6924,146 @@ export class SDK { return takeObject(ret); } /** - * JS Alias for `make_transfer`. + * Calls a smart contract entry point with the specified parameters and returns the result. * * # Arguments * - * * `amount` - The transfer amount. - * * `target_account` - The target account. - * * `transfer_id` - Optional transfer identifier. * * `deploy_params` - The deploy parameters. - * * `payment_params` - The payment parameters. + * * `session_params` - The session parameters. + * * `payment_amount` - The payment amount as a string. + * * `node_address` - An optional node address to send the request to. * * # Returns * - * A `Result` containing the created `Deploy` or a `JsError` in case of an error. - * @param {string} amount - * @param {string} target_account - * @param {string | undefined} transfer_id - * @param {DeployStrParams} deploy_params - * @param {PaymentStrParams} payment_params - * @returns {Deploy} - */ - make_transfer(amount, target_account, transfer_id, deploy_params, payment_params) { - try { - const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - const ptr0 = passStringToWasm0(amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len0 = WASM_VECTOR_LEN; - const ptr1 = passStringToWasm0(target_account, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - var ptr2 = isLikeNone(transfer_id) ? 0 : passStringToWasm0(transfer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len2 = WASM_VECTOR_LEN; - _assertClass(deploy_params, DeployStrParams); - var ptr3 = deploy_params.__destroy_into_raw(); - _assertClass(payment_params, PaymentStrParams); - var ptr4 = payment_params.__destroy_into_raw(); - wasm.sdk_make_transfer(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, ptr4); - var r0 = getInt32Memory0()[retptr / 4 + 0]; - var r1 = getInt32Memory0()[retptr / 4 + 1]; - var r2 = getInt32Memory0()[retptr / 4 + 2]; - if (r2) { - throw takeObject(r1); - } - return Deploy.__wrap(r0); - } finally { - wasm.__wbindgen_add_to_stack_pointer(16); - } - } - /** - * Creates a new DeployWatcher instance to watch deploys (JavaScript-friendly). - * - * # Arguments - * - * * `events_url` - The URL to monitor for deploy events. - * * `timeout_duration` - An optional timeout duration in seconds. + * A `Result` containing either a `PutDeployResult` or a `JsError` in case of an error. * - * # Returns + * # Errors * - * A `DeployWatcher` instance. - * @param {string} events_url - * @param {number | undefined} [timeout_duration] - * @returns {DeployWatcher} + * Returns a `JsError` if there is an error during the call. + * @param {DeployStrParams} deploy_params + * @param {SessionStrParams} session_params + * @param {string} payment_amount + * @param {string | undefined} [node_address] + * @returns {Promise} */ - watchDeploy(events_url, timeout_duration) { - const ptr0 = passStringToWasm0(events_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len0 = WASM_VECTOR_LEN; - const ret = wasm.sdk_watchDeploy(this.__wbg_ptr, ptr0, len0, !isLikeNone(timeout_duration), isLikeNone(timeout_duration) ? 0 : timeout_duration); - return DeployWatcher.__wrap(ret); + call_entrypoint(deploy_params, session_params, payment_amount, node_address) { + _assertClass(deploy_params, DeployStrParams); + var ptr0 = deploy_params.__destroy_into_raw(); + _assertClass(session_params, SessionStrParams); + var ptr1 = session_params.__destroy_into_raw(); + const ptr2 = passStringToWasm0(payment_amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + const len2 = WASM_VECTOR_LEN; + var ptr3 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len3 = WASM_VECTOR_LEN; + const ret = wasm.sdk_call_entrypoint(this.__wbg_ptr, ptr0, ptr1, ptr2, len2, ptr3, len3); + return takeObject(ret); } /** - * Waits for a deploy event to be processed asynchronously (JavaScript-friendly). + * This function allows executing a deploy speculatively. * * # Arguments * - * * `events_url` - The URL to monitor for deploy events. - * * `deploy_hash` - The deploy hash to wait for. - * * `timeout_duration` - An optional timeout duration in seconds. + * * `deploy_params` - Deployment parameters for the deploy. + * * `session_params` - Session parameters for the deploy. + * * `payment_params` - Payment parameters for the deploy. + * * `maybe_block_id_as_string` - An optional block ID as a string. + * * `maybe_block_identifier` - Optional block identifier. + * * `verbosity` - Optional verbosity level. + * * `node_address` - Optional node address. * * # Returns * - * A JavaScript `Promise` resolving to either the processed `EventParseResult` or an error message. - * @param {string} events_url - * @param {string} deploy_hash - * @param {number | undefined} [timeout_duration] - * @returns {Promise>} + * A `Result` containing either a `SpeculativeExecResult` or a `JsError` in case of an error. + * @param {DeployStrParams} deploy_params + * @param {SessionStrParams} session_params + * @param {PaymentStrParams} payment_params + * @param {string | undefined} [maybe_block_id_as_string] + * @param {BlockIdentifier | undefined} [maybe_block_identifier] + * @param {Verbosity | undefined} [verbosity] + * @param {string | undefined} [node_address] + * @returns {Promise} */ - waitDeploy(events_url, deploy_hash, timeout_duration) { - const ptr0 = passStringToWasm0(events_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len0 = WASM_VECTOR_LEN; - const ptr1 = passStringToWasm0(deploy_hash, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - const ret = wasm.sdk_waitDeploy(this.__wbg_ptr, ptr0, len0, ptr1, len1, !isLikeNone(timeout_duration), isLikeNone(timeout_duration) ? 0 : timeout_duration); + speculative_deploy(deploy_params, session_params, payment_params, maybe_block_id_as_string, maybe_block_identifier, verbosity, node_address) { + _assertClass(deploy_params, DeployStrParams); + var ptr0 = deploy_params.__destroy_into_raw(); + _assertClass(session_params, SessionStrParams); + var ptr1 = session_params.__destroy_into_raw(); + _assertClass(payment_params, PaymentStrParams); + var ptr2 = payment_params.__destroy_into_raw(); + var ptr3 = isLikeNone(maybe_block_id_as_string) ? 0 : passStringToWasm0(maybe_block_id_as_string, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len3 = WASM_VECTOR_LEN; + let ptr4 = 0; + if (!isLikeNone(maybe_block_identifier)) { + _assertClass(maybe_block_identifier, BlockIdentifier); + ptr4 = maybe_block_identifier.__destroy_into_raw(); + } + var ptr5 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len5 = WASM_VECTOR_LEN; + const ret = wasm.sdk_speculative_deploy(this.__wbg_ptr, ptr0, ptr1, ptr2, ptr3, len3, ptr4, isLikeNone(verbosity) ? 3 : verbosity, ptr5, len5); return takeObject(ret); } /** - * Asynchronously retrieves the chainspec. + * Parses deploy options from a JsValue. * * # Arguments * - * * `verbosity` - An optional `Verbosity` parameter. - * * `node_address` - An optional node address as a string. + * * `options` - A JsValue containing deploy options to be parsed. * * # Returns * - * A `Result` containing either a `GetChainspecResult` or a `JsError` in case of an error. - * @param {Verbosity | undefined} [verbosity] - * @param {string | undefined} [node_address] - * @returns {Promise} + * Parsed deploy options as a `GetDeployOptions` struct. + * @param {any} options + * @returns {getDeployOptions} */ - get_chainspec(verbosity, node_address) { - var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len0 = WASM_VECTOR_LEN; - const ret = wasm.sdk_get_chainspec(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); - return takeObject(ret); + get_deploy_options(options) { + try { + const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); + wasm.sdk_get_deploy_options(retptr, this.__wbg_ptr, addHeapObject(options)); + var r0 = getInt32Memory0()[retptr / 4 + 0]; + var r1 = getInt32Memory0()[retptr / 4 + 1]; + var r2 = getInt32Memory0()[retptr / 4 + 2]; + if (r2) { + throw takeObject(r1); + } + return getDeployOptions.__wrap(r0); + } finally { + wasm.__wbindgen_add_to_stack_pointer(16); + } } /** - * Retrieves node status information using the provided options. + * Retrieves deploy information using the provided options. * * # Arguments * - * * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. - * * `node_address` - An optional string specifying the node address to use for the request. + * * `options` - An optional `GetDeployOptions` struct containing retrieval options. * * # Returns * - * A `Result` containing either a `GetNodeStatusResult` or a `JsError` in case of an error. - * - * # Errors - * - * Returns a `JsError` if there is an error during the retrieval process. - * @param {Verbosity | undefined} [verbosity] - * @param {string | undefined} [node_address] - * @returns {Promise} + * A `Result` containing either a `GetDeployResult` or an error. + * @param {getDeployOptions | undefined} [options] + * @returns {Promise} */ - get_node_status(verbosity, node_address) { - var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len0 = WASM_VECTOR_LEN; - const ret = wasm.sdk_get_node_status(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); + get_deploy(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, getDeployOptions); + ptr0 = options.__destroy_into_raw(); + } + const ret = wasm.sdk_get_deploy(this.__wbg_ptr, ptr0); return takeObject(ret); } /** - * Retrieves peers asynchronously. - * - * # Arguments - * - * * `verbosity` - Optional verbosity level. - * * `node_address` - Optional node address. - * - * # Returns - * - * A `Result` containing `GetPeersResult` or a `JsError` if an error occurs. - * @param {Verbosity | undefined} [verbosity] - * @param {string | undefined} [node_address] - * @returns {Promise} + * Retrieves deploy information using the provided options, alias for `get_deploy_js_alias`. + * @param {getDeployOptions | undefined} [options] + * @returns {Promise} */ - get_peers(verbosity, node_address) { - var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len0 = WASM_VECTOR_LEN; - const ret = wasm.sdk_get_peers(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); + info_get_deploy(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, getDeployOptions); + ptr0 = options.__destroy_into_raw(); + } + const ret = wasm.sdk_info_get_deploy(this.__wbg_ptr, ptr0); return takeObject(ret); } /** @@ -7120,29 +7092,155 @@ export class SDK { return takeObject(ret); } /** - * Lists available RPCs using the provided options. + * Get options for speculative execution from a JavaScript value. + * @param {any} options + * @returns {getSpeculativeExecOptions} + */ + get_speculative_exec_options(options) { + try { + const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); + wasm.sdk_get_speculative_exec_options(retptr, this.__wbg_ptr, addHeapObject(options)); + var r0 = getInt32Memory0()[retptr / 4 + 0]; + var r1 = getInt32Memory0()[retptr / 4 + 1]; + var r2 = getInt32Memory0()[retptr / 4 + 2]; + if (r2) { + throw takeObject(r1); + } + return getSpeculativeExecOptions.__wrap(r0); + } finally { + wasm.__wbindgen_add_to_stack_pointer(16); + } + } + /** + * JS Alias for speculative execution. * * # Arguments * - * * `verbosity` - An optional `Verbosity` level for controlling the output verbosity. - * * `node_address` - An optional string specifying the node address to use for the request. + * * `options` - The options for speculative execution. * * # Returns * - * A `Result` containing either a `ListRpcsResult` or a `JsError` in case of an error. - * - * # Errors - * - * Returns a `JsError` if there is an error during the listing process. - * @param {Verbosity | undefined} [verbosity] + * A `Result` containing the result of the speculative execution or a `JsError` in case of an error. + * @param {getSpeculativeExecOptions | undefined} [options] + * @returns {Promise} + */ + speculative_exec(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, getSpeculativeExecOptions); + ptr0 = options.__destroy_into_raw(); + } + const ret = wasm.sdk_speculative_exec(this.__wbg_ptr, ptr0); + return takeObject(ret); + } + /** + * Deserialize query_contract_dict_options from a JavaScript object. + * @param {any} options + * @returns {queryContractDictOptions} + */ + query_contract_dict_options(options) { + try { + const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); + wasm.sdk_query_contract_dict_options(retptr, this.__wbg_ptr, addHeapObject(options)); + var r0 = getInt32Memory0()[retptr / 4 + 0]; + var r1 = getInt32Memory0()[retptr / 4 + 1]; + var r2 = getInt32Memory0()[retptr / 4 + 2]; + if (r2) { + throw takeObject(r1); + } + return queryContractDictOptions.__wrap(r0); + } finally { + wasm.__wbindgen_add_to_stack_pointer(16); + } + } + /** + * JavaScript alias for query_contract_dict with deserialized options. + * @param {queryContractDictOptions | undefined} [options] + * @returns {Promise} + */ + query_contract_dict(options) { + let ptr0 = 0; + if (!isLikeNone(options)) { + _assertClass(options, queryContractDictOptions); + ptr0 = options.__destroy_into_raw(); + } + const ret = wasm.sdk_query_contract_dict(this.__wbg_ptr, ptr0); + return takeObject(ret); + } + /** * @param {string | undefined} [node_address] - * @returns {Promise} + * @param {Verbosity | undefined} [verbosity] */ - list_rpcs(verbosity, node_address) { + constructor(node_address, verbosity) { var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - const ret = wasm.sdk_list_rpcs(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity, ptr0, len0); - return takeObject(ret); + const ret = wasm.sdk_new(ptr0, len0, isLikeNone(verbosity) ? 3 : verbosity); + this.__wbg_ptr = ret >>> 0; + return this; + } + /** + * @param {string | undefined} [node_address] + * @returns {string} + */ + getNodeAddress(node_address) { + let deferred2_0; + let deferred2_1; + try { + const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); + var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len0 = WASM_VECTOR_LEN; + wasm.sdk_getNodeAddress(retptr, this.__wbg_ptr, ptr0, len0); + var r0 = getInt32Memory0()[retptr / 4 + 0]; + var r1 = getInt32Memory0()[retptr / 4 + 1]; + deferred2_0 = r0; + deferred2_1 = r1; + return getStringFromWasm0(r0, r1); + } finally { + wasm.__wbindgen_add_to_stack_pointer(16); + wasm.__wbindgen_free(deferred2_0, deferred2_1, 1); + } + } + /** + * @param {string | undefined} [node_address] + */ + setNodeAddress(node_address) { + try { + const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); + var ptr0 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); + var len0 = WASM_VECTOR_LEN; + wasm.sdk_setNodeAddress(retptr, this.__wbg_ptr, ptr0, len0); + var r0 = getInt32Memory0()[retptr / 4 + 0]; + var r1 = getInt32Memory0()[retptr / 4 + 1]; + if (r1) { + throw takeObject(r0); + } + } finally { + wasm.__wbindgen_add_to_stack_pointer(16); + } + } + /** + * @param {Verbosity | undefined} [verbosity] + * @returns {Verbosity} + */ + getVerbosity(verbosity) { + const ret = wasm.sdk_getVerbosity(this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity); + return ret; + } + /** + * @param {Verbosity | undefined} [verbosity] + */ + setVerbosity(verbosity) { + try { + const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); + wasm.sdk_setVerbosity(retptr, this.__wbg_ptr, isLikeNone(verbosity) ? 3 : verbosity); + var r0 = getInt32Memory0()[retptr / 4 + 0]; + var r1 = getInt32Memory0()[retptr / 4 + 1]; + if (r1) { + throw takeObject(r0); + } + } finally { + wasm.__wbindgen_add_to_stack_pointer(16); + } } /** * Installs a smart contract with the specified parameters and returns the result. @@ -7179,102 +7277,6 @@ export class SDK { const ret = wasm.sdk_install(this.__wbg_ptr, ptr0, ptr1, ptr2, len2, ptr3, len3); return takeObject(ret); } - /** - * This function allows executing a deploy speculatively. - * - * # Arguments - * - * * `deploy_params` - Deployment parameters for the deploy. - * * `session_params` - Session parameters for the deploy. - * * `payment_params` - Payment parameters for the deploy. - * * `maybe_block_id_as_string` - An optional block ID as a string. - * * `maybe_block_identifier` - Optional block identifier. - * * `verbosity` - Optional verbosity level. - * * `node_address` - Optional node address. - * - * # Returns - * - * A `Result` containing either a `SpeculativeExecResult` or a `JsError` in case of an error. - * @param {DeployStrParams} deploy_params - * @param {SessionStrParams} session_params - * @param {PaymentStrParams} payment_params - * @param {string | undefined} [maybe_block_id_as_string] - * @param {BlockIdentifier | undefined} [maybe_block_identifier] - * @param {Verbosity | undefined} [verbosity] - * @param {string | undefined} [node_address] - * @returns {Promise} - */ - speculative_deploy(deploy_params, session_params, payment_params, maybe_block_id_as_string, maybe_block_identifier, verbosity, node_address) { - _assertClass(deploy_params, DeployStrParams); - var ptr0 = deploy_params.__destroy_into_raw(); - _assertClass(session_params, SessionStrParams); - var ptr1 = session_params.__destroy_into_raw(); - _assertClass(payment_params, PaymentStrParams); - var ptr2 = payment_params.__destroy_into_raw(); - var ptr3 = isLikeNone(maybe_block_id_as_string) ? 0 : passStringToWasm0(maybe_block_id_as_string, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len3 = WASM_VECTOR_LEN; - let ptr4 = 0; - if (!isLikeNone(maybe_block_identifier)) { - _assertClass(maybe_block_identifier, BlockIdentifier); - ptr4 = maybe_block_identifier.__destroy_into_raw(); - } - var ptr5 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len5 = WASM_VECTOR_LEN; - const ret = wasm.sdk_speculative_deploy(this.__wbg_ptr, ptr0, ptr1, ptr2, ptr3, len3, ptr4, isLikeNone(verbosity) ? 3 : verbosity, ptr5, len5); - return takeObject(ret); - } - /** - * JS Alias for speculative transfer. - * - * # Arguments - * - * * `amount` - The amount to transfer. - * * `target_account` - The target account. - * * `transfer_id` - An optional transfer ID (defaults to a random number). - * * `deploy_params` - The deployment parameters. - * * `payment_params` - The payment parameters. - * * `maybe_block_id_as_string` - An optional block ID as a string. - * * `maybe_block_identifier` - An optional block identifier. - * * `verbosity` - The verbosity level for logging (optional). - * * `node_address` - The address of the node to connect to (optional). - * - * # Returns - * - * A `Result` containing the result of the speculative transfer or a `JsError` in case of an error. - * @param {string} amount - * @param {string} target_account - * @param {string | undefined} transfer_id - * @param {DeployStrParams} deploy_params - * @param {PaymentStrParams} payment_params - * @param {string | undefined} [maybe_block_id_as_string] - * @param {BlockIdentifier | undefined} [maybe_block_identifier] - * @param {Verbosity | undefined} [verbosity] - * @param {string | undefined} [node_address] - * @returns {Promise} - */ - speculative_transfer(amount, target_account, transfer_id, deploy_params, payment_params, maybe_block_id_as_string, maybe_block_identifier, verbosity, node_address) { - const ptr0 = passStringToWasm0(amount, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len0 = WASM_VECTOR_LEN; - const ptr1 = passStringToWasm0(target_account, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - const len1 = WASM_VECTOR_LEN; - var ptr2 = isLikeNone(transfer_id) ? 0 : passStringToWasm0(transfer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len2 = WASM_VECTOR_LEN; - _assertClass(deploy_params, DeployStrParams); - var ptr3 = deploy_params.__destroy_into_raw(); - _assertClass(payment_params, PaymentStrParams); - var ptr4 = payment_params.__destroy_into_raw(); - var ptr5 = isLikeNone(maybe_block_id_as_string) ? 0 : passStringToWasm0(maybe_block_id_as_string, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len5 = WASM_VECTOR_LEN; - let ptr6 = 0; - if (!isLikeNone(maybe_block_identifier)) { - _assertClass(maybe_block_identifier, BlockIdentifier); - ptr6 = maybe_block_identifier.__destroy_into_raw(); - } - var ptr7 = isLikeNone(node_address) ? 0 : passStringToWasm0(node_address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); - var len7 = WASM_VECTOR_LEN; - const ret = wasm.sdk_speculative_transfer(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, ptr4, ptr5, len5, ptr6, isLikeNone(verbosity) ? 3 : verbosity, ptr7, len7); - return takeObject(ret); - } } const SessionStrParamsFinalization = (typeof FinalizationRegistry === 'undefined') @@ -7343,7 +7345,7 @@ export class SessionStrParams { get session_hash() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_hash(retptr, this.__wbg_ptr); + wasm.deploystrparams_secret_key(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -7370,7 +7372,7 @@ export class SessionStrParams { get session_name() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_name(retptr, this.__wbg_ptr); + wasm.deploystrparams_timestamp(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -7397,7 +7399,7 @@ export class SessionStrParams { get session_package_hash() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_package_hash(retptr, this.__wbg_ptr); + wasm.deploystrparams_ttl(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -7424,7 +7426,7 @@ export class SessionStrParams { get session_package_name() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_package_name(retptr, this.__wbg_ptr); + wasm.deploystrparams_chain_name(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -7451,7 +7453,7 @@ export class SessionStrParams { get session_path() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_path(retptr, this.__wbg_ptr); + wasm.deploystrparams_session_account(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -7506,7 +7508,7 @@ export class SessionStrParams { get session_args_json() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_args_json(retptr, this.__wbg_ptr); + wasm.paymentstrparams_payment_args_json(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -7533,7 +7535,7 @@ export class SessionStrParams { get session_args_complex() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_args_complex(retptr, this.__wbg_ptr); + wasm.paymentstrparams_payment_args_complex(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -7560,7 +7562,7 @@ export class SessionStrParams { get session_version() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_version(retptr, this.__wbg_ptr); + wasm.paymentstrparams_payment_version(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -7587,7 +7589,7 @@ export class SessionStrParams { get session_entry_point() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.sessionstrparams_session_entry_point(retptr, this.__wbg_ptr); + wasm.paymentstrparams_payment_entry_point(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -8471,7 +8473,7 @@ export class getBlockOptions { get maybe_block_id_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_getauctioninfooptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_getblockoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -8490,13 +8492,13 @@ export class getBlockOptions { set maybe_block_id_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_getauctioninfooptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_getblockoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {BlockIdentifier | undefined} */ get maybe_block_identifier() { - const ret = wasm.__wbg_get_getauctioninfooptions_maybe_block_identifier(this.__wbg_ptr); + const ret = wasm.__wbg_get_getblockoptions_maybe_block_identifier(this.__wbg_ptr); return ret === 0 ? undefined : BlockIdentifier.__wrap(ret); } /** @@ -8508,7 +8510,7 @@ export class getBlockOptions { _assertClass(arg0, BlockIdentifier); ptr0 = arg0.__destroy_into_raw(); } - wasm.__wbg_set_getauctioninfooptions_maybe_block_identifier(this.__wbg_ptr, ptr0); + wasm.__wbg_set_getblockoptions_maybe_block_identifier(this.__wbg_ptr, ptr0); } /** * @returns {string | undefined} @@ -8516,7 +8518,7 @@ export class getBlockOptions { get node_address() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_getauctioninfooptions_node_address(retptr, this.__wbg_ptr); + wasm.__wbg_get_getblockoptions_node_address(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -8535,20 +8537,20 @@ export class getBlockOptions { set node_address(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_getauctioninfooptions_node_address(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_getblockoptions_node_address(this.__wbg_ptr, ptr0, len0); } /** * @returns {Verbosity | undefined} */ get verbosity() { - const ret = wasm.__wbg_get_getauctioninfooptions_verbosity(this.__wbg_ptr); + const ret = wasm.__wbg_get_getblockoptions_verbosity(this.__wbg_ptr); return ret === 3 ? undefined : ret; } /** * @param {Verbosity | undefined} [arg0] */ set verbosity(arg0) { - wasm.__wbg_set_getauctioninfooptions_verbosity(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0); + wasm.__wbg_set_getblockoptions_verbosity(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0); } } @@ -8610,7 +8612,7 @@ export class getBlockTransfersOptions { * @returns {BlockIdentifier | undefined} */ get maybe_block_identifier() { - const ret = wasm.__wbg_get_getaccountoptions_maybe_block_identifier(this.__wbg_ptr); + const ret = wasm.__wbg_get_getblocktransfersoptions_maybe_block_identifier(this.__wbg_ptr); return ret === 0 ? undefined : BlockIdentifier.__wrap(ret); } /** @@ -8622,7 +8624,7 @@ export class getBlockTransfersOptions { _assertClass(arg0, BlockIdentifier); ptr0 = arg0.__destroy_into_raw(); } - wasm.__wbg_set_getaccountoptions_maybe_block_identifier(this.__wbg_ptr, ptr0); + wasm.__wbg_set_getblocktransfersoptions_maybe_block_identifier(this.__wbg_ptr, ptr0); } /** * @returns {Verbosity | undefined} @@ -9089,7 +9091,7 @@ export class getEraSummaryOptions { get maybe_block_id_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_geterasummaryoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_getblockoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -9108,13 +9110,13 @@ export class getEraSummaryOptions { set maybe_block_id_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_geterasummaryoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_getblockoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {BlockIdentifier | undefined} */ get maybe_block_identifier() { - const ret = wasm.__wbg_get_geterasummaryoptions_maybe_block_identifier(this.__wbg_ptr); + const ret = wasm.__wbg_get_getblockoptions_maybe_block_identifier(this.__wbg_ptr); return ret === 0 ? undefined : BlockIdentifier.__wrap(ret); } /** @@ -9126,7 +9128,7 @@ export class getEraSummaryOptions { _assertClass(arg0, BlockIdentifier); ptr0 = arg0.__destroy_into_raw(); } - wasm.__wbg_set_geterasummaryoptions_maybe_block_identifier(this.__wbg_ptr, ptr0); + wasm.__wbg_set_getblockoptions_maybe_block_identifier(this.__wbg_ptr, ptr0); } /** * @returns {string | undefined} @@ -9134,7 +9136,7 @@ export class getEraSummaryOptions { get node_address() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_geterasummaryoptions_node_address(retptr, this.__wbg_ptr); + wasm.__wbg_get_getblockoptions_node_address(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -9153,20 +9155,20 @@ export class getEraSummaryOptions { set node_address(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_geterasummaryoptions_node_address(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_getblockoptions_node_address(this.__wbg_ptr, ptr0, len0); } /** * @returns {Verbosity | undefined} */ get verbosity() { - const ret = wasm.__wbg_get_geterasummaryoptions_verbosity(this.__wbg_ptr); + const ret = wasm.__wbg_get_getblockoptions_verbosity(this.__wbg_ptr); return ret === 3 ? undefined : ret; } /** * @param {Verbosity | undefined} [arg0] */ set verbosity(arg0) { - wasm.__wbg_set_geterasummaryoptions_verbosity(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0); + wasm.__wbg_set_getblockoptions_verbosity(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0); } } @@ -9374,7 +9376,7 @@ export class getStateRootHashOptions { get maybe_block_id_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_getblocktransfersoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_getstateroothashoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -9393,7 +9395,7 @@ export class getStateRootHashOptions { set maybe_block_id_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_getblocktransfersoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_getstateroothashoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {BlockIdentifier | undefined} @@ -9419,7 +9421,7 @@ export class getStateRootHashOptions { get node_address() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_getblocktransfersoptions_node_address(retptr, this.__wbg_ptr); + wasm.__wbg_get_getstateroothashoptions_node_address(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -9438,20 +9440,20 @@ export class getStateRootHashOptions { set node_address(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_getblocktransfersoptions_node_address(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_getstateroothashoptions_node_address(this.__wbg_ptr, ptr0, len0); } /** * @returns {Verbosity | undefined} */ get verbosity() { - const ret = wasm.__wbg_get_getblocktransfersoptions_verbosity(this.__wbg_ptr); + const ret = wasm.__wbg_get_getstateroothashoptions_verbosity(this.__wbg_ptr); return ret === 3 ? undefined : ret; } /** * @param {Verbosity | undefined} [arg0] */ set verbosity(arg0) { - wasm.__wbg_set_getblocktransfersoptions_verbosity(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0); + wasm.__wbg_set_getstateroothashoptions_verbosity(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0); } } @@ -9488,7 +9490,7 @@ export class queryBalanceOptions { get purse_identifier_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_getaccountoptions_account_identifier_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_querybalanceoptions_purse_identifier_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -9507,7 +9509,7 @@ export class queryBalanceOptions { set purse_identifier_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_getaccountoptions_account_identifier_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_querybalanceoptions_purse_identifier_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {PurseIdentifier | undefined} @@ -9551,7 +9553,7 @@ export class queryBalanceOptions { get state_root_hash_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_getaccountoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_querybalanceoptions_state_root_hash_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -9570,7 +9572,7 @@ export class queryBalanceOptions { set state_root_hash_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_getaccountoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_querybalanceoptions_state_root_hash_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {Digest | undefined} @@ -9596,7 +9598,7 @@ export class queryBalanceOptions { get maybe_block_id_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_getaccountoptions_node_address(retptr, this.__wbg_ptr); + wasm.__wbg_get_querybalanceoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -9615,7 +9617,7 @@ export class queryBalanceOptions { set maybe_block_id_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_getaccountoptions_node_address(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_querybalanceoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {string | undefined} @@ -10087,7 +10089,7 @@ export class queryGlobalStateOptions { * @returns {GlobalStateIdentifier | undefined} */ get global_state_identifier() { - const ret = wasm.__wbg_get_querycontractkeyoptions_global_state_identifier(this.__wbg_ptr); + const ret = wasm.__wbg_get_queryglobalstateoptions_global_state_identifier(this.__wbg_ptr); return ret === 0 ? undefined : GlobalStateIdentifier.__wrap(ret); } /** @@ -10099,7 +10101,7 @@ export class queryGlobalStateOptions { _assertClass(arg0, GlobalStateIdentifier); ptr0 = arg0.__destroy_into_raw(); } - wasm.__wbg_set_querycontractkeyoptions_global_state_identifier(this.__wbg_ptr, ptr0); + wasm.__wbg_set_queryglobalstateoptions_global_state_identifier(this.__wbg_ptr, ptr0); } /** * @returns {string | undefined} @@ -10107,7 +10109,7 @@ export class queryGlobalStateOptions { get state_root_hash_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_querycontractkeyoptions_state_root_hash_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_queryglobalstateoptions_state_root_hash_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -10126,13 +10128,13 @@ export class queryGlobalStateOptions { set state_root_hash_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_querycontractkeyoptions_state_root_hash_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_queryglobalstateoptions_state_root_hash_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {Digest | undefined} */ get state_root_hash() { - const ret = wasm.__wbg_get_querycontractkeyoptions_state_root_hash(this.__wbg_ptr); + const ret = wasm.__wbg_get_queryglobalstateoptions_state_root_hash(this.__wbg_ptr); return ret === 0 ? undefined : Digest.__wrap(ret); } /** @@ -10144,7 +10146,7 @@ export class queryGlobalStateOptions { _assertClass(arg0, Digest); ptr0 = arg0.__destroy_into_raw(); } - wasm.__wbg_set_querycontractkeyoptions_state_root_hash(this.__wbg_ptr, ptr0); + wasm.__wbg_set_queryglobalstateoptions_state_root_hash(this.__wbg_ptr, ptr0); } /** * @returns {string | undefined} @@ -10152,7 +10154,7 @@ export class queryGlobalStateOptions { get maybe_block_id_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_querycontractkeyoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_queryglobalstateoptions_maybe_block_id_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -10171,7 +10173,7 @@ export class queryGlobalStateOptions { set maybe_block_id_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_querycontractkeyoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_queryglobalstateoptions_maybe_block_id_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {string | undefined} @@ -10179,7 +10181,7 @@ export class queryGlobalStateOptions { get key_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_querycontractkeyoptions_contract_key_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_queryglobalstateoptions_key_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -10198,13 +10200,13 @@ export class queryGlobalStateOptions { set key_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_querycontractkeyoptions_contract_key_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_queryglobalstateoptions_key_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {Key | undefined} */ get key() { - const ret = wasm.__wbg_get_querycontractkeyoptions_contract_key(this.__wbg_ptr); + const ret = wasm.__wbg_get_queryglobalstateoptions_key(this.__wbg_ptr); return ret === 0 ? undefined : Key.__wrap(ret); } /** @@ -10216,7 +10218,7 @@ export class queryGlobalStateOptions { _assertClass(arg0, Key); ptr0 = arg0.__destroy_into_raw(); } - wasm.__wbg_set_querycontractkeyoptions_contract_key(this.__wbg_ptr, ptr0); + wasm.__wbg_set_queryglobalstateoptions_key(this.__wbg_ptr, ptr0); } /** * @returns {string | undefined} @@ -10224,7 +10226,7 @@ export class queryGlobalStateOptions { get path_as_string() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_querycontractkeyoptions_path_as_string(retptr, this.__wbg_ptr); + wasm.__wbg_get_queryglobalstateoptions_path_as_string(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -10243,13 +10245,13 @@ export class queryGlobalStateOptions { set path_as_string(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_querycontractkeyoptions_path_as_string(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_queryglobalstateoptions_path_as_string(this.__wbg_ptr, ptr0, len0); } /** * @returns {Path | undefined} */ get path() { - const ret = wasm.__wbg_get_querycontractkeyoptions_path(this.__wbg_ptr); + const ret = wasm.__wbg_get_queryglobalstateoptions_path(this.__wbg_ptr); return ret === 0 ? undefined : Path.__wrap(ret); } /** @@ -10261,7 +10263,7 @@ export class queryGlobalStateOptions { _assertClass(arg0, Path); ptr0 = arg0.__destroy_into_raw(); } - wasm.__wbg_set_querycontractkeyoptions_path(this.__wbg_ptr, ptr0); + wasm.__wbg_set_queryglobalstateoptions_path(this.__wbg_ptr, ptr0); } /** * @returns {string | undefined} @@ -10269,7 +10271,7 @@ export class queryGlobalStateOptions { get node_address() { try { const retptr = wasm.__wbindgen_add_to_stack_pointer(-16); - wasm.__wbg_get_querycontractkeyoptions_node_address(retptr, this.__wbg_ptr); + wasm.__wbg_get_queryglobalstateoptions_node_address(retptr, this.__wbg_ptr); var r0 = getInt32Memory0()[retptr / 4 + 0]; var r1 = getInt32Memory0()[retptr / 4 + 1]; let v1; @@ -10288,20 +10290,20 @@ export class queryGlobalStateOptions { set node_address(arg0) { var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len0 = WASM_VECTOR_LEN; - wasm.__wbg_set_querycontractkeyoptions_node_address(this.__wbg_ptr, ptr0, len0); + wasm.__wbg_set_queryglobalstateoptions_node_address(this.__wbg_ptr, ptr0, len0); } /** * @returns {Verbosity | undefined} */ get verbosity() { - const ret = wasm.__wbg_get_querycontractkeyoptions_verbosity(this.__wbg_ptr); + const ret = wasm.__wbg_get_queryglobalstateoptions_verbosity(this.__wbg_ptr); return ret === 3 ? undefined : ret; } /** * @param {Verbosity | undefined} [arg0] */ set verbosity(arg0) { - wasm.__wbg_set_querycontractkeyoptions_verbosity(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0); + wasm.__wbg_set_queryglobalstateoptions_verbosity(this.__wbg_ptr, isLikeNone(arg0) ? 3 : arg0); } } @@ -10346,85 +10348,93 @@ function __wbg_get_imports() { const ret = GetDictionaryItemResult.__wrap(arg0); return addHeapObject(ret); }; + imports.wbg.__wbg_requestSwitchAccount_e86874ef2727a0e9 = function() { return handleError(function (arg0) { + const ret = getObject(arg0).requestSwitchAccount(); + return addHeapObject(ret); + }, arguments) }; imports.wbg.__wbindgen_error_new = function(arg0, arg1) { const ret = new Error(getStringFromWasm0(arg0, arg1)); return addHeapObject(ret); }; + imports.wbg.__wbindgen_boolean_get = function(arg0) { + const v = getObject(arg0); + const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2; + return ret; + }; + imports.wbg.__wbg_getauctioninforesult_new = function(arg0) { + const ret = GetAuctionInfoResult.__wrap(arg0); + return addHeapObject(ret); + }; imports.wbg.__wbg_putdeployresult_new = function(arg0) { const ret = PutDeployResult.__wrap(arg0); return addHeapObject(ret); }; - imports.wbg.__wbg_getdeployresult_new = function(arg0) { - const ret = GetDeployResult.__wrap(arg0); + imports.wbg.__wbindgen_string_new = function(arg0, arg1) { + const ret = getStringFromWasm0(arg0, arg1); return addHeapObject(ret); }; - imports.wbg.__wbg_getstateroothashresult_new = function(arg0) { - const ret = GetStateRootHashResult.__wrap(arg0); + imports.wbg.__wbg_speculativeexecresult_new = function(arg0) { + const ret = SpeculativeExecResult.__wrap(arg0); return addHeapObject(ret); }; - imports.wbg.__wbg_getaccountresult_new = function(arg0) { - const ret = GetAccountResult.__wrap(arg0); + imports.wbg.__wbg_getchainspecresult_new = function(arg0) { + const ret = GetChainspecResult.__wrap(arg0); return addHeapObject(ret); }; - imports.wbg.__wbg_querybalanceresult_new = function(arg0) { - const ret = QueryBalanceResult.__wrap(arg0); + imports.wbg.__wbg_getblocktransfersresult_new = function(arg0) { + const ret = GetBlockTransfersResult.__wrap(arg0); return addHeapObject(ret); }; - imports.wbg.__wbg_getblockresult_new = function(arg0) { - const ret = GetBlockResult.__wrap(arg0); + imports.wbg.__wbg_disconnectFromSite_c93f135e3be08357 = function() { return handleError(function (arg0) { + const ret = getObject(arg0).disconnectFromSite(); + return addHeapObject(ret); + }, arguments) }; + imports.wbg.__wbg_getvalidatorchangesresult_new = function(arg0) { + const ret = GetValidatorChangesResult.__wrap(arg0); return addHeapObject(ret); }; - imports.wbg.__wbg_deploy_new = function(arg0) { - const ret = Deploy.__wrap(arg0); + imports.wbg.__wbg_getstateroothashresult_new = function(arg0) { + const ret = GetStateRootHashResult.__wrap(arg0); return addHeapObject(ret); }; - imports.wbg.__wbg_getvalidatorchangesresult_new = function(arg0) { - const ret = GetValidatorChangesResult.__wrap(arg0); + imports.wbg.__wbg_getdeployresult_new = function(arg0) { + const ret = GetDeployResult.__wrap(arg0); return addHeapObject(ret); }; - imports.wbg.__wbg_getpeersresult_new = function(arg0) { - const ret = GetPeersResult.__wrap(arg0); + imports.wbg.__wbg_geterasummaryresult_new = function(arg0) { + const ret = GetEraSummaryResult.__wrap(arg0); return addHeapObject(ret); }; imports.wbg.__wbg_geterainforesult_new = function(arg0) { const ret = GetEraInfoResult.__wrap(arg0); return addHeapObject(ret); }; - imports.wbg.__wbg_isConnected_99de68533d79b4b6 = function() { return handleError(function (arg0) { - const ret = getObject(arg0).isConnected(); + imports.wbg.__wbg_getbalanceresult_new = function(arg0) { + const ret = GetBalanceResult.__wrap(arg0); return addHeapObject(ret); - }, arguments) }; - imports.wbg.__wbindgen_boolean_get = function(arg0) { - const v = getObject(arg0); - const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2; - return ret; }; - imports.wbg.__wbg_getblocktransfersresult_new = function(arg0) { - const ret = GetBlockTransfersResult.__wrap(arg0); + imports.wbg.__wbg_querybalanceresult_new = function(arg0) { + const ret = QueryBalanceResult.__wrap(arg0); return addHeapObject(ret); }; - imports.wbg.__wbg_disconnectFromSite_c93f135e3be08357 = function() { return handleError(function (arg0) { - const ret = getObject(arg0).disconnectFromSite(); + imports.wbg.__wbg_getaccountresult_new = function(arg0) { + const ret = GetAccountResult.__wrap(arg0); return addHeapObject(ret); - }, arguments) }; - imports.wbg.__wbg_requestSwitchAccount_e86874ef2727a0e9 = function() { return handleError(function (arg0) { - const ret = getObject(arg0).requestSwitchAccount(); + }; + imports.wbg.__wbg_isConnected_99de68533d79b4b6 = function() { return handleError(function (arg0) { + const ret = getObject(arg0).isConnected(); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_queryglobalstateresult_new = function(arg0) { - const ret = QueryGlobalStateResult.__wrap(arg0); - return addHeapObject(ret); - }; - imports.wbg.__wbg_getauctioninforesult_new = function(arg0) { - const ret = GetAuctionInfoResult.__wrap(arg0); + imports.wbg.__wbg_deploy_new = function(arg0) { + const ret = Deploy.__wrap(arg0); return addHeapObject(ret); }; - imports.wbg.__wbg_speculativeexecresult_new = function(arg0) { - const ret = SpeculativeExecResult.__wrap(arg0); + imports.wbg.__wbg_listrpcsresult_new = function(arg0) { + const ret = ListRpcsResult.__wrap(arg0); return addHeapObject(ret); }; - imports.wbg.__wbg_geterasummaryresult_new = function(arg0) { - const ret = GetEraSummaryResult.__wrap(arg0); + imports.wbg.__wbg_getblockresult_new = function(arg0) { + const ret = GetBlockResult.__wrap(arg0); return addHeapObject(ret); }; imports.wbg.__wbg_getVersion_3559bc92be807ecf = function() { return handleError(function (arg0) { @@ -10439,28 +10449,16 @@ function __wbg_get_imports() { getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; - imports.wbg.__wbindgen_string_new = function(arg0, arg1) { - const ret = getStringFromWasm0(arg0, arg1); - return addHeapObject(ret); - }; - imports.wbg.__wbg_getnodestatusresult_new = function(arg0) { - const ret = GetNodeStatusResult.__wrap(arg0); - return addHeapObject(ret); - }; - imports.wbg.__wbg_getbalanceresult_new = function(arg0) { - const ret = GetBalanceResult.__wrap(arg0); - return addHeapObject(ret); - }; - imports.wbg.__wbg_getchainspecresult_new = function(arg0) { - const ret = GetChainspecResult.__wrap(arg0); + imports.wbg.__wbg_getpeersresult_new = function(arg0) { + const ret = GetPeersResult.__wrap(arg0); return addHeapObject(ret); }; - imports.wbg.__wbg_listrpcsresult_new = function(arg0) { - const ret = ListRpcsResult.__wrap(arg0); + imports.wbg.__wbg_queryglobalstateresult_new = function(arg0) { + const ret = QueryGlobalStateResult.__wrap(arg0); return addHeapObject(ret); }; - imports.wbg.__wbindgen_object_clone_ref = function(arg0) { - const ret = getObject(arg0); + imports.wbg.__wbg_getnodestatusresult_new = function(arg0) { + const ret = GetNodeStatusResult.__wrap(arg0); return addHeapObject(ret); }; imports.wbg.__wbg_signMessage_98e328c414af0536 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { @@ -10475,18 +10473,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).getActivePublicKey(); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_deploysubscription_unwrap = function(arg0) { - const ret = DeploySubscription.__unwrap(takeObject(arg0)); - return ret; - }; - imports.wbg.__wbindgen_is_undefined = function(arg0) { - const ret = getObject(arg0) === undefined; - return ret; - }; - imports.wbg.__wbg_CasperWalletProvider_eab6752fc5d28d32 = function() { - const ret = CasperWalletProvider(); - return addHeapObject(ret); - }; imports.wbg.__wbindgen_cb_drop = function(arg0) { const obj = takeObject(arg0).original; if (obj.cnt-- == 1) { @@ -10496,19 +10482,35 @@ function __wbg_get_imports() { const ret = false; return ret; }; + imports.wbg.__wbindgen_is_undefined = function(arg0) { + const ret = getObject(arg0) === undefined; + return ret; + }; imports.wbg.__wbg_error_adb09b59c60c9cab = function(arg0, arg1) { console.error(getStringFromWasm0(arg0, arg1)); }; - imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) { - const ret = getObject(arg0) === getObject(arg1); + imports.wbg.__wbindgen_is_null = function(arg0) { + const ret = getObject(arg0) === null; + return ret; + }; + imports.wbg.__wbg_deploysubscription_unwrap = function(arg0) { + const ret = DeploySubscription.__unwrap(takeObject(arg0)); return ret; }; + imports.wbg.__wbindgen_object_clone_ref = function(arg0) { + const ret = getObject(arg0); + return addHeapObject(ret); + }; imports.wbg.__wbg_sign_0b9f2afaf89b6291 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { const ret = getObject(arg0).sign(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbindgen_is_null = function(arg0) { - const ret = getObject(arg0) === null; + imports.wbg.__wbg_CasperWalletProvider_eab6752fc5d28d32 = function() { + const ret = CasperWalletProvider(); + return addHeapObject(ret); + }; + imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) { + const ret = getObject(arg0) === getObject(arg1); return ret; }; imports.wbg.__wbg_fetch_1e4e8ed1f64c7e28 = function(arg0) { @@ -10542,6 +10544,30 @@ function __wbg_get_imports() { const ret = getObject(arg0).fetch(getObject(arg1)); return addHeapObject(ret); }; + imports.wbg.__wbg_new_ab6fd82b10560829 = function() { return handleError(function () { + const ret = new Headers(); + return addHeapObject(ret); + }, arguments) }; + imports.wbg.__wbg_append_7bfcb4937d1d5e29 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); + }, arguments) }; + imports.wbg.__wbg_signal_a61f78a3478fd9bc = function(arg0) { + const ret = getObject(arg0).signal; + return addHeapObject(ret); + }; + imports.wbg.__wbg_new_0d76b0581eca6298 = function() { return handleError(function () { + const ret = new AbortController(); + return addHeapObject(ret); + }, arguments) }; + imports.wbg.__wbg_abort_2aa7521d5690750e = function(arg0) { + getObject(arg0).abort(); + }; + imports.wbg.__wbg_close_a994f9425dab445c = function() { return handleError(function (arg0) { + getObject(arg0).close(); + }, arguments) }; + imports.wbg.__wbg_enqueue_ea194723156c0cc2 = function() { return handleError(function (arg0, arg1) { + getObject(arg0).enqueue(getObject(arg1)); + }, arguments) }; imports.wbg.__wbg_instanceof_Response_849eb93e75734b6e = function(arg0) { let result; try { @@ -10575,24 +10601,6 @@ function __wbg_get_imports() { const ret = getObject(arg0).arrayBuffer(); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_signal_a61f78a3478fd9bc = function(arg0) { - const ret = getObject(arg0).signal; - return addHeapObject(ret); - }; - imports.wbg.__wbg_new_0d76b0581eca6298 = function() { return handleError(function () { - const ret = new AbortController(); - return addHeapObject(ret); - }, arguments) }; - imports.wbg.__wbg_abort_2aa7521d5690750e = function(arg0) { - getObject(arg0).abort(); - }; - imports.wbg.__wbg_byobRequest_72fca99f9c32c193 = function(arg0) { - const ret = getObject(arg0).byobRequest; - return isLikeNone(ret) ? 0 : addHeapObject(ret); - }; - imports.wbg.__wbg_close_184931724d961ccc = function() { return handleError(function (arg0) { - getObject(arg0).close(); - }, arguments) }; imports.wbg.__wbg_read_e7d0f8a49be01d86 = function(arg0) { const ret = getObject(arg0).read(); return addHeapObject(ret); @@ -10615,19 +10623,13 @@ function __wbg_get_imports() { const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_new_ab6fd82b10560829 = function() { return handleError(function () { - const ret = new Headers(); - return addHeapObject(ret); - }, arguments) }; - imports.wbg.__wbg_append_7bfcb4937d1d5e29 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { - getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); - }, arguments) }; - imports.wbg.__wbg_close_a994f9425dab445c = function() { return handleError(function (arg0) { + imports.wbg.__wbg_byobRequest_72fca99f9c32c193 = function(arg0) { + const ret = getObject(arg0).byobRequest; + return isLikeNone(ret) ? 0 : addHeapObject(ret); + }; + imports.wbg.__wbg_close_184931724d961ccc = function() { return handleError(function (arg0) { getObject(arg0).close(); }, arguments) }; - imports.wbg.__wbg_enqueue_ea194723156c0cc2 = function() { return handleError(function (arg0, arg1) { - getObject(arg0).enqueue(getObject(arg1)); - }, arguments) }; imports.wbg.__wbg_crypto_1d1f22824a6a080c = function(arg0) { const ret = getObject(arg0).crypto; return addHeapObject(ret); @@ -10872,12 +10874,12 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4133 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 807, __wbg_adapter_34); + imports.wbg.__wbindgen_closure_wrapper4151 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 819, __wbg_adapter_34); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper4199 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 826, __wbg_adapter_37); + imports.wbg.__wbindgen_closure_wrapper4166 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 831, __wbg_adapter_37); return addHeapObject(ret); }; diff --git a/pkg/casper_rust_wasm_sdk_bg.wasm b/pkg/casper_rust_wasm_sdk_bg.wasm index 6f5553643..67d6f7842 100644 Binary files a/pkg/casper_rust_wasm_sdk_bg.wasm and b/pkg/casper_rust_wasm_sdk_bg.wasm differ diff --git a/pkg/casper_rust_wasm_sdk_bg.wasm.d.ts b/pkg/casper_rust_wasm_sdk_bg.wasm.d.ts index 65d7cc399..5fe6de6b2 100644 --- a/pkg/casper_rust_wasm_sdk_bg.wasm.d.ts +++ b/pkg/casper_rust_wasm_sdk_bg.wasm.d.ts @@ -1,187 +1,12 @@ /* tslint:disable */ /* eslint-disable */ export const memory: WebAssembly.Memory; -export function __wbg_accessrights_free(a: number): void; -export function accessrights_NONE(): number; -export function accessrights_READ(): number; -export function accessrights_WRITE(): number; -export function accessrights_ADD(): number; -export function accessrights_READ_ADD(): number; -export function accessrights_READ_WRITE(): number; -export function accessrights_ADD_WRITE(): number; -export function accessrights_READ_ADD_WRITE(): number; -export function accessrights_new(a: number, b: number): void; -export function accessrights_from_bits(a: number, b: number, c: number): number; -export function accessrights_is_readable(a: number): number; -export function accessrights_is_writeable(a: number): number; -export function accessrights_is_addable(a: number): number; -export function accessrights_is_none(a: number): number; -export function hashaddr_new(a: number, b: number, c: number): void; -export function __wbg_blockhash_free(a: number): void; -export function blockhash_new_js_alias(a: number, b: number, c: number): void; -export function blockhash_fromDigest(a: number, b: number): void; -export function blockhash_toJson(a: number): number; -export function blockhash_toString(a: number, b: number): void; -export function contracthash_new_js_alias(a: number, b: number, c: number): void; -export function contracthash_fromFormattedStr(a: number, b: number, c: number): void; -export function contracthash_toFormattedString(a: number, b: number): void; -export function contracthash_fromUint8Array(a: number, b: number): number; -export function __wbg_argssimple_free(a: number): void; export function __wbg_eraid_free(a: number): void; export function eraid_new(a: number): number; export function eraid_value(a: number): number; export function __wbg_peerentry_free(a: number): void; export function peerentry_node_id(a: number, b: number): void; export function peerentry_address(a: number, b: number): void; -export function __wbg_purseidentifier_free(a: number): void; -export function purseidentifier_fromPublicKey(a: number): number; -export function purseidentifier_fromAccountHash(a: number): number; -export function purseidentifier_fromURef(a: number): number; -export function purseidentifier_toJson(a: number): number; -export function __wbg_putdeployresult_free(a: number): void; -export function putdeployresult_api_version(a: number): number; -export function putdeployresult_deploy_hash(a: number): number; -export function putdeployresult_toJson(a: number): number; -export function sdk_deploy(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number; -export function __wbg_getbalanceresult_free(a: number): void; -export function getbalanceresult_api_version(a: number): number; -export function getbalanceresult_balance_value(a: number): number; -export function getbalanceresult_merkle_proof(a: number, b: number): void; -export function getbalanceresult_toJson(a: number): number; -export function __wbg_getbalanceoptions_free(a: number): void; -export function __wbg_get_getbalanceoptions_state_root_hash_as_string(a: number, b: number): void; -export function __wbg_set_getbalanceoptions_state_root_hash_as_string(a: number, b: number, c: number): void; -export function __wbg_get_getbalanceoptions_state_root_hash(a: number): number; -export function __wbg_set_getbalanceoptions_state_root_hash(a: number, b: number): void; -export function __wbg_get_getbalanceoptions_purse_uref_as_string(a: number, b: number): void; -export function __wbg_set_getbalanceoptions_purse_uref_as_string(a: number, b: number, c: number): void; -export function __wbg_get_getbalanceoptions_purse_uref(a: number): number; -export function __wbg_set_getbalanceoptions_purse_uref(a: number, b: number): void; -export function __wbg_get_getbalanceoptions_node_address(a: number, b: number): void; -export function __wbg_set_getbalanceoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_get_getbalanceoptions_verbosity(a: number): number; -export function __wbg_set_getbalanceoptions_verbosity(a: number, b: number): void; -export function sdk_get_balance_options(a: number, b: number, c: number): void; -export function sdk_get_balance(a: number, b: number): number; -export function sdk_state_get_balance(a: number, b: number): number; -export function __wbg_geterasummaryresult_free(a: number): void; -export function geterasummaryresult_api_version(a: number): number; -export function geterasummaryresult_era_summary(a: number): number; -export function geterasummaryresult_toJson(a: number): number; -export function __wbg_geterasummaryoptions_free(a: number): void; -export function __wbg_get_geterasummaryoptions_maybe_block_id_as_string(a: number, b: number): void; -export function __wbg_set_geterasummaryoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; -export function __wbg_get_geterasummaryoptions_maybe_block_identifier(a: number): number; -export function __wbg_set_geterasummaryoptions_maybe_block_identifier(a: number, b: number): void; -export function __wbg_get_geterasummaryoptions_node_address(a: number, b: number): void; -export function __wbg_set_geterasummaryoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_get_geterasummaryoptions_verbosity(a: number): number; -export function __wbg_set_geterasummaryoptions_verbosity(a: number, b: number): void; -export function sdk_get_era_summary_options(a: number, b: number, c: number): void; -export function sdk_get_era_summary(a: number, b: number): number; -export function __wbg_queryglobalstateresult_free(a: number): void; -export function queryglobalstateresult_api_version(a: number): number; -export function queryglobalstateresult_block_header(a: number): number; -export function queryglobalstateresult_stored_value(a: number): number; -export function queryglobalstateresult_merkle_proof(a: number, b: number): void; -export function queryglobalstateresult_toJson(a: number): number; -export function sdk_query_global_state_options(a: number, b: number, c: number): void; -export function sdk_query_global_state(a: number, b: number): number; -export function __wbg_querycontractkeyoptions_free(a: number): void; -export function __wbg_get_querycontractkeyoptions_global_state_identifier(a: number): number; -export function __wbg_set_querycontractkeyoptions_global_state_identifier(a: number, b: number): void; -export function __wbg_get_querycontractkeyoptions_state_root_hash_as_string(a: number, b: number): void; -export function __wbg_set_querycontractkeyoptions_state_root_hash_as_string(a: number, b: number, c: number): void; -export function __wbg_get_querycontractkeyoptions_state_root_hash(a: number): number; -export function __wbg_set_querycontractkeyoptions_state_root_hash(a: number, b: number): void; -export function __wbg_get_querycontractkeyoptions_maybe_block_id_as_string(a: number, b: number): void; -export function __wbg_set_querycontractkeyoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; -export function __wbg_get_querycontractkeyoptions_contract_key_as_string(a: number, b: number): void; -export function __wbg_set_querycontractkeyoptions_contract_key_as_string(a: number, b: number, c: number): void; -export function __wbg_get_querycontractkeyoptions_contract_key(a: number): number; -export function __wbg_set_querycontractkeyoptions_contract_key(a: number, b: number): void; -export function __wbg_get_querycontractkeyoptions_path_as_string(a: number, b: number): void; -export function __wbg_set_querycontractkeyoptions_path_as_string(a: number, b: number, c: number): void; -export function __wbg_get_querycontractkeyoptions_path(a: number): number; -export function __wbg_set_querycontractkeyoptions_path(a: number, b: number): void; -export function __wbg_get_querycontractkeyoptions_node_address(a: number, b: number): void; -export function __wbg_set_querycontractkeyoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_get_querycontractkeyoptions_verbosity(a: number): number; -export function __wbg_set_querycontractkeyoptions_verbosity(a: number, b: number): void; -export function sdk_query_contract_key_options(a: number, b: number, c: number): void; -export function sdk_query_contract_key(a: number, b: number): number; -export function hexToString(a: number, b: number, c: number): void; -export function hexToUint8Array(a: number, b: number, c: number): void; -export function uint8ArrayToBytes(a: number): number; -export function motesToCSPR(a: number, b: number, c: number): void; -export function jsonPrettyPrint(a: number, b: number, c: number): void; -export function publicKeyFromSecretKey(a: number, b: number, c: number): void; -export function generateSecretKey(a: number): void; -export function generateSecretKey_secp256k1(a: number): void; -export function accountHashToBase64Key(a: number, b: number, c: number): void; -export function getTimestamp(): number; -export function encodeLowerBlake2b(a: number, b: number): number; -export function makeDictionaryItemKey(a: number, b: number, c: number, d: number): void; -export function __wbg_casperwallet_free(a: number): void; -export function casperwallet_new(): number; -export function casperwallet_signDeploy(a: number, b: number, c: number, d: number): number; -export function casperwallet_signDeployHash(a: number, b: number, c: number, d: number, e: number): number; -export function casperwallet_signMessage(a: number, b: number, c: number, d: number, e: number): number; -export function casperwallet_connect(a: number): number; -export function casperwallet_disconnect(a: number): number; -export function casperwallet_isConnected(a: number): number; -export function casperwallet_getVersion(a: number): number; -export function casperwallet_getActivePublicKey(a: number): number; -export function casperwallet_switchAccount(a: number): number; -export function __wbg_get_queryglobalstateoptions_global_state_identifier(a: number): number; -export function __wbg_get_queryglobalstateoptions_key(a: number): number; -export function __wbg_queryglobalstateoptions_free(a: number): void; -export function __wbg_set_queryglobalstateoptions_state_root_hash(a: number, b: number): void; -export function __wbg_set_queryglobalstateoptions_verbosity(a: number, b: number): void; -export function __wbg_set_queryglobalstateoptions_state_root_hash_as_string(a: number, b: number, c: number): void; -export function __wbg_set_queryglobalstateoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; -export function __wbg_set_queryglobalstateoptions_key_as_string(a: number, b: number, c: number): void; -export function __wbg_set_queryglobalstateoptions_path_as_string(a: number, b: number, c: number): void; -export function __wbg_set_queryglobalstateoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_get_queryglobalstateoptions_path(a: number): number; -export function __wbg_set_queryglobalstateoptions_global_state_identifier(a: number, b: number): void; -export function __wbg_set_queryglobalstateoptions_key(a: number, b: number): void; -export function __wbg_hashaddr_free(a: number): void; -export function __wbg_contracthash_free(a: number): void; -export function __wbg_get_queryglobalstateoptions_state_root_hash(a: number): number; -export function __wbg_set_queryglobalstateoptions_path(a: number, b: number): void; -export function __wbg_get_queryglobalstateoptions_state_root_hash_as_string(a: number, b: number): void; -export function __wbg_get_queryglobalstateoptions_maybe_block_id_as_string(a: number, b: number): void; -export function __wbg_get_queryglobalstateoptions_key_as_string(a: number, b: number): void; -export function __wbg_get_queryglobalstateoptions_path_as_string(a: number, b: number): void; -export function __wbg_get_queryglobalstateoptions_node_address(a: number, b: number): void; -export function __wbg_get_queryglobalstateoptions_verbosity(a: number): number; -export function __wbg_sessionstrparams_free(a: number): void; -export function sessionstrparams_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number): number; -export function sessionstrparams_session_hash(a: number, b: number): void; -export function sessionstrparams_set_session_hash(a: number, b: number, c: number): void; -export function sessionstrparams_session_name(a: number, b: number): void; -export function sessionstrparams_set_session_name(a: number, b: number, c: number): void; -export function sessionstrparams_session_package_hash(a: number, b: number): void; -export function sessionstrparams_set_session_package_hash(a: number, b: number, c: number): void; -export function sessionstrparams_session_package_name(a: number, b: number): void; -export function sessionstrparams_set_session_package_name(a: number, b: number, c: number): void; -export function sessionstrparams_session_path(a: number, b: number): void; -export function sessionstrparams_set_session_path(a: number, b: number, c: number): void; -export function sessionstrparams_session_bytes(a: number): number; -export function sessionstrparams_set_session_bytes(a: number, b: number): void; -export function sessionstrparams_session_args_simple(a: number): number; -export function sessionstrparams_set_session_args_simple(a: number, b: number): void; -export function sessionstrparams_session_args_json(a: number, b: number): void; -export function sessionstrparams_set_session_args_json(a: number, b: number, c: number): void; -export function sessionstrparams_session_args_complex(a: number, b: number): void; -export function sessionstrparams_set_session_args_complex(a: number, b: number, c: number): void; -export function sessionstrparams_session_version(a: number, b: number): void; -export function sessionstrparams_set_session_version(a: number, b: number, c: number): void; -export function sessionstrparams_session_entry_point(a: number, b: number): void; -export function sessionstrparams_set_session_entry_point(a: number, b: number, c: number): void; -export function sessionstrparams_is_session_transfer(a: number): number; -export function sessionstrparams_set_is_session_transfer(a: number, b: number): void; export function __wbg_getauctioninforesult_free(a: number): void; export function getauctioninforesult_api_version(a: number): number; export function getauctioninforesult_auction_state(a: number): number; @@ -197,13 +22,6 @@ export function __wbg_get_getauctioninfooptions_verbosity(a: number): number; export function __wbg_set_getauctioninfooptions_verbosity(a: number, b: number): void; export function sdk_get_auction_info_options(a: number, b: number, c: number): void; export function sdk_get_auction_info(a: number, b: number): number; -export function __wbg_getblockresult_free(a: number): void; -export function getblockresult_api_version(a: number): number; -export function getblockresult_block(a: number): number; -export function getblockresult_toJson(a: number): number; -export function sdk_get_block_options(a: number, b: number, c: number): void; -export function sdk_get_block(a: number, b: number): number; -export function sdk_chain_get_block(a: number, b: number): number; export function __wbg_getdictionaryitemresult_free(a: number): void; export function getdictionaryitemresult_api_version(a: number): number; export function getdictionaryitemresult_dictionary_key(a: number, b: number): void; @@ -232,175 +50,41 @@ export function geterainforesult_era_summary(a: number): number; export function geterainforesult_toJson(a: number): number; export function sdk_get_era_info_options(a: number, b: number, c: number): void; export function sdk_get_era_info(a: number, b: number): number; -export function __wbg_get_getblockoptions_maybe_block_identifier(a: number): number; +export function __wbg_getnodestatusresult_free(a: number): void; +export function getnodestatusresult_api_version(a: number): number; +export function getnodestatusresult_chainspec_name(a: number, b: number): void; +export function getnodestatusresult_starting_state_root_hash(a: number): number; +export function getnodestatusresult_peers(a: number): number; +export function getnodestatusresult_last_added_block_info(a: number): number; +export function getnodestatusresult_our_public_signing_key(a: number): number; +export function getnodestatusresult_round_length(a: number): number; +export function getnodestatusresult_next_upgrade(a: number): number; +export function getnodestatusresult_build_version(a: number, b: number): void; +export function getnodestatusresult_uptime(a: number): number; +export function getnodestatusresult_reactor_state(a: number): number; +export function getnodestatusresult_last_progress(a: number): number; +export function getnodestatusresult_available_block_range(a: number): number; +export function getnodestatusresult_block_sync(a: number): number; +export function getnodestatusresult_toJson(a: number): number; +export function sdk_get_node_status(a: number, b: number, c: number, d: number): number; +export function sdk_make_deploy(a: number, b: number, c: number, d: number, e: number): void; +export function sdk_sign_deploy(a: number, b: number, c: number, d: number): number; export function __wbg_get_geterainfooptions_maybe_block_identifier(a: number): number; -export function __wbg_getblockoptions_free(a: number): void; export function __wbg_geterainfooptions_free(a: number): void; -export function __wbg_set_getblockoptions_verbosity(a: number, b: number): void; export function __wbg_set_geterainfooptions_verbosity(a: number, b: number): void; -export function __wbg_set_getblockoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; -export function __wbg_set_getblockoptions_node_address(a: number, b: number, c: number): void; export function __wbg_set_geterainfooptions_maybe_block_id_as_string(a: number, b: number, c: number): void; export function __wbg_set_geterainfooptions_node_address(a: number, b: number, c: number): void; -export function __wbg_set_getblockoptions_maybe_block_identifier(a: number, b: number): void; export function __wbg_set_geterainfooptions_maybe_block_identifier(a: number, b: number): void; -export function __wbg_get_getblockoptions_maybe_block_id_as_string(a: number, b: number): void; -export function __wbg_get_getblockoptions_node_address(a: number, b: number): void; export function __wbg_get_geterainfooptions_maybe_block_id_as_string(a: number, b: number): void; export function __wbg_get_geterainfooptions_node_address(a: number, b: number): void; -export function __wbg_get_getblockoptions_verbosity(a: number): number; export function __wbg_get_geterainfooptions_verbosity(a: number): number; -export function sdk_make_deploy(a: number, b: number, c: number, d: number, e: number): void; -export function sdk_call_entrypoint(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number; -export function __wbg_transferaddr_free(a: number): void; -export function transferaddr_new(a: number, b: number, c: number): void; -export function urefaddr_new(a: number, b: number, c: number): void; -export function __wbg_bytes_free(a: number): void; -export function bytes_new(): number; -export function bytes_fromUint8Array(a: number): number; -export function __wbg_deploy_free(a: number): void; -export function deploy_new(a: number): number; -export function deploy_toJson(a: number): number; -export function deploy_withPaymentAndSession(a: number, b: number, c: number, d: number): void; -export function deploy_withTransfer(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): void; -export function deploy_withTTL(a: number, b: number, c: number, d: number, e: number): number; -export function deploy_withTimestamp(a: number, b: number, c: number, d: number, e: number): number; -export function deploy_withChainName(a: number, b: number, c: number, d: number, e: number): number; -export function deploy_withAccount(a: number, b: number, c: number, d: number): number; -export function deploy_withEntryPointName(a: number, b: number, c: number, d: number, e: number): number; -export function deploy_withHash(a: number, b: number, c: number, d: number): number; -export function deploy_withPackageHash(a: number, b: number, c: number, d: number): number; -export function deploy_withModuleBytes(a: number, b: number, c: number, d: number): number; -export function deploy_withSecretKey(a: number, b: number, c: number): number; -export function deploy_withStandardPayment(a: number, b: number, c: number, d: number, e: number): number; -export function deploy_withPayment(a: number, b: number, c: number, d: number): number; -export function deploy_withSession(a: number, b: number, c: number, d: number): number; -export function deploy_validateDeploySize(a: number): number; -export function deploy_hash(a: number): number; -export function deploy_sign(a: number, b: number, c: number): number; -export function deploy_addSignature(a: number, b: number, c: number, d: number, e: number): number; -export function deploy_TTL(a: number, b: number): void; -export function deploy_timestamp(a: number, b: number): void; -export function deploy_chainName(a: number, b: number): void; -export function deploy_account(a: number, b: number): void; -export function deploy_args(a: number): number; -export function deploy_addArg(a: number, b: number, c: number, d: number, e: number): void; -export function __wbg_deploystrparams_free(a: number): void; -export function deploystrparams_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; -export function deploystrparams_secret_key(a: number, b: number): void; -export function deploystrparams_set_secret_key(a: number, b: number, c: number): void; -export function deploystrparams_timestamp(a: number, b: number): void; -export function deploystrparams_set_timestamp(a: number, b: number, c: number): void; -export function deploystrparams_setDefaultTimestamp(a: number): void; -export function deploystrparams_ttl(a: number, b: number): void; -export function deploystrparams_set_ttl(a: number, b: number, c: number): void; -export function deploystrparams_setDefaultTTL(a: number): void; -export function deploystrparams_chain_name(a: number, b: number): void; -export function deploystrparams_set_chain_name(a: number, b: number, c: number): void; -export function deploystrparams_session_account(a: number, b: number): void; -export function deploystrparams_set_session_account(a: number, b: number, c: number): void; -export function __wbg_dictionaryitemstrparams_free(a: number): void; -export function dictionaryitemstrparams_new(): number; -export function dictionaryitemstrparams_setAccountNamedKey(a: number, b: number, c: number, d: number, e: number, f: number, g: number): void; -export function dictionaryitemstrparams_setContractNamedKey(a: number, b: number, c: number, d: number, e: number, f: number, g: number): void; -export function dictionaryitemstrparams_setUref(a: number, b: number, c: number, d: number, e: number): void; -export function dictionaryitemstrparams_setDictionary(a: number, b: number, c: number): void; -export function dictionaryitemstrparams_toJson(a: number): number; -export function __wbg_uref_free(a: number): void; -export function uref_new_js_alias(a: number, b: number, c: number, d: number): void; -export function uref_fromFormattedStr(a: number, b: number, c: number): void; -export function uref_fromUint8Array(a: number, b: number, c: number): number; -export function uref_toFormattedString(a: number, b: number): void; -export function uref_toJson(a: number): number; -export function __wbg_signatureresponse_free(a: number): void; -export function signatureresponse_is_cancelled(a: number): number; -export function signatureresponse_get_signature_hex(a: number, b: number): void; -export function signatureresponse_get_signature(a: number, b: number): void; -export function sdk_transfer(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number): number; -export function __wbg_getdeployresult_free(a: number): void; -export function getdeployresult_api_version(a: number): number; -export function getdeployresult_deploy(a: number): number; -export function getdeployresult_toJson(a: number): number; -export function __wbg_getdeployoptions_free(a: number): void; -export function __wbg_get_getdeployoptions_deploy_hash_as_string(a: number, b: number): void; -export function __wbg_set_getdeployoptions_deploy_hash_as_string(a: number, b: number, c: number): void; -export function __wbg_get_getdeployoptions_deploy_hash(a: number): number; -export function __wbg_set_getdeployoptions_deploy_hash(a: number, b: number): void; -export function __wbg_get_getdeployoptions_finalized_approvals(a: number): number; -export function __wbg_set_getdeployoptions_finalized_approvals(a: number, b: number): void; -export function __wbg_get_getdeployoptions_node_address(a: number, b: number): void; -export function __wbg_set_getdeployoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_get_getdeployoptions_verbosity(a: number): number; -export function __wbg_set_getdeployoptions_verbosity(a: number, b: number): void; -export function sdk_get_deploy_options(a: number, b: number, c: number): void; -export function sdk_get_deploy(a: number, b: number): number; -export function sdk_info_get_deploy(a: number, b: number): number; -export function __wbg_speculativeexecresult_free(a: number): void; -export function speculativeexecresult_api_version(a: number): number; -export function speculativeexecresult_block_hash(a: number): number; -export function speculativeexecresult_execution_result(a: number): number; -export function speculativeexecresult_toJson(a: number): number; -export function __wbg_getspeculativeexecoptions_free(a: number): void; -export function __wbg_get_getspeculativeexecoptions_deploy_as_string(a: number, b: number): void; -export function __wbg_set_getspeculativeexecoptions_deploy_as_string(a: number, b: number, c: number): void; -export function __wbg_get_getspeculativeexecoptions_deploy(a: number): number; -export function __wbg_set_getspeculativeexecoptions_deploy(a: number, b: number): void; -export function __wbg_get_getspeculativeexecoptions_maybe_block_id_as_string(a: number, b: number): void; -export function __wbg_set_getspeculativeexecoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; -export function __wbg_get_getspeculativeexecoptions_maybe_block_identifier(a: number): number; -export function __wbg_set_getspeculativeexecoptions_maybe_block_identifier(a: number, b: number): void; -export function __wbg_get_getspeculativeexecoptions_node_address(a: number, b: number): void; -export function __wbg_set_getspeculativeexecoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_get_getspeculativeexecoptions_verbosity(a: number): number; -export function __wbg_set_getspeculativeexecoptions_verbosity(a: number, b: number): void; -export function sdk_get_speculative_exec_options(a: number, b: number, c: number): void; -export function sdk_speculative_exec(a: number, b: number): number; -export function sdk_sign_deploy(a: number, b: number, c: number, d: number): number; -export function __wbg_querycontractdictoptions_free(a: number): void; -export function __wbg_get_querycontractdictoptions_state_root_hash_as_string(a: number, b: number): void; -export function __wbg_set_querycontractdictoptions_state_root_hash_as_string(a: number, b: number, c: number): void; -export function __wbg_get_querycontractdictoptions_state_root_hash(a: number): number; -export function __wbg_set_querycontractdictoptions_state_root_hash(a: number, b: number): void; -export function __wbg_get_querycontractdictoptions_dictionary_item_params(a: number): number; -export function __wbg_set_querycontractdictoptions_dictionary_item_params(a: number, b: number): void; -export function __wbg_get_querycontractdictoptions_dictionary_item_identifier(a: number): number; -export function __wbg_set_querycontractdictoptions_dictionary_item_identifier(a: number, b: number): void; -export function __wbg_get_querycontractdictoptions_node_address(a: number, b: number): void; -export function __wbg_set_querycontractdictoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_get_querycontractdictoptions_verbosity(a: number): number; -export function __wbg_set_querycontractdictoptions_verbosity(a: number, b: number): void; -export function sdk_query_contract_dict_options(a: number, b: number, c: number): void; -export function sdk_query_contract_dict(a: number, b: number): number; -export function __wbg_sdk_free(a: number): void; -export function sdk_new(a: number, b: number, c: number): number; -export function sdk_getNodeAddress(a: number, b: number, c: number, d: number): void; -export function sdk_setNodeAddress(a: number, b: number, c: number, d: number): void; -export function sdk_getVerbosity(a: number, b: number): number; -export function sdk_setVerbosity(a: number, b: number, c: number): void; -export function __wbg_urefaddr_free(a: number): void; -export function __wbg_accounthash_free(a: number): void; -export function accounthash_new_js_alias(a: number, b: number, c: number): void; -export function accounthash_fromFormattedStr(a: number, b: number, c: number): void; -export function accounthash_fromPublicKey(a: number): number; -export function accounthash_toFormattedString(a: number, b: number): void; -export function accounthash_toHexString(a: number, b: number): void; -export function accounthash_fromUint8Array(a: number, b: number): number; -export function accounthash_toJson(a: number): number; -export function __wbg_accountidentifier_free(a: number): void; -export function accountidentifier_fromFormattedStr(a: number, b: number, c: number): void; -export function accountidentifier_fromPublicKey(a: number): number; -export function accountidentifier_fromAccountHash(a: number): number; -export function accountidentifier_toJson(a: number): number; export function dictionaryaddr_new(a: number, b: number, c: number): void; -export function __wbg_blockidentifier_free(a: number): void; -export function blockidentifier_new(a: number): number; -export function blockidentifier_from_hash(a: number): number; -export function blockidentifier_fromHeight(a: number): number; -export function blockidentifier_toJson(a: number): number; +export function __wbg_contractpackagehash_free(a: number): void; export function contractpackagehash_new_js_alias(a: number, b: number, c: number): void; export function contractpackagehash_fromFormattedStr(a: number, b: number, c: number): void; export function contractpackagehash_toFormattedString(a: number, b: number): void; export function contractpackagehash_fromUint8Array(a: number, b: number): number; +export function __wbg_argssimple_free(a: number): void; export function __wbg_dictionaryitemidentifier_free(a: number): void; export function dictionaryitemidentifier_newFromAccountInfo(a: number, b: number, c: number, d: number, e: number, f: number, g: number): void; export function dictionaryitemidentifier_newFromContractInfo(a: number, b: number, c: number, d: number, e: number, f: number, g: number): void; @@ -412,6 +96,12 @@ export function digest_fromString(a: number, b: number, c: number): void; export function digest_fromRaw(a: number, b: number, c: number): void; export function digest_toJson(a: number): number; export function digest_toString(a: number, b: number): void; +export function __wbg_globalstateidentifier_free(a: number): void; +export function globalstateidentifier_new(a: number): number; +export function globalstateidentifier_fromBlockHash(a: number): number; +export function globalstateidentifier_fromBlockHeight(a: number): number; +export function globalstateidentifier_fromStateRootHash(a: number): number; +export function globalstateidentifier_toJson(a: number): number; export function __wbg_key_free(a: number): void; export function key_new(a: number, b: number): void; export function key_toJson(a: number): number; @@ -440,47 +130,96 @@ export function key_asBalance(a: number): number; export function key_intoURef(a: number): number; export function key_urefToHash(a: number): number; export function key_withdrawToUnbond(a: number): number; -export function publickey_new_js_alias(a: number, b: number, c: number): void; -export function publickey_fromUint8Array(a: number, b: number, c: number): void; -export function publickey_toAccountHash(a: number): number; -export function publickey_toPurseUref(a: number): number; -export function publickey_toJson(a: number): number; -export function sdk_put_deploy(a: number, b: number, c: number, d: number, e: number): number; -export function sdk_account_put_deploy(a: number, b: number, c: number, d: number, e: number): number; -export function accountidentifier_new(a: number, b: number, c: number): void; +export function __wbg_purseidentifier_free(a: number): void; +export function purseidentifier_fromPublicKey(a: number): number; +export function purseidentifier_fromAccountHash(a: number): number; +export function purseidentifier_fromURef(a: number): number; +export function purseidentifier_toJson(a: number): number; +export function __wbg_getblockresult_free(a: number): void; +export function getblockresult_api_version(a: number): number; +export function getblockresult_block(a: number): number; +export function getblockresult_toJson(a: number): number; +export function __wbg_getblockoptions_free(a: number): void; +export function __wbg_get_getblockoptions_maybe_block_id_as_string(a: number, b: number): void; +export function __wbg_set_getblockoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; +export function __wbg_get_getblockoptions_maybe_block_identifier(a: number): number; +export function __wbg_set_getblockoptions_maybe_block_identifier(a: number, b: number): void; +export function __wbg_get_getblockoptions_node_address(a: number, b: number): void; +export function __wbg_set_getblockoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_getblockoptions_verbosity(a: number): number; +export function __wbg_set_getblockoptions_verbosity(a: number, b: number): void; +export function sdk_get_block_options(a: number, b: number, c: number): void; +export function sdk_get_block(a: number, b: number): number; +export function sdk_chain_get_block(a: number, b: number): number; +export function __wbg_geterasummaryresult_free(a: number): void; +export function geterasummaryresult_api_version(a: number): number; +export function geterasummaryresult_era_summary(a: number): number; +export function geterasummaryresult_toJson(a: number): number; +export function sdk_get_era_summary_options(a: number, b: number, c: number): void; +export function sdk_get_era_summary(a: number, b: number): number; +export function __wbg_queryglobalstateresult_free(a: number): void; +export function queryglobalstateresult_api_version(a: number): number; +export function queryglobalstateresult_block_header(a: number): number; +export function queryglobalstateresult_stored_value(a: number): number; +export function queryglobalstateresult_merkle_proof(a: number, b: number): void; +export function queryglobalstateresult_toJson(a: number): number; +export function __wbg_queryglobalstateoptions_free(a: number): void; +export function __wbg_get_queryglobalstateoptions_global_state_identifier(a: number): number; +export function __wbg_set_queryglobalstateoptions_global_state_identifier(a: number, b: number): void; +export function __wbg_get_queryglobalstateoptions_state_root_hash_as_string(a: number, b: number): void; +export function __wbg_set_queryglobalstateoptions_state_root_hash_as_string(a: number, b: number, c: number): void; +export function __wbg_get_queryglobalstateoptions_state_root_hash(a: number): number; +export function __wbg_set_queryglobalstateoptions_state_root_hash(a: number, b: number): void; +export function __wbg_get_queryglobalstateoptions_maybe_block_id_as_string(a: number, b: number): void; +export function __wbg_set_queryglobalstateoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; +export function __wbg_get_queryglobalstateoptions_key_as_string(a: number, b: number): void; +export function __wbg_set_queryglobalstateoptions_key_as_string(a: number, b: number, c: number): void; +export function __wbg_get_queryglobalstateoptions_key(a: number): number; +export function __wbg_set_queryglobalstateoptions_key(a: number, b: number): void; +export function __wbg_get_queryglobalstateoptions_path_as_string(a: number, b: number): void; +export function __wbg_set_queryglobalstateoptions_path_as_string(a: number, b: number, c: number): void; +export function __wbg_get_queryglobalstateoptions_path(a: number): number; +export function __wbg_set_queryglobalstateoptions_path(a: number, b: number): void; +export function __wbg_get_queryglobalstateoptions_node_address(a: number, b: number): void; +export function __wbg_set_queryglobalstateoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_queryglobalstateoptions_verbosity(a: number): number; +export function __wbg_set_queryglobalstateoptions_verbosity(a: number, b: number): void; +export function sdk_query_global_state_options(a: number, b: number, c: number): void; +export function sdk_query_global_state(a: number, b: number): number; +export function __wbg_get_geterasummaryoptions_maybe_block_identifier(a: number): number; +export function __wbg_geterasummaryoptions_free(a: number): void; +export function __wbg_set_geterasummaryoptions_verbosity(a: number, b: number): void; +export function __wbg_set_geterasummaryoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; +export function __wbg_set_geterasummaryoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_set_geterasummaryoptions_maybe_block_identifier(a: number, b: number): void; export function __wbg_dictionaryaddr_free(a: number): void; -export function __wbg_contractpackagehash_free(a: number): void; export function __wbg_digest_free(a: number): void; -export function __wbg_publickey_free(a: number): void; -export function __wbg_deployhash_free(a: number): void; +export function __wbg_get_geterasummaryoptions_maybe_block_id_as_string(a: number, b: number): void; +export function __wbg_get_geterasummaryoptions_node_address(a: number, b: number): void; +export function __wbg_get_geterasummaryoptions_verbosity(a: number): number; +export function __wbg_accessrights_free(a: number): void; +export function accessrights_NONE(): number; +export function accessrights_READ(): number; +export function accessrights_WRITE(): number; +export function accessrights_ADD(): number; +export function accessrights_READ_ADD(): number; +export function accessrights_READ_WRITE(): number; +export function accessrights_ADD_WRITE(): number; +export function accessrights_READ_ADD_WRITE(): number; +export function accessrights_new(a: number, b: number): void; +export function accessrights_from_bits(a: number, b: number, c: number): number; +export function accessrights_is_readable(a: number): number; +export function accessrights_is_writeable(a: number): number; +export function accessrights_is_addable(a: number): number; +export function accessrights_is_none(a: number): number; +export function __wbg_blockhash_free(a: number): void; +export function blockhash_new_js_alias(a: number, b: number, c: number): void; +export function blockhash_fromDigest(a: number, b: number): void; +export function blockhash_toJson(a: number): number; +export function blockhash_toString(a: number, b: number): void; export function deployhash_new_js_alias(a: number, b: number, c: number): void; -export function deployhash_fromDigest(a: number, b: number): void; export function deployhash_toJson(a: number): number; export function deployhash_toString(a: number, b: number): void; -export function __wbg_paymentstrparams_free(a: number): void; -export function paymentstrparams_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number): number; -export function paymentstrparams_payment_amount(a: number, b: number): void; -export function paymentstrparams_set_payment_amount(a: number, b: number, c: number): void; -export function paymentstrparams_payment_hash(a: number, b: number): void; -export function paymentstrparams_set_payment_hash(a: number, b: number, c: number): void; -export function paymentstrparams_payment_name(a: number, b: number): void; -export function paymentstrparams_set_payment_name(a: number, b: number, c: number): void; -export function paymentstrparams_payment_package_hash(a: number, b: number): void; -export function paymentstrparams_set_payment_package_hash(a: number, b: number, c: number): void; -export function paymentstrparams_payment_package_name(a: number, b: number): void; -export function paymentstrparams_set_payment_package_name(a: number, b: number, c: number): void; -export function paymentstrparams_payment_path(a: number, b: number): void; -export function paymentstrparams_set_payment_path(a: number, b: number, c: number): void; -export function paymentstrparams_payment_args_simple(a: number): number; -export function paymentstrparams_set_payment_args_simple(a: number, b: number): void; -export function paymentstrparams_payment_args_json(a: number, b: number): void; -export function paymentstrparams_set_payment_args_json(a: number, b: number, c: number): void; -export function paymentstrparams_payment_args_complex(a: number, b: number): void; -export function paymentstrparams_set_payment_args_complex(a: number, b: number, c: number): void; -export function paymentstrparams_payment_version(a: number, b: number): void; -export function paymentstrparams_set_payment_version(a: number, b: number, c: number): void; -export function paymentstrparams_payment_entry_point(a: number, b: number): void; -export function paymentstrparams_set_payment_entry_point(a: number, b: number, c: number): void; export function __wbg_path_free(a: number): void; export function path_new(a: number): number; export function path_fromArray(a: number): number; @@ -508,46 +247,22 @@ export function __wbg_set_getaccountoptions_verbosity(a: number, b: number): voi export function sdk_get_account_options(a: number, b: number, c: number): void; export function sdk_get_account(a: number, b: number): number; export function sdk_state_get_account_info(a: number, b: number): number; -export function __wbg_getblocktransfersresult_free(a: number): void; -export function getblocktransfersresult_api_version(a: number): number; -export function getblocktransfersresult_block_hash(a: number): number; -export function getblocktransfersresult_transfers(a: number): number; -export function getblocktransfersresult_toJson(a: number): number; -export function __wbg_getblocktransfersoptions_free(a: number): void; -export function __wbg_get_getblocktransfersoptions_maybe_block_id_as_string(a: number, b: number): void; -export function __wbg_set_getblocktransfersoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; -export function __wbg_get_getblocktransfersoptions_verbosity(a: number): number; -export function __wbg_set_getblocktransfersoptions_verbosity(a: number, b: number): void; -export function __wbg_get_getblocktransfersoptions_node_address(a: number, b: number): void; -export function __wbg_set_getblocktransfersoptions_node_address(a: number, b: number, c: number): void; -export function sdk_get_block_transfers_options(a: number, b: number, c: number): void; -export function sdk_get_block_transfers(a: number, b: number): number; export function __wbg_getstateroothashresult_free(a: number): void; export function getstateroothashresult_api_version(a: number): number; export function getstateroothashresult_state_root_hash(a: number): number; export function getstateroothashresult_state_root_hash_as_string(a: number, b: number): void; export function getstateroothashresult_toString(a: number, b: number): void; export function getstateroothashresult_toJson(a: number): number; +export function __wbg_getstateroothashoptions_free(a: number): void; +export function __wbg_get_getstateroothashoptions_maybe_block_id_as_string(a: number, b: number): void; +export function __wbg_set_getstateroothashoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; +export function __wbg_get_getstateroothashoptions_node_address(a: number, b: number): void; +export function __wbg_set_getstateroothashoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_getstateroothashoptions_verbosity(a: number): number; +export function __wbg_set_getstateroothashoptions_verbosity(a: number, b: number): void; export function sdk_get_state_root_hash_options(a: number, b: number, c: number): void; export function sdk_get_state_root_hash(a: number, b: number): number; export function sdk_chain_get_state_root_hash(a: number, b: number): number; -export function __wbg_querybalanceresult_free(a: number): void; -export function querybalanceresult_api_version(a: number): number; -export function querybalanceresult_balance(a: number): number; -export function querybalanceresult_toJson(a: number): number; -export function __wbg_querybalanceoptions_free(a: number): void; -export function __wbg_get_querybalanceoptions_purse_identifier(a: number): number; -export function __wbg_set_querybalanceoptions_purse_identifier(a: number, b: number): void; -export function __wbg_get_querybalanceoptions_global_state_identifier(a: number): number; -export function __wbg_set_querybalanceoptions_global_state_identifier(a: number, b: number): void; -export function __wbg_get_querybalanceoptions_state_root_hash(a: number): number; -export function __wbg_set_querybalanceoptions_state_root_hash(a: number, b: number): void; -export function __wbg_get_querybalanceoptions_node_address(a: number, b: number): void; -export function __wbg_set_querybalanceoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_get_querybalanceoptions_verbosity(a: number): number; -export function __wbg_set_querybalanceoptions_verbosity(a: number, b: number): void; -export function sdk_query_balance_options(a: number, b: number, c: number): void; -export function sdk_query_balance(a: number, b: number): number; export function sdk_make_transfer(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): void; export function sdk_watchDeploy(a: number, b: number, c: number, d: number, e: number): number; export function sdk_waitDeploy(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number; @@ -590,81 +305,362 @@ export function __wbg_get_eventparseresult_err(a: number, b: number): void; export function __wbg_set_eventparseresult_err(a: number, b: number, c: number): void; export function __wbg_get_eventparseresult_body(a: number): number; export function __wbg_set_eventparseresult_body(a: number, b: number): void; -export function __wbg_get_getblocktransfersoptions_maybe_block_identifier(a: number): number; +export function __wbg_querycontractkeyoptions_free(a: number): void; +export function __wbg_get_querycontractkeyoptions_global_state_identifier(a: number): number; +export function __wbg_set_querycontractkeyoptions_global_state_identifier(a: number, b: number): void; +export function __wbg_get_querycontractkeyoptions_state_root_hash_as_string(a: number, b: number): void; +export function __wbg_set_querycontractkeyoptions_state_root_hash_as_string(a: number, b: number, c: number): void; +export function __wbg_get_querycontractkeyoptions_state_root_hash(a: number): number; +export function __wbg_set_querycontractkeyoptions_state_root_hash(a: number, b: number): void; +export function __wbg_get_querycontractkeyoptions_maybe_block_id_as_string(a: number, b: number): void; +export function __wbg_set_querycontractkeyoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; +export function __wbg_get_querycontractkeyoptions_contract_key_as_string(a: number, b: number): void; +export function __wbg_set_querycontractkeyoptions_contract_key_as_string(a: number, b: number, c: number): void; +export function __wbg_get_querycontractkeyoptions_contract_key(a: number): number; +export function __wbg_set_querycontractkeyoptions_contract_key(a: number, b: number): void; +export function __wbg_get_querycontractkeyoptions_path_as_string(a: number, b: number): void; +export function __wbg_set_querycontractkeyoptions_path_as_string(a: number, b: number, c: number): void; +export function __wbg_get_querycontractkeyoptions_path(a: number): number; +export function __wbg_set_querycontractkeyoptions_path(a: number, b: number): void; +export function __wbg_get_querycontractkeyoptions_node_address(a: number, b: number): void; +export function __wbg_set_querycontractkeyoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_querycontractkeyoptions_verbosity(a: number): number; +export function __wbg_set_querycontractkeyoptions_verbosity(a: number, b: number): void; +export function sdk_query_contract_key_options(a: number, b: number, c: number): void; +export function sdk_query_contract_key(a: number, b: number): number; +export function __wbg_casperwallet_free(a: number): void; +export function casperwallet_new(): number; +export function casperwallet_signDeploy(a: number, b: number, c: number, d: number): number; +export function casperwallet_signDeployHash(a: number, b: number, c: number, d: number, e: number): number; +export function casperwallet_signMessage(a: number, b: number, c: number, d: number, e: number): number; +export function casperwallet_connect(a: number): number; +export function casperwallet_disconnect(a: number): number; +export function casperwallet_isConnected(a: number): number; +export function casperwallet_getVersion(a: number): number; +export function casperwallet_getActivePublicKey(a: number): number; +export function casperwallet_switchAccount(a: number): number; export function __wbg_get_getstateroothashoptions_maybe_block_identifier(a: number): number; -export function __wbg_getstateroothashoptions_free(a: number): void; -export function __wbg_set_getstateroothashoptions_verbosity(a: number, b: number): void; +export function deployhash_fromDigest(a: number, b: number): void; export function __wbg_set_failure_error_message(a: number, b: number, c: number): void; export function __wbg_set_success_cost(a: number, b: number, c: number): void; export function __wbg_set_deploysubscription_deployHash(a: number, b: number, c: number): void; -export function __wbg_set_getstateroothashoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; -export function __wbg_set_getstateroothashoptions_node_address(a: number, b: number, c: number): void; -export function __wbg_set_querybalanceoptions_purse_identifier_as_string(a: number, b: number, c: number): void; -export function __wbg_set_querybalanceoptions_state_root_hash_as_string(a: number, b: number, c: number): void; -export function __wbg_set_querybalanceoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; -export function __wbg_set_getblocktransfersoptions_maybe_block_identifier(a: number, b: number): void; export function __wbg_set_getstateroothashoptions_maybe_block_identifier(a: number, b: number): void; -export function __wbg_get_getstateroothashoptions_maybe_block_id_as_string(a: number, b: number): void; -export function __wbg_get_getstateroothashoptions_node_address(a: number, b: number): void; -export function __wbg_get_querybalanceoptions_purse_identifier_as_string(a: number, b: number): void; -export function __wbg_get_querybalanceoptions_state_root_hash_as_string(a: number, b: number): void; -export function __wbg_get_querybalanceoptions_maybe_block_id_as_string(a: number, b: number): void; -export function __wbg_get_getstateroothashoptions_verbosity(a: number): number; +export function __wbg_deployhash_free(a: number): void; export function __wbg_success_free(a: number): void; export function __wbg_get_failure_error_message(a: number, b: number): void; export function __wbg_get_success_cost(a: number, b: number): void; export function __wbg_get_deploysubscription_deployHash(a: number, b: number): void; -export function __wbg_globalstateidentifier_free(a: number): void; -export function globalstateidentifier_new(a: number): number; -export function globalstateidentifier_fromBlockHash(a: number): number; -export function globalstateidentifier_fromBlockHeight(a: number): number; -export function globalstateidentifier_fromStateRootHash(a: number): number; -export function globalstateidentifier_toJson(a: number): number; +export function __wbg_hashaddr_free(a: number): void; +export function hashaddr_new(a: number, b: number, c: number): void; +export function transferaddr_new(a: number, b: number, c: number): void; +export function __wbg_deploystrparams_free(a: number): void; +export function deploystrparams_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; +export function deploystrparams_secret_key(a: number, b: number): void; +export function deploystrparams_set_secret_key(a: number, b: number, c: number): void; +export function deploystrparams_timestamp(a: number, b: number): void; +export function deploystrparams_set_timestamp(a: number, b: number, c: number): void; +export function deploystrparams_setDefaultTimestamp(a: number): void; +export function deploystrparams_ttl(a: number, b: number): void; +export function deploystrparams_set_ttl(a: number, b: number, c: number): void; +export function deploystrparams_setDefaultTTL(a: number): void; +export function deploystrparams_chain_name(a: number, b: number): void; +export function deploystrparams_set_chain_name(a: number, b: number, c: number): void; +export function deploystrparams_session_account(a: number, b: number): void; +export function deploystrparams_set_session_account(a: number, b: number, c: number): void; +export function __wbg_paymentstrparams_free(a: number): void; +export function paymentstrparams_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number): number; +export function paymentstrparams_set_payment_amount(a: number, b: number, c: number): void; +export function paymentstrparams_set_payment_hash(a: number, b: number, c: number): void; +export function paymentstrparams_set_payment_name(a: number, b: number, c: number): void; +export function paymentstrparams_set_payment_package_hash(a: number, b: number, c: number): void; +export function paymentstrparams_set_payment_package_name(a: number, b: number, c: number): void; +export function paymentstrparams_payment_path(a: number, b: number): void; +export function paymentstrparams_set_payment_path(a: number, b: number, c: number): void; +export function paymentstrparams_payment_args_simple(a: number): number; +export function paymentstrparams_set_payment_args_simple(a: number, b: number): void; +export function paymentstrparams_payment_args_json(a: number, b: number): void; +export function paymentstrparams_set_payment_args_json(a: number, b: number, c: number): void; +export function paymentstrparams_payment_args_complex(a: number, b: number): void; +export function paymentstrparams_set_payment_args_complex(a: number, b: number, c: number): void; +export function paymentstrparams_payment_version(a: number, b: number): void; +export function paymentstrparams_set_payment_version(a: number, b: number, c: number): void; +export function paymentstrparams_payment_entry_point(a: number, b: number): void; +export function paymentstrparams_set_payment_entry_point(a: number, b: number, c: number): void; +export function __wbg_sessionstrparams_free(a: number): void; +export function sessionstrparams_new(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number): number; +export function sessionstrparams_set_session_hash(a: number, b: number, c: number): void; +export function sessionstrparams_set_session_name(a: number, b: number, c: number): void; +export function sessionstrparams_set_session_package_hash(a: number, b: number, c: number): void; +export function sessionstrparams_set_session_package_name(a: number, b: number, c: number): void; +export function sessionstrparams_set_session_path(a: number, b: number, c: number): void; +export function sessionstrparams_session_bytes(a: number): number; +export function sessionstrparams_set_session_bytes(a: number, b: number): void; +export function sessionstrparams_session_args_simple(a: number): number; +export function sessionstrparams_set_session_args_simple(a: number, b: number): void; +export function sessionstrparams_set_session_args_json(a: number, b: number, c: number): void; +export function sessionstrparams_set_session_args_complex(a: number, b: number, c: number): void; +export function sessionstrparams_set_session_version(a: number, b: number, c: number): void; +export function sessionstrparams_set_session_entry_point(a: number, b: number, c: number): void; +export function sessionstrparams_is_session_transfer(a: number): number; +export function sessionstrparams_set_is_session_transfer(a: number, b: number): void; +export function __wbg_signatureresponse_free(a: number): void; +export function signatureresponse_is_cancelled(a: number): number; +export function signatureresponse_get_signature_hex(a: number, b: number): void; +export function signatureresponse_get_signature(a: number, b: number): void; +export function __wbg_getbalanceresult_free(a: number): void; +export function getbalanceresult_api_version(a: number): number; +export function getbalanceresult_balance_value(a: number): number; +export function getbalanceresult_merkle_proof(a: number, b: number): void; +export function getbalanceresult_toJson(a: number): number; +export function __wbg_getbalanceoptions_free(a: number): void; +export function __wbg_get_getbalanceoptions_state_root_hash_as_string(a: number, b: number): void; +export function __wbg_set_getbalanceoptions_state_root_hash_as_string(a: number, b: number, c: number): void; +export function __wbg_get_getbalanceoptions_state_root_hash(a: number): number; +export function __wbg_set_getbalanceoptions_state_root_hash(a: number, b: number): void; +export function __wbg_get_getbalanceoptions_purse_uref_as_string(a: number, b: number): void; +export function __wbg_set_getbalanceoptions_purse_uref_as_string(a: number, b: number, c: number): void; +export function __wbg_get_getbalanceoptions_purse_uref(a: number): number; +export function __wbg_set_getbalanceoptions_purse_uref(a: number, b: number): void; +export function __wbg_get_getbalanceoptions_node_address(a: number, b: number): void; +export function __wbg_set_getbalanceoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_getbalanceoptions_verbosity(a: number): number; +export function __wbg_set_getbalanceoptions_verbosity(a: number, b: number): void; +export function sdk_get_balance_options(a: number, b: number, c: number): void; +export function sdk_get_balance(a: number, b: number): number; +export function sdk_state_get_balance(a: number, b: number): number; export function __wbg_getchainspecresult_free(a: number): void; export function getchainspecresult_api_version(a: number): number; export function getchainspecresult_chainspec_bytes(a: number): number; export function getchainspecresult_toJson(a: number): number; export function sdk_get_chainspec(a: number, b: number, c: number, d: number): number; -export function __wbg_getnodestatusresult_free(a: number): void; -export function getnodestatusresult_api_version(a: number): number; -export function getnodestatusresult_chainspec_name(a: number, b: number): void; -export function getnodestatusresult_starting_state_root_hash(a: number): number; -export function getnodestatusresult_peers(a: number): number; -export function getnodestatusresult_last_added_block_info(a: number): number; -export function getnodestatusresult_our_public_signing_key(a: number): number; -export function getnodestatusresult_round_length(a: number): number; -export function getnodestatusresult_next_upgrade(a: number): number; -export function getnodestatusresult_build_version(a: number, b: number): void; -export function getnodestatusresult_uptime(a: number): number; -export function getnodestatusresult_reactor_state(a: number): number; -export function getnodestatusresult_last_progress(a: number): number; -export function getnodestatusresult_available_block_range(a: number): number; -export function getnodestatusresult_block_sync(a: number): number; -export function getnodestatusresult_toJson(a: number): number; -export function sdk_get_node_status(a: number, b: number, c: number, d: number): number; export function __wbg_getpeersresult_free(a: number): void; export function getpeersresult_api_version(a: number): number; export function getpeersresult_peers(a: number): number; export function getpeersresult_toJson(a: number): number; export function sdk_get_peers(a: number, b: number, c: number, d: number): number; -export function __wbg_getvalidatorchangesresult_free(a: number): void; -export function getvalidatorchangesresult_api_version(a: number): number; -export function getvalidatorchangesresult_changes(a: number): number; -export function getvalidatorchangesresult_toJson(a: number): number; -export function sdk_get_validator_changes(a: number, b: number, c: number, d: number): number; +export function paymentstrparams_payment_amount(a: number, b: number): void; +export function paymentstrparams_payment_hash(a: number, b: number): void; +export function paymentstrparams_payment_name(a: number, b: number): void; +export function paymentstrparams_payment_package_hash(a: number, b: number): void; +export function paymentstrparams_payment_package_name(a: number, b: number): void; +export function sessionstrparams_session_hash(a: number, b: number): void; +export function sessionstrparams_session_name(a: number, b: number): void; +export function sessionstrparams_session_package_hash(a: number, b: number): void; +export function sessionstrparams_session_package_name(a: number, b: number): void; +export function sessionstrparams_session_path(a: number, b: number): void; +export function sessionstrparams_session_args_json(a: number, b: number): void; +export function sessionstrparams_session_args_complex(a: number, b: number): void; +export function sessionstrparams_session_version(a: number, b: number): void; +export function sessionstrparams_session_entry_point(a: number, b: number): void; +export function __wbg_transferaddr_free(a: number): void; +export function sdk_put_deploy(a: number, b: number, c: number, d: number, e: number): number; +export function sdk_account_put_deploy(a: number, b: number, c: number, d: number, e: number): number; +export function sdk_speculative_transfer(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number): number; +export function __wbg_blockidentifier_free(a: number): void; +export function blockidentifier_new(a: number): number; +export function blockidentifier_from_hash(a: number): number; +export function blockidentifier_fromHeight(a: number): number; +export function blockidentifier_toJson(a: number): number; +export function __wbg_putdeployresult_free(a: number): void; +export function putdeployresult_api_version(a: number): number; +export function putdeployresult_deploy_hash(a: number): number; +export function putdeployresult_toJson(a: number): number; +export function sdk_deploy(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number; +export function sdk_transfer(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number): number; +export function __wbg_getblocktransfersresult_free(a: number): void; +export function getblocktransfersresult_api_version(a: number): number; +export function getblocktransfersresult_block_hash(a: number): number; +export function getblocktransfersresult_transfers(a: number): number; +export function getblocktransfersresult_toJson(a: number): number; +export function __wbg_getblocktransfersoptions_free(a: number): void; +export function __wbg_get_getblocktransfersoptions_maybe_block_id_as_string(a: number, b: number): void; +export function __wbg_set_getblocktransfersoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; +export function __wbg_get_getblocktransfersoptions_maybe_block_identifier(a: number): number; +export function __wbg_set_getblocktransfersoptions_maybe_block_identifier(a: number, b: number): void; +export function __wbg_get_getblocktransfersoptions_verbosity(a: number): number; +export function __wbg_set_getblocktransfersoptions_verbosity(a: number, b: number): void; +export function __wbg_get_getblocktransfersoptions_node_address(a: number, b: number): void; +export function __wbg_set_getblocktransfersoptions_node_address(a: number, b: number, c: number): void; +export function sdk_get_block_transfers_options(a: number, b: number, c: number): void; +export function sdk_get_block_transfers(a: number, b: number): number; export function __wbg_listrpcsresult_free(a: number): void; export function listrpcsresult_api_version(a: number): number; export function listrpcsresult_name(a: number, b: number): void; export function listrpcsresult_schema(a: number): number; export function listrpcsresult_toJson(a: number): number; export function sdk_list_rpcs(a: number, b: number, c: number, d: number): number; -export function sdk_install(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number; +export function __wbg_querybalanceresult_free(a: number): void; +export function querybalanceresult_api_version(a: number): number; +export function querybalanceresult_balance(a: number): number; +export function querybalanceresult_toJson(a: number): number; +export function __wbg_querybalanceoptions_free(a: number): void; +export function __wbg_get_querybalanceoptions_purse_identifier_as_string(a: number, b: number): void; +export function __wbg_set_querybalanceoptions_purse_identifier_as_string(a: number, b: number, c: number): void; +export function __wbg_get_querybalanceoptions_purse_identifier(a: number): number; +export function __wbg_set_querybalanceoptions_purse_identifier(a: number, b: number): void; +export function __wbg_get_querybalanceoptions_global_state_identifier(a: number): number; +export function __wbg_set_querybalanceoptions_global_state_identifier(a: number, b: number): void; +export function __wbg_get_querybalanceoptions_state_root_hash_as_string(a: number, b: number): void; +export function __wbg_set_querybalanceoptions_state_root_hash_as_string(a: number, b: number, c: number): void; +export function __wbg_get_querybalanceoptions_state_root_hash(a: number): number; +export function __wbg_set_querybalanceoptions_state_root_hash(a: number, b: number): void; +export function __wbg_get_querybalanceoptions_maybe_block_id_as_string(a: number, b: number): void; +export function __wbg_set_querybalanceoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; +export function __wbg_get_querybalanceoptions_node_address(a: number, b: number): void; +export function __wbg_set_querybalanceoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_querybalanceoptions_verbosity(a: number): number; +export function __wbg_set_querybalanceoptions_verbosity(a: number, b: number): void; +export function sdk_query_balance_options(a: number, b: number, c: number): void; +export function sdk_query_balance(a: number, b: number): number; +export function sdk_call_entrypoint(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number; +export function __wbg_accounthash_free(a: number): void; +export function accounthash_new_js_alias(a: number, b: number, c: number): void; +export function accounthash_fromFormattedStr(a: number, b: number, c: number): void; +export function accounthash_fromPublicKey(a: number): number; +export function accounthash_toFormattedString(a: number, b: number): void; +export function accounthash_toHexString(a: number, b: number): void; +export function accounthash_fromUint8Array(a: number, b: number): number; +export function accounthash_toJson(a: number): number; +export function __wbg_accountidentifier_free(a: number): void; +export function accountidentifier_fromFormattedStr(a: number, b: number, c: number): void; +export function accountidentifier_fromPublicKey(a: number): number; +export function accountidentifier_fromAccountHash(a: number): number; +export function accountidentifier_toJson(a: number): number; +export function publickey_new_js_alias(a: number, b: number, c: number): void; +export function publickey_fromUint8Array(a: number, b: number, c: number): void; +export function publickey_toAccountHash(a: number): number; +export function publickey_toPurseUref(a: number): number; +export function publickey_toJson(a: number): number; +export function __wbg_uref_free(a: number): void; +export function uref_new_js_alias(a: number, b: number, c: number, d: number): void; +export function uref_fromFormattedStr(a: number, b: number, c: number): void; +export function uref_fromUint8Array(a: number, b: number, c: number): number; +export function uref_toFormattedString(a: number, b: number): void; +export function uref_toJson(a: number): number; export function sdk_speculative_deploy(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number): number; -export function sdk_speculative_transfer(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number): number; -export function __wbg_intounderlyingsink_free(a: number): void; -export function intounderlyingsink_write(a: number, b: number): number; -export function intounderlyingsink_close(a: number): number; -export function intounderlyingsink_abort(a: number, b: number): number; +export function hexToString(a: number, b: number, c: number): void; +export function hexToUint8Array(a: number, b: number, c: number): void; +export function uint8ArrayToBytes(a: number): number; +export function motesToCSPR(a: number, b: number, c: number): void; +export function jsonPrettyPrint(a: number, b: number, c: number): void; +export function publicKeyFromSecretKey(a: number, b: number, c: number): void; +export function generateSecretKey(a: number): void; +export function generateSecretKey_secp256k1(a: number): void; +export function accountHashToBase64Key(a: number, b: number, c: number): void; +export function getTimestamp(): number; +export function encodeLowerBlake2b(a: number, b: number): number; +export function makeDictionaryItemKey(a: number, b: number, c: number, d: number): void; +export function accountidentifier_new(a: number, b: number, c: number): void; +export function __wbg_publickey_free(a: number): void; +export function urefaddr_new(a: number, b: number, c: number): void; +export function __wbg_bytes_free(a: number): void; +export function bytes_new(): number; +export function bytes_fromUint8Array(a: number): number; +export function __wbg_contracthash_free(a: number): void; +export function contracthash_new_js_alias(a: number, b: number, c: number): void; +export function contracthash_fromFormattedStr(a: number, b: number, c: number): void; +export function contracthash_toFormattedString(a: number, b: number): void; +export function contracthash_fromUint8Array(a: number, b: number): number; +export function __wbg_deploy_free(a: number): void; +export function deploy_new(a: number): number; +export function deploy_toJson(a: number): number; +export function deploy_withPaymentAndSession(a: number, b: number, c: number, d: number): void; +export function deploy_withTransfer(a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number): void; +export function deploy_withTTL(a: number, b: number, c: number, d: number, e: number): number; +export function deploy_withTimestamp(a: number, b: number, c: number, d: number, e: number): number; +export function deploy_withChainName(a: number, b: number, c: number, d: number, e: number): number; +export function deploy_withAccount(a: number, b: number, c: number, d: number): number; +export function deploy_withEntryPointName(a: number, b: number, c: number, d: number, e: number): number; +export function deploy_withHash(a: number, b: number, c: number, d: number): number; +export function deploy_withPackageHash(a: number, b: number, c: number, d: number): number; +export function deploy_withModuleBytes(a: number, b: number, c: number, d: number): number; +export function deploy_withSecretKey(a: number, b: number, c: number): number; +export function deploy_withStandardPayment(a: number, b: number, c: number, d: number, e: number): number; +export function deploy_withPayment(a: number, b: number, c: number, d: number): number; +export function deploy_withSession(a: number, b: number, c: number, d: number): number; +export function deploy_validateDeploySize(a: number): number; +export function deploy_hash(a: number): number; +export function deploy_sign(a: number, b: number, c: number): number; +export function deploy_addSignature(a: number, b: number, c: number, d: number, e: number): number; +export function deploy_TTL(a: number, b: number): void; +export function deploy_timestamp(a: number, b: number): void; +export function deploy_chainName(a: number, b: number): void; +export function deploy_account(a: number, b: number): void; +export function deploy_args(a: number): number; +export function deploy_addArg(a: number, b: number, c: number, d: number, e: number): void; +export function __wbg_dictionaryitemstrparams_free(a: number): void; +export function dictionaryitemstrparams_new(): number; +export function dictionaryitemstrparams_setAccountNamedKey(a: number, b: number, c: number, d: number, e: number, f: number, g: number): void; +export function dictionaryitemstrparams_setContractNamedKey(a: number, b: number, c: number, d: number, e: number, f: number, g: number): void; +export function dictionaryitemstrparams_setUref(a: number, b: number, c: number, d: number, e: number): void; +export function dictionaryitemstrparams_setDictionary(a: number, b: number, c: number): void; +export function dictionaryitemstrparams_toJson(a: number): number; +export function __wbg_getdeployresult_free(a: number): void; +export function getdeployresult_api_version(a: number): number; +export function getdeployresult_deploy(a: number): number; +export function getdeployresult_toJson(a: number): number; +export function __wbg_getdeployoptions_free(a: number): void; +export function __wbg_get_getdeployoptions_deploy_hash_as_string(a: number, b: number): void; +export function __wbg_set_getdeployoptions_deploy_hash_as_string(a: number, b: number, c: number): void; +export function __wbg_get_getdeployoptions_deploy_hash(a: number): number; +export function __wbg_set_getdeployoptions_deploy_hash(a: number, b: number): void; +export function __wbg_get_getdeployoptions_finalized_approvals(a: number): number; +export function __wbg_set_getdeployoptions_finalized_approvals(a: number, b: number): void; +export function __wbg_get_getdeployoptions_node_address(a: number, b: number): void; +export function __wbg_set_getdeployoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_getdeployoptions_verbosity(a: number): number; +export function __wbg_set_getdeployoptions_verbosity(a: number, b: number): void; +export function sdk_get_deploy_options(a: number, b: number, c: number): void; +export function sdk_get_deploy(a: number, b: number): number; +export function sdk_info_get_deploy(a: number, b: number): number; +export function __wbg_getvalidatorchangesresult_free(a: number): void; +export function getvalidatorchangesresult_api_version(a: number): number; +export function getvalidatorchangesresult_changes(a: number): number; +export function getvalidatorchangesresult_toJson(a: number): number; +export function sdk_get_validator_changes(a: number, b: number, c: number, d: number): number; +export function __wbg_speculativeexecresult_free(a: number): void; +export function speculativeexecresult_api_version(a: number): number; +export function speculativeexecresult_block_hash(a: number): number; +export function speculativeexecresult_execution_result(a: number): number; +export function speculativeexecresult_toJson(a: number): number; +export function __wbg_getspeculativeexecoptions_free(a: number): void; +export function __wbg_get_getspeculativeexecoptions_deploy_as_string(a: number, b: number): void; +export function __wbg_set_getspeculativeexecoptions_deploy_as_string(a: number, b: number, c: number): void; +export function __wbg_get_getspeculativeexecoptions_deploy(a: number): number; +export function __wbg_set_getspeculativeexecoptions_deploy(a: number, b: number): void; +export function __wbg_get_getspeculativeexecoptions_maybe_block_id_as_string(a: number, b: number): void; +export function __wbg_set_getspeculativeexecoptions_maybe_block_id_as_string(a: number, b: number, c: number): void; +export function __wbg_get_getspeculativeexecoptions_maybe_block_identifier(a: number): number; +export function __wbg_set_getspeculativeexecoptions_maybe_block_identifier(a: number, b: number): void; +export function __wbg_get_getspeculativeexecoptions_node_address(a: number, b: number): void; +export function __wbg_set_getspeculativeexecoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_getspeculativeexecoptions_verbosity(a: number): number; +export function __wbg_set_getspeculativeexecoptions_verbosity(a: number, b: number): void; +export function sdk_get_speculative_exec_options(a: number, b: number, c: number): void; +export function sdk_speculative_exec(a: number, b: number): number; +export function __wbg_querycontractdictoptions_free(a: number): void; +export function __wbg_get_querycontractdictoptions_state_root_hash_as_string(a: number, b: number): void; +export function __wbg_set_querycontractdictoptions_state_root_hash_as_string(a: number, b: number, c: number): void; +export function __wbg_get_querycontractdictoptions_state_root_hash(a: number): number; +export function __wbg_set_querycontractdictoptions_state_root_hash(a: number, b: number): void; +export function __wbg_get_querycontractdictoptions_dictionary_item_params(a: number): number; +export function __wbg_set_querycontractdictoptions_dictionary_item_params(a: number, b: number): void; +export function __wbg_get_querycontractdictoptions_dictionary_item_identifier(a: number): number; +export function __wbg_set_querycontractdictoptions_dictionary_item_identifier(a: number, b: number): void; +export function __wbg_get_querycontractdictoptions_node_address(a: number, b: number): void; +export function __wbg_set_querycontractdictoptions_node_address(a: number, b: number, c: number): void; +export function __wbg_get_querycontractdictoptions_verbosity(a: number): number; +export function __wbg_set_querycontractdictoptions_verbosity(a: number, b: number): void; +export function sdk_query_contract_dict_options(a: number, b: number, c: number): void; +export function sdk_query_contract_dict(a: number, b: number): number; +export function __wbg_sdk_free(a: number): void; +export function sdk_new(a: number, b: number, c: number): number; +export function sdk_getNodeAddress(a: number, b: number, c: number, d: number): void; +export function sdk_setNodeAddress(a: number, b: number, c: number, d: number): void; +export function sdk_getVerbosity(a: number, b: number): number; +export function sdk_setVerbosity(a: number, b: number, c: number): void; +export function __wbg_urefaddr_free(a: number): void; +export function sdk_install(a: number, b: number, c: number, d: number, e: number, f: number, g: number): number; export function __wbg_intounderlyingsource_free(a: number): void; export function intounderlyingsource_pull(a: number, b: number): number; export function intounderlyingsource_cancel(a: number): void; @@ -674,12 +670,16 @@ export function intounderlyingbytesource_autoAllocateChunkSize(a: number): numbe export function intounderlyingbytesource_start(a: number, b: number): void; export function intounderlyingbytesource_pull(a: number, b: number): number; export function intounderlyingbytesource_cancel(a: number): void; +export function __wbg_intounderlyingsink_free(a: number): void; +export function intounderlyingsink_write(a: number, b: number): number; +export function intounderlyingsink_close(a: number): number; +export function intounderlyingsink_abort(a: number, b: number): number; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf18b011da91a71a4(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h828ea3939073e4cd(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0d84a86fb8ccef8f(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h371b80b3de9ca300(a: number, b: number, c: number): void; export function __wbindgen_add_to_stack_pointer(a: number): number; export function __wbindgen_free(a: number, b: number, c: number): void; export function __wbindgen_exn_store(a: number): void; -export function wasm_bindgen__convert__closures__invoke2_mut__h232935261d0e3333(a: number, b: number, c: number, d: number): void; +export function wasm_bindgen__convert__closures__invoke2_mut__h5ff82a3ec25de97a(a: number, b: number, c: number, d: number): void; diff --git a/src/helpers/mod.rs b/src/helpers/mod.rs index 4bb7df5bf..5ff8f6f22 100644 --- a/src/helpers/mod.rs +++ b/src/helpers/mod.rs @@ -4,6 +4,7 @@ use crate::types::{ }; use base64::engine::general_purpose; use base64::Engine; +use bigdecimal::BigDecimal; use blake2::{ digest::{Update, VariableOutput}, VarBlake2b, @@ -19,9 +20,9 @@ use casper_types::{ use chrono::{DateTime, SecondsFormat, Utc}; #[cfg(target_arch = "wasm32")] use gloo_utils::format::JsValueSerdeExt; -use rust_decimal::prelude::*; use serde::Serialize; use serde_json::Value; +use std::str::FromStr; #[cfg(target_arch = "wasm32")] use wasm_bindgen::{JsCast, JsValue}; @@ -342,10 +343,12 @@ pub fn hex_to_string(hex_string: &str) -> String { /// /// A string representing the CSPR amount. pub fn motes_to_cspr(motes: &str) -> Result { - match Decimal::from_str(motes) { + match BigDecimal::from_str(motes) { Ok(motes_decimal) => { - let cspr_decimal = motes_decimal / Decimal::new(1_000_000_000, 0); - let formatted_cspr = cspr_decimal.to_string(); + let divisor = BigDecimal::from(1_000_000_000); + let cspr_decimal = &motes_decimal / divisor; + let formatted_cspr = format!("{:.2}", cspr_decimal); + if formatted_cspr.ends_with(".00") { Ok(formatted_cspr.replace(".00", "")) } else { @@ -353,7 +356,7 @@ pub fn motes_to_cspr(motes: &str) -> Result { } } Err(err) => Err(SdkError::CustomError { - context: "Failed to parse input as Decimal", + context: "Failed to parse input as BigDecimal", error: format!("{:?}", err), }), }