diff --git a/asset-manifest.json b/asset-manifest.json new file mode 100644 index 0000000..5bef80e --- /dev/null +++ b/asset-manifest.json @@ -0,0 +1,16 @@ +{ + "files": { + "main.css": "/static/css/main.60483413.css", + "main.js": "/static/js/main.935ddb01.js", + "static/js/787.0e828ed3.chunk.js": "/static/js/787.0e828ed3.chunk.js", + "static/media/snickerdoodle_horizontal_notab.png": "/static/media/snickerdoodle_horizontal_notab.645a260c81b4582244ff.png", + "index.html": "/index.html", + "main.60483413.css.map": "/static/css/main.60483413.css.map", + "main.935ddb01.js.map": "/static/js/main.935ddb01.js.map", + "787.0e828ed3.chunk.js.map": "/static/js/787.0e828ed3.chunk.js.map" + }, + "entrypoints": [ + "static/css/main.60483413.css", + "static/js/main.935ddb01.js" + ] +} \ No newline at end of file diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..5d4d0bf Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..7d92cfb --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +ERC-7529 Demo
\ No newline at end of file diff --git a/logo192.png b/logo192.png new file mode 100644 index 0000000..739bd33 Binary files /dev/null and b/logo192.png differ diff --git a/logo512.png b/logo512.png new file mode 100644 index 0000000..ed48e9c Binary files /dev/null and b/logo512.png differ diff --git a/manifest.json b/manifest.json new file mode 100644 index 0000000..b144689 --- /dev/null +++ b/manifest.json @@ -0,0 +1,25 @@ +{ + "short_name": "ERC-7529 Demo", + "name": "ERC-7529 Demonstration App", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + }, + { + "src": "logo192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "logo512.png", + "type": "image/png", + "sizes": "512x512" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..e9e57dc --- /dev/null +++ b/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: diff --git a/static/css/main.60483413.css b/static/css/main.60483413.css new file mode 100644 index 0000000..6c48a94 --- /dev/null +++ b/static/css/main.60483413.css @@ -0,0 +1,2 @@ +body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.App{text-align:center}.App-logo{font-family:Gotham SSm A,Gotham SSm B,sans-serif;height:10vmin;pointer-events:none}.App-body{align-items:center;background-color:#fff3df;color:#232039;display:flex;flex-direction:column;font-size:calc(5px + 2vmin);justify-content:center;min-height:100vh}.App-link{color:#289f8a}@keyframes App-logo-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.field{background-color:#ffffff4d;border-radius:4px;height:56px;position:relative;transition:background-color .3s ease-in-out,box-shadow .3s ease-in-out;width:33%}.field:hover{background-color:#ffffff73;box-shadow:0 4px 20px 0 #0000000d}.field.active{background-color:#fff;box-shadow:0 4px 20px 0 #0003}.field.active input{padding:12px 16px 8px}.field.active input+label{color:#232039;opacity:1;top:4px}.field input{-webkit-appearance:none;background-color:initial;border:none;border-radius:4px;box-shadow:0 4px 20px 0 #0000;color:#282828;font-family:Gotham SSm A,Gotham SSm B,sans-serif;font-size:16px;font-weight:400;height:56px;line-height:normal;outline:none;padding:0 16px;position:relative;transition:background-color .3s ease-in-out,box-shadow .3s ease-in-out,padding .1s ease-in-out;width:100%}.field input::-webkit-input-placeholder{color:#232039}.field input::-moz-placeholder{color:#232039}.field input:-ms-input-placeholder{color:#232039}.field input:-moz-placeholder{color:#232039}.field input+label{color:#232039;font-family:Gotham SSm A,Gotham SSm B,sans-serif;font-size:12px;font-weight:600;left:16px;line-height:24px;opacity:0;pointer-events:none;position:absolute;top:24px;transition:all .1s ease-in-out}.footer{background:#ffd68f;bottom:0;color:#282c34;display:grid;grid-template-columns:4fr 1fr;height:20px;padding:0 0 25px;position:fixed;width:100%}.copyright{color:#5f5d5d;font-size:9.5pt;padding-left:10px;padding-top:15px;text-align:left}a.copyright{color:#289f8a}.social{align-content:center;color:#5f5d5d}.github{color:#5f5d5d;float:right;padding:10px 15px 0 0}.github:hover{transform:translateY(-2px)} +/*# sourceMappingURL=main.60483413.css.map*/ \ No newline at end of file diff --git a/static/css/main.60483413.css.map b/static/css/main.60483413.css.map new file mode 100644 index 0000000..3f27615 --- /dev/null +++ b/static/css/main.60483413.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.60483413.css","mappings":"AAAA,KAKE,kCAAmC,CACnC,iCAAkC,CAJlC,mIAEY,CAHZ,QAMF,CAEA,KACE,uEAEF,CCZA,KACE,iBACF,CAEA,UAGE,gDAAuD,CAFvD,aAAc,CACd,mBAEF,CAEA,UAKE,kBAAmB,CAJnB,wBAAyB,CAOzB,aAAc,CALd,YAAa,CACb,qBAAsB,CAGtB,2BAA4B,CAD5B,sBAAuB,CAJvB,gBAOF,CAEA,UACE,aACF,CAEA,yBACE,GACE,sBACF,CACA,GACE,uBACF,CACF,CAEA,OAKE,0BAA0C,CAF1C,iBAAkB,CADlB,WAAY,CAEZ,iBAAkB,CAElB,sEAA0E,CAL1E,SAMF,CAEA,aACE,0BAA2C,CAC3C,iCACF,CAEA,cACE,qBAAyB,CACzB,6BACF,CAEA,oBACE,qBACF,CAEA,0BAGE,aAAc,CADd,SAAU,CADV,OAGF,CAEA,aAiBE,uBAAwB,CANxB,wBAA6B,CAN7B,WAAY,CACZ,iBAAkB,CAQlB,6BAAwC,CAFxC,aAAc,CALd,gDAAuD,CACvD,cAAe,CACf,eAAgB,CAPhB,WAAY,CAQZ,kBAAmB,CAGnB,YAAa,CATb,cAAiB,CADjB,iBAAkB,CAYlB,8FAC0B,CAf1B,UAiBF,CAEA,wCACE,aACF,CACA,+BACE,aACF,CACA,mCACE,aACF,CACA,8BACE,aACF,CAEA,mBAQE,aAAc,CAJd,gDAAuD,CACvD,cAAe,CACf,eAAgB,CAHhB,SAAU,CAIV,gBAAiB,CAEjB,SAAU,CACV,mBAAoB,CATpB,iBAAkB,CAClB,QAAS,CAST,8BACF,CAEA,QAOE,kBAAmB,CADnB,QAAS,CALT,aAAc,CAEd,YAAa,CACb,6BAA8B,CAK9B,WAAY,CADZ,gBAAyB,CAHzB,cAAe,CAHf,UAQF,CAEA,WACE,aAAqB,CACrB,eAAgB,CAChB,iBAAiB,CACjB,gBAAgB,CAChB,eACF,CAEA,YACE,aACF,CAEA,QAEE,oBAAqB,CADrB,aAEF,CAEA,QACE,aAAsB,CACtB,WAAY,CACZ,qBACF,CAEA,cACE,0BACF","sources":["index.css","App.css"],"sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n",".App {\n text-align: center;\n}\n\n.App-logo {\n height: 10vmin;\n pointer-events: none;\n font-family: \"Gotham SSm A\", \"Gotham SSm B\", sans-serif;\n}\n\n.App-body {\n background-color: #fff3df;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n font-size: calc(5px + 2vmin);\n color: #232039;\n}\n\n.App-link {\n color: #289f8a;\n}\n\n@keyframes App-logo-spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n\n.field {\n width: 33%;\n height: 56px;\n border-radius: 4px;\n position: relative;\n background-color: rgba(255, 255, 255, 0.3);\n transition: 0.3s background-color ease-in-out, 0.3s box-shadow ease-in-out;\n}\n\n.field:hover {\n background-color: rgba(255, 255, 255, 0.45);\n box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.05);\n}\n\n.field.active {\n background-color: #ffffff;\n box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.2);\n}\n\n.field.active input {\n padding: 12px 16px 8px 16px;\n}\n\n.field.active input + label {\n top: 4px;\n opacity: 1;\n color: #232039;\n}\n\n.field input {\n width: 100%;\n height: 56px;\n position: relative;\n padding: 0px 16px;\n border: none;\n border-radius: 4px;\n font-family: \"Gotham SSm A\", \"Gotham SSm B\", sans-serif;\n font-size: 16px;\n font-weight: 400;\n line-height: normal;\n background-color: transparent;\n color: #282828;\n outline: none;\n box-shadow: 0px 4px 20px 0px transparent;\n transition: 0.3s background-color ease-in-out, 0.3s box-shadow ease-in-out,\n 0.1s padding ease-in-out;\n -webkit-appearance: none;\n}\n\n.field input::-webkit-input-placeholder {\n color: #232039;\n}\n.field input::-moz-placeholder {\n color: #232039;\n}\n.field input:-ms-input-placeholder {\n color: #232039;\n}\n.field input:-moz-placeholder {\n color: #232039;\n}\n\n.field input + label {\n position: absolute;\n top: 24px;\n left: 16px;\n font-family: \"Gotham SSm A\", \"Gotham SSm B\", sans-serif;\n font-size: 12px;\n font-weight: 600;\n line-height: 24px;\n color: #232039;\n opacity: 0;\n pointer-events: none;\n transition: 0.1s all ease-in-out;\n}\n\n.footer {\n color: #282c34;\n width: 100%;\n display: grid;\n grid-template-columns: 4fr 1fr;\n position: fixed;\n bottom: 0;\n background: #ffd68f;\n padding: 0px 0px 25px 0px;\n height: 20px;\n}\n\n.copyright {\n color:rgb(95, 93, 93);\n font-size: 9.5pt;\n padding-left:10px;\n padding-top:15px;\n text-align: left;\n}\n\na.copyright{\n color: #289f8a;\n}\n\n.social {\n color:rgb(95, 93, 93);\n align-content: center;\n}\n\n.github {\n color: rgb(95, 93, 93);\n float: right;\n padding: 10px 15px 0px 0px;\n}\n\n.github:hover {\n transform: translateY(-2px);\n}"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/787.0e828ed3.chunk.js b/static/js/787.0e828ed3.chunk.js new file mode 100644 index 0000000..775f59b --- /dev/null +++ b/static/js/787.0e828ed3.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkerc_7529_testbed=self.webpackChunkerc_7529_testbed||[]).push([[787],{787:(e,t,n)=>{n.r(t),n.d(t,{getCLS:()=>y,getFCP:()=>g,getFID:()=>C,getLCP:()=>P,getTTFB:()=>D});var i,r,a,o,u=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},c=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(e){}},s=function(e,t){var n=function n(i){"pagehide"!==i.type&&"hidden"!==document.visibilityState||(e(i),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},f=function(e){addEventListener("pageshow",(function(t){t.persisted&&e(t)}),!0)},m=function(e,t,n){var i;return function(r){t.value>=0&&(r||n)&&(t.delta=t.value-(i||0),(t.delta||void 0===i)&&(i=t.value,e(t)))}},v=-1,d=function(){return"hidden"===document.visibilityState?0:1/0},p=function(){s((function(e){var t=e.timeStamp;v=t}),!0)},l=function(){return v<0&&(v=d(),p(),f((function(){setTimeout((function(){v=d(),p()}),0)}))),{get firstHiddenTime(){return v}}},g=function(e,t){var n,i=l(),r=u("FCP"),a=function(e){"first-contentful-paint"===e.name&&(s&&s.disconnect(),e.startTime-1&&e(t)},r=u("CLS",0),a=0,o=[],v=function(e){if(!e.hadRecentInput){var t=o[0],i=o[o.length-1];a&&e.startTime-i.startTime<1e3&&e.startTime-t.startTime<5e3?(a+=e.value,o.push(e)):(a=e.value,o=[e]),a>r.value&&(r.value=a,r.entries=o,n())}},d=c("layout-shift",v);d&&(n=m(i,r,t),s((function(){d.takeRecords().map(v),n(!0)})),f((function(){a=0,T=-1,r=u("CLS",0),n=m(i,r,t)})))},E={passive:!0,capture:!0},w=new Date,L=function(e,t){i||(i=t,r=e,a=new Date,F(removeEventListener),S())},S=function(){if(r>=0&&r1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){L(e,t),r()},i=function(){r()},r=function(){removeEventListener("pointerup",n,E),removeEventListener("pointercancel",i,E)};addEventListener("pointerup",n,E),addEventListener("pointercancel",i,E)}(t,e):L(t,e)}},F=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,b,E)}))},C=function(e,t){var n,a=l(),v=u("FID"),d=function(e){e.startTimeperformance.now())return;n.entries=[t],e(n)}catch(e){}},"complete"===document.readyState?setTimeout(t,0):addEventListener("load",(function(){return setTimeout(t,0)}))}}}]); +//# sourceMappingURL=787.0e828ed3.chunk.js.map \ No newline at end of file diff --git a/static/js/787.0e828ed3.chunk.js.map b/static/js/787.0e828ed3.chunk.js.map new file mode 100644 index 0000000..d0c30b0 --- /dev/null +++ b/static/js/787.0e828ed3.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/787.0e828ed3.chunk.js","mappings":"oMAAA,IAAIA,EAAEC,EAAEC,EAAEC,EAAEC,EAAE,SAASJ,EAAEC,GAAG,MAAM,CAACI,KAAKL,EAAEM,WAAM,IAASL,GAAG,EAAEA,EAAEM,MAAM,EAAEC,QAAQ,GAAGC,GAAG,MAAMC,OAAOC,KAAKC,MAAM,KAAKF,OAAOG,KAAKC,MAAM,cAAcD,KAAKE,UAAU,MAAM,EAAEC,EAAE,SAAShB,EAAEC,GAAG,IAAI,GAAGgB,oBAAoBC,oBAAoBC,SAASnB,GAAG,CAAC,GAAG,gBAAgBA,KAAK,2BAA2BoB,MAAM,OAAO,IAAIlB,EAAE,IAAIe,qBAAqB,SAASjB,GAAG,OAAOA,EAAEqB,aAAaC,IAAIrB,EAAE,IAAI,OAAOC,EAAEqB,QAAQ,CAACC,KAAKxB,EAAEyB,UAAS,IAAKvB,CAAC,CAAC,CAAC,MAAMF,GAAG,CAAC,EAAE0B,EAAE,SAAS1B,EAAEC,GAAG,IAAIC,EAAE,SAASA,EAAEC,GAAG,aAAaA,EAAEqB,MAAM,WAAWG,SAASC,kBAAkB5B,EAAEG,GAAGF,IAAI4B,oBAAoB,mBAAmB3B,GAAE,GAAI2B,oBAAoB,WAAW3B,GAAE,IAAK,EAAE4B,iBAAiB,mBAAmB5B,GAAE,GAAI4B,iBAAiB,WAAW5B,GAAE,EAAG,EAAE6B,EAAE,SAAS/B,GAAG8B,iBAAiB,YAAY,SAAS7B,GAAGA,EAAE+B,WAAWhC,EAAEC,EAAE,IAAG,EAAG,EAAEgC,EAAE,SAASjC,EAAEC,EAAEC,GAAG,IAAIC,EAAE,OAAO,SAASC,GAAGH,EAAEK,OAAO,IAAIF,GAAGF,KAAKD,EAAEM,MAAMN,EAAEK,OAAOH,GAAG,IAAIF,EAAEM,YAAO,IAASJ,KAAKA,EAAEF,EAAEK,MAAMN,EAAEC,IAAI,CAAC,EAAEiC,GAAG,EAAEC,EAAE,WAAW,MAAM,WAAWR,SAASC,gBAAgB,EAAE,GAAG,EAAEQ,EAAE,WAAWV,GAAG,SAAS1B,GAAG,IAAIC,EAAED,EAAEqC,UAAUH,EAAEjC,CAAC,IAAG,EAAG,EAAEqC,EAAE,WAAW,OAAOJ,EAAE,IAAIA,EAAEC,IAAIC,IAAIL,GAAG,WAAWQ,YAAY,WAAWL,EAAEC,IAAIC,GAAG,GAAG,EAAE,KAAK,CAAC,mBAAII,GAAkB,OAAON,CAAC,EAAE,EAAEO,EAAE,SAASzC,EAAEC,GAAG,IAAIC,EAAEC,EAAEmC,IAAIZ,EAAEtB,EAAE,OAAO8B,EAAE,SAASlC,GAAG,2BAA2BA,EAAEK,OAAO+B,GAAGA,EAAEM,aAAa1C,EAAE2C,UAAUxC,EAAEqC,kBAAkBd,EAAEpB,MAAMN,EAAE2C,UAAUjB,EAAElB,QAAQoC,KAAK5C,GAAGE,GAAE,IAAK,EAAEiC,EAAEU,OAAOC,aAAaA,YAAYC,kBAAkBD,YAAYC,iBAAiB,0BAA0B,GAAGX,EAAED,EAAE,KAAKnB,EAAE,QAAQkB,IAAIC,GAAGC,KAAKlC,EAAE+B,EAAEjC,EAAE0B,EAAEzB,GAAGkC,GAAGD,EAAEC,GAAGJ,GAAG,SAAS5B,GAAGuB,EAAEtB,EAAE,OAAOF,EAAE+B,EAAEjC,EAAE0B,EAAEzB,GAAG+C,uBAAuB,WAAWA,uBAAuB,WAAWtB,EAAEpB,MAAMwC,YAAYlC,MAAMT,EAAEkC,UAAUnC,GAAE,EAAG,GAAG,GAAG,IAAI,EAAE+C,GAAE,EAAGC,GAAG,EAAEC,EAAE,SAASnD,EAAEC,GAAGgD,IAAIR,GAAG,SAASzC,GAAGkD,EAAElD,EAAEM,KAAK,IAAI2C,GAAE,GAAI,IAAI/C,EAAEC,EAAE,SAASF,GAAGiD,GAAG,GAAGlD,EAAEC,EAAE,EAAEiC,EAAE9B,EAAE,MAAM,GAAG+B,EAAE,EAAEC,EAAE,GAAGE,EAAE,SAAStC,GAAG,IAAIA,EAAEoD,eAAe,CAAC,IAAInD,EAAEmC,EAAE,GAAGjC,EAAEiC,EAAEA,EAAEiB,OAAO,GAAGlB,GAAGnC,EAAE2C,UAAUxC,EAAEwC,UAAU,KAAK3C,EAAE2C,UAAU1C,EAAE0C,UAAU,KAAKR,GAAGnC,EAAEM,MAAM8B,EAAEQ,KAAK5C,KAAKmC,EAAEnC,EAAEM,MAAM8B,EAAE,CAACpC,IAAImC,EAAED,EAAE5B,QAAQ4B,EAAE5B,MAAM6B,EAAED,EAAE1B,QAAQ4B,EAAElC,IAAI,CAAC,EAAEiD,EAAEnC,EAAE,eAAesB,GAAGa,IAAIjD,EAAE+B,EAAE9B,EAAE+B,EAAEjC,GAAGyB,GAAG,WAAWyB,EAAEG,cAAchC,IAAIgB,GAAGpC,GAAE,EAAG,IAAI6B,GAAG,WAAWI,EAAE,EAAEe,GAAG,EAAEhB,EAAE9B,EAAE,MAAM,GAAGF,EAAE+B,EAAE9B,EAAE+B,EAAEjC,EAAE,IAAI,EAAEsD,EAAE,CAACC,SAAQ,EAAGC,SAAQ,GAAIC,EAAE,IAAI/C,KAAKgD,EAAE,SAASxD,EAAEC,GAAGJ,IAAIA,EAAEI,EAAEH,EAAEE,EAAED,EAAE,IAAIS,KAAKiD,EAAE/B,qBAAqBgC,IAAI,EAAEA,EAAE,WAAW,GAAG5D,GAAG,GAAGA,EAAEC,EAAEwD,EAAE,CAAC,IAAItD,EAAE,CAAC0D,UAAU,cAAczD,KAAKL,EAAEwB,KAAKuC,OAAO/D,EAAE+D,OAAOC,WAAWhE,EAAEgE,WAAWrB,UAAU3C,EAAEqC,UAAU4B,gBAAgBjE,EAAEqC,UAAUpC,GAAGE,EAAE+D,SAAS,SAASlE,GAAGA,EAAEI,EAAE,IAAID,EAAE,EAAE,CAAC,EAAEgE,EAAE,SAASnE,GAAG,GAAGA,EAAEgE,WAAW,CAAC,IAAI/D,GAAGD,EAAEqC,UAAU,KAAK,IAAI1B,KAAKmC,YAAYlC,OAAOZ,EAAEqC,UAAU,eAAerC,EAAEwB,KAAK,SAASxB,EAAEC,GAAG,IAAIC,EAAE,WAAWyD,EAAE3D,EAAEC,GAAGG,GAAG,EAAED,EAAE,WAAWC,GAAG,EAAEA,EAAE,WAAWyB,oBAAoB,YAAY3B,EAAEqD,GAAG1B,oBAAoB,gBAAgB1B,EAAEoD,EAAE,EAAEzB,iBAAiB,YAAY5B,EAAEqD,GAAGzB,iBAAiB,gBAAgB3B,EAAEoD,EAAE,CAAhO,CAAkOtD,EAAED,GAAG2D,EAAE1D,EAAED,EAAE,CAAC,EAAE4D,EAAE,SAAS5D,GAAG,CAAC,YAAY,UAAU,aAAa,eAAekE,SAAS,SAASjE,GAAG,OAAOD,EAAEC,EAAEkE,EAAEZ,EAAE,GAAG,EAAEa,EAAE,SAASlE,EAAEgC,GAAG,IAAIC,EAAEC,EAAEE,IAAIG,EAAErC,EAAE,OAAO6C,EAAE,SAASjD,GAAGA,EAAE2C,UAAUP,EAAEI,kBAAkBC,EAAEnC,MAAMN,EAAEiE,gBAAgBjE,EAAE2C,UAAUF,EAAEjC,QAAQoC,KAAK5C,GAAGmC,GAAE,GAAI,EAAEe,EAAElC,EAAE,cAAciC,GAAGd,EAAEF,EAAE/B,EAAEuC,EAAEP,GAAGgB,GAAGxB,GAAG,WAAWwB,EAAEI,cAAchC,IAAI2B,GAAGC,EAAER,YAAY,IAAG,GAAIQ,GAAGnB,GAAG,WAAW,IAAIf,EAAEyB,EAAErC,EAAE,OAAO+B,EAAEF,EAAE/B,EAAEuC,EAAEP,GAAG/B,EAAE,GAAGF,GAAG,EAAED,EAAE,KAAK4D,EAAE9B,kBAAkBd,EAAEiC,EAAE9C,EAAEyC,KAAK5B,GAAG6C,GAAG,GAAG,EAAEQ,EAAE,CAAC,EAAEC,EAAE,SAAStE,EAAEC,GAAG,IAAIC,EAAEC,EAAEmC,IAAIJ,EAAE9B,EAAE,OAAO+B,EAAE,SAASnC,GAAG,IAAIC,EAAED,EAAE2C,UAAU1C,EAAEE,EAAEqC,kBAAkBN,EAAE5B,MAAML,EAAEiC,EAAE1B,QAAQoC,KAAK5C,GAAGE,IAAI,EAAEkC,EAAEpB,EAAE,2BAA2BmB,GAAG,GAAGC,EAAE,CAAClC,EAAE+B,EAAEjC,EAAEkC,EAAEjC,GAAG,IAAIwC,EAAE,WAAW4B,EAAEnC,EAAEzB,MAAM2B,EAAEkB,cAAchC,IAAIa,GAAGC,EAAEM,aAAa2B,EAAEnC,EAAEzB,KAAI,EAAGP,GAAE,GAAI,EAAE,CAAC,UAAU,SAASgE,SAAS,SAASlE,GAAG8B,iBAAiB9B,EAAEyC,EAAE,CAAC8B,MAAK,EAAGd,SAAQ,GAAI,IAAI/B,EAAEe,GAAE,GAAIV,GAAG,SAAS5B,GAAG+B,EAAE9B,EAAE,OAAOF,EAAE+B,EAAEjC,EAAEkC,EAAEjC,GAAG+C,uBAAuB,WAAWA,uBAAuB,WAAWd,EAAE5B,MAAMwC,YAAYlC,MAAMT,EAAEkC,UAAUgC,EAAEnC,EAAEzB,KAAI,EAAGP,GAAE,EAAG,GAAG,GAAG,GAAG,CAAC,EAAEsE,EAAE,SAASxE,GAAG,IAAIC,EAAEC,EAAEE,EAAE,QAAQH,EAAE,WAAW,IAAI,IAAIA,EAAE6C,YAAY2B,iBAAiB,cAAc,IAAI,WAAW,IAAIzE,EAAE8C,YAAY4B,OAAOzE,EAAE,CAAC6D,UAAU,aAAanB,UAAU,GAAG,IAAI,IAAIzC,KAAKF,EAAE,oBAAoBE,GAAG,WAAWA,IAAID,EAAEC,GAAGW,KAAK8D,IAAI3E,EAAEE,GAAGF,EAAE4E,gBAAgB,IAAI,OAAO3E,CAAC,CAAjL,GAAqL,GAAGC,EAAEI,MAAMJ,EAAEK,MAAMN,EAAE4E,cAAc3E,EAAEI,MAAM,GAAGJ,EAAEI,MAAMwC,YAAYlC,MAAM,OAAOV,EAAEM,QAAQ,CAACP,GAAGD,EAAEE,EAAE,CAAC,MAAMF,GAAG,CAAC,EAAE,aAAa2B,SAASmD,WAAWvC,WAAWtC,EAAE,GAAG6B,iBAAiB,QAAQ,WAAW,OAAOS,WAAWtC,EAAE,EAAE,GAAG,C","sources":["../node_modules/web-vitals/dist/web-vitals.js"],"sourcesContent":["var e,t,n,i,r=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:\"v2-\".concat(Date.now(),\"-\").concat(Math.floor(8999999999999*Math.random())+1e12)}},a=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if(\"first-input\"===e&&!(\"PerformanceEventTiming\"in self))return;var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(e){}},o=function(e,t){var n=function n(i){\"pagehide\"!==i.type&&\"hidden\"!==document.visibilityState||(e(i),t&&(removeEventListener(\"visibilitychange\",n,!0),removeEventListener(\"pagehide\",n,!0)))};addEventListener(\"visibilitychange\",n,!0),addEventListener(\"pagehide\",n,!0)},u=function(e){addEventListener(\"pageshow\",(function(t){t.persisted&&e(t)}),!0)},c=function(e,t,n){var i;return function(r){t.value>=0&&(r||n)&&(t.delta=t.value-(i||0),(t.delta||void 0===i)&&(i=t.value,e(t)))}},f=-1,s=function(){return\"hidden\"===document.visibilityState?0:1/0},m=function(){o((function(e){var t=e.timeStamp;f=t}),!0)},v=function(){return f<0&&(f=s(),m(),u((function(){setTimeout((function(){f=s(),m()}),0)}))),{get firstHiddenTime(){return f}}},d=function(e,t){var n,i=v(),o=r(\"FCP\"),f=function(e){\"first-contentful-paint\"===e.name&&(m&&m.disconnect(),e.startTime-1&&e(t)},f=r(\"CLS\",0),s=0,m=[],v=function(e){if(!e.hadRecentInput){var t=m[0],i=m[m.length-1];s&&e.startTime-i.startTime<1e3&&e.startTime-t.startTime<5e3?(s+=e.value,m.push(e)):(s=e.value,m=[e]),s>f.value&&(f.value=s,f.entries=m,n())}},h=a(\"layout-shift\",v);h&&(n=c(i,f,t),o((function(){h.takeRecords().map(v),n(!0)})),u((function(){s=0,l=-1,f=r(\"CLS\",0),n=c(i,f,t)})))},T={passive:!0,capture:!0},y=new Date,g=function(i,r){e||(e=r,t=i,n=new Date,w(removeEventListener),E())},E=function(){if(t>=0&&t1e12?new Date:performance.now())-e.timeStamp;\"pointerdown\"==e.type?function(e,t){var n=function(){g(e,t),r()},i=function(){r()},r=function(){removeEventListener(\"pointerup\",n,T),removeEventListener(\"pointercancel\",i,T)};addEventListener(\"pointerup\",n,T),addEventListener(\"pointercancel\",i,T)}(t,e):g(t,e)}},w=function(e){[\"mousedown\",\"keydown\",\"touchstart\",\"pointerdown\"].forEach((function(t){return e(t,S,T)}))},L=function(n,f){var s,m=v(),d=r(\"FID\"),p=function(e){e.startTimeperformance.now())return;n.entries=[t],e(n)}catch(e){}},\"complete\"===document.readyState?setTimeout(t,0):addEventListener(\"load\",(function(){return setTimeout(t,0)}))};export{h as getCLS,d as getFCP,L as getFID,F as getLCP,P as getTTFB};\n"],"names":["e","t","n","i","r","name","value","delta","entries","id","concat","Date","now","Math","floor","random","a","PerformanceObserver","supportedEntryTypes","includes","self","getEntries","map","observe","type","buffered","o","document","visibilityState","removeEventListener","addEventListener","u","persisted","c","f","s","m","timeStamp","v","setTimeout","firstHiddenTime","d","disconnect","startTime","push","window","performance","getEntriesByName","requestAnimationFrame","p","l","h","hadRecentInput","length","takeRecords","T","passive","capture","y","g","w","E","entryType","target","cancelable","processingStart","forEach","S","L","b","F","once","P","getEntriesByType","timing","max","navigationStart","responseStart","readyState"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/main.935ddb01.js b/static/js/main.935ddb01.js new file mode 100644 index 0000000..f426da3 --- /dev/null +++ b/static/js/main.935ddb01.js @@ -0,0 +1,3 @@ +/*! For license information please see main.935ddb01.js.LICENSE.txt */ +(()=>{var e={82056:(e,t,r)=>{"use strict";r.d(t,{i:()=>n});const n="abi/5.7.0"},65054:(e,t,r)=>{"use strict";r.d(t,{R:()=>C,$:()=>R});var n=r(49716),i=r(30520),a=r(39502),o=r(82056),s=r(73198),c=r(97419);class u extends s.XI{constructor(e){super("address","address",e,!1)}defaultValue(){return"0x0000000000000000000000000000000000000000"}encode(e,t){try{t=(0,c.getAddress)(t)}catch(r){this._throwError(r.message,t)}return e.writeValue(t)}decode(e){return(0,c.getAddress)((0,n.hexZeroPad)(e.readValue().toHexString(),20))}}class l extends s.XI{constructor(e){super(e.name,e.type,void 0,e.dynamic),this.coder=e}defaultValue(){return this.coder.defaultValue()}encode(e,t){return this.coder.encode(e,t)}decode(e){return this.coder.decode(e)}}const f=new a.Logger(o.i);function d(e,t,r){let n=null;if(Array.isArray(r))n=r;else if(r&&"object"===typeof r){let e={};n=t.map((t=>{const n=t.localName;return n||f.throwError("cannot encode object for signature with missing names",a.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:t,value:r}),e[n]&&f.throwError("cannot encode object for signature with duplicate names",a.Logger.errors.INVALID_ARGUMENT,{argument:"values",coder:t,value:r}),e[n]=!0,r[n]}))}else f.throwArgumentError("invalid tuple value","tuple",r);t.length!==n.length&&f.throwArgumentError("types/value length mismatch","tuple",r);let i=new s.QV(e.wordSize),o=new s.QV(e.wordSize),c=[];t.forEach(((e,t)=>{let r=n[t];if(e.dynamic){let t=o.length;e.encode(o,r);let n=i.writeUpdatableValue();c.push((e=>{n(e+t)}))}else e.encode(i,r)})),c.forEach((e=>{e(i.length)}));let u=e.appendWriter(i);return u+=e.appendWriter(o),u}function b(e,t){let r=[],n=e.subReader(0);t.forEach((t=>{let i=null;if(t.dynamic){let r=e.readValue(),s=n.subReader(r.toNumber());try{i=t.decode(s)}catch(o){if(o.code===a.Logger.errors.BUFFER_OVERRUN)throw o;i=o,i.baseType=t.name,i.name=t.localName,i.type=t.type}}else try{i=t.decode(e)}catch(o){if(o.code===a.Logger.errors.BUFFER_OVERRUN)throw o;i=o,i.baseType=t.name,i.name=t.localName,i.type=t.type}void 0!=i&&r.push(i)}));const i=t.reduce(((e,t)=>{const r=t.localName;return r&&(e[r]||(e[r]=0),e[r]++),e}),{});t.forEach(((e,t)=>{let n=e.localName;if(!n||1!==i[n])return;if("length"===n&&(n="_length"),null!=r[n])return;const a=r[t];a instanceof Error?Object.defineProperty(r,n,{enumerable:!0,get:()=>{throw a}}):r[n]=a}));for(let a=0;a{throw e}})}return Object.freeze(r)}class h extends s.XI{constructor(e,t,r){super("array",e.type+"["+(t>=0?t:"")+"]",r,-1===t||e.dynamic),this.coder=e,this.length=t}defaultValue(){const e=this.coder.defaultValue(),t=[];for(let r=0;re._data.length&&f.throwError("insufficient data length",a.Logger.errors.BUFFER_OVERRUN,{length:e._data.length,count:t}));let r=[];for(let n=0;n{e.dynamic&&(r=!0),n.push(e.type)}));super("tuple","tuple("+n.join(",")+")",t,r),this.coders=e}defaultValue(){const e=[];this.coders.forEach((t=>{e.push(t.defaultValue())}));const t=this.coders.reduce(((e,t)=>{const r=t.localName;return r&&(e[r]||(e[r]=0),e[r]++),e}),{});return this.coders.forEach(((r,n)=>{let i=r.localName;i&&1===t[i]&&("length"===i&&(i="_length"),null==e[i]&&(e[i]=e[n]))})),Object.freeze(e)}encode(e,t){return d(e,this.coders,t)}decode(e){return e.coerce(this.name,b(e,this.coders))}}var P=r(33165);const T=new a.Logger(o.i),k=new RegExp(/^bytes([0-9]*)$/),M=new RegExp(/^(u?int)([0-9]*)$/);class C{constructor(e){(0,i.defineReadOnly)(this,"coerceFunc",e||null)}_getCoder(e){switch(e.baseType){case"address":return new u(e.name);case"bool":return new p(e.name);case"string":return new S(e.name);case"bytes":return new m(e.name);case"array":return new h(this._getCoder(e.arrayChildren),e.arrayLength,e.name);case"tuple":return new O((e.components||[]).map((e=>this._getCoder(e))),e.name);case"":return new v(e.name)}let t=e.type.match(M);if(t){let r=parseInt(t[2]||"256");return(0===r||r>256||r%8!==0)&&T.throwArgumentError("invalid "+t[1]+" bit length","param",e),new E(r/8,"int"===t[1],e.name)}if(t=e.type.match(k),t){let r=parseInt(t[1]);return(0===r||r>32)&&T.throwArgumentError("invalid bytes length","param",e),new g(r,e.name)}return T.throwArgumentError("invalid type","type",e.type)}_getWordSize(){return 32}_getReader(e,t){return new s.Ej(e,this._getWordSize(),this.coerceFunc,t)}_getWriter(){return new s.QV(this._getWordSize())}getDefaultValue(e){const t=e.map((e=>this._getCoder(P._R.from(e))));return new O(t,"_").defaultValue()}encode(e,t){e.length!==t.length&&T.throwError("types/values length mismatch",a.Logger.errors.INVALID_ARGUMENT,{count:{types:e.length,values:t.length},value:{types:e,values:t}});const r=e.map((e=>this._getCoder(P._R.from(e)))),n=new O(r,"_"),i=this._getWriter();return n.encode(i,t),i.data}decode(e,t,r){const i=e.map((e=>this._getCoder(P._R.from(e))));return new O(i,"_").decode(this._getReader((0,n.arrayify)(t),r))}}const R=new C},73198:(e,t,r)=>{"use strict";r.d(t,{BR:()=>u,Ej:()=>d,QV:()=>f,XI:()=>l});var n=r(49716),i=r(2257),a=r(30520),o=r(39502),s=r(82056);const c=new o.Logger(s.i);function u(e){const t=[],r=function(e,n){if(Array.isArray(n))for(let a in n){const o=e.slice();o.push(a);try{r(o,n[a])}catch(i){t.push({path:o,error:i})}}};return r([],e),t}class l{constructor(e,t,r,n){this.name=e,this.type=t,this.localName=r,this.dynamic=n}_throwError(e,t){c.throwArgumentError(e,this.localName,t)}}class f{constructor(e){(0,a.defineReadOnly)(this,"wordSize",e||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(e)}get data(){return(0,n.hexConcat)(this._data)}get length(){return this._dataLength}_writeData(e){return this._data.push(e),this._dataLength+=e.length,e.length}appendWriter(e){return this._writeData((0,n.concat)(e._data))}writeBytes(e){let t=(0,n.arrayify)(e);const r=t.length%this.wordSize;return r&&(t=(0,n.concat)([t,this._padding.slice(r)])),this._writeData(t)}_getValue(e){let t=(0,n.arrayify)(i.O$.from(e));return t.length>this.wordSize&&c.throwError("value out-of-bounds",o.Logger.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:t.length}),t.length%this.wordSize&&(t=(0,n.concat)([this._padding.slice(t.length%this.wordSize),t])),t}writeValue(e){return this._writeData(this._getValue(e))}writeUpdatableValue(){const e=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,t=>{this._data[e]=this._getValue(t)}}}class d{constructor(e,t,r,i){(0,a.defineReadOnly)(this,"_data",(0,n.arrayify)(e)),(0,a.defineReadOnly)(this,"wordSize",t||32),(0,a.defineReadOnly)(this,"_coerceFunc",r),(0,a.defineReadOnly)(this,"allowLoose",i),this._offset=0}get data(){return(0,n.hexlify)(this._data)}get consumed(){return this._offset}static coerce(e,t){let r=e.match("^u?int([0-9]+)$");return r&&parseInt(r[1])<=48&&(t=t.toNumber()),t}coerce(e,t){return this._coerceFunc?this._coerceFunc(e,t):d.coerce(e,t)}_peekBytes(e,t,r){let n=Math.ceil(t/this.wordSize)*this.wordSize;return this._offset+n>this._data.length&&(this.allowLoose&&r&&this._offset+t<=this._data.length?n=t:c.throwError("data out-of-bounds",o.Logger.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+n})),this._data.slice(this._offset,this._offset+n)}subReader(e){return new d(this._data.slice(this._offset+e),this.wordSize,this._coerceFunc,this.allowLoose)}readBytes(e,t){let r=this._peekBytes(0,e,!!t);return this._offset+=r.length,r.slice(0,e)}readValue(){return i.O$.from(this.readBytes(this.wordSize))}}},33165:(e,t,r)=>{"use strict";r.d(t,{HY:()=>m,IC:()=>O,QV:()=>g,Xg:()=>E,YW:()=>A,_R:()=>p,pc:()=>b});var n=r(2257),i=r(30520),a=r(39502),o=r(82056);const s=new a.Logger(o.i),c={};let u={calldata:!0,memory:!0,storage:!0},l={calldata:!0,memory:!0};function f(e,t){if("bytes"===e||"string"===e){if(u[t])return!0}else if("address"===e){if("payable"===t)return!0}else if((e.indexOf("[")>=0||"tuple"===e)&&l[t])return!0;return(u[t]||"payable"===t)&&s.throwArgumentError("invalid modifier","name",t),!1}function d(e,t){for(let r in t)(0,i.defineReadOnly)(e,r,t[r])}const b=Object.freeze({sighash:"sighash",minimal:"minimal",full:"full",json:"json"}),h=new RegExp(/^(.*)\[([0-9]*)\]$/);class p{constructor(e,t){e!==c&&s.throwError("use fromString",a.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new ParamType()"}),d(this,t);let r=this.type.match(h);d(this,r?{arrayLength:parseInt(r[2]||"-1"),arrayChildren:p.fromObject({type:r[1],components:this.components}),baseType:"array"}:{arrayLength:null,arrayChildren:null,baseType:null!=this.components?"tuple":this.type}),this._isParamType=!0,Object.freeze(this)}format(e){if(e||(e=b.sighash),b[e]||s.throwArgumentError("invalid format type","format",e),e===b.json){let t={type:"tuple"===this.baseType?"tuple":this.type,name:this.name||void 0};return"boolean"===typeof this.indexed&&(t.indexed=this.indexed),this.components&&(t.components=this.components.map((t=>JSON.parse(t.format(e))))),JSON.stringify(t)}let t="";return"array"===this.baseType?(t+=this.arrayChildren.format(e),t+="["+(this.arrayLength<0?"":String(this.arrayLength))+"]"):"tuple"===this.baseType?(e!==b.sighash&&(t+=this.type),t+="("+this.components.map((t=>t.format(e))).join(e===b.full?", ":",")+")"):t+=this.type,e!==b.sighash&&(!0===this.indexed&&(t+=" indexed"),e===b.full&&this.name&&(t+=" "+this.name)),t}static from(e,t){return"string"===typeof e?p.fromString(e,t):p.fromObject(e)}static fromObject(e){return p.isParamType(e)?e:new p(c,{name:e.name||null,type:P(e.type),indexed:null==e.indexed?null:!!e.indexed,components:e.components?e.components.map(p.fromObject):null})}static fromString(e,t){return r=function(e,t){let r=e;function n(t){s.throwArgumentError("unexpected character at position ".concat(t),"param",e)}function i(e){let r={type:"",name:"",parent:e,state:{allowType:!0}};return t&&(r.indexed=!1),r}e=e.replace(/\s/g," ");let a={type:"",name:"",state:{allowType:!0}},o=a;for(let s=0;sp.fromString(e,t)))}class m{constructor(e,t){e!==c&&s.throwError("use a static from method",a.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new Fragment()"}),d(this,t),this._isFragment=!0,Object.freeze(this)}static from(e){return m.isFragment(e)?e:"string"===typeof e?m.fromString(e):m.fromObject(e)}static fromObject(e){if(m.isFragment(e))return e;switch(e.type){case"function":return A.fromObject(e);case"event":return g.fromObject(e);case"constructor":return E.fromObject(e);case"error":return O.fromObject(e);case"fallback":case"receive":return null}return s.throwArgumentError("invalid fragment object","value",e)}static fromString(e){return"event"===(e=(e=(e=e.replace(/\s/g," ")).replace(/\(/g," (").replace(/\)/g,") ").replace(/\s+/g," ")).trim()).split(" ")[0]?g.fromString(e.substring(5).trim()):"function"===e.split(" ")[0]?A.fromString(e.substring(8).trim()):"constructor"===e.split("(")[0].trim()?E.fromString(e.trim()):"error"===e.split(" ")[0]?O.fromString(e.substring(5).trim()):s.throwArgumentError("unsupported fragment","value",e)}static isFragment(e){return!(!e||!e._isFragment)}}class g extends m{format(e){if(e||(e=b.sighash),b[e]||s.throwArgumentError("invalid format type","format",e),e===b.json)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map((t=>JSON.parse(t.format(e))))});let t="";return e!==b.sighash&&(t+="event "),t+=this.name+"("+this.inputs.map((t=>t.format(e))).join(e===b.full?", ":",")+") ",e!==b.sighash&&this.anonymous&&(t+="anonymous "),t.trim()}static from(e){return"string"===typeof e?g.fromString(e):g.fromObject(e)}static fromObject(e){if(g.isEventFragment(e))return e;"event"!==e.type&&s.throwArgumentError("invalid event object","value",e);const t={name:k(e.name),anonymous:e.anonymous,inputs:e.inputs?e.inputs.map(p.fromObject):[],type:"event"};return new g(c,t)}static fromString(e){let t=e.match(M);t||s.throwArgumentError("invalid event string","value",e);let r=!1;return t[3].split(" ").forEach((e=>{switch(e.trim()){case"anonymous":r=!0;break;case"":break;default:s.warn("unknown modifier: "+e)}})),g.fromObject({name:t[1].trim(),anonymous:r,inputs:y(t[2],!0),type:"event"})}static isEventFragment(e){return e&&e._isFragment&&"event"===e.type}}function v(e,t){t.gas=null;let r=e.split("@");return 1!==r.length?(r.length>2&&s.throwArgumentError("invalid human-readable ABI signature","value",e),r[1].match(/^[0-9]+$/)||s.throwArgumentError("invalid human-readable ABI signature gas","value",e),t.gas=n.O$.from(r[1]),r[0]):e}function w(e,t){t.constant=!1,t.payable=!1,t.stateMutability="nonpayable",e.split(" ").forEach((e=>{switch(e.trim()){case"constant":t.constant=!0;break;case"payable":t.payable=!0,t.stateMutability="payable";break;case"nonpayable":t.payable=!1,t.stateMutability="nonpayable";break;case"pure":t.constant=!0,t.stateMutability="pure";break;case"view":t.constant=!0,t.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+e)}}))}function _(e){let t={constant:!1,payable:!0,stateMutability:"payable"};return null!=e.stateMutability?(t.stateMutability=e.stateMutability,t.constant="view"===t.stateMutability||"pure"===t.stateMutability,null!=e.constant&&!!e.constant!==t.constant&&s.throwArgumentError("cannot have constant function with mutability "+t.stateMutability,"value",e),t.payable="payable"===t.stateMutability,null!=e.payable&&!!e.payable!==t.payable&&s.throwArgumentError("cannot have payable function with mutability "+t.stateMutability,"value",e)):null!=e.payable?(t.payable=!!e.payable,null!=e.constant||t.payable||"constructor"===e.type||s.throwArgumentError("unable to determine stateMutability","value",e),t.constant=!!e.constant,t.constant?t.stateMutability="view":t.stateMutability=t.payable?"payable":"nonpayable",t.payable&&t.constant&&s.throwArgumentError("cannot have constant payable function","value",e)):null!=e.constant?(t.constant=!!e.constant,t.payable=!t.constant,t.stateMutability=t.constant?"view":"payable"):"constructor"!==e.type&&s.throwArgumentError("unable to determine stateMutability","value",e),t}class E extends m{format(e){if(e||(e=b.sighash),b[e]||s.throwArgumentError("invalid format type","format",e),e===b.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((t=>JSON.parse(t.format(e))))});e===b.sighash&&s.throwError("cannot format a constructor for sighash",a.Logger.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});let t="constructor("+this.inputs.map((t=>t.format(e))).join(e===b.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "),t.trim()}static from(e){return"string"===typeof e?E.fromString(e):E.fromObject(e)}static fromObject(e){if(E.isConstructorFragment(e))return e;"constructor"!==e.type&&s.throwArgumentError("invalid constructor object","value",e);let t=_(e);t.constant&&s.throwArgumentError("constructor cannot be constant","value",e);const r={name:null,type:e.type,inputs:e.inputs?e.inputs.map(p.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?n.O$.from(e.gas):null};return new E(c,r)}static fromString(e){let t={type:"constructor"},r=(e=v(e,t)).match(M);return r&&"constructor"===r[1].trim()||s.throwArgumentError("invalid constructor string","value",e),t.inputs=y(r[2].trim(),!1),w(r[3].trim(),t),E.fromObject(t)}static isConstructorFragment(e){return e&&e._isFragment&&"constructor"===e.type}}class A extends E{format(e){if(e||(e=b.sighash),b[e]||s.throwArgumentError("invalid format type","format",e),e===b.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((t=>JSON.parse(t.format(e)))),outputs:this.outputs.map((t=>JSON.parse(t.format(e))))});let t="";return e!==b.sighash&&(t+="function "),t+=this.name+"("+this.inputs.map((t=>t.format(e))).join(e===b.full?", ":",")+") ",e!==b.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(t+=this.stateMutability+" "):this.constant&&(t+="view "),this.outputs&&this.outputs.length&&(t+="returns ("+this.outputs.map((t=>t.format(e))).join(", ")+") "),null!=this.gas&&(t+="@"+this.gas.toString()+" ")),t.trim()}static from(e){return"string"===typeof e?A.fromString(e):A.fromObject(e)}static fromObject(e){if(A.isFunctionFragment(e))return e;"function"!==e.type&&s.throwArgumentError("invalid function object","value",e);let t=_(e);const r={type:e.type,name:k(e.name),constant:t.constant,inputs:e.inputs?e.inputs.map(p.fromObject):[],outputs:e.outputs?e.outputs.map(p.fromObject):[],payable:t.payable,stateMutability:t.stateMutability,gas:e.gas?n.O$.from(e.gas):null};return new A(c,r)}static fromString(e){let t={type:"function"},r=(e=v(e,t)).split(" returns ");r.length>2&&s.throwArgumentError("invalid function string","value",e);let n=r[0].match(M);if(n||s.throwArgumentError("invalid function signature","value",e),t.name=n[1].trim(),t.name&&k(t.name),t.inputs=y(n[2],!1),w(n[3].trim(),t),r.length>1){let n=r[1].match(M);""==n[1].trim()&&""==n[3].trim()||s.throwArgumentError("unexpected tokens","value",e),t.outputs=y(n[2],!1)}else t.outputs=[];return A.fromObject(t)}static isFunctionFragment(e){return e&&e._isFragment&&"function"===e.type}}function S(e){const t=e.format();return"Error(string)"!==t&&"Panic(uint256)"!==t||s.throwArgumentError("cannot specify user defined ".concat(t," error"),"fragment",e),e}class O extends m{format(e){if(e||(e=b.sighash),b[e]||s.throwArgumentError("invalid format type","format",e),e===b.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map((t=>JSON.parse(t.format(e))))});let t="";return e!==b.sighash&&(t+="error "),t+=this.name+"("+this.inputs.map((t=>t.format(e))).join(e===b.full?", ":",")+") ",t.trim()}static from(e){return"string"===typeof e?O.fromString(e):O.fromObject(e)}static fromObject(e){if(O.isErrorFragment(e))return e;"error"!==e.type&&s.throwArgumentError("invalid error object","value",e);const t={type:e.type,name:k(e.name),inputs:e.inputs?e.inputs.map(p.fromObject):[]};return S(new O(c,t))}static fromString(e){let t={type:"error"},r=e.match(M);return r||s.throwArgumentError("invalid error signature","value",e),t.name=r[1].trim(),t.name&&k(t.name),t.inputs=y(r[2],!1),S(O.fromObject(t))}static isErrorFragment(e){return e&&e._isFragment&&"error"===e.type}}function P(e){return e.match(/^uint($|[^1-9])/)?e="uint256"+e.substring(4):e.match(/^int($|[^1-9])/)&&(e="int256"+e.substring(3)),e}const T=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function k(e){return e&&e.match(T)||s.throwArgumentError('invalid identifier "'.concat(e,'"'),"value",e),e}const M=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$")},18334:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AbiCoder:()=>i.R,ConstructorFragment:()=>n.Xg,ErrorFragment:()=>n.IC,EventFragment:()=>n.QV,FormatTypes:()=>n.pc,Fragment:()=>n.HY,FunctionFragment:()=>n.YW,Indexed:()=>a.Hk,Interface:()=>a.vU,LogDescription:()=>a.CC,ParamType:()=>n._R,TransactionDescription:()=>a.vk,checkResultErrors:()=>o.BR,defaultAbiCoder:()=>i.$});var n=r(33165),i=r(65054),a=r(17303),o=r(73198)},17303:(e,t,r)=>{"use strict";r.d(t,{CC:()=>h,Hk:()=>m,vU:()=>w,vk:()=>p});var n=r(97419),i=r(2257),a=r(49716),o=r(51583),s=r(88062),c=r(30520),u=r(65054),l=r(33165),f=r(39502),d=r(82056);const b=new f.Logger(d.i);class h extends c.Description{}class p extends c.Description{}class y extends c.Description{}class m extends c.Description{static isIndexed(e){return!(!e||!e._isIndexed)}}const g={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function v(e,t){const r=new Error("deferred error during ABI decoding triggered accessing ".concat(e));return r.error=t,r}class w{constructor(e){let t=[];t="string"===typeof e?JSON.parse(e):e,(0,c.defineReadOnly)(this,"fragments",t.map((e=>l.HY.from(e))).filter((e=>null!=e))),(0,c.defineReadOnly)(this,"_abiCoder",(0,c.getStatic)(new.target,"getAbiCoder")()),(0,c.defineReadOnly)(this,"functions",{}),(0,c.defineReadOnly)(this,"errors",{}),(0,c.defineReadOnly)(this,"events",{}),(0,c.defineReadOnly)(this,"structs",{}),this.fragments.forEach((e=>{let t=null;switch(e.type){case"constructor":return this.deploy?void b.warn("duplicate definition - constructor"):void(0,c.defineReadOnly)(this,"deploy",e);case"function":t=this.functions;break;case"event":t=this.events;break;case"error":t=this.errors;break;default:return}let r=e.format();t[r]?b.warn("duplicate definition - "+r):t[r]=e})),this.deploy||(0,c.defineReadOnly)(this,"deploy",l.Xg.from({payable:!1,type:"constructor"})),(0,c.defineReadOnly)(this,"_isInterface",!0)}format(e){e||(e=l.pc.full),e===l.pc.sighash&&b.throwArgumentError("interface does not support formatting sighash","format",e);const t=this.fragments.map((t=>t.format(e)));return e===l.pc.json?JSON.stringify(t.map((e=>JSON.parse(e)))):t}static getAbiCoder(){return u.$}static getAddress(e){return(0,n.getAddress)(e)}static getSighash(e){return(0,a.hexDataSlice)((0,o.id)(e.format()),0,4)}static getEventTopic(e){return(0,o.id)(e.format())}getFunction(e){if((0,a.isHexString)(e)){for(const t in this.functions)if(e===this.getSighash(t))return this.functions[t];b.throwArgumentError("no matching function","sighash",e)}if(-1===e.indexOf("(")){const t=e.trim(),r=Object.keys(this.functions).filter((e=>e.split("(")[0]===t));return 0===r.length?b.throwArgumentError("no matching function","name",t):r.length>1&&b.throwArgumentError("multiple matching functions","name",t),this.functions[r[0]]}const t=this.functions[l.YW.fromString(e).format()];return t||b.throwArgumentError("no matching function","signature",e),t}getEvent(e){if((0,a.isHexString)(e)){const t=e.toLowerCase();for(const e in this.events)if(t===this.getEventTopic(e))return this.events[e];b.throwArgumentError("no matching event","topichash",t)}if(-1===e.indexOf("(")){const t=e.trim(),r=Object.keys(this.events).filter((e=>e.split("(")[0]===t));return 0===r.length?b.throwArgumentError("no matching event","name",t):r.length>1&&b.throwArgumentError("multiple matching events","name",t),this.events[r[0]]}const t=this.events[l.QV.fromString(e).format()];return t||b.throwArgumentError("no matching event","signature",e),t}getError(e){if((0,a.isHexString)(e)){const t=(0,c.getStatic)(this.constructor,"getSighash");for(const r in this.errors){if(e===t(this.errors[r]))return this.errors[r]}b.throwArgumentError("no matching error","sighash",e)}if(-1===e.indexOf("(")){const t=e.trim(),r=Object.keys(this.errors).filter((e=>e.split("(")[0]===t));return 0===r.length?b.throwArgumentError("no matching error","name",t):r.length>1&&b.throwArgumentError("multiple matching errors","name",t),this.errors[r[0]]}const t=this.errors[l.YW.fromString(e).format()];return t||b.throwArgumentError("no matching error","signature",e),t}getSighash(e){if("string"===typeof e)try{e=this.getFunction(e)}catch(t){try{e=this.getError(e)}catch(r){throw t}}return(0,c.getStatic)(this.constructor,"getSighash")(e)}getEventTopic(e){return"string"===typeof e&&(e=this.getEvent(e)),(0,c.getStatic)(this.constructor,"getEventTopic")(e)}_decodeParams(e,t){return this._abiCoder.decode(e,t)}_encodeParams(e,t){return this._abiCoder.encode(e,t)}encodeDeploy(e){return this._encodeParams(this.deploy.inputs,e||[])}decodeErrorResult(e,t){"string"===typeof e&&(e=this.getError(e));const r=(0,a.arrayify)(t);return(0,a.hexlify)(r.slice(0,4))!==this.getSighash(e)&&b.throwArgumentError("data signature does not match error ".concat(e.name,"."),"data",(0,a.hexlify)(r)),this._decodeParams(e.inputs,r.slice(4))}encodeErrorResult(e,t){return"string"===typeof e&&(e=this.getError(e)),(0,a.hexlify)((0,a.concat)([this.getSighash(e),this._encodeParams(e.inputs,t||[])]))}decodeFunctionData(e,t){"string"===typeof e&&(e=this.getFunction(e));const r=(0,a.arrayify)(t);return(0,a.hexlify)(r.slice(0,4))!==this.getSighash(e)&&b.throwArgumentError("data signature does not match function ".concat(e.name,"."),"data",(0,a.hexlify)(r)),this._decodeParams(e.inputs,r.slice(4))}encodeFunctionData(e,t){return"string"===typeof e&&(e=this.getFunction(e)),(0,a.hexlify)((0,a.concat)([this.getSighash(e),this._encodeParams(e.inputs,t||[])]))}decodeFunctionResult(e,t){"string"===typeof e&&(e=this.getFunction(e));let r=(0,a.arrayify)(t),n=null,i="",o=null,s=null,c=null;switch(r.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(e.outputs,r)}catch(u){}break;case 4:{const e=(0,a.hexlify)(r.slice(0,4)),t=g[e];if(t)o=this._abiCoder.decode(t.inputs,r.slice(4)),s=t.name,c=t.signature,t.reason&&(n=o[0]),"Error"===s?i="; VM Exception while processing transaction: reverted with reason string ".concat(JSON.stringify(o[0])):"Panic"===s&&(i="; VM Exception while processing transaction: reverted with panic code ".concat(o[0]));else try{const t=this.getError(e);o=this._abiCoder.decode(t.inputs,r.slice(4)),s=t.name,c=t.format()}catch(u){}break}}return b.throwError("call revert exception"+i,f.Logger.errors.CALL_EXCEPTION,{method:e.format(),data:(0,a.hexlify)(t),errorArgs:o,errorName:s,errorSignature:c,reason:n})}encodeFunctionResult(e,t){return"string"===typeof e&&(e=this.getFunction(e)),(0,a.hexlify)(this._abiCoder.encode(e.outputs,t||[]))}encodeFilterTopics(e,t){"string"===typeof e&&(e=this.getEvent(e)),t.length>e.inputs.length&&b.throwError("too many arguments for "+e.format(),f.Logger.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:t});let r=[];e.anonymous||r.push(this.getEventTopic(e));const n=(e,t)=>"string"===e.type?(0,o.id)(t):"bytes"===e.type?(0,s.keccak256)((0,a.hexlify)(t)):("bool"===e.type&&"boolean"===typeof t&&(t=t?"0x01":"0x00"),e.type.match(/^u?int/)&&(t=i.O$.from(t).toHexString()),"address"===e.type&&this._abiCoder.encode(["address"],[t]),(0,a.hexZeroPad)((0,a.hexlify)(t),32));for(t.forEach(((t,i)=>{let a=e.inputs[i];a.indexed?null==t?r.push(null):"array"===a.baseType||"tuple"===a.baseType?b.throwArgumentError("filtering with tuples or arrays not supported","contract."+a.name,t):Array.isArray(t)?r.push(t.map((e=>n(a,e)))):r.push(n(a,t)):null!=t&&b.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+a.name,t)}));r.length&&null===r[r.length-1];)r.pop();return r}encodeEventLog(e,t){"string"===typeof e&&(e=this.getEvent(e));const r=[],n=[],i=[];return e.anonymous||r.push(this.getEventTopic(e)),t.length!==e.inputs.length&&b.throwArgumentError("event arguments/values mismatch","values",t),e.inputs.forEach(((e,a)=>{const c=t[a];if(e.indexed)if("string"===e.type)r.push((0,o.id)(c));else if("bytes"===e.type)r.push((0,s.keccak256)(c));else{if("tuple"===e.baseType||"array"===e.baseType)throw new Error("not implemented");r.push(this._abiCoder.encode([e.type],[c]))}else n.push(e),i.push(c)})),{data:this._abiCoder.encode(n,i),topics:r}}decodeEventLog(e,t,r){if("string"===typeof e&&(e=this.getEvent(e)),null!=r&&!e.anonymous){let t=this.getEventTopic(e);(0,a.isHexString)(r[0],32)&&r[0].toLowerCase()===t||b.throwError("fragment/topic mismatch",f.Logger.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:t,value:r[0]}),r=r.slice(1)}let n=[],i=[],o=[];e.inputs.forEach(((e,t)=>{e.indexed?"string"===e.type||"bytes"===e.type||"tuple"===e.baseType||"array"===e.baseType?(n.push(l._R.fromObject({type:"bytes32",name:e.name})),o.push(!0)):(n.push(e),o.push(!1)):(i.push(e),o.push(!1))}));let s=null!=r?this._abiCoder.decode(n,(0,a.concat)(r)):null,c=this._abiCoder.decode(i,t,!0),u=[],d=0,h=0;e.inputs.forEach(((e,t)=>{if(e.indexed)if(null==s)u[t]=new m({_isIndexed:!0,hash:null});else if(o[t])u[t]=new m({_isIndexed:!0,hash:s[h++]});else try{u[t]=s[h++]}catch(r){u[t]=r}else try{u[t]=c[d++]}catch(r){u[t]=r}if(e.name&&null==u[e.name]){const r=u[t];r instanceof Error?Object.defineProperty(u,e.name,{enumerable:!0,get:()=>{throw v("property ".concat(JSON.stringify(e.name)),r)}}):u[e.name]=r}}));for(let a=0;a{throw v("index ".concat(a),e)}})}return Object.freeze(u)}parseTransaction(e){let t=this.getFunction(e.data.substring(0,10).toLowerCase());return t?new p({args:this._abiCoder.decode(t.inputs,"0x"+e.data.substring(10)),functionFragment:t,name:t.name,signature:t.format(),sighash:this.getSighash(t),value:i.O$.from(e.value||"0")}):null}parseLog(e){let t=this.getEvent(e.topics[0]);return!t||t.anonymous?null:new h({eventFragment:t,name:t.name,signature:t.format(),topic:this.getEventTopic(t),args:this.decodeEventLog(t,e.data,e.topics)})}parseError(e){const t=(0,a.hexlify)(e);let r=this.getError(t.substring(0,10).toLowerCase());return r?new y({args:this._abiCoder.decode(r.inputs,"0x"+t.substring(10)),errorFragment:r,name:r.name,signature:r.format(),sighash:this.getSighash(r)}):null}static isInterface(e){return!(!e||!e._isInterface)}}},69745:(e,t,r)=>{"use strict";r.d(t,{Sg:()=>c,zt:()=>u});var n=r(2257),i=r(30520),a=r(39502);var o=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))};const s=new a.Logger("abstract-provider/5.7.0");class c extends i.Description{static isForkEvent(e){return!(!e||!e._isForkEvent)}}class u{constructor(){s.checkAbstract(new.target,u),(0,i.defineReadOnly)(this,"_isProvider",!0)}getFeeData(){return o(this,void 0,void 0,(function*(){const{block:e,gasPrice:t}=yield(0,i.resolveProperties)({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch((e=>null))});let r=null,a=null,o=null;return e&&e.baseFeePerGas&&(r=e.baseFeePerGas,o=n.O$.from("1500000000"),a=e.baseFeePerGas.mul(2).add(o)),{lastBaseFeePerGas:r,maxFeePerGas:a,maxPriorityFeePerGas:o,gasPrice:t}}))}addListener(e,t){return this.on(e,t)}removeListener(e,t){return this.off(e,t)}static isProvider(e){return!(!e||!e._isProvider)}}},68408:(e,t,r)=>{"use strict";r.d(t,{E:()=>u,b:()=>l});var n=r(30520),i=r(39502);var a=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))};const o=new i.Logger("abstract-signer/5.7.0"),s=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],c=[i.Logger.errors.INSUFFICIENT_FUNDS,i.Logger.errors.NONCE_EXPIRED,i.Logger.errors.REPLACEMENT_UNDERPRICED];class u{constructor(){o.checkAbstract(new.target,u),(0,n.defineReadOnly)(this,"_isSigner",!0)}getBalance(e){return a(this,void 0,void 0,(function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),e)}))}getTransactionCount(e){return a(this,void 0,void 0,(function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),e)}))}estimateGas(e){return a(this,void 0,void 0,(function*(){this._checkProvider("estimateGas");const t=yield(0,n.resolveProperties)(this.checkTransaction(e));return yield this.provider.estimateGas(t)}))}call(e,t){return a(this,void 0,void 0,(function*(){this._checkProvider("call");const r=yield(0,n.resolveProperties)(this.checkTransaction(e));return yield this.provider.call(r,t)}))}sendTransaction(e){return a(this,void 0,void 0,(function*(){this._checkProvider("sendTransaction");const t=yield this.populateTransaction(e),r=yield this.signTransaction(t);return yield this.provider.sendTransaction(r)}))}getChainId(){return a(this,void 0,void 0,(function*(){this._checkProvider("getChainId");return(yield this.provider.getNetwork()).chainId}))}getGasPrice(){return a(this,void 0,void 0,(function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()}))}getFeeData(){return a(this,void 0,void 0,(function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()}))}resolveName(e){return a(this,void 0,void 0,(function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(e)}))}checkTransaction(e){for(const r in e)-1===s.indexOf(r)&&o.throwArgumentError("invalid transaction key: "+r,"transaction",e);const t=(0,n.shallowCopy)(e);return null==t.from?t.from=this.getAddress():t.from=Promise.all([Promise.resolve(t.from),this.getAddress()]).then((t=>(t[0].toLowerCase()!==t[1].toLowerCase()&&o.throwArgumentError("from address mismatch","transaction",e),t[0]))),t}populateTransaction(e){return a(this,void 0,void 0,(function*(){const t=yield(0,n.resolveProperties)(this.checkTransaction(e));null!=t.to&&(t.to=Promise.resolve(t.to).then((e=>a(this,void 0,void 0,(function*(){if(null==e)return null;const t=yield this.resolveName(e);return null==t&&o.throwArgumentError("provided ENS name resolves to null","tx.to",e),t})))),t.to.catch((e=>{})));const r=null!=t.maxFeePerGas||null!=t.maxPriorityFeePerGas;if(null==t.gasPrice||2!==t.type&&!r?0!==t.type&&1!==t.type||!r||o.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",e):o.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",e),2!==t.type&&null!=t.type||null==t.maxFeePerGas||null==t.maxPriorityFeePerGas)if(0===t.type||1===t.type)null==t.gasPrice&&(t.gasPrice=this.getGasPrice());else{const e=yield this.getFeeData();if(null==t.type)if(null!=e.maxFeePerGas&&null!=e.maxPriorityFeePerGas)if(t.type=2,null!=t.gasPrice){const e=t.gasPrice;delete t.gasPrice,t.maxFeePerGas=e,t.maxPriorityFeePerGas=e}else null==t.maxFeePerGas&&(t.maxFeePerGas=e.maxFeePerGas),null==t.maxPriorityFeePerGas&&(t.maxPriorityFeePerGas=e.maxPriorityFeePerGas);else null!=e.gasPrice?(r&&o.throwError("network does not support EIP-1559",i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),null==t.gasPrice&&(t.gasPrice=e.gasPrice),t.type=0):o.throwError("failed to get consistent fee data",i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"});else 2===t.type&&(null==t.maxFeePerGas&&(t.maxFeePerGas=e.maxFeePerGas),null==t.maxPriorityFeePerGas&&(t.maxPriorityFeePerGas=e.maxPriorityFeePerGas))}else t.type=2;return null==t.nonce&&(t.nonce=this.getTransactionCount("pending")),null==t.gasLimit&&(t.gasLimit=this.estimateGas(t).catch((e=>{if(c.indexOf(e.code)>=0)throw e;return o.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",i.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,tx:t})}))),null==t.chainId?t.chainId=this.getChainId():t.chainId=Promise.all([Promise.resolve(t.chainId),this.getChainId()]).then((t=>(0!==t[1]&&t[0]!==t[1]&&o.throwArgumentError("chainId address mismatch","transaction",e),t[0]))),yield(0,n.resolveProperties)(t)}))}_checkProvider(e){this.provider||o.throwError("missing provider",i.Logger.errors.UNSUPPORTED_OPERATION,{operation:e||"_checkProvider"})}static isSigner(e){return!(!e||!e._isSigner)}}class l extends u{constructor(e,t){super(),(0,n.defineReadOnly)(this,"address",e),(0,n.defineReadOnly)(this,"provider",t||null)}getAddress(){return Promise.resolve(this.address)}_fail(e,t){return Promise.resolve().then((()=>{o.throwError(e,i.Logger.errors.UNSUPPORTED_OPERATION,{operation:t})}))}signMessage(e){return this._fail("VoidSigner cannot sign messages","signMessage")}signTransaction(e){return this._fail("VoidSigner cannot sign transactions","signTransaction")}_signTypedData(e,t,r){return this._fail("VoidSigner cannot sign typed data","signTypedData")}connect(e){return new l(this.address,e)}}},97419:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getAddress:()=>b,getContractAddress:()=>y,getCreate2Address:()=>m,getIcapAddress:()=>p,isAddress:()=>h});var n=r(49716),i=r(2257),a=r(88062),o=r(17986);const s=new(r(39502).Logger)("address/5.7.0");function c(e){(0,n.isHexString)(e,20)||s.throwArgumentError("invalid address","address",e);const t=(e=e.toLowerCase()).substring(2).split(""),r=new Uint8Array(40);for(let n=0;n<40;n++)r[n]=t[n].charCodeAt(0);const i=(0,n.arrayify)((0,a.keccak256)(r));for(let n=0;n<40;n+=2)i[n>>1]>>4>=8&&(t[n]=t[n].toUpperCase()),(15&i[n>>1])>=8&&(t[n+1]=t[n+1].toUpperCase());return"0x"+t.join("")}const u={};for(let g=0;g<10;g++)u[String(g)]=String(g);for(let g=0;g<26;g++)u[String.fromCharCode(65+g)]=String(10+g);const l=Math.floor((f=9007199254740991,Math.log10?Math.log10(f):Math.log(f)/Math.LN10));var f;function d(e){let t=(e=(e=e.toUpperCase()).substring(4)+e.substring(0,2)+"00").split("").map((e=>u[e])).join("");for(;t.length>=l;){let e=t.substring(0,l);t=parseInt(e,10)%97+t.substring(e.length)}let r=String(98-parseInt(t,10)%97);for(;r.length<2;)r="0"+r;return r}function b(e){let t=null;if("string"!==typeof e&&s.throwArgumentError("invalid address","address",e),e.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==e.substring(0,2)&&(e="0x"+e),t=c(e),e.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&t!==e&&s.throwArgumentError("bad address checksum","address",e);else if(e.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(e.substring(2,4)!==d(e)&&s.throwArgumentError("bad icap checksum","address",e),t=(0,i.g$)(e.substring(4));t.length<40;)t="0"+t;t=c("0x"+t)}else s.throwArgumentError("invalid address","address",e);return t}function h(e){try{return b(e),!0}catch(t){}return!1}function p(e){let t=(0,i.t2)(b(e).substring(2)).toUpperCase();for(;t.length<30;)t="0"+t;return"XE"+d("XE00"+t)+t}function y(e){let t=null;try{t=b(e.from)}catch(c){s.throwArgumentError("missing from address","transaction",e)}const r=(0,n.stripZeros)((0,n.arrayify)(i.O$.from(e.nonce).toHexString()));return b((0,n.hexDataSlice)((0,a.keccak256)((0,o.encode)([t,r])),12))}function m(e,t,r){return 32!==(0,n.hexDataLength)(t)&&s.throwArgumentError("salt must be 32 bytes","salt",t),32!==(0,n.hexDataLength)(r)&&s.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",r),b((0,n.hexDataSlice)((0,a.keccak256)((0,n.concat)(["0xff",b(e),t,r])),12))}},87354:(e,t,r)=>{"use strict";r.d(t,{J:()=>i,c:()=>a});var n=r(49716);function i(e){e=atob(e);const t=[];for(let r=0;r{"use strict";r.r(t),r.d(t,{decode:()=>n.J,encode:()=>n.c});var n=r(87354)},3482:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Base32:()=>o,Base58:()=>s,BaseX:()=>a});var n=r(49716),i=r(30520);class a{constructor(e){(0,i.defineReadOnly)(this,"alphabet",e),(0,i.defineReadOnly)(this,"base",e.length),(0,i.defineReadOnly)(this,"_alphabetMap",{}),(0,i.defineReadOnly)(this,"_leader",e.charAt(0));for(let t=0;t0;)r.push(e%this.base),e=e/this.base|0}let i="";for(let n=0;0===t[n]&&n=0;--n)i+=this.alphabet[r[n]];return i}decode(e){if("string"!==typeof e)throw new TypeError("Expected String");let t=[];if(0===e.length)return new Uint8Array(t);t.push(0);for(let r=0;r>=8;for(;i>0;)t.push(255&i),i>>=8}for(let r=0;e[r]===this._leader&&r{"use strict";r.d(t,{i:()=>n});const n="bignumber/5.7.0"},2257:(e,t,r)=>{"use strict";r.d(t,{O$:()=>h,Zm:()=>d,g$:()=>v,t2:()=>w});var n=r(80518),i=r.n(n),a=r(49716),o=r(39502),s=r(86945),c=i().BN;const u=new o.Logger(s.i),l={},f=9007199254740991;function d(e){return null!=e&&(h.isBigNumber(e)||"number"===typeof e&&e%1===0||"string"===typeof e&&!!e.match(/^-?[0-9]+$/)||(0,a.isHexString)(e)||"bigint"===typeof e||(0,a.isBytes)(e))}let b=!1;class h{constructor(e,t){e!==l&&u.throwError("cannot call constructor directly; use BigNumber.from",o.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=t,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return y(m(this).fromTwos(e))}toTwos(e){return y(m(this).toTwos(e))}abs(){return"-"===this._hex[0]?h.from(this._hex.substring(1)):this}add(e){return y(m(this).add(m(e)))}sub(e){return y(m(this).sub(m(e)))}div(e){return h.from(e).isZero()&&g("division-by-zero","div"),y(m(this).div(m(e)))}mul(e){return y(m(this).mul(m(e)))}mod(e){const t=m(e);return t.isNeg()&&g("division-by-zero","mod"),y(m(this).umod(t))}pow(e){const t=m(e);return t.isNeg()&&g("negative-power","pow"),y(m(this).pow(t))}and(e){const t=m(e);return(this.isNegative()||t.isNeg())&&g("unbound-bitwise-result","and"),y(m(this).and(t))}or(e){const t=m(e);return(this.isNegative()||t.isNeg())&&g("unbound-bitwise-result","or"),y(m(this).or(t))}xor(e){const t=m(e);return(this.isNegative()||t.isNeg())&&g("unbound-bitwise-result","xor"),y(m(this).xor(t))}mask(e){return(this.isNegative()||e<0)&&g("negative-width","mask"),y(m(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&g("negative-width","shl"),y(m(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&g("negative-width","shr"),y(m(this).shrn(e))}eq(e){return m(this).eq(m(e))}lt(e){return m(this).lt(m(e))}lte(e){return m(this).lte(m(e))}gt(e){return m(this).gt(m(e))}gte(e){return m(this).gte(m(e))}isNegative(){return"-"===this._hex[0]}isZero(){return m(this).isZero()}toNumber(){try{return m(this).toNumber()}catch(e){g("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(e){}return u.throwError("this platform does not support BigInt",o.Logger.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(10===arguments[0]?b||(b=!0,u.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?u.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",o.Logger.errors.UNEXPECTED_ARGUMENT,{}):u.throwError("BigNumber.toString does not accept parameters",o.Logger.errors.UNEXPECTED_ARGUMENT,{})),m(this).toString(10)}toHexString(){return this._hex}toJSON(e){return{type:"BigNumber",hex:this.toHexString()}}static from(e){if(e instanceof h)return e;if("string"===typeof e)return e.match(/^-?0x[0-9a-f]+$/i)?new h(l,p(e)):e.match(/^-?[0-9]+$/)?new h(l,p(new c(e))):u.throwArgumentError("invalid BigNumber string","value",e);if("number"===typeof e)return e%1&&g("underflow","BigNumber.from",e),(e>=f||e<=-f)&&g("overflow","BigNumber.from",e),h.from(String(e));const t=e;if("bigint"===typeof t)return h.from(t.toString());if((0,a.isBytes)(t))return h.from((0,a.hexlify)(t));if(t)if(t.toHexString){const e=t.toHexString();if("string"===typeof e)return h.from(e)}else{let e=t._hex;if(null==e&&"BigNumber"===t.type&&(e=t.hex),"string"===typeof e&&((0,a.isHexString)(e)||"-"===e[0]&&(0,a.isHexString)(e.substring(1))))return h.from(e)}return u.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!(!e||!e._isBigNumber)}}function p(e){if("string"!==typeof e)return p(e.toString(16));if("-"===e[0])return"-"===(e=e.substring(1))[0]&&u.throwArgumentError("invalid hex","value",e),"0x00"===(e=p(e))?e:"-"+e;if("0x"!==e.substring(0,2)&&(e="0x"+e),"0x"===e)return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&"0x00"===e.substring(0,4);)e="0x"+e.substring(4);return e}function y(e){return h.from(p(e))}function m(e){const t=h.from(e).toHexString();return"-"===t[0]?new c("-"+t.substring(3),16):new c(t.substring(2),16)}function g(e,t,r){const n={fault:e,operation:t};return null!=r&&(n.value=r),u.throwError(e,o.Logger.errors.NUMERIC_FAULT,n)}function v(e){return new c(e,36).toString(16)}function w(e){return new c(e,16).toString(36)}},1503:(e,t,r)=>{"use strict";r.d(t,{Ox:()=>p,S5:()=>h,xs:()=>m});var n=r(49716),i=r(39502),a=r(86945),o=r(2257);const s=new i.Logger(a.i),c={},u=o.O$.from(0),l=o.O$.from(-1);function f(e,t,r,n){const a={fault:t,operation:r};return void 0!==n&&(a.value=n),s.throwError(e,i.Logger.errors.NUMERIC_FAULT,a)}let d="0";for(;d.length<256;)d+=d;function b(e){if("number"!==typeof e)try{e=o.O$.from(e).toNumber()}catch(t){}return"number"===typeof e&&e>=0&&e<=256&&!(e%1)?"1"+d.substring(0,e):s.throwArgumentError("invalid decimal size","decimals",e)}function h(e,t){null==t&&(t=0);const r=b(t),n=(e=o.O$.from(e)).lt(u);n&&(e=e.mul(l));let i=e.mod(r).toString();for(;i.length2&&s.throwArgumentError("too many decimal points","value",e);let a=i[0],c=i[1];for(a||(a="0"),c||(c="0");"0"===c[c.length-1];)c=c.substring(0,c.length-1);for(c.length>r.length-1&&f("fractional component exceeds decimals","underflow","parseFixed"),""===c&&(c="0");c.lengthnull==e[t]?n:(typeof e[t]!==r&&s.throwArgumentError("invalid fixed format ("+t+" not "+r+")","format."+t,e[t]),e[t]);t=i("signed","boolean",t),r=i("width","number",r),n=i("decimals","number",n)}return r%8&&s.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",r),n>80&&s.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",n),new y(c,t,r,n)}}class m{constructor(e,t,r,n){e!==c&&s.throwError("cannot use FixedNumber constructor; use FixedNumber.from",i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=n,this._hex=t,this._value=r,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(e){this.format.name!==e.format.name&&s.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}addUnsafe(e){this._checkFormat(e);const t=p(this._value,this.format.decimals),r=p(e._value,e.format.decimals);return m.fromValue(t.add(r),this.format.decimals,this.format)}subUnsafe(e){this._checkFormat(e);const t=p(this._value,this.format.decimals),r=p(e._value,e.format.decimals);return m.fromValue(t.sub(r),this.format.decimals,this.format)}mulUnsafe(e){this._checkFormat(e);const t=p(this._value,this.format.decimals),r=p(e._value,e.format.decimals);return m.fromValue(t.mul(r).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(e){this._checkFormat(e);const t=p(this._value,this.format.decimals),r=p(e._value,e.format.decimals);return m.fromValue(t.mul(this.format._multiplier).div(r),this.format.decimals,this.format)}floor(){const e=this.toString().split(".");1===e.length&&e.push("0");let t=m.from(e[0],this.format);const r=!e[1].match(/^(0*)$/);return this.isNegative()&&r&&(t=t.subUnsafe(g.toFormat(t.format))),t}ceiling(){const e=this.toString().split(".");1===e.length&&e.push("0");let t=m.from(e[0],this.format);const r=!e[1].match(/^(0*)$/);return!this.isNegative()&&r&&(t=t.addUnsafe(g.toFormat(t.format))),t}round(e){null==e&&(e=0);const t=this.toString().split(".");if(1===t.length&&t.push("0"),(e<0||e>80||e%1)&&s.throwArgumentError("invalid decimal count","decimals",e),t[1].length<=e)return this;const r=m.from("1"+d.substring(0,e),this.format),n=v.toFormat(this.format);return this.mulUnsafe(r).addUnsafe(n).floor().divUnsafe(r)}isZero(){return"0.0"===this._value||"0"===this._value}isNegative(){return"-"===this._value[0]}toString(){return this._value}toHexString(e){if(null==e)return this._hex;e%8&&s.throwArgumentError("invalid byte width","width",e);const t=o.O$.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString();return(0,n.hexZeroPad)(t,e/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(e){return m.fromString(this._value,e)}static fromValue(e,t,r){return null!=r||null==t||(0,o.Zm)(t)||(r=t,t=null),null==t&&(t=0),null==r&&(r="fixed"),m.fromString(h(e,t),y.from(r))}static fromString(e,t){null==t&&(t="fixed");const r=y.from(t),i=p(e,r.decimals);!r.signed&&i.lt(u)&&f("unsigned value cannot be negative","overflow","value",e);let a=null;r.signed?a=i.toTwos(r.width).toHexString():(a=i.toHexString(),a=(0,n.hexZeroPad)(a,r.width/8));const o=h(i,r.decimals);return new m(c,a,o,r)}static fromBytes(e,t){null==t&&(t="fixed");const r=y.from(t);if((0,n.arrayify)(e).length>r.width/8)throw new Error("overflow");let i=o.O$.from(e);r.signed&&(i=i.fromTwos(r.width));const a=i.toTwos((r.signed?0:1)+r.width).toHexString(),s=h(i,r.decimals);return new m(c,a,s,r)}static from(e,t){if("string"===typeof e)return m.fromString(e,t);if((0,n.isBytes)(e))return m.fromBytes(e,t);try{return m.fromValue(e,0,t)}catch(r){if(r.code!==i.Logger.errors.INVALID_ARGUMENT)throw r}return s.throwArgumentError("invalid FixedNumber value","value",e)}static isFixedNumber(e){return!(!e||!e._isFixedNumber)}}const g=m.from(1),v=m.from("0.5")},49716:(e,t,r)=>{"use strict";r.r(t),r.d(t,{arrayify:()=>u,concat:()=>l,hexConcat:()=>g,hexDataLength:()=>y,hexDataSlice:()=>m,hexStripZeros:()=>w,hexValue:()=>v,hexZeroPad:()=>_,hexlify:()=>p,isBytes:()=>c,isBytesLike:()=>o,isHexString:()=>b,joinSignature:()=>A,splitSignature:()=>E,stripZeros:()=>f,zeroPad:()=>d});const n=new(r(39502).Logger)("bytes/5.7.0");function i(e){return!!e.toHexString}function a(e){return e.slice||(e.slice=function(){const t=Array.prototype.slice.call(arguments);return a(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function o(e){return b(e)&&!(e.length%2)||c(e)}function s(e){return"number"===typeof e&&e==e&&e%1===0}function c(e){if(null==e)return!1;if(e.constructor===Uint8Array)return!0;if("string"===typeof e)return!1;if(!s(e.length)||e.length<0)return!1;for(let t=0;t=256)return!1}return!0}function u(e,t){if(t||(t={}),"number"===typeof e){n.checkSafeUint53(e,"invalid arrayify value");const t=[];for(;e;)t.unshift(255&e),e=parseInt(String(e/256));return 0===t.length&&t.push(0),a(new Uint8Array(t))}if(t.allowMissingPrefix&&"string"===typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),i(e)&&(e=e.toHexString()),b(e)){let r=e.substring(2);r.length%2&&("left"===t.hexPad?r="0"+r:"right"===t.hexPad?r+="0":n.throwArgumentError("hex data is odd-length","value",e));const i=[];for(let e=0;eu(e))),r=t.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(r);return t.reduce(((e,t)=>(n.set(t,e),e+t.length)),0),a(n)}function f(e){let t=u(e);if(0===t.length)return t;let r=0;for(;rt&&n.throwArgumentError("value out of range","value",arguments[0]);const r=new Uint8Array(t);return r.set(e,t-e.length),a(r)}function b(e,t){return!("string"!==typeof e||!e.match(/^0x[0-9A-Fa-f]*$/))&&(!t||e.length===2+2*t)}const h="0123456789abcdef";function p(e,t){if(t||(t={}),"number"===typeof e){n.checkSafeUint53(e,"invalid hexlify value");let t="";for(;e;)t=h[15&e]+t,e=Math.floor(e/16);return t.length?(t.length%2&&(t="0"+t),"0x"+t):"0x00"}if("bigint"===typeof e)return(e=e.toString(16)).length%2?"0x0"+e:"0x"+e;if(t.allowMissingPrefix&&"string"===typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),i(e))return e.toHexString();if(b(e))return e.length%2&&("left"===t.hexPad?e="0x0"+e.substring(2):"right"===t.hexPad?e+="0":n.throwArgumentError("hex data is odd-length","value",e)),e.toLowerCase();if(c(e)){let t="0x";for(let r=0;r>4]+h[15&n]}return t}return n.throwArgumentError("invalid hexlify value","value",e)}function y(e){if("string"!==typeof e)e=p(e);else if(!b(e)||e.length%2)return null;return(e.length-2)/2}function m(e,t,r){return"string"!==typeof e?e=p(e):(!b(e)||e.length%2)&&n.throwArgumentError("invalid hexData","value",e),t=2+2*t,null!=r?"0x"+e.substring(t,2+2*r):"0x"+e.substring(t)}function g(e){let t="0x";return e.forEach((e=>{t+=p(e).substring(2)})),t}function v(e){const t=w(p(e,{hexPad:"left"}));return"0x"===t?"0x0":t}function w(e){"string"!==typeof e&&(e=p(e)),b(e)||n.throwArgumentError("invalid hex string","value",e),e=e.substring(2);let t=0;for(;t2*t+2&&n.throwArgumentError("value out of range","value",arguments[1]);e.length<2*t+2;)e="0x0"+e.substring(2);return e}function E(e){const t={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(o(e)){let r=u(e);64===r.length?(t.v=27+(r[32]>>7),r[32]&=127,t.r=p(r.slice(0,32)),t.s=p(r.slice(32,64))):65===r.length?(t.r=p(r.slice(0,32)),t.s=p(r.slice(32,64)),t.v=r[64]):n.throwArgumentError("invalid signature string","signature",e),t.v<27&&(0===t.v||1===t.v?t.v+=27:n.throwArgumentError("signature invalid v byte","signature",e)),t.recoveryParam=1-t.v%2,t.recoveryParam&&(r[32]|=128),t._vs=p(r.slice(32,64))}else{if(t.r=e.r,t.s=e.s,t.v=e.v,t.recoveryParam=e.recoveryParam,t._vs=e._vs,null!=t._vs){const r=d(u(t._vs),32);t._vs=p(r);const i=r[0]>=128?1:0;null==t.recoveryParam?t.recoveryParam=i:t.recoveryParam!==i&&n.throwArgumentError("signature recoveryParam mismatch _vs","signature",e),r[0]&=127;const a=p(r);null==t.s?t.s=a:t.s!==a&&n.throwArgumentError("signature v mismatch _vs","signature",e)}if(null==t.recoveryParam)null==t.v?n.throwArgumentError("signature missing v and recoveryParam","signature",e):0===t.v||1===t.v?t.recoveryParam=t.v:t.recoveryParam=1-t.v%2;else if(null==t.v)t.v=27+t.recoveryParam;else{const r=0===t.v||1===t.v?t.v:1-t.v%2;t.recoveryParam!==r&&n.throwArgumentError("signature recoveryParam mismatch v","signature",e)}null!=t.r&&b(t.r)?t.r=_(t.r,32):n.throwArgumentError("signature missing or invalid r","signature",e),null!=t.s&&b(t.s)?t.s=_(t.s,32):n.throwArgumentError("signature missing or invalid s","signature",e);const r=u(t.s);r[0]>=128&&n.throwArgumentError("signature s out of range","signature",e),t.recoveryParam&&(r[0]|=128);const i=p(r);t._vs&&(b(t._vs)||n.throwArgumentError("signature invalid _vs","signature",e),t._vs=_(t._vs,32)),null==t._vs?t._vs=i:t._vs!==i&&n.throwArgumentError("signature _vs mismatch v and s","signature",e)}return t.yParityAndS=t._vs,t.compact=t.r+t.yParityAndS.substring(2),t}function A(e){return p(l([(e=E(e)).r,e.s,e.recoveryParam?"0x1c":"0x1b"]))}},68624:(e,t,r)=>{"use strict";r.d(t,{d:()=>n});const n="0x0000000000000000000000000000000000000000"},75422:(e,t,r)=>{"use strict";r.d(t,{$B:()=>l,Bz:()=>u,Ce:()=>c,PS:()=>f,Py:()=>s,_Y:()=>a,fh:()=>o,tL:()=>i});var n=r(2257);const i=n.O$.from(-1),a=n.O$.from(0),o=n.O$.from(1),s=n.O$.from(2),c=n.O$.from("1000000000000000000"),u=n.O$.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),l=n.O$.from("-0x8000000000000000000000000000000000000000000000000000000000000000"),f=n.O$.from("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")},84867:(e,t,r)=>{"use strict";r.d(t,{R:()=>n});const n="0x0000000000000000000000000000000000000000000000000000000000000000"},49366:(e,t,r)=>{"use strict";r.d(t,{i:()=>n});const n="hash/5.7.0"},51583:(e,t,r)=>{"use strict";r.d(t,{id:()=>a});var n=r(88062),i=r(83374);function a(e){return(0,n.keccak256)((0,i.Y0)(e))}},81049:(e,t,r)=>{"use strict";r.r(t),r.d(t,{_TypedDataEncoder:()=>o.E,dnsEncode:()=>i.Kn,ensNormalize:()=>i.w3,hashMessage:()=>a.r,id:()=>n.id,isValidName:()=>i.r1,messagePrefix:()=>a.B,namehash:()=>i.VM});var n=r(51583),i=r(95235),a=r(2273),o=r(35992)},2273:(e,t,r)=>{"use strict";r.d(t,{B:()=>o,r:()=>s});var n=r(49716),i=r(88062),a=r(83374);const o="\x19Ethereum Signed Message:\n";function s(e){return"string"===typeof e&&(e=(0,a.Y0)(e)),(0,i.keccak256)((0,n.concat)([(0,a.Y0)(o),(0,a.Y0)(String(e.length)),e]))}},95235:(e,t,r)=>{"use strict";r.d(t,{Kn:()=>D,w3:()=>I,r1:()=>N,VM:()=>j});var n=r(49716),i=r(83374),a=r(88062),o=r(39502),s=r(49366);function c(e,t){null==t&&(t=1);const r=[],n=r.forEach,i=function(e,t){n.call(e,(function(e){t>0&&Array.isArray(e)?i(e,t-1):r.push(e)}))};return i(e,t),r}function u(e){return function(e){let t=0;return()=>e[t++]}(function(e){let t=0;function r(){return e[t++]<<8|e[t++]}let n=r(),i=1,a=[0,1];for(let w=1;w>--c&1}const f=Math.pow(2,31),d=f>>>1,b=d>>1,h=f-1;let p=0;for(let w=0;w<31;w++)p=p<<1|l();let y=[],m=0,g=f;for(;;){let e=Math.floor(((p-m+1)*i-1)/g),t=0,r=n;for(;r-t>1;){let n=t+r>>>1;e>>1|l(),o=o<<1^d,s=(s^d)<<1|d|1;m=o,g=1+s-o}let v=n-4;return y.map((t=>{switch(t-v){case 3:return v+65792+(e[s++]<<16|e[s++]<<8|e[s++]);case 2:return v+256+(e[s++]<<8|e[s++]);case 1:return v+e[s++];default:return t-1}}))}(e))}function l(e){return 1&e?~e>>1:e>>1}function f(e,t){let r=Array(e);for(let n=0,i=-1;nt[e])):r}function h(e,t,r){let n=Array(e).fill(void 0).map((()=>[]));for(let i=0;in[t].push(e)));return n}function p(e,t){let r=1+t(),n=t(),i=function(e){let t=[];for(;;){let r=e();if(0==r)break;t.push(r)}return t}(t);return c(h(i.length,1+e,t).map(((e,t)=>{const a=e[0],o=e.slice(1);return Array(i[t]).fill(void 0).map(((e,t)=>{let i=t*n;return[a+t*r,o.map((e=>e+i))]}))})))}function y(e,t){return h(1+t(),1+e,t).map((e=>[e[0],e.slice(1)]))}const m=u((0,r(87354).J)("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA==")),g=new Set(b(m)),v=new Set(b(m)),w=function(e){let t=[];for(;;){let r=e();if(0==r)break;t.push(p(r,e))}for(;;){let r=e()-1;if(r<0)break;t.push(y(r,e))}return function(e){const t={};for(let r=0;re-t));return function r(){let n=[];for(;;){let i=b(e,t);if(0==i.length)break;n.push({set:new Set(i),node:r()})}n.sort(((e,t)=>t.set.size-e.set.size));let i=e(),a=i%3;i=i/3|0;let o=!!(1&i);return i>>=1,{branches:n,valid:a,fe0f:o,save:1==i,check:2==i}}()}(m),E=45,A=95;function S(e){return(0,i.XL)(e)}function O(e){return e.filter((e=>65039!=e))}function P(e){for(let r of e.split(".")){let e=S(r);try{for(let t=e.lastIndexOf(A)-1;t>=0;t--)if(e[t]!==A)throw new Error("underscore only allowed at start");if(e.length>=4&&e.every((e=>e<128))&&e[2]===E&&e[3]===E)throw new Error("invalid label extension")}catch(t){throw new Error('Invalid label "'.concat(r,'": ').concat(t.message))}}return e}function T(e){return P(function(e,t){let r=S(e).reverse(),n=[];for(;r.length;){let e=k(r);if(e){n.push(...t(e));continue}let i=r.pop();if(g.has(i)){n.push(i);continue}if(v.has(i))continue;let a=w[i];if(!a)throw new Error("Disallowed codepoint: 0x".concat(i.toString(16).toUpperCase()));n.push(...a)}return P((i=String.fromCodePoint(...n),i.normalize("NFC")));var i}(e,O))}function k(e,t){var r;let n,i,a=_,o=[],s=e.length;for(t&&(t.length=0);s;){let c=e[--s];if(a=null===(r=a.branches.find((e=>e.set.has(c))))||void 0===r?void 0:r.node,!a)break;if(a.save)i=c;else if(a.check&&c===i)break;o.push(c),a.fe0f&&(o.push(65039),s>0&&65039==e[s-1]&&s--),a.valid&&(n=o.slice(),2==a.valid&&n.splice(1,1),t&&t.push(...e.slice(s).reverse()),e.length=s)}return n}const M=new o.Logger(s.i),C=new Uint8Array(32);function R(e){if(0===e.length)throw new Error("invalid ENS name; empty component");return e}function x(e){const t=(0,i.Y0)(T(e)),r=[];if(0===e.length)return r;let n=0;for(let i=0;i=t.length)throw new Error("invalid ENS name; empty component");return r.push(R(t.slice(n))),r}function I(e){return x(e).map((e=>(0,i.ZN)(e))).join(".")}function N(e){try{return 0!==x(e).length}catch(t){}return!1}function j(e){"string"!==typeof e&&M.throwArgumentError("invalid ENS name; not a string","name",e);let t=C;const r=x(e);for(;r.length;)t=(0,a.keccak256)((0,n.concat)([t,(0,a.keccak256)(r.pop())]));return(0,n.hexlify)(t)}function D(e){return(0,n.hexlify)((0,n.concat)(x(e).map((e=>{if(e.length>63)throw new Error("invalid DNS encoded entry; length exceeds 63 bytes");const t=new Uint8Array(e.length+1);return t.set(e,1),t[0]=t.length-1,t}))))+"00"}C.fill(0)},35992:(e,t,r)=>{"use strict";r.d(t,{E:()=>P});var n=r(97419),i=r(2257),a=r(49716),o=r(88062),s=r(30520),c=r(39502),u=r(49366),l=r(51583),f=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))};const d=new c.Logger(u.i),b=new Uint8Array(32);b.fill(0);const h=i.O$.from(-1),p=i.O$.from(0),y=i.O$.from(1),m=i.O$.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");const g=(0,a.hexZeroPad)(y.toHexString(),32),v=(0,a.hexZeroPad)(p.toHexString(),32),w={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},_=["name","version","chainId","verifyingContract","salt"];function E(e){return function(t){return"string"!==typeof t&&d.throwArgumentError("invalid domain value for ".concat(JSON.stringify(e)),"domain.".concat(e),t),t}}const A={name:E("name"),version:E("version"),chainId:function(e){try{return i.O$.from(e).toString()}catch(t){}return d.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",e)},verifyingContract:function(e){try{return(0,n.getAddress)(e).toLowerCase()}catch(t){}return d.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",e)},salt:function(e){try{const t=(0,a.arrayify)(e);if(32!==t.length)throw new Error("bad length");return(0,a.hexlify)(t)}catch(t){}return d.throwArgumentError('invalid domain value "salt"',"domain.salt",e)}};function S(e){{const t=e.match(/^(u?)int(\d*)$/);if(t){const r=""===t[1],n=parseInt(t[2]||"256");(n%8!==0||n>256||t[2]&&t[2]!==String(n))&&d.throwArgumentError("invalid numeric width","type",e);const o=m.mask(r?n-1:n),s=r?o.add(y).mul(h):p;return function(t){const r=i.O$.from(t);return(r.lt(s)||r.gt(o))&&d.throwArgumentError("value out-of-bounds for ".concat(e),"value",t),(0,a.hexZeroPad)(r.toTwos(256).toHexString(),32)}}}{const t=e.match(/^bytes(\d+)$/);if(t){const r=parseInt(t[1]);return(0===r||r>32||t[1]!==String(r))&&d.throwArgumentError("invalid bytes width","type",e),function(t){return(0,a.arrayify)(t).length!==r&&d.throwArgumentError("invalid length for ".concat(e),"value",t),function(e){const t=(0,a.arrayify)(e),r=t.length%32;return r?(0,a.hexConcat)([t,b.slice(r)]):(0,a.hexlify)(t)}(t)}}}switch(e){case"address":return function(e){return(0,a.hexZeroPad)((0,n.getAddress)(e),32)};case"bool":return function(e){return e?g:v};case"bytes":return function(e){return(0,o.keccak256)(e)};case"string":return function(e){return(0,l.id)(e)}}return null}function O(e,t){return"".concat(e,"(").concat(t.map((e=>{let{name:t,type:r}=e;return r+" "+t})).join(","),")")}class P{constructor(e){(0,s.defineReadOnly)(this,"types",Object.freeze((0,s.deepCopy)(e))),(0,s.defineReadOnly)(this,"_encoderCache",{}),(0,s.defineReadOnly)(this,"_types",{});const t={},r={},n={};Object.keys(e).forEach((e=>{t[e]={},r[e]=[],n[e]={}}));for(const a in e){const n={};e[a].forEach((i=>{n[i.name]&&d.throwArgumentError("duplicate variable name ".concat(JSON.stringify(i.name)," in ").concat(JSON.stringify(a)),"types",e),n[i.name]=!0;const o=i.type.match(/^([^\x5b]*)(\x5b|$)/)[1];o===a&&d.throwArgumentError("circular type reference to ".concat(JSON.stringify(o)),"types",e);S(o)||(r[o]||d.throwArgumentError("unknown type ".concat(JSON.stringify(o)),"types",e),r[o].push(a),t[a][o]=!0)}))}const i=Object.keys(r).filter((e=>0===r[e].length));0===i.length?d.throwArgumentError("missing primary type","types",e):i.length>1&&d.throwArgumentError("ambiguous primary types or unused types: ".concat(i.map((e=>JSON.stringify(e))).join(", ")),"types",e),(0,s.defineReadOnly)(this,"primaryType",i[0]),function i(a,o){o[a]&&d.throwArgumentError("circular type reference to ".concat(JSON.stringify(a)),"types",e),o[a]=!0,Object.keys(t[a]).forEach((e=>{r[e]&&(i(e,o),Object.keys(o).forEach((t=>{n[t][e]=!0})))})),delete o[a]}(this.primaryType,{});for(const a in n){const t=Object.keys(n[a]);t.sort(),this._types[a]=O(a,e[a])+t.map((t=>O(t,e[t]))).join("")}}getEncoder(e){let t=this._encoderCache[e];return t||(t=this._encoderCache[e]=this._getEncoder(e)),t}_getEncoder(e){{const t=S(e);if(t)return t}const t=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(t){const e=t[1],r=this.getEncoder(e),n=parseInt(t[3]);return t=>{n>=0&&t.length!==n&&d.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",t);let i=t.map(r);return this._types[e]&&(i=i.map(o.keccak256)),(0,o.keccak256)((0,a.hexConcat)(i))}}const r=this.types[e];if(r){const t=(0,l.id)(this._types[e]);return e=>{const n=r.map((t=>{let{name:r,type:n}=t;const i=this.getEncoder(n)(e[r]);return this._types[n]?(0,o.keccak256)(i):i}));return n.unshift(t),(0,a.hexConcat)(n)}}return d.throwArgumentError("unknown type: ".concat(e),"type",e)}encodeType(e){const t=this._types[e];return t||d.throwArgumentError("unknown type: ".concat(JSON.stringify(e)),"name",e),t}encodeData(e,t){return this.getEncoder(e)(t)}hashStruct(e,t){return(0,o.keccak256)(this.encodeData(e,t))}encode(e){return this.encodeData(this.primaryType,e)}hash(e){return this.hashStruct(this.primaryType,e)}_visit(e,t,r){if(S(e))return r(e,t);const n=e.match(/^(.*)(\x5b(\d*)\x5d)$/);if(n){const e=n[1],i=parseInt(n[3]);return i>=0&&t.length!==i&&d.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",t),t.map((t=>this._visit(e,t,r)))}const i=this.types[e];return i?i.reduce(((e,n)=>{let{name:i,type:a}=n;return e[i]=this._visit(a,t[i],r),e}),{}):d.throwArgumentError("unknown type: ".concat(e),"type",e)}visit(e,t){return this._visit(this.primaryType,e,t)}static from(e){return new P(e)}static getPrimaryType(e){return P.from(e).primaryType}static hashStruct(e,t,r){return P.from(t).hashStruct(e,r)}static hashDomain(e){const t=[];for(const r in e){const n=w[r];n||d.throwArgumentError("invalid typed-data domain key: ".concat(JSON.stringify(r)),"domain",e),t.push({name:r,type:n})}return t.sort(((e,t)=>_.indexOf(e.name)-_.indexOf(t.name))),P.hashStruct("EIP712Domain",{EIP712Domain:t},e)}static encode(e,t,r){return(0,a.hexConcat)(["0x1901",P.hashDomain(e),P.from(t).hash(r)])}static hash(e,t,r){return(0,o.keccak256)(P.encode(e,t,r))}static resolveNames(e,t,r,n){return f(this,void 0,void 0,(function*(){e=(0,s.shallowCopy)(e);const i={};e.verifyingContract&&!(0,a.isHexString)(e.verifyingContract,20)&&(i[e.verifyingContract]="0x");const o=P.from(t);o.visit(r,((e,t)=>("address"!==e||(0,a.isHexString)(t,20)||(i[t]="0x"),t)));for(const e in i)i[e]=yield n(e);return e.verifyingContract&&i[e.verifyingContract]&&(e.verifyingContract=i[e.verifyingContract]),r=o.visit(r,((e,t)=>"address"===e&&i[t]?i[t]:t)),{domain:e,value:r}}))}static getPayload(e,t,r){P.hashDomain(e);const n={},o=[];_.forEach((t=>{const r=e[t];null!=r&&(n[t]=A[t](r),o.push({name:t,type:w[t]}))}));const c=P.from(t),u=(0,s.shallowCopy)(t);return u.EIP712Domain?d.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",t):u.EIP712Domain=o,c.encode(r),{types:u,domain:n,primaryType:c.primaryType,message:c.visit(r,((e,t)=>{if(e.match(/^bytes(\d*)/))return(0,a.hexlify)((0,a.arrayify)(t));if(e.match(/^u?int/))return i.O$.from(t).toString();switch(e){case"address":return t.toLowerCase();case"bool":return!!t;case"string":return"string"!==typeof t&&d.throwArgumentError("invalid string","value",t),t}return d.throwArgumentError("unsupported type","type",e)}))}}}},50117:(e,t,r)=>{"use strict";r.r(t),r.d(t,{HDNode:()=>S,defaultPath:()=>A,entropyToMnemonic:()=>T,getAccountPath:()=>M,isValidMnemonic:()=>k,mnemonicToEntropy:()=>P,mnemonicToSeed:()=>O});var n=r(3482),i=r(49716),a=r(2257),o=r(83374),s=r(72522),c=r(30520),u=r(78865),l=r(39598),f=r(24667),d=r(25452),b=r(42646);const h=new(r(39502).Logger)("hdnode/5.7.0"),p=a.O$.from("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),y=(0,o.Y0)("Bitcoin seed"),m=2147483648;function g(e){return(1<=256)throw new Error("Depth too large!");return w((0,i.concat)([null!=this.privateKey?"0x0488ADE4":"0x0488B21E",(0,i.hexlify)(this.depth),this.parentFingerprint,(0,i.hexZeroPad)((0,i.hexlify)(this.index),4),this.chainCode,null!=this.privateKey?(0,i.concat)(["0x00",this.privateKey]):this.publicKey]))}neuter(){return new S(E,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)}_derive(e){if(e>4294967295)throw new Error("invalid index - "+String(e));let t=this.path;t&&(t+="/"+(e&~m));const r=new Uint8Array(37);if(e&m){if(!this.privateKey)throw new Error("cannot derive child of neutered node");r.set((0,i.arrayify)(this.privateKey),1),t&&(t+="'")}else r.set((0,i.arrayify)(this.publicKey));for(let i=24;i>=0;i-=8)r[33+(i>>3)]=e>>24-i&255;const n=(0,i.arrayify)((0,l.Gy)(f.p.sha512,this.chainCode,r)),o=n.slice(0,32),s=n.slice(32);let c=null,d=null;if(this.privateKey)c=v(a.O$.from(o).add(this.privateKey).mod(p));else{d=new u.SigningKey((0,i.hexlify)(o))._addPoint(this.publicKey)}let b=t;const h=this.mnemonic;return h&&(b=Object.freeze({phrase:h.phrase,path:t,locale:h.locale||"en"})),new S(E,c,d,this.fingerprint,v(s),e,this.depth+1,b)}derivePath(e){const t=e.split("/");if(0===t.length||"m"===t[0]&&0!==this.depth)throw new Error("invalid path - "+e);"m"===t[0]&&t.shift();let r=this;for(let n=0;n=m)throw new Error("invalid path index - "+e);r=r._derive(m+t)}else{if(!e.match(/^[0-9]+$/))throw new Error("invalid path component - "+e);{const t=parseInt(e);if(t>=m)throw new Error("invalid path index - "+e);r=r._derive(t)}}}return r}static _fromSeed(e,t){const r=(0,i.arrayify)(e);if(r.length<16||r.length>64)throw new Error("invalid seed");const n=(0,i.arrayify)((0,l.Gy)(f.p.sha512,y,r));return new S(E,v(n.slice(0,32)),null,"0x00000000",v(n.slice(32)),0,0,t)}static fromMnemonic(e,t,r){return e=T(P(e,r=_(r)),r),S._fromSeed(O(e,t),{phrase:e,path:"m",locale:r.locale})}static fromSeed(e){return S._fromSeed(e,null)}static fromExtendedKey(e){const t=n.Base58.decode(e);82===t.length&&w(t.slice(0,78))===e||h.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");const r=t[4],a=(0,i.hexlify)(t.slice(5,9)),o=parseInt((0,i.hexlify)(t.slice(9,13)).substring(2),16),s=(0,i.hexlify)(t.slice(13,45)),c=t.slice(45,78);switch((0,i.hexlify)(t.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new S(E,null,(0,i.hexlify)(c),a,s,o,r,null);case"0x0488ade4":case"0x04358394 ":if(0!==c[0])break;return new S(E,(0,i.hexlify)(c.slice(1)),null,a,s,o,r,null)}return h.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")}}function O(e,t){t||(t="");const r=(0,o.Y0)("mnemonic"+t,o.Uj.NFKD);return(0,s.n)((0,o.Y0)(e,o.Uj.NFKD),r,2048,64,"sha512")}function P(e,t){t=_(t),h.checkNormalize();const r=t.split(e);if(r.length%3!==0)throw new Error("invalid mnemonic");const n=(0,i.arrayify)(new Uint8Array(Math.ceil(11*r.length/8)));let a=0;for(let i=0;i>3]|=1<<7-a%8),a++}const o=32*r.length/3,s=g(r.length/3);if(((0,i.arrayify)((0,l.JQ)(n.slice(0,o/8)))[0]&s)!==(n[n.length-1]&s))throw new Error("invalid checksum");return(0,i.hexlify)(n.slice(0,o/8))}function T(e,t){if(t=_(t),(e=(0,i.arrayify)(e)).length%4!==0||e.length<16||e.length>32)throw new Error("invalid entropy");const r=[0];let n=11;for(let i=0;i8?(r[r.length-1]<<=8,r[r.length-1]|=e[i],n-=8):(r[r.length-1]<<=n,r[r.length-1]|=e[i]>>8-n,r.push(e[i]&(1<<8-n)-1),n+=3);const a=e.length/4,o=(0,i.arrayify)((0,l.JQ)(e))[0]&g(a);return r[r.length-1]<<=a,r[r.length-1]|=o>>8-a,t.join(r.map((e=>t.getWord(e))))}function k(e,t){try{return P(e,t),!0}catch(r){}return!1}function M(e){return("number"!==typeof e||e<0||e>=m||e%1)&&h.throwArgumentError("invalid account index","index",e),"m/44'/60'/".concat(e,"'/0/0")}},95382:(e,t,r)=>{"use strict";r.d(t,{i:()=>n});const n="json-wallets/5.7.0"},87623:(e,t,r)=>{"use strict";r.r(t),r.d(t,{decryptCrowdsale:()=>y,decryptJsonWallet:()=>v,decryptJsonWalletSync:()=>w,decryptKeystore:()=>g.pe,decryptKeystoreSync:()=>g.hb,encryptKeystore:()=>g.HI,getJsonWalletAddress:()=>m.Rb,isCrowdsaleWallet:()=>m.LW,isKeystoreWallet:()=>m.aO});var n=r(30468),i=r.n(n),a=r(97419),o=r(49716),s=r(88062),c=r(72522),u=r(83374),l=r(30520),f=r(39502),d=r(95382),b=r(58661);const h=new f.Logger(d.i);class p extends l.Description{isCrowdsaleAccount(e){return!(!e||!e._isCrowdsaleAccount)}}function y(e,t){const r=JSON.parse(e);t=(0,b.Ij)(t);const n=(0,a.getAddress)((0,b.gx)(r,"ethaddr")),l=(0,b.p3)((0,b.gx)(r,"encseed"));l&&l.length%16===0||h.throwArgumentError("invalid encseed","json",e);const f=(0,o.arrayify)((0,c.n)(t,t,2e3,32,"sha256")).slice(0,16),d=l.slice(0,16),y=l.slice(16),m=new(i().ModeOfOperation.cbc)(f,d),g=i().padding.pkcs7.strip((0,o.arrayify)(m.decrypt(y)));let v="";for(let i=0;i{"use strict";r.d(t,{LW:()=>i,Rb:()=>o,aO:()=>a});var n=r(97419);function i(e){let t=null;try{t=JSON.parse(e)}catch(r){return!1}return t.encseed&&t.ethaddr}function a(e){let t=null;try{t=JSON.parse(e)}catch(r){return!1}return!(!t.version||parseInt(t.version)!==t.version||3!==parseInt(t.version))}function o(e){if(i(e))try{return(0,n.getAddress)(JSON.parse(e).ethaddr)}catch(t){return null}if(a(e))try{return(0,n.getAddress)(JSON.parse(e).address)}catch(t){return null}return null}},13463:(e,t,r)=>{"use strict";r.d(t,{HI:()=>k,hb:()=>P,pe:()=>T});var n=r(30468),i=r.n(n),a=r(12065),o=r.n(a),s=r(97419),c=r(49716),u=r(50117),l=r(88062),f=r(72522),d=r(15244),b=r(30520),h=r(25452),p=r(58661),y=r(39502),m=r(95382),g=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))};const v=new y.Logger(m.i);function w(e){return null!=e&&e.mnemonic&&e.mnemonic.phrase}class _ extends b.Description{isKeystoreAccount(e){return!(!e||!e._isKeystoreAccount)}}function E(e,t){const r=(0,p.p3)((0,p.gx)(e,"crypto/ciphertext"));if((0,c.hexlify)((0,l.keccak256)((0,c.concat)([t.slice(16,32),r]))).substring(2)!==(0,p.gx)(e,"crypto/mac").toLowerCase())throw new Error("invalid password");const n=function(e,t,r){if("aes-128-ctr"===(0,p.gx)(e,"crypto/cipher")){const n=(0,p.p3)((0,p.gx)(e,"crypto/cipherparams/iv")),a=new(i().Counter)(n),o=new(i().ModeOfOperation.ctr)(t,a);return(0,c.arrayify)(o.decrypt(r))}return null}(e,t.slice(0,16),r);n||v.throwError("unsupported cipher",y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"decrypt"});const a=t.slice(32,64),o=(0,h.computeAddress)(n);if(e.address){let t=e.address.toLowerCase();if("0x"!==t.substring(0,2)&&(t="0x"+t),(0,s.getAddress)(t)!==o)throw new Error("address mismatch")}const f={_isKeystoreAccount:!0,address:o,privateKey:(0,c.hexlify)(n)};if("0.1"===(0,p.gx)(e,"x-ethers/version")){const t=(0,p.p3)((0,p.gx)(e,"x-ethers/mnemonicCiphertext")),r=(0,p.p3)((0,p.gx)(e,"x-ethers/mnemonicCounter")),n=new(i().Counter)(r),o=new(i().ModeOfOperation.ctr)(a,n),s=(0,p.gx)(e,"x-ethers/path")||u.defaultPath,l=(0,p.gx)(e,"x-ethers/locale")||"en",b=(0,c.arrayify)(o.decrypt(t));try{const e=(0,u.entropyToMnemonic)(b,l),t=u.HDNode.fromMnemonic(e,null,l).derivePath(s);if(t.privateKey!=f.privateKey)throw new Error("mnemonic mismatch");f.mnemonic=t.mnemonic}catch(d){if(d.code!==y.Logger.errors.INVALID_ARGUMENT||"wordlist"!==d.argument)throw d}}return new _(f)}function A(e,t,r,n,i){return(0,c.arrayify)((0,f.n)(e,t,r,n,i))}function S(e,t,r,n,i){return Promise.resolve(A(e,t,r,n,i))}function O(e,t,r,n,i){const a=(0,p.Ij)(t),o=(0,p.gx)(e,"crypto/kdf");if(o&&"string"===typeof o){const t=function(e,t){return v.throwArgumentError("invalid key-derivation function parameters",e,t)};if("scrypt"===o.toLowerCase()){const r=(0,p.p3)((0,p.gx)(e,"crypto/kdfparams/salt")),s=parseInt((0,p.gx)(e,"crypto/kdfparams/n")),c=parseInt((0,p.gx)(e,"crypto/kdfparams/r")),u=parseInt((0,p.gx)(e,"crypto/kdfparams/p"));s&&c&&u||t("kdf",o),0!==(s&s-1)&&t("N",s);const l=parseInt((0,p.gx)(e,"crypto/kdfparams/dklen"));return 32!==l&&t("dklen",l),n(a,r,s,c,u,64,i)}if("pbkdf2"===o.toLowerCase()){const n=(0,p.p3)((0,p.gx)(e,"crypto/kdfparams/salt"));let i=null;const o=(0,p.gx)(e,"crypto/kdfparams/prf");"hmac-sha256"===o?i="sha256":"hmac-sha512"===o?i="sha512":t("prf",o);const s=parseInt((0,p.gx)(e,"crypto/kdfparams/c")),c=parseInt((0,p.gx)(e,"crypto/kdfparams/dklen"));return 32!==c&&t("dklen",c),r(a,n,s,c,i)}}return v.throwArgumentError("unsupported key-derivation function","kdf",o)}function P(e,t){const r=JSON.parse(e);return E(r,O(r,t,A,o().syncScrypt))}function T(e,t,r){return g(this,void 0,void 0,(function*(){const n=JSON.parse(e);return E(n,yield O(n,t,S,o().scrypt,r))}))}function k(e,t,r,n){try{if((0,s.getAddress)(e.address)!==(0,h.computeAddress)(e.privateKey))throw new Error("address/privateKey mismatch");if(w(e)){const t=e.mnemonic;if(u.HDNode.fromMnemonic(t.phrase,null,t.locale).derivePath(t.path||u.defaultPath).privateKey!=e.privateKey)throw new Error("mnemonic mismatch")}}catch(P){return Promise.reject(P)}"function"!==typeof r||n||(n=r,r={}),r||(r={});const a=(0,c.arrayify)(e.privateKey),f=(0,p.Ij)(t);let b=null,y=null,m=null;if(w(e)){const t=e.mnemonic;b=(0,c.arrayify)((0,u.mnemonicToEntropy)(t.phrase,t.locale||"en")),y=t.path||u.defaultPath,m=t.locale||"en"}let g=r.client;g||(g="ethers.js");let v=null;v=r.salt?(0,c.arrayify)(r.salt):(0,d.O)(32);let _=null;if(r.iv){if(_=(0,c.arrayify)(r.iv),16!==_.length)throw new Error("invalid iv")}else _=(0,d.O)(16);let E=null;if(r.uuid){if(E=(0,c.arrayify)(r.uuid),16!==E.length)throw new Error("invalid uuid")}else E=(0,d.O)(16);let A=1<<17,S=8,O=1;return r.scrypt&&(r.scrypt.N&&(A=r.scrypt.N),r.scrypt.r&&(S=r.scrypt.r),r.scrypt.p&&(O=r.scrypt.p)),o().scrypt(f,v,A,S,O,64,n).then((t=>{const r=(t=(0,c.arrayify)(t)).slice(0,16),n=t.slice(16,32),o=t.slice(32,64),s=new(i().Counter)(_),u=new(i().ModeOfOperation.ctr)(r,s),f=(0,c.arrayify)(u.encrypt(a)),h=(0,l.keccak256)((0,c.concat)([n,f])),w={address:e.address.substring(2).toLowerCase(),id:(0,p.EH)(E),version:3,crypto:{cipher:"aes-128-ctr",cipherparams:{iv:(0,c.hexlify)(_).substring(2)},ciphertext:(0,c.hexlify)(f).substring(2),kdf:"scrypt",kdfparams:{salt:(0,c.hexlify)(v).substring(2),n:A,dklen:32,p:O,r:S},mac:h.substring(2)}};if(b){const e=(0,d.O)(16),t=new(i().Counter)(e),r=new(i().ModeOfOperation.ctr)(o,t),n=(0,c.arrayify)(r.encrypt(b)),a=new Date,s=a.getUTCFullYear()+"-"+(0,p.VP)(a.getUTCMonth()+1,2)+"-"+(0,p.VP)(a.getUTCDate(),2)+"T"+(0,p.VP)(a.getUTCHours(),2)+"-"+(0,p.VP)(a.getUTCMinutes(),2)+"-"+(0,p.VP)(a.getUTCSeconds(),2)+".0Z";w["x-ethers"]={client:g,gethFilename:"UTC--"+s+"--"+w.address,mnemonicCounter:(0,c.hexlify)(e).substring(2),mnemonicCiphertext:(0,c.hexlify)(n).substring(2),path:y,locale:m,version:"0.1"}}return JSON.stringify(w)}))}},58661:(e,t,r)=>{"use strict";r.d(t,{EH:()=>u,Ij:()=>s,VP:()=>o,gx:()=>c,p3:()=>a});var n=r(49716),i=r(83374);function a(e){return"string"===typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),(0,n.arrayify)(e)}function o(e,t){for(e=String(e);e.length{"use strict";r.r(t),r.d(t,{keccak256:()=>o});var n=r(27898),i=r.n(n),a=r(49716);function o(e){return"0x"+i().keccak_256((0,a.arrayify)(e))}},39502:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ErrorCode:()=>l,LogLevel:()=>u,Logger:()=>d});let n=!1,i=!1;const a={debug:1,default:2,info:2,warning:3,error:4,off:5};let o=a.default,s=null;const c=function(){try{const e=[];if(["NFD","NFC","NFKD","NFKC"].forEach((t=>{try{if("test"!=="test".normalize(t))throw new Error("bad normalize")}catch(r){e.push(t)}})),e.length)throw new Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(e){return e.message}return null}();var u,l;!function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"}(u||(u={})),function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"}(l||(l={}));const f="0123456789abcdef";class d{constructor(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}_log(e,t){const r=e.toLowerCase();null==a[r]&&this.throwArgumentError("invalid log level name","logLevel",e),o>a[r]||console.log.apply(console,t)}debug(){for(var e=arguments.length,t=new Array(e),r=0;r{const t=r[e];try{if(t instanceof Uint8Array){let r="";for(let e=0;e>4],r+=f[15&t[e]];n.push(e+"=Uint8Array(0x"+r+")")}else n.push(e+"="+JSON.stringify(t))}catch(s){n.push(e+"="+JSON.stringify(r[e].toString()))}})),n.push("code=".concat(t)),n.push("version=".concat(this.version));const a=e;let o="";switch(t){case l.NUMERIC_FAULT:{o="NUMERIC_FAULT";const t=e;switch(t){case"overflow":case"underflow":case"division-by-zero":o+="-"+t;break;case"negative-power":case"negative-width":o+="-unsupported";break;case"unbound-bitwise-result":o+="-unbound-result"}break}case l.CALL_EXCEPTION:case l.INSUFFICIENT_FUNDS:case l.MISSING_NEW:case l.NONCE_EXPIRED:case l.REPLACEMENT_UNDERPRICED:case l.TRANSACTION_REPLACED:case l.UNPREDICTABLE_GAS_LIMIT:o=t}o&&(e+=" [ See: https://links.ethers.org/v5-errors-"+o+" ]"),n.length&&(e+=" ("+n.join(", ")+")");const s=new Error(e);return s.reason=a,s.code=t,Object.keys(r).forEach((function(e){s[e]=r[e]})),s}throwError(e,t,r){throw this.makeError(e,t,r)}throwArgumentError(e,t,r){return this.throwError(e,d.errors.INVALID_ARGUMENT,{argument:t,value:r})}assert(e,t,r,n){e||this.throwError(t,r,n)}assertArgument(e,t,r,n){e||this.throwArgumentError(t,r,n)}checkNormalize(e){null==e&&(e="platform missing String.prototype.normalize"),c&&this.throwError("platform missing String.prototype.normalize",d.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:c})}checkSafeUint53(e,t){"number"===typeof e&&(null==t&&(t="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(t,d.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(t,d.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}checkArgumentCount(e,t,r){r=r?": "+r:"",et&&this.throwError("too many arguments"+r,d.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:t})}checkNew(e,t){e!==Object&&null!=e||this.throwError("missing new",d.errors.MISSING_NEW,{name:t.name})}checkAbstract(e,t){e===t?this.throwError("cannot instantiate abstract class "+JSON.stringify(t.name)+" directly; use a sub-class",d.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):e!==Object&&null!=e||this.throwError("missing new",d.errors.MISSING_NEW,{name:t.name})}static globalLogger(){return s||(s=new d("logger/5.7.0")),s}static setCensorship(e,t){if(!e&&t&&this.globalLogger().throwError("cannot permanently disable censorship",d.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),n){if(!e)return;this.globalLogger().throwError("error censorship permanent",d.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}i=!!e,n=!!t}static setLogLevel(e){const t=a[e.toLowerCase()];null!=t?o=t:d.globalLogger().warn("invalid log level - "+e)}static from(e){return new d(e)}}d.errors=l,d.levels=u},79083:(e,t,r)=>{"use strict";r.d(t,{H:()=>l});const n=new(r(39502).Logger)("networks/5.7.1");function i(e){const t=function(t,r){null==r&&(r={});const n=[];if(t.InfuraProvider&&"-"!==r.infura)try{n.push(new t.InfuraProvider(e,r.infura))}catch(i){}if(t.EtherscanProvider&&"-"!==r.etherscan)try{n.push(new t.EtherscanProvider(e,r.etherscan))}catch(i){}if(t.AlchemyProvider&&"-"!==r.alchemy)try{n.push(new t.AlchemyProvider(e,r.alchemy))}catch(i){}if(t.PocketProvider&&"-"!==r.pocket){const a=["goerli","ropsten","rinkeby","sepolia"];try{const i=new t.PocketProvider(e,r.pocket);i.network&&-1===a.indexOf(i.network.name)&&n.push(i)}catch(i){}}if(t.CloudflareProvider&&"-"!==r.cloudflare)try{n.push(new t.CloudflareProvider(e))}catch(i){}if(t.AnkrProvider&&"-"!==r.ankr)try{const i=["ropsten"],a=new t.AnkrProvider(e,r.ankr);a.network&&-1===i.indexOf(a.network.name)&&n.push(a)}catch(i){}if(0===n.length)return null;if(t.FallbackProvider){let i=1;return null!=r.quorum?i=r.quorum:"homestead"===e&&(i=2),new t.FallbackProvider(n,i)}return n[0]};return t.renetwork=function(e){return i(e)},t}function a(e,t){const r=function(r,n){return r.JsonRpcProvider?new r.JsonRpcProvider(e,t):null};return r.renetwork=function(t){return a(e,t)},r}const o={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:i("homestead")},s={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:i("ropsten")},c={chainId:63,name:"classicMordor",_defaultProvider:a("https://www.ethercluster.com/mordor","classicMordor")},u={unspecified:{chainId:0,name:"unspecified"},homestead:o,mainnet:o,morden:{chainId:2,name:"morden"},ropsten:s,testnet:s,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:i("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:i("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:i("goerli")},kintsugi:{chainId:1337702,name:"kintsugi"},sepolia:{chainId:11155111,name:"sepolia",_defaultProvider:i("sepolia")},classic:{chainId:61,name:"classic",_defaultProvider:a("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:c,classicTestnet:c,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:a("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic",_defaultProvider:i("matic")},maticmum:{chainId:80001,name:"maticmum"},optimism:{chainId:10,name:"optimism",_defaultProvider:i("optimism")},"optimism-kovan":{chainId:69,name:"optimism-kovan"},"optimism-goerli":{chainId:420,name:"optimism-goerli"},arbitrum:{chainId:42161,name:"arbitrum"},"arbitrum-rinkeby":{chainId:421611,name:"arbitrum-rinkeby"},"arbitrum-goerli":{chainId:421613,name:"arbitrum-goerli"},bnb:{chainId:56,name:"bnb"},bnbt:{chainId:97,name:"bnbt"}};function l(e){if(null==e)return null;if("number"===typeof e){for(const t in u){const r=u[t];if(r.chainId===e)return{name:r.name,chainId:r.chainId,ensAddress:r.ensAddress||null,_defaultProvider:r._defaultProvider||null}}return{chainId:e,name:"unknown"}}if("string"===typeof e){const t=u[e];return null==t?null:{name:t.name,chainId:t.chainId,ensAddress:t.ensAddress,_defaultProvider:t._defaultProvider||null}}const t=u[e.name];if(!t)return"number"!==typeof e.chainId&&n.throwArgumentError("invalid network chainId","network",e),e;0!==e.chainId&&e.chainId!==t.chainId&&n.throwArgumentError("network chainId mismatch","network",e);let r=e._defaultProvider||null;var i;return null==r&&t._defaultProvider&&(r=(i=t._defaultProvider)&&"function"===typeof i.renetwork?t._defaultProvider.renetwork(e):t._defaultProvider),{name:e.name,chainId:t.chainId,ensAddress:e.ensAddress||t.ensAddress||null,_defaultProvider:r}}},72522:(e,t,r)=>{"use strict";r.d(t,{n:()=>a});var n=r(49716),i=r(39598);function a(e,t,r,a,o){let s;e=(0,n.arrayify)(e),t=(0,n.arrayify)(t);let c=1;const u=new Uint8Array(a),l=new Uint8Array(t.length+4);let f,d;l.set(t);for(let b=1;b<=c;b++){l[t.length]=b>>24&255,l[t.length+1]=b>>16&255,l[t.length+2]=b>>8&255,l[t.length+3]=255&b;let h=(0,n.arrayify)((0,i.Gy)(o,e,l));s||(s=h.length,d=new Uint8Array(s),c=Math.ceil(a/s),f=a-(c-1)*s),d.set(h);for(let t=1;t{"use strict";r.r(t),r.d(t,{Description:()=>p,checkProperties:()=>u,deepCopy:()=>h,defineReadOnly:()=>o,getStatic:()=>s,resolveProperties:()=>c,shallowCopy:()=>l});var n=r(39502);var i=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))};const a=new n.Logger("properties/5.7.0");function o(e,t,r){Object.defineProperty(e,t,{enumerable:!0,value:r,writable:!1})}function s(e,t){for(let r=0;r<32;r++){if(e[t])return e[t];if(!e.prototype||"object"!==typeof e.prototype)break;e=Object.getPrototypeOf(e.prototype).constructor}return null}function c(e){return i(this,void 0,void 0,(function*(){const t=Object.keys(e).map((t=>{const r=e[t];return Promise.resolve(r).then((e=>({key:t,value:e})))}));return(yield Promise.all(t)).reduce(((e,t)=>(e[t.key]=t.value,e)),{})}))}function u(e,t){e&&"object"===typeof e||a.throwArgumentError("invalid object","object",e),Object.keys(e).forEach((r=>{t[r]||a.throwArgumentError("invalid object key - "+r,"transaction:"+r,e)}))}function l(e){const t={};for(const r in e)t[r]=e[r];return t}const f={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function d(e){if(void 0===e||null===e||f[typeof e])return!0;if(Array.isArray(e)||"object"===typeof e){if(!Object.isFrozen(e))return!1;const r=Object.keys(e);for(let n=0;nh(e))));if("object"===typeof e){const t={};for(const r in e){const n=e[r];void 0!==n&&o(t,r,h(n))}return t}return a.throwArgumentError("Cannot deepCopy ".concat(typeof e),"object",e)}function h(e){return b(e)}class p{constructor(e){for(const t in e)this[t]=h(e[t])}}},77059:(e,t,r)=>{"use strict";r.d(t,{i:()=>n});const n="providers/5.7.2"},9970:(e,t,r)=>{"use strict";r.d(t,{H2:()=>U,Zk:()=>G});var n=r(69745),i=r(87354),a=r(3482),o=r(2257),s=r(49716),c=r(84867),u=r(95235),l=r(79083),f=r(30520),d=r(39598),b=r(83374),h=r(65889),p=r(31360),y=r.n(p),m=r(39502),g=r(77059),v=r(66720),w=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))};const _=new m.Logger(g.i);function E(e){return null==e?"null":(32!==(0,s.hexDataLength)(e)&&_.throwArgumentError("invalid topic","topic",e),e.toLowerCase())}function A(e){for(e=e.slice();e.length>0&&null==e[e.length-1];)e.pop();return e.map((e=>{if(Array.isArray(e)){const t={};e.forEach((e=>{t[E(e)]=!0}));const r=Object.keys(t);return r.sort(),r.join("|")}return E(e)})).join("&")}function S(e){if("string"===typeof e){if(e=e.toLowerCase(),32===(0,s.hexDataLength)(e))return"tx:"+e;if(-1===e.indexOf(":"))return e}else{if(Array.isArray(e))return"filter:*:"+A(e);if(n.Sg.isForkEvent(e))throw _.warn("not implemented"),new Error("not implemented");if(e&&"object"===typeof e)return"filter:"+(e.address||"*")+":"+A(e.topics||[])}throw new Error("invalid event - "+e)}function O(){return(new Date).getTime()}function P(e){return new Promise((t=>{setTimeout(t,e)}))}const T=["block","network","pending","poll"];class k{constructor(e,t,r){(0,f.defineReadOnly)(this,"tag",e),(0,f.defineReadOnly)(this,"listener",t),(0,f.defineReadOnly)(this,"once",r),this._lastBlockNumber=-2,this._inflight=!1}get event(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag}get type(){return this.tag.split(":")[0]}get hash(){const e=this.tag.split(":");return"tx"!==e[0]?null:e[1]}get filter(){const e=this.tag.split(":");if("filter"!==e[0])return null;const t=e[1],r=""===(n=e[2])?[]:n.split(/&/g).map((e=>{if(""===e)return[];const t=e.split("|").map((e=>"null"===e?null:e));return 1===t.length?t[0]:t}));var n;const i={};return r.length>0&&(i.topics=r),t&&"*"!==t&&(i.address=t),i}pollable(){return this.tag.indexOf(":")>=0||T.indexOf(this.tag)>=0}}const M={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function C(e){return(0,s.hexZeroPad)(o.O$.from(e).toHexString(),32)}function R(e){return a.Base58.encode((0,s.concat)([e,(0,s.hexDataSlice)((0,d.JQ)((0,d.JQ)(e)),0,4)]))}const x=new RegExp("^(ipfs)://(.*)$","i"),I=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),x,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function N(e,t){try{return(0,b.ZN)(j(e,t))}catch(r){}return null}function j(e,t){if("0x"===e)return null;const r=o.O$.from((0,s.hexDataSlice)(e,t,t+32)).toNumber(),n=o.O$.from((0,s.hexDataSlice)(e,r,r+32)).toNumber();return(0,s.hexDataSlice)(e,r+32,r+32+n)}function D(e){return e.match(/^ipfs:\/\/ipfs\//i)?e=e.substring(12):e.match(/^ipfs:\/\//i)?e=e.substring(7):_.throwArgumentError("unsupported IPFS format","link",e),"https://gateway.ipfs.io/ipfs/".concat(e)}function L(e){const t=(0,s.arrayify)(e);if(t.length>32)throw new Error("internal; should not happen");const r=new Uint8Array(32);return r.set(t,32-t.length),r}function F(e){if(e.length%32===0)return e;const t=new Uint8Array(32*Math.ceil(e.length/32));return t.set(e),t}function B(e){const t=[];let r=0;for(let n=0;no.O$.from(e).eq(1))).catch((e=>{if(e.code===m.Logger.errors.CALL_EXCEPTION)return!1;throw this._supportsEip2544=null,e}))),this._supportsEip2544}_fetch(e,t){return w(this,void 0,void 0,(function*(){const r={to:this.address,ccipReadEnabled:!0,data:(0,s.hexConcat)([e,(0,u.VM)(this.name),t||"0x"])};let n=!1;(yield this.supportsWildcard())&&(n=!0,r.data=(0,s.hexConcat)(["0x9061b923",B([(0,u.Kn)(this.name),r.data])]));try{let e=yield this.provider.call(r);return(0,s.arrayify)(e).length%32===4&&_.throwError("resolver threw error",m.Logger.errors.CALL_EXCEPTION,{transaction:r,data:e}),n&&(e=j(e,0)),e}catch(i){if(i.code===m.Logger.errors.CALL_EXCEPTION)return null;throw i}}))}_fetchBytes(e,t){return w(this,void 0,void 0,(function*(){const r=yield this._fetch(e,t);return null!=r?j(r,0):null}))}_getAddress(e,t){const r=M[String(e)];if(null==r&&_.throwError("unsupported coin type: ".concat(e),m.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress(".concat(e,")")}),"eth"===r.ilk)return this.provider.formatter.address(t);const n=(0,s.arrayify)(t);if(null!=r.p2pkh){const e=t.match(/^0x76a9([0-9a-f][0-9a-f])([0-9a-f]*)88ac$/);if(e){const t=parseInt(e[1],16);if(e[2].length===2*t&&t>=1&&t<=75)return R((0,s.concat)([[r.p2pkh],"0x"+e[2]]))}}if(null!=r.p2sh){const e=t.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(e){const t=parseInt(e[1],16);if(e[2].length===2*t&&t>=1&&t<=75)return R((0,s.concat)([[r.p2sh],"0x"+e[2]]))}}if(null!=r.prefix){const e=n[1];let t=n[0];if(0===t?20!==e&&32!==e&&(t=-1):t=-1,t>=0&&n.length===2+e&&e>=1&&e<=75){const e=y().toWords(n.slice(2));return e.unshift(t),y().encode(r.prefix,e)}}return null}getAddress(e){return w(this,void 0,void 0,(function*(){if(null==e&&(e=60),60===e)try{const e=yield this._fetch("0x3b3b57de");return"0x"===e||e===c.R?null:this.provider.formatter.callAddress(e)}catch(n){if(n.code===m.Logger.errors.CALL_EXCEPTION)return null;throw n}const t=yield this._fetchBytes("0xf1cb7e06",C(e));if(null==t||"0x"===t)return null;const r=this._getAddress(e,t);return null==r&&_.throwError("invalid or unsupported coin data",m.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress(".concat(e,")"),coinType:e,data:t}),r}))}getAvatar(){return w(this,void 0,void 0,(function*(){const e=[{type:"name",content:this.name}];try{const t=yield this.getText("avatar");if(null==t)return null;for(let r=0;re[t]))}return _.throwError("invalid or unsupported content hash data",m.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getContentHash()",data:e})}))}getText(e){return w(this,void 0,void 0,(function*(){let t=(0,b.Y0)(e);t=(0,s.concat)([C(64),C(t.length),t]),t.length%32!==0&&(t=(0,s.concat)([t,(0,s.hexZeroPad)("0x",32-e.length%32)]));const r=yield this._fetchBytes("0x59d1d43c",(0,s.hexlify)(t));return null==r||"0x"===r?null:(0,b.ZN)(r)}))}}let z=null,V=1;class G extends n.zt{constructor(e){if(super(),this._events=[],this._emitted={block:-2},this.disableCcipRead=!1,this.formatter=new.target.getFormatter(),(0,f.defineReadOnly)(this,"anyNetwork","any"===e),this.anyNetwork&&(e=this.detectNetwork()),e instanceof Promise)this._networkPromise=e,e.catch((e=>{})),this._ready().catch((e=>{}));else{const t=(0,f.getStatic)(new.target,"getNetwork")(e);t?((0,f.defineReadOnly)(this,"_network",t),this.emit("network",t,null)):_.throwArgumentError("invalid network","network",e)}this._maxInternalBlockNumber=-1024,this._lastBlockNumber=-2,this._maxFilterBlockRange=10,this._pollingInterval=4e3,this._fastQueryDate=0}_ready(){return w(this,void 0,void 0,(function*(){if(null==this._network){let t=null;if(this._networkPromise)try{t=yield this._networkPromise}catch(e){}null==t&&(t=yield this.detectNetwork()),t||_.throwError("no network detected",m.Logger.errors.UNKNOWN_ERROR,{}),null==this._network&&(this.anyNetwork?this._network=t:(0,f.defineReadOnly)(this,"_network",t),this.emit("network",t,null))}return this._network}))}get ready(){return(0,h.poll)((()=>this._ready().then((e=>e),(e=>{if(e.code!==m.Logger.errors.NETWORK_ERROR||"noNetwork"!==e.event)throw e}))))}static getFormatter(){return null==z&&(z=new v.Mb),z}static getNetwork(e){return(0,l.H)(null==e?"homestead":e)}ccipReadFetch(e,t,r){return w(this,void 0,void 0,(function*(){if(this.disableCcipRead||0===r.length)return null;const n=e.to.toLowerCase(),i=t.toLowerCase(),a=[];for(let e=0;e=0?null:JSON.stringify({data:i,sender:n}),c=yield(0,h.fetchJson)({url:o,errorPassThrough:!0},s,((e,t)=>(e.status=t.statusCode,e)));if(c.data)return c.data;const u=c.message||"unknown error";if(c.status>=400&&c.status<500)return _.throwError("response not found during CCIP fetch: ".concat(u),m.Logger.errors.SERVER_ERROR,{url:t,errorMessage:u});a.push(u)}return _.throwError("error encountered during CCIP fetch: ".concat(a.map((e=>JSON.stringify(e))).join(", ")),m.Logger.errors.SERVER_ERROR,{urls:r,errorMessages:a})}))}_getInternalBlockNumber(e){return w(this,void 0,void 0,(function*(){if(yield this._ready(),e>0)for(;this._internalBlockNumber;){const t=this._internalBlockNumber;try{const r=yield t;if(O()-r.respTime<=e)return r.blockNumber;break}catch(n){if(this._internalBlockNumber===t)break}}const t=O(),r=(0,f.resolveProperties)({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then((e=>null),(e=>e))}).then((e=>{let{blockNumber:n,networkError:i}=e;if(i)throw this._internalBlockNumber===r&&(this._internalBlockNumber=null),i;const a=O();return n=o.O$.from(n).toNumber(),n{this._internalBlockNumber===r&&(this._internalBlockNumber=null)})),(yield r).blockNumber}))}poll(){return w(this,void 0,void 0,(function*(){const e=V++,t=[];let r=null;try{r=yield this._getInternalBlockNumber(100+this.pollingInterval/2)}catch(n){return void this.emit("error",n)}if(this._setFastBlockNumber(r),this.emit("poll",e,r),r!==this._lastBlockNumber){if(-2===this._emitted.block&&(this._emitted.block=r-1),Math.abs(this._emitted.block-r)>1e3)_.warn("network block skew detected; skipping block events (emitted=".concat(this._emitted.block," blockNumber").concat(r,")")),this.emit("error",_.makeError("network block skew detected",m.Logger.errors.NETWORK_ERROR,{blockNumber:r,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",r);else for(let e=this._emitted.block+1;e<=r;e++)this.emit("block",e);this._emitted.block!==r&&(this._emitted.block=r,Object.keys(this._emitted).forEach((e=>{if("block"===e)return;const t=this._emitted[e];"pending"!==t&&r-t>12&&delete this._emitted[e]}))),-2===this._lastBlockNumber&&(this._lastBlockNumber=r-1),this._events.forEach((e=>{switch(e.type){case"tx":{const r=e.hash;let n=this.getTransactionReceipt(r).then((e=>e&&null!=e.blockNumber?(this._emitted["t:"+r]=e.blockNumber,this.emit(r,e),null):null)).catch((e=>{this.emit("error",e)}));t.push(n);break}case"filter":if(!e._inflight){e._inflight=!0,-2===e._lastBlockNumber&&(e._lastBlockNumber=r-1);const n=e.filter;n.fromBlock=e._lastBlockNumber+1,n.toBlock=r;const i=n.toBlock-this._maxFilterBlockRange;i>n.fromBlock&&(n.fromBlock=i),n.fromBlock<0&&(n.fromBlock=0);const a=this.getLogs(n).then((t=>{e._inflight=!1,0!==t.length&&t.forEach((t=>{t.blockNumber>e._lastBlockNumber&&(e._lastBlockNumber=t.blockNumber),this._emitted["b:"+t.blockHash]=t.blockNumber,this._emitted["t:"+t.transactionHash]=t.blockNumber,this.emit(n,t)}))})).catch((t=>{this.emit("error",t),e._inflight=!1}));t.push(a)}}})),this._lastBlockNumber=r,Promise.all(t).then((()=>{this.emit("didPoll",e)})).catch((e=>{this.emit("error",e)}))}else this.emit("didPoll",e)}))}resetEventsBlock(e){this._lastBlockNumber=e-1,this.polling&&this.poll()}get network(){return this._network}detectNetwork(){return w(this,void 0,void 0,(function*(){return _.throwError("provider does not support network detection",m.Logger.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"})}))}getNetwork(){return w(this,void 0,void 0,(function*(){const e=yield this._ready(),t=yield this.detectNetwork();if(e.chainId!==t.chainId){if(this.anyNetwork)return this._network=t,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",t,e),yield P(0),this._network;const r=_.makeError("underlying network changed",m.Logger.errors.NETWORK_ERROR,{event:"changed",network:e,detectedNetwork:t});throw this.emit("error",r),r}return e}))}get blockNumber(){return this._getInternalBlockNumber(100+this.pollingInterval/2).then((e=>{this._setFastBlockNumber(e)}),(e=>{})),null!=this._fastBlockNumber?this._fastBlockNumber:-1}get polling(){return null!=this._poller}set polling(e){e&&!this._poller?(this._poller=setInterval((()=>{this.poll()}),this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout((()=>{this.poll(),this._bootstrapPoll=setTimeout((()=>{this._poller||this.poll(),this._bootstrapPoll=null}),this.pollingInterval)}),0))):!e&&this._poller&&(clearInterval(this._poller),this._poller=null)}get pollingInterval(){return this._pollingInterval}set pollingInterval(e){if("number"!==typeof e||e<=0||parseInt(String(e))!=e)throw new Error("invalid polling interval");this._pollingInterval=e,this._poller&&(clearInterval(this._poller),this._poller=setInterval((()=>{this.poll()}),this._pollingInterval))}_getFastBlockNumber(){const e=O();return e-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=e,this._fastBlockNumberPromise=this.getBlockNumber().then((e=>((null==this._fastBlockNumber||e>this._fastBlockNumber)&&(this._fastBlockNumber=e),this._fastBlockNumber)))),this._fastBlockNumberPromise}_setFastBlockNumber(e){null!=this._fastBlockNumber&&ethis._fastBlockNumber)&&(this._fastBlockNumber=e,this._fastBlockNumberPromise=Promise.resolve(e)))}waitForTransaction(e,t,r){return w(this,void 0,void 0,(function*(){return this._waitForTransaction(e,null==t?1:t,r||0,null)}))}_waitForTransaction(e,t,r,n){return w(this,void 0,void 0,(function*(){const i=yield this.getTransactionReceipt(e);return(i?i.confirmations:0)>=t?i:new Promise(((i,a)=>{const o=[];let s=!1;const c=function(){return!!s||(s=!0,o.forEach((e=>{e()})),!1)},u=e=>{e.confirmations{this.removeListener(e,u)})),n){let r=n.startBlock,i=null;const u=o=>w(this,void 0,void 0,(function*(){s||(yield P(1e3),this.getTransactionCount(n.from).then((l=>w(this,void 0,void 0,(function*(){if(!s){if(l<=n.nonce)r=o;else{{const t=yield this.getTransaction(e);if(t&&null!=t.blockNumber)return}for(null==i&&(i=r-3,i{s||this.once("block",u)})))}));if(s)return;this.once("block",u),o.push((()=>{this.removeListener("block",u)}))}if("number"===typeof r&&r>0){const e=setTimeout((()=>{c()||a(_.makeError("timeout exceeded",m.Logger.errors.TIMEOUT,{timeout:r}))}),r);e.unref&&e.unref(),o.push((()=>{clearTimeout(e)}))}}))}))}getBlockNumber(){return w(this,void 0,void 0,(function*(){return this._getInternalBlockNumber(0)}))}getGasPrice(){return w(this,void 0,void 0,(function*(){yield this.getNetwork();const e=yield this.perform("getGasPrice",{});try{return o.O$.from(e)}catch(t){return _.throwError("bad result from backend",m.Logger.errors.SERVER_ERROR,{method:"getGasPrice",result:e,error:t})}}))}getBalance(e,t){return w(this,void 0,void 0,(function*(){yield this.getNetwork();const r=yield(0,f.resolveProperties)({address:this._getAddress(e),blockTag:this._getBlockTag(t)}),n=yield this.perform("getBalance",r);try{return o.O$.from(n)}catch(i){return _.throwError("bad result from backend",m.Logger.errors.SERVER_ERROR,{method:"getBalance",params:r,result:n,error:i})}}))}getTransactionCount(e,t){return w(this,void 0,void 0,(function*(){yield this.getNetwork();const r=yield(0,f.resolveProperties)({address:this._getAddress(e),blockTag:this._getBlockTag(t)}),n=yield this.perform("getTransactionCount",r);try{return o.O$.from(n).toNumber()}catch(i){return _.throwError("bad result from backend",m.Logger.errors.SERVER_ERROR,{method:"getTransactionCount",params:r,result:n,error:i})}}))}getCode(e,t){return w(this,void 0,void 0,(function*(){yield this.getNetwork();const r=yield(0,f.resolveProperties)({address:this._getAddress(e),blockTag:this._getBlockTag(t)}),n=yield this.perform("getCode",r);try{return(0,s.hexlify)(n)}catch(i){return _.throwError("bad result from backend",m.Logger.errors.SERVER_ERROR,{method:"getCode",params:r,result:n,error:i})}}))}getStorageAt(e,t,r){return w(this,void 0,void 0,(function*(){yield this.getNetwork();const n=yield(0,f.resolveProperties)({address:this._getAddress(e),blockTag:this._getBlockTag(r),position:Promise.resolve(t).then((e=>(0,s.hexValue)(e)))}),i=yield this.perform("getStorageAt",n);try{return(0,s.hexlify)(i)}catch(a){return _.throwError("bad result from backend",m.Logger.errors.SERVER_ERROR,{method:"getStorageAt",params:n,result:i,error:a})}}))}_wrapTransaction(e,t,r){if(null!=t&&32!==(0,s.hexDataLength)(t))throw new Error("invalid response - sendTransaction");const n=e;return null!=t&&e.hash!==t&&_.throwError("Transaction hash mismatch from Provider.sendTransaction.",m.Logger.errors.UNKNOWN_ERROR,{expectedHash:e.hash,returnedHash:t}),n.wait=(t,n)=>w(this,void 0,void 0,(function*(){let i;null==t&&(t=1),null==n&&(n=0),0!==t&&null!=r&&(i={data:e.data,from:e.from,nonce:e.nonce,to:e.to,value:e.value,startBlock:r});const a=yield this._waitForTransaction(e.hash,t,n,i);return null==a&&0===t?null:(this._emitted["t:"+e.hash]=a.blockNumber,0===a.status&&_.throwError("transaction failed",m.Logger.errors.CALL_EXCEPTION,{transactionHash:e.hash,transaction:e,receipt:a}),a)})),n}sendTransaction(e){return w(this,void 0,void 0,(function*(){yield this.getNetwork();const t=yield Promise.resolve(e).then((e=>(0,s.hexlify)(e))),r=this.formatter.transaction(e);null==r.confirmations&&(r.confirmations=0);const n=yield this._getInternalBlockNumber(100+2*this.pollingInterval);try{const e=yield this.perform("sendTransaction",{signedTransaction:t});return this._wrapTransaction(r,e,n)}catch(i){throw i.transaction=r,i.transactionHash=r.hash,i}}))}_getTransactionRequest(e){return w(this,void 0,void 0,(function*(){const t=yield e,r={};return["from","to"].forEach((e=>{null!=t[e]&&(r[e]=Promise.resolve(t[e]).then((e=>e?this._getAddress(e):null)))})),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach((e=>{null!=t[e]&&(r[e]=Promise.resolve(t[e]).then((e=>e?o.O$.from(e):null)))})),["type"].forEach((e=>{null!=t[e]&&(r[e]=Promise.resolve(t[e]).then((e=>null!=e?e:null)))})),t.accessList&&(r.accessList=this.formatter.accessList(t.accessList)),["data"].forEach((e=>{null!=t[e]&&(r[e]=Promise.resolve(t[e]).then((e=>e?(0,s.hexlify)(e):null)))})),this.formatter.transactionRequest(yield(0,f.resolveProperties)(r))}))}_getFilter(e){return w(this,void 0,void 0,(function*(){e=yield e;const t={};return null!=e.address&&(t.address=this._getAddress(e.address)),["blockHash","topics"].forEach((r=>{null!=e[r]&&(t[r]=e[r])})),["fromBlock","toBlock"].forEach((r=>{null!=e[r]&&(t[r]=this._getBlockTag(e[r]))})),this.formatter.filter(yield(0,f.resolveProperties)(t))}))}_call(e,t,r){return w(this,void 0,void 0,(function*(){r>=10&&_.throwError("CCIP read exceeded maximum redirections",m.Logger.errors.SERVER_ERROR,{redirects:r,transaction:e});const n=e.to,i=yield this.perform("call",{transaction:e,blockTag:t});if(r>=0&&"latest"===t&&null!=n&&"0x556f1830"===i.substring(0,10)&&(0,s.hexDataLength)(i)%32===4)try{const a=(0,s.hexDataSlice)(i,4),c=(0,s.hexDataSlice)(a,0,32);o.O$.from(c).eq(n)||_.throwError("CCIP Read sender did not match",m.Logger.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:e,data:i});const u=[],l=o.O$.from((0,s.hexDataSlice)(a,32,64)).toNumber(),f=o.O$.from((0,s.hexDataSlice)(a,l,l+32)).toNumber(),d=(0,s.hexDataSlice)(a,l+32);for(let t=0;tw(this,void 0,void 0,(function*(){const e=yield this.perform("getBlock",n);if(null==e)return null!=n.blockHash&&null==this._emitted["b:"+n.blockHash]||null!=n.blockTag&&r>this._emitted.block?null:void 0;if(t){let t=null;for(let n=0;nthis._wrapTransaction(e))),r}return this.formatter.block(e)}))),{oncePoll:this})}))}getBlock(e){return this._getBlock(e,!1)}getBlockWithTransactions(e){return this._getBlock(e,!0)}getTransaction(e){return w(this,void 0,void 0,(function*(){yield this.getNetwork(),e=yield e;const t={transactionHash:this.formatter.hash(e,!0)};return(0,h.poll)((()=>w(this,void 0,void 0,(function*(){const r=yield this.perform("getTransaction",t);if(null==r)return null==this._emitted["t:"+e]?null:void 0;const n=this.formatter.transactionResponse(r);if(null==n.blockNumber)n.confirmations=0;else if(null==n.confirmations){let e=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-n.blockNumber+1;e<=0&&(e=1),n.confirmations=e}return this._wrapTransaction(n)}))),{oncePoll:this})}))}getTransactionReceipt(e){return w(this,void 0,void 0,(function*(){yield this.getNetwork(),e=yield e;const t={transactionHash:this.formatter.hash(e,!0)};return(0,h.poll)((()=>w(this,void 0,void 0,(function*(){const r=yield this.perform("getTransactionReceipt",t);if(null==r)return null==this._emitted["t:"+e]?null:void 0;if(null==r.blockHash)return;const n=this.formatter.receipt(r);if(null==n.blockNumber)n.confirmations=0;else if(null==n.confirmations){let e=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-n.blockNumber+1;e<=0&&(e=1),n.confirmations=e}return n}))),{oncePoll:this})}))}getLogs(e){return w(this,void 0,void 0,(function*(){yield this.getNetwork();const t=yield(0,f.resolveProperties)({filter:this._getFilter(e)}),r=yield this.perform("getLogs",t);return r.forEach((e=>{null==e.removed&&(e.removed=!1)})),v.Mb.arrayOf(this.formatter.filterLog.bind(this.formatter))(r)}))}getEtherPrice(){return w(this,void 0,void 0,(function*(){return yield this.getNetwork(),this.perform("getEtherPrice",{})}))}_getBlockTag(e){return w(this,void 0,void 0,(function*(){if("number"===typeof(e=yield e)&&e<0){e%1&&_.throwArgumentError("invalid BlockTag","blockTag",e);let t=yield this._getInternalBlockNumber(100+2*this.pollingInterval);return t+=e,t<0&&(t=0),this.formatter.blockTag(t)}return this.formatter.blockTag(e)}))}getResolver(e){return w(this,void 0,void 0,(function*(){let t=e;for(;;){if(""===t||"."===t)return null;if("eth"!==e&&"eth"===t)return null;const r=yield this._getResolver(t,"getResolver");if(null!=r){const n=new U(this,r,e);return t===e||(yield n.supportsWildcard())?n:null}t=t.split(".").slice(1).join(".")}}))}_getResolver(e,t){return w(this,void 0,void 0,(function*(){null==t&&(t="ENS");const r=yield this.getNetwork();r.ensAddress||_.throwError("network does not support ENS",m.Logger.errors.UNSUPPORTED_OPERATION,{operation:t,network:r.name});try{const t=yield this.call({to:r.ensAddress,data:"0x0178b8bf"+(0,u.VM)(e).substring(2)});return this.formatter.callAddress(t)}catch(n){}return null}))}resolveName(e){return w(this,void 0,void 0,(function*(){e=yield e;try{return Promise.resolve(this.formatter.address(e))}catch(r){if((0,s.isHexString)(e))throw r}"string"!==typeof e&&_.throwArgumentError("invalid ENS name","name",e);const t=yield this.getResolver(e);return t?yield t.getAddress():null}))}lookupAddress(e){return w(this,void 0,void 0,(function*(){e=yield e;const t=(e=this.formatter.address(e)).substring(2).toLowerCase()+".addr.reverse",r=yield this._getResolver(t,"lookupAddress");if(null==r)return null;const n=N(yield this.call({to:r,data:"0x691f3431"+(0,u.VM)(t).substring(2)}),0);return(yield this.resolveName(n))!=e?null:n}))}getAvatar(e){return w(this,void 0,void 0,(function*(){let t=null;if((0,s.isHexString)(e)){const r=this.formatter.address(e).substring(2).toLowerCase()+".addr.reverse",i=yield this._getResolver(r,"getAvatar");if(!i)return null;t=new U(this,i,r);try{const e=yield t.getAvatar();if(e)return e.url}catch(n){if(n.code!==m.Logger.errors.CALL_EXCEPTION)throw n}try{const e=N(yield this.call({to:i,data:"0x691f3431"+(0,u.VM)(r).substring(2)}),0);t=yield this.getResolver(e)}catch(n){if(n.code!==m.Logger.errors.CALL_EXCEPTION)throw n;return null}}else if(t=yield this.getResolver(e),!t)return null;const r=yield t.getAvatar();return null==r?null:r.url}))}perform(e,t){return _.throwError(e+" not implemented",m.Logger.errors.NOT_IMPLEMENTED,{operation:e})}_startEvent(e){this.polling=this._events.filter((e=>e.pollable())).length>0}_stopEvent(e){this.polling=this._events.filter((e=>e.pollable())).length>0}_addEventListener(e,t,r){const n=new k(S(e),t,r);return this._events.push(n),this._startEvent(n),this}on(e,t){return this._addEventListener(e,t,!1)}once(e,t){return this._addEventListener(e,t,!0)}emit(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;ne.tag!==o||(setTimeout((()=>{e.listener.apply(this,r)}),0),i=!0,!e.once||(a.push(e),!1)))),a.forEach((e=>{this._stopEvent(e)})),i}listenerCount(e){if(!e)return this._events.length;let t=S(e);return this._events.filter((e=>e.tag===t)).length}listeners(e){if(null==e)return this._events.map((e=>e.listener));let t=S(e);return this._events.filter((e=>e.tag===t)).map((e=>e.listener))}off(e,t){if(null==t)return this.removeAllListeners(e);const r=[];let n=!1,i=S(e);return this._events=this._events.filter((e=>e.tag!==i||e.listener!=t||(!!n||(n=!0,r.push(e),!1)))),r.forEach((e=>{this._stopEvent(e)})),this}removeAllListeners(e){let t=[];if(null==e)t=this._events,this._events=[];else{const r=S(e);this._events=this._events.filter((e=>e.tag!==r||(t.push(e),!1)))}return t.forEach((e=>{this._stopEvent(e)})),this}}},66720:(e,t,r)=>{"use strict";r.d(t,{Ed:()=>b,Gp:()=>h,Mb:()=>d,vh:()=>y});var n=r(97419),i=r(2257),a=r(49716),o=r(68624),s=r(30520),c=r(25452),u=r(39502),l=r(77059);const f=new u.Logger(l.i);class d{constructor(){this.formats=this.getDefaultFormats()}getDefaultFormats(){const e={},t=this.address.bind(this),r=this.bigNumber.bind(this),n=this.blockTag.bind(this),i=this.data.bind(this),a=this.hash.bind(this),o=this.hex.bind(this),c=this.number.bind(this),u=this.type.bind(this);return e.transaction={hash:a,type:u,accessList:d.allowNull(this.accessList.bind(this),null),blockHash:d.allowNull(a,null),blockNumber:d.allowNull(c,null),transactionIndex:d.allowNull(c,null),confirmations:d.allowNull(c,null),from:t,gasPrice:d.allowNull(r),maxPriorityFeePerGas:d.allowNull(r),maxFeePerGas:d.allowNull(r),gasLimit:r,to:d.allowNull(t,null),value:r,nonce:c,data:i,r:d.allowNull(this.uint256),s:d.allowNull(this.uint256),v:d.allowNull(c),creates:d.allowNull(t,null),raw:d.allowNull(i)},e.transactionRequest={from:d.allowNull(t),nonce:d.allowNull(c),gasLimit:d.allowNull(r),gasPrice:d.allowNull(r),maxPriorityFeePerGas:d.allowNull(r),maxFeePerGas:d.allowNull(r),to:d.allowNull(t),value:d.allowNull(r),data:d.allowNull((e=>this.data(e,!0))),type:d.allowNull(c),accessList:d.allowNull(this.accessList.bind(this),null)},e.receiptLog={transactionIndex:c,blockNumber:c,transactionHash:a,address:t,topics:d.arrayOf(a),data:i,logIndex:c,blockHash:a},e.receipt={to:d.allowNull(this.address,null),from:d.allowNull(this.address,null),contractAddress:d.allowNull(t,null),transactionIndex:c,root:d.allowNull(o),gasUsed:r,logsBloom:d.allowNull(i),blockHash:a,transactionHash:a,logs:d.arrayOf(this.receiptLog.bind(this)),blockNumber:c,confirmations:d.allowNull(c,null),cumulativeGasUsed:r,effectiveGasPrice:d.allowNull(r),status:d.allowNull(c),type:u},e.block={hash:d.allowNull(a),parentHash:a,number:c,timestamp:c,nonce:d.allowNull(o),difficulty:this.difficulty.bind(this),gasLimit:r,gasUsed:r,miner:d.allowNull(t),extraData:i,transactions:d.allowNull(d.arrayOf(a)),baseFeePerGas:d.allowNull(r)},e.blockWithTransactions=(0,s.shallowCopy)(e.block),e.blockWithTransactions.transactions=d.allowNull(d.arrayOf(this.transactionResponse.bind(this))),e.filter={fromBlock:d.allowNull(n,void 0),toBlock:d.allowNull(n,void 0),blockHash:d.allowNull(a,void 0),address:d.allowNull(t,void 0),topics:d.allowNull(this.topics.bind(this),void 0)},e.filterLog={blockNumber:d.allowNull(c),blockHash:d.allowNull(a),transactionIndex:c,removed:d.allowNull(this.boolean.bind(this)),address:t,data:d.allowFalsish(i,"0x"),topics:d.arrayOf(a),transactionHash:a,logIndex:c},e}accessList(e){return(0,c.accessListify)(e||[])}number(e){return"0x"===e?0:i.O$.from(e).toNumber()}type(e){return"0x"===e||null==e?0:i.O$.from(e).toNumber()}bigNumber(e){return i.O$.from(e)}boolean(e){if("boolean"===typeof e)return e;if("string"===typeof e){if("true"===(e=e.toLowerCase()))return!0;if("false"===e)return!1}throw new Error("invalid boolean - "+e)}hex(e,t){return"string"===typeof e&&(t||"0x"===e.substring(0,2)||(e="0x"+e),(0,a.isHexString)(e))?e.toLowerCase():f.throwArgumentError("invalid hash","value",e)}data(e,t){const r=this.hex(e,t);if(r.length%2!==0)throw new Error("invalid data; odd-length - "+e);return r}address(e){return(0,n.getAddress)(e)}callAddress(e){if(!(0,a.isHexString)(e,32))return null;const t=(0,n.getAddress)((0,a.hexDataSlice)(e,12));return t===o.d?null:t}contractAddress(e){return(0,n.getContractAddress)(e)}blockTag(e){if(null==e)return"latest";if("earliest"===e)return"0x0";switch(e){case"earliest":return"0x0";case"latest":case"pending":case"safe":case"finalized":return e}if("number"===typeof e||(0,a.isHexString)(e))return(0,a.hexValue)(e);throw new Error("invalid blockTag")}hash(e,t){const r=this.hex(e,t);return 32!==(0,a.hexDataLength)(r)?f.throwArgumentError("invalid hash","value",e):r}difficulty(e){if(null==e)return null;const t=i.O$.from(e);try{return t.toNumber()}catch(r){}return null}uint256(e){if(!(0,a.isHexString)(e))throw new Error("invalid uint256");return(0,a.hexZeroPad)(e,32)}_block(e,t){null!=e.author&&null==e.miner&&(e.miner=e.author);const r=null!=e._difficulty?e._difficulty:e.difficulty,n=d.check(t,e);return n._difficulty=null==r?null:i.O$.from(r),n}block(e){return this._block(e,this.formats.block)}blockWithTransactions(e){return this._block(e,this.formats.blockWithTransactions)}transactionRequest(e){return d.check(this.formats.transactionRequest,e)}transactionResponse(e){null!=e.gas&&null==e.gasLimit&&(e.gasLimit=e.gas),e.to&&i.O$.from(e.to).isZero()&&(e.to="0x0000000000000000000000000000000000000000"),null!=e.input&&null==e.data&&(e.data=e.input),null==e.to&&null==e.creates&&(e.creates=this.contractAddress(e)),1!==e.type&&2!==e.type||null!=e.accessList||(e.accessList=[]);const t=d.check(this.formats.transaction,e);if(null!=e.chainId){let r=e.chainId;(0,a.isHexString)(r)&&(r=i.O$.from(r).toNumber()),t.chainId=r}else{let r=e.networkId;null==r&&null==t.v&&(r=e.chainId),(0,a.isHexString)(r)&&(r=i.O$.from(r).toNumber()),"number"!==typeof r&&null!=t.v&&(r=(t.v-35)/2,r<0&&(r=0),r=parseInt(r)),"number"!==typeof r&&(r=0),t.chainId=r}return t.blockHash&&"x"===t.blockHash.replace(/0/g,"")&&(t.blockHash=null),t}transaction(e){return(0,c.parse)(e)}receiptLog(e){return d.check(this.formats.receiptLog,e)}receipt(e){const t=d.check(this.formats.receipt,e);if(null!=t.root)if(t.root.length<=4){const e=i.O$.from(t.root).toNumber();0===e||1===e?(null!=t.status&&t.status!==e&&f.throwArgumentError("alt-root-status/status mismatch","value",{root:t.root,status:t.status}),t.status=e,delete t.root):f.throwArgumentError("invalid alt-root-status","value.root",t.root)}else 66!==t.root.length&&f.throwArgumentError("invalid root hash","value.root",t.root);return null!=t.status&&(t.byzantium=!0),t}topics(e){return Array.isArray(e)?e.map((e=>this.topics(e))):null!=e?this.hash(e,!0):null}filter(e){return d.check(this.formats.filter,e)}filterLog(e){return d.check(this.formats.filterLog,e)}static check(e,t){const r={};for(const i in e)try{const n=e[i](t[i]);void 0!==n&&(r[i]=n)}catch(n){throw n.checkKey=i,n.checkValue=t[i],n}return r}static allowNull(e,t){return function(r){return null==r?t:e(r)}}static allowFalsish(e,t){return function(r){return r?e(r):t}}static arrayOf(e){return function(t){if(!Array.isArray(t))throw new Error("not an array");const r=[];return t.forEach((function(t){r.push(e(t))})),r}}}function b(e){return e&&"function"===typeof e.isCommunityResource}function h(e){return b(e)&&e.isCommunityResource()}let p=!1;function y(){p||(p=!0,console.log("========= NOTICE ========="),console.log("Request-Rate Exceeded (this message will not be repeated)"),console.log(""),console.log("The default API keys for each service are provided as a highly-throttled,"),console.log("community resource for low-traffic projects and early prototyping."),console.log(""),console.log("While your application will continue to function, we highly recommended"),console.log("signing up for your own API keys to improve performance, increase your"),console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."),console.log(""),console.log("For more details: https://docs.ethers.io/api-keys/"),console.log("=========================="))}},11420:(e,t,r)=>{"use strict";r.d(t,{C:()=>A,r:()=>P});var n=r(68408),i=r(2257),a=r(49716),o=r(35992),s=r(30520),c=r(83374),u=r(25452),l=r(65889),f=r(39502),d=r(77059),b=r(9970),h=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))};const p=new f.Logger(d.i),y=["call","estimateGas"];function m(e,t){if(null==e)return null;if("string"===typeof e.message&&e.message.match("reverted")){const r=(0,a.isHexString)(e.data)?e.data:null;if(!t||r)return{message:e.message,data:r}}if("object"===typeof e){for(const r in e){const n=m(e[r],t);if(n)return n}return null}if("string"===typeof e)try{return m(JSON.parse(e),t)}catch(r){}return null}function g(e,t,r){const n=r.transaction||r.signedTransaction;if("call"===e){const e=m(t,!0);if(e)return e.data;p.throwError("missing revert data in call exception; Transaction reverted without a reason string",f.Logger.errors.CALL_EXCEPTION,{data:"0x",transaction:n,error:t})}if("estimateGas"===e){let r=m(t.body,!1);null==r&&(r=m(t,!1)),r&&p.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",f.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{reason:r.message,method:e,transaction:n,error:t})}let i=t.message;throw t.code===f.Logger.errors.SERVER_ERROR&&t.error&&"string"===typeof t.error.message?i=t.error.message:"string"===typeof t.body?i=t.body:"string"===typeof t.responseText&&(i=t.responseText),i=(i||"").toLowerCase(),i.match(/insufficient funds|base fee exceeds gas limit|InsufficientFunds/i)&&p.throwError("insufficient funds for intrinsic transaction cost",f.Logger.errors.INSUFFICIENT_FUNDS,{error:t,method:e,transaction:n}),i.match(/nonce (is )?too low/i)&&p.throwError("nonce has already been used",f.Logger.errors.NONCE_EXPIRED,{error:t,method:e,transaction:n}),i.match(/replacement transaction underpriced|transaction gas price.*too low/i)&&p.throwError("replacement fee too low",f.Logger.errors.REPLACEMENT_UNDERPRICED,{error:t,method:e,transaction:n}),i.match(/only replay-protected/i)&&p.throwError("legacy pre-eip-155 transactions not supported",f.Logger.errors.UNSUPPORTED_OPERATION,{error:t,method:e,transaction:n}),y.indexOf(e)>=0&&i.match(/gas required exceeds allowance|always failing transaction|execution reverted|revert/)&&p.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",f.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,method:e,transaction:n}),t}function v(e){return new Promise((function(t){setTimeout(t,e)}))}function w(e){if(e.error){const t=new Error(e.error.message);throw t.code=e.error.code,t.data=e.error.data,t}return e.result}function _(e){return e?e.toLowerCase():e}const E={};class A extends n.E{constructor(e,t,r){if(super(),e!==E)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");(0,s.defineReadOnly)(this,"provider",t),null==r&&(r=0),"string"===typeof r?((0,s.defineReadOnly)(this,"_address",this.provider.formatter.address(r)),(0,s.defineReadOnly)(this,"_index",null)):"number"===typeof r?((0,s.defineReadOnly)(this,"_index",r),(0,s.defineReadOnly)(this,"_address",null)):p.throwArgumentError("invalid address or index","addressOrIndex",r)}connect(e){return p.throwError("cannot alter JSON-RPC Signer connection",f.Logger.errors.UNSUPPORTED_OPERATION,{operation:"connect"})}connectUnchecked(){return new S(E,this.provider,this._address||this._index)}getAddress(){return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then((e=>(e.length<=this._index&&p.throwError("unknown account #"+this._index,f.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),this.provider.formatter.address(e[this._index]))))}sendUncheckedTransaction(e){e=(0,s.shallowCopy)(e);const t=this.getAddress().then((e=>(e&&(e=e.toLowerCase()),e)));if(null==e.gasLimit){const r=(0,s.shallowCopy)(e);r.from=t,e.gasLimit=this.provider.estimateGas(r)}return null!=e.to&&(e.to=Promise.resolve(e.to).then((e=>h(this,void 0,void 0,(function*(){if(null==e)return null;const t=yield this.provider.resolveName(e);return null==t&&p.throwArgumentError("provided ENS name resolves to null","tx.to",e),t}))))),(0,s.resolveProperties)({tx:(0,s.resolveProperties)(e),sender:t}).then((t=>{let{tx:r,sender:n}=t;null!=r.from?r.from.toLowerCase()!==n&&p.throwArgumentError("from address mismatch","transaction",e):r.from=n;const i=this.provider.constructor.hexlifyTransaction(r,{from:!0});return this.provider.send("eth_sendTransaction",[i]).then((e=>e),(e=>("string"===typeof e.message&&e.message.match(/user denied/i)&&p.throwError("user rejected transaction",f.Logger.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:r}),g("sendTransaction",e,i))))}))}signTransaction(e){return p.throwError("signing transactions is unsupported",f.Logger.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})}sendTransaction(e){return h(this,void 0,void 0,(function*(){const t=yield this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval),r=yield this.sendUncheckedTransaction(e);try{return yield(0,l.poll)((()=>h(this,void 0,void 0,(function*(){const e=yield this.provider.getTransaction(r);if(null!==e)return this.provider._wrapTransaction(e,r,t)}))),{oncePoll:this.provider})}catch(n){throw n.transactionHash=r,n}}))}signMessage(e){return h(this,void 0,void 0,(function*(){const t="string"===typeof e?(0,c.Y0)(e):e,r=yield this.getAddress();try{return yield this.provider.send("personal_sign",[(0,a.hexlify)(t),r.toLowerCase()])}catch(n){throw"string"===typeof n.message&&n.message.match(/user denied/i)&&p.throwError("user rejected signing",f.Logger.errors.ACTION_REJECTED,{action:"signMessage",from:r,messageData:e}),n}}))}_legacySignMessage(e){return h(this,void 0,void 0,(function*(){const t="string"===typeof e?(0,c.Y0)(e):e,r=yield this.getAddress();try{return yield this.provider.send("eth_sign",[r.toLowerCase(),(0,a.hexlify)(t)])}catch(n){throw"string"===typeof n.message&&n.message.match(/user denied/i)&&p.throwError("user rejected signing",f.Logger.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:r,messageData:e}),n}}))}_signTypedData(e,t,r){return h(this,void 0,void 0,(function*(){const n=yield o.E.resolveNames(e,t,r,(e=>this.provider.resolveName(e))),i=yield this.getAddress();try{return yield this.provider.send("eth_signTypedData_v4",[i.toLowerCase(),JSON.stringify(o.E.getPayload(n.domain,t,n.value))])}catch(a){throw"string"===typeof a.message&&a.message.match(/user denied/i)&&p.throwError("user rejected signing",f.Logger.errors.ACTION_REJECTED,{action:"_signTypedData",from:i,messageData:{domain:n.domain,types:t,value:n.value}}),a}}))}unlock(e){return h(this,void 0,void 0,(function*(){const t=this.provider,r=yield this.getAddress();return t.send("personal_unlockAccount",[r.toLowerCase(),e,null])}))}}class S extends A{sendTransaction(e){return this.sendUncheckedTransaction(e).then((e=>({hash:e,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:t=>this.provider.waitForTransaction(e,t)})))}}const O={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0};class P extends b.Zk{constructor(e,t){let r=t;null==r&&(r=new Promise(((e,t)=>{setTimeout((()=>{this.detectNetwork().then((t=>{e(t)}),(e=>{t(e)}))}),0)}))),super(r),e||(e=(0,s.getStatic)(this.constructor,"defaultUrl")()),"string"===typeof e?(0,s.defineReadOnly)(this,"connection",Object.freeze({url:e})):(0,s.defineReadOnly)(this,"connection",Object.freeze((0,s.shallowCopy)(e))),this._nextId=42}get _cache(){return null==this._eventLoopCache&&(this._eventLoopCache={}),this._eventLoopCache}static defaultUrl(){return"http://localhost:8545"}detectNetwork(){return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork(),setTimeout((()=>{this._cache.detectNetwork=null}),0)),this._cache.detectNetwork}_uncachedDetectNetwork(){return h(this,void 0,void 0,(function*(){yield v(0);let e=null;try{e=yield this.send("eth_chainId",[])}catch(t){try{e=yield this.send("net_version",[])}catch(t){}}if(null!=e){const r=(0,s.getStatic)(this.constructor,"getNetwork");try{return r(i.O$.from(e).toNumber())}catch(t){return p.throwError("could not detect network",f.Logger.errors.NETWORK_ERROR,{chainId:e,event:"invalidNetwork",serverError:t})}}return p.throwError("could not detect network",f.Logger.errors.NETWORK_ERROR,{event:"noNetwork"})}))}getSigner(e){return new A(E,this,e)}getUncheckedSigner(e){return this.getSigner(e).connectUnchecked()}listAccounts(){return this.send("eth_accounts",[]).then((e=>e.map((e=>this.formatter.address(e)))))}send(e,t){const r={method:e,params:t,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:(0,s.deepCopy)(r),provider:this});const n=["eth_chainId","eth_blockNumber"].indexOf(e)>=0;if(n&&this._cache[e])return this._cache[e];const i=(0,l.fetchJson)(this.connection,JSON.stringify(r),w).then((e=>(this.emit("debug",{action:"response",request:r,response:e,provider:this}),e)),(e=>{throw this.emit("debug",{action:"response",error:e,request:r,provider:this}),e}));return n&&(this._cache[e]=i,setTimeout((()=>{this._cache[e]=null}),0)),i}prepareRequest(e,t){switch(e){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[_(t.address),t.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[_(t.address),t.blockTag]];case"getCode":return["eth_getCode",[_(t.address),t.blockTag]];case"getStorageAt":return["eth_getStorageAt",[_(t.address),(0,a.hexZeroPad)(t.position,32),t.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[t.signedTransaction]];case"getBlock":return t.blockTag?["eth_getBlockByNumber",[t.blockTag,!!t.includeTransactions]]:t.blockHash?["eth_getBlockByHash",[t.blockHash,!!t.includeTransactions]]:null;case"getTransaction":return["eth_getTransactionByHash",[t.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[t.transactionHash]];case"call":return["eth_call",[(0,s.getStatic)(this.constructor,"hexlifyTransaction")(t.transaction,{from:!0}),t.blockTag]];case"estimateGas":return["eth_estimateGas",[(0,s.getStatic)(this.constructor,"hexlifyTransaction")(t.transaction,{from:!0})]];case"getLogs":return t.filter&&null!=t.filter.address&&(t.filter.address=_(t.filter.address)),["eth_getLogs",[t.filter]]}return null}perform(e,t){return h(this,void 0,void 0,(function*(){if("call"===e||"estimateGas"===e){const e=t.transaction;if(e&&null!=e.type&&i.O$.from(e.type).isZero()&&null==e.maxFeePerGas&&null==e.maxPriorityFeePerGas){const r=yield this.getFeeData();null==r.maxFeePerGas&&null==r.maxPriorityFeePerGas&&((t=(0,s.shallowCopy)(t)).transaction=(0,s.shallowCopy)(e),delete t.transaction.type)}}const r=this.prepareRequest(e,t);null==r&&p.throwError(e+" not implemented",f.Logger.errors.NOT_IMPLEMENTED,{operation:e});try{return yield this.send(r[0],r[1])}catch(n){return g(e,n,t)}}))}_startEvent(e){"pending"===e.tag&&this._startPending(),super._startEvent(e)}_startPending(){if(null!=this._pendingFilter)return;const e=this,t=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=t,t.then((function(r){return function n(){e.send("eth_getFilterChanges",[r]).then((function(r){if(e._pendingFilter!=t)return null;let n=Promise.resolve();return r.forEach((function(t){e._emitted["t:"+t.toLowerCase()]="pending",n=n.then((function(){return e.getTransaction(t).then((function(t){return e.emit("pending",t),null}))}))})),n.then((function(){return v(1e3)}))})).then((function(){if(e._pendingFilter==t)return setTimeout((function(){n()}),0),null;e.send("eth_uninstallFilter",[r])})).catch((e=>{}))}(),r})).catch((e=>{}))}_stopEvent(e){"pending"===e.tag&&0===this.listenerCount("pending")&&(this._pendingFilter=null),super._stopEvent(e)}static hexlifyTransaction(e,t){const r=(0,s.shallowCopy)(O);if(t)for(const i in t)t[i]&&(r[i]=!0);(0,s.checkProperties)(e,r);const n={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach((function(t){if(null==e[t])return;const r=(0,a.hexValue)(i.O$.from(e[t]));"gasLimit"===t&&(t="gas"),n[t]=r})),["from","to","data"].forEach((function(t){null!=e[t]&&(n[t]=(0,a.hexlify)(e[t]))})),e.accessList&&(n.accessList=(0,u.accessListify)(e.accessList)),n}}},60723:(e,t,r)=>{"use strict";r.d(t,{Q:()=>l});var n=r(30520),i=r(39502),a=r(77059),o=r(11420);const s=new i.Logger(a.i);let c=1;function u(e,t){const r="Web3LegacyFetcher";return function(e,i){const a={method:e,params:i,id:c++,jsonrpc:"2.0"};return new Promise(((e,i)=>{this.emit("debug",{action:"request",fetcher:r,request:(0,n.deepCopy)(a),provider:this}),t(a,((t,n)=>{if(t)return this.emit("debug",{action:"response",fetcher:r,error:t,request:a,provider:this}),i(t);if(this.emit("debug",{action:"response",fetcher:r,request:a,response:n,provider:this}),n.error){const e=new Error(n.error.message);return e.code=n.error.code,e.data=n.error.data,i(e)}e(n.result)}))}))}}class l extends o.r{constructor(e,t){null==e&&s.throwArgumentError("missing provider","provider",e);let r=null,i=null,a=null;"function"===typeof e?(r="unknown:",i=e):(r=e.host||e.path||"",!r&&e.isMetaMask&&(r="metamask"),a=e,e.request?(""===r&&(r="eip-1193:"),i=function(e){return function(t,r){null==r&&(r=[]);const i={method:t,params:r};return this.emit("debug",{action:"request",fetcher:"Eip1193Fetcher",request:(0,n.deepCopy)(i),provider:this}),e.request(i).then((e=>(this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:i,response:e,provider:this}),e)),(e=>{throw this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:i,error:e,provider:this}),e}))}}(e)):e.sendAsync?i=u(0,e.sendAsync.bind(e)):e.send?i=u(0,e.send.bind(e)):s.throwArgumentError("unsupported provider","provider",e),r||(r="unknown:")),super(r,t),(0,n.defineReadOnly)(this,"jsonRpcFetchFunc",i),(0,n.defineReadOnly)(this,"provider",a)}send(e,t){return this.jsonRpcFetchFunc(e,t)}}},53770:(e,t,r)=>{"use strict";r.r(t),r.d(t,{randomBytes:()=>n.O,shuffled:()=>i.y});var n=r(15244),i=r(22282)},15244:(e,t,r)=>{"use strict";r.d(t,{O:()=>c});var n=r(49716),i=r(39502);const a=new i.Logger("random/5.7.0");const o=function(){if("undefined"!==typeof self)return self;if("undefined"!==typeof window)return window;if("undefined"!==typeof r.g)return r.g;throw new Error("unable to locate global object")}();let s=o.crypto||o.msCrypto;function c(e){(e<=0||e>1024||e%1||e!=e)&&a.throwArgumentError("invalid length","length",e);const t=new Uint8Array(e);return s.getRandomValues(t),(0,n.arrayify)(t)}s&&s.getRandomValues||(a.warn("WARNING: Missing strong random number source"),s={getRandomValues:function(e){return a.throwError("no secure random source avaialble",i.Logger.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}})},22282:(e,t,r)=>{"use strict";function n(e){for(let t=(e=e.slice()).length-1;t>0;t--){const r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}r.d(t,{y:()=>n})},17986:(e,t,r)=>{"use strict";r.r(t),r.d(t,{decode:()=>d,encode:()=>u});var n=r(49716),i=r(39502);const a=new i.Logger("rlp/5.7.0");function o(e){const t=[];for(;e;)t.unshift(255&e),e>>=8;return t}function s(e,t,r){let n=0;for(let i=0;it+1+n&&a.throwError("child data too short",i.Logger.errors.BUFFER_OVERRUN,{})}return{consumed:1+n,result:o}}function f(e,t){if(0===e.length&&a.throwError("data too short",i.Logger.errors.BUFFER_OVERRUN,{}),e[t]>=248){const r=e[t]-247;t+1+r>e.length&&a.throwError("data short segment too short",i.Logger.errors.BUFFER_OVERRUN,{});const n=s(e,t+1,r);return t+1+r+n>e.length&&a.throwError("data long segment too short",i.Logger.errors.BUFFER_OVERRUN,{}),l(e,t,t+1+r,r+n)}if(e[t]>=192){const r=e[t]-192;return t+1+r>e.length&&a.throwError("data array too short",i.Logger.errors.BUFFER_OVERRUN,{}),l(e,t,t+1,r)}if(e[t]>=184){const r=e[t]-183;t+1+r>e.length&&a.throwError("data array too short",i.Logger.errors.BUFFER_OVERRUN,{});const o=s(e,t+1,r);t+1+r+o>e.length&&a.throwError("data array too short",i.Logger.errors.BUFFER_OVERRUN,{});return{consumed:1+r+o,result:(0,n.hexlify)(e.slice(t+1+r,t+1+r+o))}}if(e[t]>=128){const r=e[t]-128;t+1+r>e.length&&a.throwError("data too short",i.Logger.errors.BUFFER_OVERRUN,{});return{consumed:1+r,result:(0,n.hexlify)(e.slice(t+1,t+1+r))}}return{consumed:1,result:(0,n.hexlify)(e[t])}}function d(e){const t=(0,n.arrayify)(e),r=f(t,0);return r.consumed!==t.length&&a.throwArgumentError("invalid rlp data","data",e),r.result}},86620:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SupportedAlgorithm:()=>i.p,computeHmac:()=>n.Gy,ripemd160:()=>n.bP,sha256:()=>n.JQ,sha512:()=>n.o});var n=r(39598),i=r(24667)},39598:(e,t,r)=>{"use strict";r.d(t,{Gy:()=>d,bP:()=>u,JQ:()=>l,o:()=>f});var n=r(33125),i=r.n(n),a=r(49716),o=r(24667),s=r(39502);const c=new s.Logger("sha2/5.7.0");function u(e){return"0x"+i().ripemd160().update((0,a.arrayify)(e)).digest("hex")}function l(e){return"0x"+i().sha256().update((0,a.arrayify)(e)).digest("hex")}function f(e){return"0x"+i().sha512().update((0,a.arrayify)(e)).digest("hex")}function d(e,t,r){return o.p[e]||c.throwError("unsupported algorithm "+e,s.Logger.errors.UNSUPPORTED_OPERATION,{operation:"hmac",algorithm:e}),"0x"+i().hmac(i()[e],(0,a.arrayify)(t)).update((0,a.arrayify)(r)).digest("hex")}},24667:(e,t,r)=>{"use strict";var n;r.d(t,{p:()=>n}),function(e){e.sha256="sha256",e.sha512="sha512"}(n||(n={}))},78865:(e,t,r)=>{"use strict";r.r(t),r.d(t,{SigningKey:()=>Q,computePublicKey:()=>Y,recoverPublicKey:()=>J});var n=r(80518),i=r.n(n),a=r(33125),o=r.n(a);"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof r.g?r.g:"undefined"!==typeof self&&self;function s(e,t,r){return r={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}((void 0===t||null===t)&&r.path)}},e(r,r.exports),r.exports}var c=u;function u(e,t){if(!e)throw new Error(t||"Assertion failed")}u.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)};var l=s((function(e,t){var r=t;function n(e){return 1===e.length?"0"+e:e}function i(e){for(var t="",r=0;r>8,o=255&i;a?r.push(a,o):r.push(o)}return r},r.zero2=n,r.toHex=i,r.encode=function(e,t){return"hex"===t?i(e):e}})),f=s((function(e,t){var r=t;r.assert=c,r.toArray=l.toArray,r.zero2=l.zero2,r.toHex=l.toHex,r.encode=l.encode,r.getNAF=function(e,t,r){var n=new Array(Math.max(e.bitLength(),r)+1);n.fill(0);for(var i=1<(i>>1)-1?(i>>1)-c:c,a.isubn(s)):s=0,n[o]=s,a.iushrn(1)}return n},r.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n,i=0,a=0;e.cmpn(-i)>0||t.cmpn(-a)>0;){var o,s,c=e.andln(3)+i&3,u=t.andln(3)+a&3;3===c&&(c=-1),3===u&&(u=-1),o=0===(1&c)?0:3!==(n=e.andln(7)+i&7)&&5!==n||2!==u?c:-c,r[0].push(o),s=0===(1&u)?0:3!==(n=t.andln(7)+a&7)&&5!==n||2!==c?u:-u,r[1].push(s),2*i===o+1&&(i=1-i),2*a===s+1&&(a=1-a),e.iushrn(1),t.iushrn(1)}return r},r.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},r.parseBytes=function(e){return"string"===typeof e?r.toArray(e,"hex"):e},r.intFromLE=function(e){return new(i())(e,"hex","le")}})),d=f.getNAF,b=f.getJSF,h=f.assert;function p(e,t){this.type=e,this.p=new(i())(t.p,16),this.red=t.prime?i().red(t.prime):i().mont(this.p),this.zero=new(i())(0).toRed(this.red),this.one=new(i())(1).toRed(this.red),this.two=new(i())(2).toRed(this.red),this.n=t.n&&new(i())(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var y=p;function m(e,t){this.curve=e,this.type=t,this.precomputed=null}p.prototype.point=function(){throw new Error("Not implemented")},p.prototype.validate=function(){throw new Error("Not implemented")},p.prototype._fixedNafMul=function(e,t){h(e.precomputed);var r=e._getDoubles(),n=d(t,1,this._bitLength),i=(1<=a;c--)o=(o<<1)+n[c];s.push(o)}for(var u=this.jpoint(null,null,null),l=this.jpoint(null,null,null),f=i;f>0;f--){for(a=0;a=0;s--){for(var c=0;s>=0&&0===a[s];s--)c++;if(s>=0&&c++,o=o.dblp(c),s<0)break;var u=a[s];h(0!==u),o="affine"===e.type?u>0?o.mixedAdd(i[u-1>>1]):o.mixedAdd(i[-u-1>>1].neg()):u>0?o.add(i[u-1>>1]):o.add(i[-u-1>>1].neg())}return"affine"===e.type?o.toP():o},p.prototype._wnafMulAdd=function(e,t,r,n,i){var a,o,s,c=this._wnafT1,u=this._wnafT2,l=this._wnafT3,f=0;for(a=0;a=1;a-=2){var p=a-1,y=a;if(1===c[p]&&1===c[y]){var m=[t[p],null,null,t[y]];0===t[p].y.cmp(t[y].y)?(m[1]=t[p].add(t[y]),m[2]=t[p].toJ().mixedAdd(t[y].neg())):0===t[p].y.cmp(t[y].y.redNeg())?(m[1]=t[p].toJ().mixedAdd(t[y]),m[2]=t[p].add(t[y].neg())):(m[1]=t[p].toJ().mixedAdd(t[y]),m[2]=t[p].toJ().mixedAdd(t[y].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],v=b(r[p],r[y]);for(f=Math.max(v[0].length,f),l[p]=new Array(f),l[y]=new Array(f),o=0;o=0;a--){for(var S=0;a>=0;){var O=!0;for(o=0;o=0&&S++,E=E.dblp(S),a<0)break;for(o=0;o0?s=u[o][P-1>>1]:P<0&&(s=u[o][-P-1>>1].neg()),E="affine"===s.type?E.mixedAdd(s):E.add(s))}}for(a=0;a=Math.ceil((e.bitLength()+1)/t.step)},m.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i=0&&(o=t,s=r),n.negative&&(n=n.neg(),a=a.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:n,b:a},{a:o,b:s}]},w.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),a=r.b.neg().mul(e).divRound(this.n),o=i.mul(r.a),s=a.mul(n.a),c=i.mul(r.b),u=a.mul(n.b);return{k1:e.sub(o).sub(s),k2:c.add(u).neg()}},w.prototype.pointFromX=function(e,t){(e=new(i())(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var a=n.fromRed().isOdd();return(t&&!a||!t&&a)&&(n=n.redNeg()),this.point(e,n)},w.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},w.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,a=0;a":""},E.prototype.isInfinity=function(){return this.inf},E.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},E.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),a=i.redSqr().redISub(this.x.redAdd(this.x)),o=i.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,o)},E.prototype.getX=function(){return this.x.fromRed()},E.prototype.getY=function(){return this.y.fromRed()},E.prototype.mul=function(e){return e=new(i())(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},E.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},E.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},E.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},E.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},E.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},g(A,y.BasePoint),w.prototype.jpoint=function(e,t,r){return new A(this,e,t,r)},A.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},A.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},A.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),a=this.y.redMul(t.redMul(e.z)),o=e.y.redMul(r.redMul(this.z)),s=n.redSub(i),c=a.redSub(o);if(0===s.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),f=n.redMul(u),d=c.redSqr().redIAdd(l).redISub(f).redISub(f),b=c.redMul(f.redISub(d)).redISub(a.redMul(l)),h=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(d,b,h)},A.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,a=e.y.redMul(t).redMul(this.z),o=r.redSub(n),s=i.redSub(a);if(0===o.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=o.redSqr(),u=c.redMul(o),l=r.redMul(c),f=s.redSqr().redIAdd(u).redISub(l).redISub(l),d=s.redMul(l.redISub(f)).redISub(i.redMul(u)),b=this.z.redMul(o);return this.curve.jpoint(f,d,b)},A.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var r=this;for(t=0;t=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},A.prototype.inspect=function(){return this.isInfinity()?"":""},A.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var S=s((function(e,t){var r=t;r.base=y,r.short=_,r.mont=null,r.edwards=null})),O=s((function(e,t){var r,n=t,i=f.assert;function a(e){"short"===e.type?this.curve=new S.short(e):"edwards"===e.type?this.curve=new S.edwards(e):this.curve=new S.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function s(e,t){Object.defineProperty(n,e,{configurable:!0,enumerable:!0,get:function(){var r=new a(t);return Object.defineProperty(n,e,{configurable:!0,enumerable:!0,value:r}),r}})}n.PresetCurve=a,s("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o().sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),s("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o().sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),s("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o().sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),s("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o().sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),s("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o().sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),s("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o().sha256,gRed:!1,g:["9"]}),s("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o().sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=null.crash()}catch(c){r=void 0}s("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o().sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})}));function P(e){if(!(this instanceof P))return new P(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=l.toArray(e.entropy,e.entropyEnc||"hex"),r=l.toArray(e.nonce,e.nonceEnc||"hex"),n=l.toArray(e.pers,e.persEnc||"hex");c(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}var T=P;P.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},P.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!==typeof t&&(n=r,r=t,t=null),r&&(r=l.toArray(r,n||"hex"),this._update(r));for(var i=[];i.length"};var R=f.assert;function x(e,t){if(e instanceof x)return e;this._importDER(e,t)||(R(e.r&&e.s,"Signature without r or s"),this.r=new(i())(e.r,16),this.s=new(i())(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}var I=x;function N(){this.place=0}function j(e,t){var r=e[t.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,a=0,o=t.place;a>>=0;return!(i<=127)&&(t.place=o,i)}function D(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}x.prototype._importDER=function(e,t){e=f.toArray(e,t);var r=new N;if(48!==e[r.place++])return!1;var n=j(e,r);if(!1===n)return!1;if(n+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var a=j(e,r);if(!1===a)return!1;var o=e.slice(r.place,a+r.place);if(r.place+=a,2!==e[r.place++])return!1;var s=j(e,r);if(!1===s)return!1;if(e.length!==s+r.place)return!1;var c=e.slice(r.place,s+r.place);if(0===o[0]){if(!(128&o[1]))return!1;o=o.slice(1)}if(0===c[0]){if(!(128&c[1]))return!1;c=c.slice(1)}return this.r=new(i())(o),this.s=new(i())(c),this.recoveryParam=null,!0},x.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=D(t),r=D(r);!r[0]&&!(128&r[1]);)r=r.slice(1);var n=[2];L(n,t.length),(n=n.concat(t)).push(2),L(n,r.length);var i=n.concat(r),a=[48];return L(a,i.length),a=a.concat(i),f.encode(a,e)};var F=function(){throw new Error("unsupported")},B=f.assert;function U(e){if(!(this instanceof U))return new U(e);"string"===typeof e&&(B(Object.prototype.hasOwnProperty.call(O,e),"Unknown curve "+e),e=O[e]),e instanceof O.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}var z=U;U.prototype.keyPair=function(e){return new C(this,e)},U.prototype.keyFromPrivate=function(e,t){return C.fromPrivate(this,e,t)},U.prototype.keyFromPublic=function(e,t){return C.fromPublic(this,e,t)},U.prototype.genKeyPair=function(e){e||(e={});for(var t=new T({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||F(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),n=this.n.sub(new(i())(2));;){var a=new(i())(t.generate(r));if(!(a.cmp(n)>0))return a.iaddn(1),this.keyFromPrivate(a)}},U.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},U.prototype.sign=function(e,t,r,n){"object"===typeof r&&(n=r,r=null),n||(n={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new(i())(e,16));for(var a=this.n.byteLength(),o=t.getPrivate().toArray("be",a),s=e.toArray("be",a),c=new T({hash:this.hash,entropy:o,nonce:s,pers:n.pers,persEnc:n.persEnc||"utf8"}),u=this.n.sub(new(i())(1)),l=0;;l++){var f=n.k?n.k(l):new(i())(c.generate(this.n.byteLength()));if(!((f=this._truncateToN(f,!0)).cmpn(1)<=0||f.cmp(u)>=0)){var d=this.g.mul(f);if(!d.isInfinity()){var b=d.getX(),h=b.umod(this.n);if(0!==h.cmpn(0)){var p=f.invm(this.n).mul(h.mul(t.getPrivate()).iadd(e));if(0!==(p=p.umod(this.n)).cmpn(0)){var y=(d.getY().isOdd()?1:0)|(0!==b.cmp(h)?2:0);return n.canonical&&p.cmp(this.nh)>0&&(p=this.n.sub(p),y^=1),new I({r:h,s:p,recoveryParam:y})}}}}}},U.prototype.verify=function(e,t,r,n){e=this._truncateToN(new(i())(e,16)),r=this.keyFromPublic(r,n);var a=(t=new I(t,"hex")).r,o=t.s;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var s,c=o.invm(this.n),u=c.mul(e).umod(this.n),l=c.mul(a).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(u,r.getPublic(),l)).isInfinity()&&s.eqXToP(a):!(s=this.g.mulAdd(u,r.getPublic(),l)).isInfinity()&&0===s.getX().umod(this.n).cmp(a)},U.prototype.recoverPubKey=function(e,t,r,n){B((3&r)===r,"The recovery param is more than two bits"),t=new I(t,n);var a=this.n,o=new(i())(e),s=t.r,c=t.s,u=1&r,l=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");s=l?this.curve.pointFromX(s.add(this.curve.n),u):this.curve.pointFromX(s,u);var f=t.r.invm(a),d=a.sub(o).mul(f).umod(a),b=c.mul(f).umod(a);return this.g.mulAdd(d,s,b)},U.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new I(t,n)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var a;try{a=this.recoverPubKey(e,t,i)}catch(e){continue}if(a.eq(r))return i}throw new Error("Unable to find valid recovery factor")};var V=s((function(e,t){var r=t;r.version="6.5.4",r.utils=f,r.rand=function(){throw new Error("unsupported")},r.curve=S,r.curves=O,r.ec=z,r.eddsa=null})).ec,G=r(49716),H=r(30520);const W=new(r(39502).Logger)("signing-key/5.7.0");let q=null;function K(){return q||(q=new V("secp256k1")),q}class Q{constructor(e){(0,H.defineReadOnly)(this,"curve","secp256k1"),(0,H.defineReadOnly)(this,"privateKey",(0,G.hexlify)(e)),32!==(0,G.hexDataLength)(this.privateKey)&&W.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");const t=K().keyFromPrivate((0,G.arrayify)(this.privateKey));(0,H.defineReadOnly)(this,"publicKey","0x"+t.getPublic(!1,"hex")),(0,H.defineReadOnly)(this,"compressedPublicKey","0x"+t.getPublic(!0,"hex")),(0,H.defineReadOnly)(this,"_isSigningKey",!0)}_addPoint(e){const t=K().keyFromPublic((0,G.arrayify)(this.publicKey)),r=K().keyFromPublic((0,G.arrayify)(e));return"0x"+t.pub.add(r.pub).encodeCompressed("hex")}signDigest(e){const t=K().keyFromPrivate((0,G.arrayify)(this.privateKey)),r=(0,G.arrayify)(e);32!==r.length&&W.throwArgumentError("bad digest length","digest",e);const n=t.sign(r,{canonical:!0});return(0,G.splitSignature)({recoveryParam:n.recoveryParam,r:(0,G.hexZeroPad)("0x"+n.r.toString(16),32),s:(0,G.hexZeroPad)("0x"+n.s.toString(16),32)})}computeSharedSecret(e){const t=K().keyFromPrivate((0,G.arrayify)(this.privateKey)),r=K().keyFromPublic((0,G.arrayify)(Y(e)));return(0,G.hexZeroPad)("0x"+t.derive(r.getPublic()).toString(16),32)}static isSigningKey(e){return!(!e||!e._isSigningKey)}}function J(e,t){const r=(0,G.splitSignature)(t),n={r:(0,G.arrayify)(r.r),s:(0,G.arrayify)(r.s)};return"0x"+K().recoverPubKey((0,G.arrayify)(e),n,r.recoveryParam).encode("hex",!1)}function Y(e,t){const r=(0,G.arrayify)(e);if(32===r.length){const e=new Q(r);return t?"0x"+K().keyFromPrivate(r).getPublic(!0,"hex"):e.publicKey}return 33===r.length?t?(0,G.hexlify)(r):"0x"+K().keyFromPublic(r).getPublic(!1,"hex"):65===r.length?t?"0x"+K().keyFromPublic(r).getPublic(!0,"hex"):(0,G.hexlify)(r):W.throwArgumentError("invalid public or private key","key","[REDACTED]")}},84530:(e,t,r)=>{"use strict";r.r(t),r.d(t,{keccak256:()=>y,pack:()=>p,sha256:()=>m});var n=r(2257),i=r(49716),a=r(88062),o=r(39598),s=r(83374),c=r(39502);const u=new RegExp("^bytes([0-9]+)$"),l=new RegExp("^(u?int)([0-9]*)$"),f=new RegExp("^(.*)\\[([0-9]*)\\]$"),d="0000000000000000000000000000000000000000000000000000000000000000",b=new c.Logger("solidity/5.7.0");function h(e,t,r){switch(e){case"address":return r?(0,i.zeroPad)(t,32):(0,i.arrayify)(t);case"string":return(0,s.Y0)(t);case"bytes":return(0,i.arrayify)(t);case"bool":return t=t?"0x01":"0x00",r?(0,i.zeroPad)(t,32):(0,i.arrayify)(t)}let a=e.match(l);if(a){let o=parseInt(a[2]||"256");return(a[2]&&String(o)!==a[2]||o%8!==0||0===o||o>256)&&b.throwArgumentError("invalid number type","type",e),r&&(o=256),t=n.O$.from(t).toTwos(o),(0,i.zeroPad)(t,o/8)}if(a=e.match(u),a){const n=parseInt(a[1]);return(String(n)!==a[1]||0===n||n>32)&&b.throwArgumentError("invalid bytes type","type",e),(0,i.arrayify)(t).byteLength!==n&&b.throwArgumentError("invalid value for ".concat(e),"value",t),r?(0,i.arrayify)((t+d).substring(0,66)):t}if(a=e.match(f),a&&Array.isArray(t)){const r=a[1];parseInt(a[2]||String(t.length))!=t.length&&b.throwArgumentError("invalid array length for ".concat(e),"value",t);const n=[];return t.forEach((function(e){n.push(h(r,e,!0))})),(0,i.concat)(n)}return b.throwArgumentError("invalid type","type",e)}function p(e,t){e.length!=t.length&&b.throwArgumentError("wrong number of values; expected ${ types.length }","values",t);const r=[];return e.forEach((function(e,n){r.push(h(e,t[n]))})),(0,i.hexlify)((0,i.concat)(r))}function y(e,t){return(0,a.keccak256)(p(e,t))}function m(e,t){return(0,o.JQ)(p(e,t))}},95847:(e,t,r)=>{"use strict";r.d(t,{F:()=>s,s:()=>o});var n=r(84867),i=r(49716),a=r(83374);function o(e){const t=(0,a.Y0)(e);if(t.length>31)throw new Error("bytes32 string must be less than 32 bytes");return(0,i.hexlify)((0,i.concat)([t,n.R]).slice(0,32))}function s(e){const t=(0,i.arrayify)(e);if(32!==t.length)throw new Error("invalid bytes32 - not 32 bytes long");if(0!==t[31])throw new Error("invalid bytes32 string - no null terminator");let r=31;for(;0===t[r-1];)r--;return(0,a.ZN)(t.slice(0,r))}},46651:(e,t,r)=>{"use strict";r.d(t,{Ll:()=>h});var n=r(83374);function i(e,t){t||(t=function(e){return[parseInt(e,16)]});let r=0,n={};return e.split(",").forEach((e=>{let i=e.split(":");r+=parseInt(i[0],16),n[r]=t(i[1])})),n}function a(e){let t=0;return e.split(",").map((e=>{let r=e.split("-");1===r.length?r[1]="0":""===r[1]&&(r[1]="1");let n=t+parseInt(r[0],16);return t=parseInt(r[1],16),{l:n,h:t}}))}function o(e,t){let r=0;for(let n=0;n=r&&e<=r+i.h&&(e-r)%(i.d||1)===0){if(i.e&&-1!==i.e.indexOf(e-r))continue;return i}}return null}const s=a("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),c="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map((e=>parseInt(e,16))),u=[{h:25,s:32,l:65},{h:30,s:32,e:[23],l:127},{h:54,s:1,e:[48],l:64,d:2},{h:14,s:1,l:57,d:2},{h:44,s:1,l:17,d:2},{h:10,s:1,e:[2,6,8],l:61,d:2},{h:16,s:1,l:68,d:2},{h:84,s:1,e:[18,24,66],l:19,d:2},{h:26,s:32,e:[17],l:435},{h:22,s:1,l:71,d:2},{h:15,s:80,l:40},{h:31,s:32,l:16},{h:32,s:1,l:80,d:2},{h:52,s:1,l:42,d:2},{h:12,s:1,l:55,d:2},{h:40,s:1,e:[38],l:15,d:2},{h:14,s:1,l:48,d:2},{h:37,s:48,l:49},{h:148,s:1,l:6351,d:2},{h:88,s:1,l:160,d:2},{h:15,s:16,l:704},{h:25,s:26,l:854},{h:25,s:32,l:55915},{h:37,s:40,l:1247},{h:25,s:-119711,l:53248},{h:25,s:-119763,l:52},{h:25,s:-119815,l:52},{h:25,s:-119867,e:[1,4,5,7,8,11,12,17],l:52},{h:25,s:-119919,l:52},{h:24,s:-119971,e:[2,7,8,17],l:52},{h:24,s:-120023,e:[2,7,13,15,16,17],l:52},{h:25,s:-120075,l:52},{h:25,s:-120127,l:52},{h:25,s:-120179,l:52},{h:25,s:-120231,l:52},{h:25,s:-120283,l:52},{h:25,s:-120335,l:52},{h:24,s:-119543,e:[17],l:56},{h:24,s:-119601,e:[17],l:58},{h:24,s:-119659,e:[17],l:58},{h:24,s:-119717,e:[17],l:58},{h:24,s:-119775,e:[17],l:58}],l=i("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),f=i("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),d=i("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",(function(e){if(e.length%4!==0)throw new Error("bad data");let t=[];for(let r=0;r{if(c.indexOf(e)>=0)return[];if(e>=65024&&e<=65039)return[];let t=function(e){let t=o(e,u);if(t)return[e+t.s];let r=l[e];if(r)return r;let n=f[e];return n?[e+n[0]]:d[e]||null}(e);return t||[e]})),t=r.reduce(((e,t)=>(t.forEach((t=>{e.push(t)})),e)),[]),t=(0,n.XL)((0,n.uu)(t),n.Uj.NFKC),t.forEach((e=>{if(o(e,b))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")})),t.forEach((e=>{if(o(e,s))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")}));let i=(0,n.uu)(t);if("-"===i.substring(0,1)||"--"===i.substring(2,4)||"-"===i.substring(i.length-1))throw new Error("invalid hyphen");return i}},27226:(e,t,r)=>{"use strict";r.r(t),r.d(t,{UnicodeNormalizationForm:()=>a.Uj,Utf8ErrorFuncs:()=>a.te,Utf8ErrorReason:()=>a.Uw,_toEscapedUtf8String:()=>a.U$,formatBytes32String:()=>n.s,nameprep:()=>i.Ll,parseBytes32String:()=>n.F,toUtf8Bytes:()=>a.Y0,toUtf8CodePoints:()=>a.XL,toUtf8String:()=>a.ZN});var n=r(95847),i=r(46651),a=r(83374)},83374:(e,t,r)=>{"use strict";r.d(t,{Uj:()=>a,te:()=>c,Uw:()=>o,U$:()=>d,uu:()=>b,Y0:()=>l,XL:()=>p,ZN:()=>h});var n=r(49716);const i=new(r(39502).Logger)("strings/5.7.0");var a,o;function s(e,t,r,n,i){if(e===o.BAD_PREFIX||e===o.UNEXPECTED_CONTINUE){let e=0;for(let n=t+1;n>6===2;n++)e++;return e}return e===o.OVERRUN?r.length-t-1:0}!function(e){e.current="",e.NFC="NFC",e.NFD="NFD",e.NFKC="NFKC",e.NFKD="NFKD"}(a||(a={})),function(e){e.UNEXPECTED_CONTINUE="unexpected continuation byte",e.BAD_PREFIX="bad codepoint prefix",e.OVERRUN="string overrun",e.MISSING_CONTINUE="missing continuation byte",e.OUT_OF_RANGE="out of UTF-8 range",e.UTF16_SURROGATE="UTF-16 surrogate",e.OVERLONG="overlong representation"}(o||(o={}));const c=Object.freeze({error:function(e,t,r,n,a){return i.throwArgumentError("invalid codepoint at offset ".concat(t,"; ").concat(e),"bytes",r)},ignore:s,replace:function(e,t,r,n,i){return e===o.OVERLONG?(n.push(i),0):(n.push(65533),s(e,t,r))}});function u(e,t){null==t&&(t=c.error),e=(0,n.arrayify)(e);const r=[];let i=0;for(;i>7===0){r.push(n);continue}let a=null,s=null;if(192===(224&n))a=1,s=127;else if(224===(240&n))a=2,s=2047;else{if(240!==(248&n)){i+=t(128===(192&n)?o.UNEXPECTED_CONTINUE:o.BAD_PREFIX,i-1,e,r);continue}a=3,s=65535}if(i-1+a>=e.length){i+=t(o.OVERRUN,i-1,e,r);continue}let c=n&(1<<8-a-1)-1;for(let u=0;u1114111?i+=t(o.OUT_OF_RANGE,i-1-a,e,r,c):c>=55296&&c<=57343?i+=t(o.UTF16_SURROGATE,i-1-a,e,r,c):c<=s?i+=t(o.OVERLONG,i-1-a,e,r,c):r.push(c))}return r}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.current;t!=a.current&&(i.checkNormalize(),e=e.normalize(t));let r=[];for(let n=0;n>6|192),r.push(63&t|128);else if(55296==(64512&t)){n++;const i=e.charCodeAt(n);if(n>=e.length||56320!==(64512&i))throw new Error("invalid utf-8 string");const a=65536+((1023&t)<<10)+(1023&i);r.push(a>>18|240),r.push(a>>12&63|128),r.push(a>>6&63|128),r.push(63&a|128)}else r.push(t>>12|224),r.push(t>>6&63|128),r.push(63&t|128)}return(0,n.arrayify)(r)}function f(e){const t="0000"+e.toString(16);return"\\u"+t.substring(t.length-4)}function d(e,t){return'"'+u(e,t).map((e=>{if(e<256){switch(e){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(e>=32&&e<127)return String.fromCharCode(e)}return e<=65535?f(e):f(55296+((e-=65536)>>10&1023))+f(56320+(1023&e))})).join("")+'"'}function b(e){return e.map((e=>e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10&1023),56320+(1023&e))))).join("")}function h(e,t){return b(u(e,t))}function p(e){return u(l(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.current))}},25452:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TransactionTypes:()=>b,accessListify:()=>E,computeAddress:()=>g,parse:()=>k,recoverAddress:()=>v,serialize:()=>P});var n=r(97419),i=r(2257),a=r(49716),o=r(75422),s=r(88062),c=r(30520),u=r(17986),l=r(78865),f=r(39502);const d=new f.Logger("transactions/5.7.0");var b;function h(e){return"0x"===e?null:(0,n.getAddress)(e)}function p(e){return"0x"===e?o._Y:i.O$.from(e)}!function(e){e[e.legacy=0]="legacy",e[e.eip2930=1]="eip2930",e[e.eip1559=2]="eip1559"}(b||(b={}));const y=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],m={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function g(e){const t=(0,l.computePublicKey)(e);return(0,n.getAddress)((0,a.hexDataSlice)((0,s.keccak256)((0,a.hexDataSlice)(t,1)),12))}function v(e,t){return g((0,l.recoverPublicKey)((0,a.arrayify)(e),t))}function w(e,t){const r=(0,a.stripZeros)(i.O$.from(e).toHexString());return r.length>32&&d.throwArgumentError("invalid length for "+t,"transaction:"+t,e),r}function _(e,t){return{address:(0,n.getAddress)(e),storageKeys:(t||[]).map(((t,r)=>(32!==(0,a.hexDataLength)(t)&&d.throwArgumentError("invalid access list storageKey","accessList[".concat(e,":").concat(r,"]"),t),t.toLowerCase())))}}function E(e){if(Array.isArray(e))return e.map(((e,t)=>Array.isArray(e)?(e.length>2&&d.throwArgumentError("access list expected to be [ address, storageKeys[] ]","value[".concat(t,"]"),e),_(e[0],e[1])):_(e.address,e.storageKeys)));const t=Object.keys(e).map((t=>{const r=e[t].reduce(((e,t)=>(e[t]=!0,e)),{});return _(t,Object.keys(r).sort())}));return t.sort(((e,t)=>e.address.localeCompare(t.address))),t}function A(e){return E(e).map((e=>[e.address,e.storageKeys]))}function S(e,t){if(null!=e.gasPrice){const t=i.O$.from(e.gasPrice),r=i.O$.from(e.maxFeePerGas||0);t.eq(r)||d.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:t,maxFeePerGas:r})}const r=[w(e.chainId||0,"chainId"),w(e.nonce||0,"nonce"),w(e.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),w(e.maxFeePerGas||0,"maxFeePerGas"),w(e.gasLimit||0,"gasLimit"),null!=e.to?(0,n.getAddress)(e.to):"0x",w(e.value||0,"value"),e.data||"0x",A(e.accessList||[])];if(t){const e=(0,a.splitSignature)(t);r.push(w(e.recoveryParam,"recoveryParam")),r.push((0,a.stripZeros)(e.r)),r.push((0,a.stripZeros)(e.s))}return(0,a.hexConcat)(["0x02",u.encode(r)])}function O(e,t){const r=[w(e.chainId||0,"chainId"),w(e.nonce||0,"nonce"),w(e.gasPrice||0,"gasPrice"),w(e.gasLimit||0,"gasLimit"),null!=e.to?(0,n.getAddress)(e.to):"0x",w(e.value||0,"value"),e.data||"0x",A(e.accessList||[])];if(t){const e=(0,a.splitSignature)(t);r.push(w(e.recoveryParam,"recoveryParam")),r.push((0,a.stripZeros)(e.r)),r.push((0,a.stripZeros)(e.s))}return(0,a.hexConcat)(["0x01",u.encode(r)])}function P(e,t){if(null==e.type||0===e.type)return null!=e.accessList&&d.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",e),function(e,t){(0,c.checkProperties)(e,m);const r=[];y.forEach((function(t){let n=e[t.name]||[];const i={};t.numeric&&(i.hexPad="left"),n=(0,a.arrayify)((0,a.hexlify)(n,i)),t.length&&n.length!==t.length&&n.length>0&&d.throwArgumentError("invalid length for "+t.name,"transaction:"+t.name,n),t.maxLength&&(n=(0,a.stripZeros)(n),n.length>t.maxLength&&d.throwArgumentError("invalid length for "+t.name,"transaction:"+t.name,n)),r.push((0,a.hexlify)(n))}));let n=0;if(null!=e.chainId?(n=e.chainId,"number"!==typeof n&&d.throwArgumentError("invalid transaction.chainId","transaction",e)):t&&!(0,a.isBytesLike)(t)&&t.v>28&&(n=Math.floor((t.v-35)/2)),0!==n&&(r.push((0,a.hexlify)(n)),r.push("0x"),r.push("0x")),!t)return u.encode(r);const i=(0,a.splitSignature)(t);let o=27+i.recoveryParam;return 0!==n?(r.pop(),r.pop(),r.pop(),o+=2*n+8,i.v>28&&i.v!==o&&d.throwArgumentError("transaction.chainId/signature.v mismatch","signature",t)):i.v!==o&&d.throwArgumentError("transaction.chainId/signature.v mismatch","signature",t),r.push((0,a.hexlify)(o)),r.push((0,a.stripZeros)((0,a.arrayify)(i.r))),r.push((0,a.stripZeros)((0,a.arrayify)(i.s))),u.encode(r)}(e,t);switch(e.type){case 1:return O(e,t);case 2:return S(e,t)}return d.throwError("unsupported transaction type: ".concat(e.type),f.Logger.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:e.type})}function T(e,t,r){try{const r=p(t[0]).toNumber();if(0!==r&&1!==r)throw new Error("bad recid");e.v=r}catch(n){d.throwArgumentError("invalid v for transaction type: 1","v",t[0])}e.r=(0,a.hexZeroPad)(t[1],32),e.s=(0,a.hexZeroPad)(t[2],32);try{const t=(0,s.keccak256)(r(e));e.from=v(t,{r:e.r,s:e.s,recoveryParam:e.v})}catch(n){}}function k(e){const t=(0,a.arrayify)(e);if(t[0]>127)return function(e){const t=u.decode(e);9!==t.length&&6!==t.length&&d.throwArgumentError("invalid raw transaction","rawTransaction",e);const r={nonce:p(t[0]).toNumber(),gasPrice:p(t[1]),gasLimit:p(t[2]),to:h(t[3]),value:p(t[4]),data:t[5],chainId:0};if(6===t.length)return r;try{r.v=i.O$.from(t[6]).toNumber()}catch(n){return r}if(r.r=(0,a.hexZeroPad)(t[7],32),r.s=(0,a.hexZeroPad)(t[8],32),i.O$.from(r.r).isZero()&&i.O$.from(r.s).isZero())r.chainId=r.v,r.v=0;else{r.chainId=Math.floor((r.v-35)/2),r.chainId<0&&(r.chainId=0);let i=r.v-27;const o=t.slice(0,6);0!==r.chainId&&(o.push((0,a.hexlify)(r.chainId)),o.push("0x"),o.push("0x"),i-=2*r.chainId+8);const c=(0,s.keccak256)(u.encode(o));try{r.from=v(c,{r:(0,a.hexlify)(r.r),s:(0,a.hexlify)(r.s),recoveryParam:i})}catch(n){}r.hash=(0,s.keccak256)(e)}return r.type=null,r}(t);switch(t[0]){case 1:return function(e){const t=u.decode(e.slice(1));8!==t.length&&11!==t.length&&d.throwArgumentError("invalid component count for transaction type: 1","payload",(0,a.hexlify)(e));const r={type:1,chainId:p(t[0]).toNumber(),nonce:p(t[1]).toNumber(),gasPrice:p(t[2]),gasLimit:p(t[3]),to:h(t[4]),value:p(t[5]),data:t[6],accessList:E(t[7])};return 8===t.length||(r.hash=(0,s.keccak256)(e),T(r,t.slice(8),O)),r}(t);case 2:return function(e){const t=u.decode(e.slice(1));9!==t.length&&12!==t.length&&d.throwArgumentError("invalid component count for transaction type: 2","payload",(0,a.hexlify)(e));const r=p(t[2]),n=p(t[3]),i={type:2,chainId:p(t[0]).toNumber(),nonce:p(t[1]).toNumber(),maxPriorityFeePerGas:r,maxFeePerGas:n,gasPrice:null,gasLimit:p(t[4]),to:h(t[5]),value:p(t[6]),data:t[7],accessList:E(t[8])};return 9===t.length||(i.hash=(0,s.keccak256)(e),T(i,t.slice(9),S)),i}(t)}return d.throwError("unsupported transaction type: ".concat(t[0]),f.Logger.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:t[0]})}},6222:(e,t,r)=>{"use strict";r.r(t),r.d(t,{commify:()=>o,formatEther:()=>u,formatUnits:()=>s,parseEther:()=>l,parseUnits:()=>c});var n=r(1503);const i=new(r(39502).Logger)("units/5.7.0"),a=["wei","kwei","mwei","gwei","szabo","finney","ether"];function o(e){const t=String(e).split(".");(t.length>2||!t[0].match(/^-?[0-9]*$/)||t[1]&&!t[1].match(/^[0-9]*$/)||"."===e||"-."===e)&&i.throwArgumentError("invalid value","value",e);let r=t[0],n="";for("-"===r.substring(0,1)&&(n="-",r=r.substring(1));"0"===r.substring(0,1);)r=r.substring(1);""===r&&(r="0");let a="";for(2===t.length&&(a="."+(t[1]||"0"));a.length>2&&"0"===a[a.length-1];)a=a.substring(0,a.length-1);const o=[];for(;r.length;){if(r.length<=3){o.unshift(r);break}{const e=r.length-3;o.unshift(r.substring(e)),r=r.substring(0,e)}}return n+o.join(",")+a}function s(e,t){if("string"===typeof t){const e=a.indexOf(t);-1!==e&&(t=3*e)}return(0,n.S5)(e,null!=t?t:18)}function c(e,t){if("string"!==typeof e&&i.throwArgumentError("value must be a string","value",e),"string"===typeof t){const e=a.indexOf(t);-1!==e&&(t=3*e)}return(0,n.Ox)(e,null!=t?t:18)}function u(e){return s(e,18)}function l(e){return c(e,18)}},22876:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Wallet:()=>w,verifyMessage:()=>_,verifyTypedData:()=>E});var n=r(97419),i=r(69745),a=r(68408),o=r(49716),s=r(2273),c=r(35992),u=r(50117),l=r(88062),f=r(30520),d=r(15244),b=r(78865),h=r(13463),p=r(87623),y=r(25452),m=r(39502);var g=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))};const v=new m.Logger("wallet/5.7.0");class w extends a.E{constructor(e,t){if(super(),null!=(r=e)&&(0,o.isHexString)(r.privateKey,32)&&null!=r.address){const t=new b.SigningKey(e.privateKey);if((0,f.defineReadOnly)(this,"_signingKey",(()=>t)),(0,f.defineReadOnly)(this,"address",(0,y.computeAddress)(this.publicKey)),this.address!==(0,n.getAddress)(e.address)&&v.throwArgumentError("privateKey/address mismatch","privateKey","[REDACTED]"),function(e){const t=e.mnemonic;return t&&t.phrase}(e)){const t=e.mnemonic;(0,f.defineReadOnly)(this,"_mnemonic",(()=>({phrase:t.phrase,path:t.path||u.defaultPath,locale:t.locale||"en"})));const r=this.mnemonic,n=u.HDNode.fromMnemonic(r.phrase,null,r.locale).derivePath(r.path);(0,y.computeAddress)(n.privateKey)!==this.address&&v.throwArgumentError("mnemonic/address mismatch","privateKey","[REDACTED]")}else(0,f.defineReadOnly)(this,"_mnemonic",(()=>null))}else{if(b.SigningKey.isSigningKey(e))"secp256k1"!==e.curve&&v.throwArgumentError("unsupported curve; must be secp256k1","privateKey","[REDACTED]"),(0,f.defineReadOnly)(this,"_signingKey",(()=>e));else{"string"===typeof e&&e.match(/^[0-9a-f]*$/i)&&64===e.length&&(e="0x"+e);const t=new b.SigningKey(e);(0,f.defineReadOnly)(this,"_signingKey",(()=>t))}(0,f.defineReadOnly)(this,"_mnemonic",(()=>null)),(0,f.defineReadOnly)(this,"address",(0,y.computeAddress)(this.publicKey))}var r;t&&!i.zt.isProvider(t)&&v.throwArgumentError("invalid provider","provider",t),(0,f.defineReadOnly)(this,"provider",t||null)}get mnemonic(){return this._mnemonic()}get privateKey(){return this._signingKey().privateKey}get publicKey(){return this._signingKey().publicKey}getAddress(){return Promise.resolve(this.address)}connect(e){return new w(this,e)}signTransaction(e){return(0,f.resolveProperties)(e).then((t=>{null!=t.from&&((0,n.getAddress)(t.from)!==this.address&&v.throwArgumentError("transaction from address mismatch","transaction.from",e.from),delete t.from);const r=this._signingKey().signDigest((0,l.keccak256)((0,y.serialize)(t)));return(0,y.serialize)(t,r)}))}signMessage(e){return g(this,void 0,void 0,(function*(){return(0,o.joinSignature)(this._signingKey().signDigest((0,s.r)(e)))}))}_signTypedData(e,t,r){return g(this,void 0,void 0,(function*(){const n=yield c.E.resolveNames(e,t,r,(e=>(null==this.provider&&v.throwError("cannot resolve ENS names without a provider",m.Logger.errors.UNSUPPORTED_OPERATION,{operation:"resolveName",value:e}),this.provider.resolveName(e))));return(0,o.joinSignature)(this._signingKey().signDigest(c.E.hash(n.domain,t,n.value)))}))}encrypt(e,t,r){if("function"!==typeof t||r||(r=t,t={}),r&&"function"!==typeof r)throw new Error("invalid callback");return t||(t={}),(0,h.HI)(this,e,t,r)}static createRandom(e){let t=(0,d.O)(16);e||(e={}),e.extraEntropy&&(t=(0,o.arrayify)((0,o.hexDataSlice)((0,l.keccak256)((0,o.concat)([t,e.extraEntropy])),0,16)));const r=(0,u.entropyToMnemonic)(t,e.locale);return w.fromMnemonic(r,e.path,e.locale)}static fromEncryptedJson(e,t,r){return(0,p.decryptJsonWallet)(e,t,r).then((e=>new w(e)))}static fromEncryptedJsonSync(e,t){return new w((0,p.decryptJsonWalletSync)(e,t))}static fromMnemonic(e,t,r){return t||(t=u.defaultPath),new w(u.HDNode.fromMnemonic(e,null,r).derivePath(t))}}function _(e,t){return(0,y.recoverAddress)((0,s.r)(e),t)}function E(e,t,r,n){return(0,y.recoverAddress)(c.E.hash(e,t,r),n)}},65889:(e,t,r)=>{"use strict";r.r(t),r.d(t,{_fetchData:()=>h,fetchJson:()=>p,poll:()=>y});var n=r(87354),i=r(49716),a=r(30520),o=r(83374),s=r(39502);var c=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))};function u(e,t){return c(this,void 0,void 0,(function*(){null==t&&(t={});const r={method:t.method||"GET",headers:t.headers||{},body:t.body||void 0};if(!0!==t.skipFetchSetup&&(r.mode="cors",r.cache="no-cache",r.credentials="same-origin",r.redirect="follow",r.referrer="client"),null!=t.fetchOptions){const e=t.fetchOptions;e.mode&&(r.mode=e.mode),e.cache&&(r.cache=e.cache),e.credentials&&(r.credentials=e.credentials),e.redirect&&(r.redirect=e.redirect),e.referrer&&(r.referrer=e.referrer)}const n=yield fetch(e,r),a=yield n.arrayBuffer(),o={};return n.headers.forEach?n.headers.forEach(((e,t)=>{o[t.toLowerCase()]=e})):n.headers.keys().forEach((e=>{o[e.toLowerCase()]=n.headers.get(e)})),{headers:o,statusCode:n.status,statusMessage:n.statusText,body:(0,i.arrayify)(new Uint8Array(a))}}))}var l=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))};const f=new s.Logger("web/5.7.1");function d(e){return new Promise((t=>{setTimeout(t,e)}))}function b(e,t){if(null==e)return null;if("string"===typeof e)return e;if((0,i.isBytesLike)(e)){if(t&&("text"===t.split("/")[0]||"application/json"===t.split(";")[0].trim()))try{return(0,o.ZN)(e)}catch(r){}return(0,i.hexlify)(e)}return e}function h(e,t,r){const i="object"===typeof e&&null!=e.throttleLimit?e.throttleLimit:12;f.assertArgument(i>0&&i%1===0,"invalid connection throttle limit","connection.throttleLimit",i);const c="object"===typeof e?e.throttleCallback:null,h="object"===typeof e&&"number"===typeof e.throttleSlotInterval?e.throttleSlotInterval:100;f.assertArgument(h>0&&h%1===0,"invalid connection throttle slot interval","connection.throttleSlotInterval",h);const p="object"===typeof e&&!!e.errorPassThrough,y={};let m=null;const g={method:"GET"};let v=!1,w=12e4;if("string"===typeof e)m=e;else if("object"===typeof e){if(null!=e&&null!=e.url||f.throwArgumentError("missing URL","connection.url",e),m=e.url,"number"===typeof e.timeout&&e.timeout>0&&(w=e.timeout),e.headers)for(const t in e.headers)y[t.toLowerCase()]={key:t,value:String(e.headers[t])},["if-none-match","if-modified-since"].indexOf(t.toLowerCase())>=0&&(v=!0);if(g.allowGzip=!!e.allowGzip,null!=e.user&&null!=e.password){"https:"!==m.substring(0,6)&&!0!==e.allowInsecureAuthentication&&f.throwError("basic authentication requires a secure https url",s.Logger.errors.INVALID_ARGUMENT,{argument:"url",url:m,user:e.user,password:"[REDACTED]"});const t=e.user+":"+e.password;y.authorization={key:"Authorization",value:"Basic "+(0,n.c)((0,o.Y0)(t))}}null!=e.skipFetchSetup&&(g.skipFetchSetup=!!e.skipFetchSetup),null!=e.fetchOptions&&(g.fetchOptions=(0,a.shallowCopy)(e.fetchOptions))}const _=new RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),E=m?m.match(_):null;if(E)try{const e={statusCode:200,statusMessage:"OK",headers:{"content-type":E[1]||"text/plain"},body:E[2]?(0,n.J)(E[3]):(A=E[3],(0,o.Y0)(A.replace(/%([0-9a-f][0-9a-f])/gi,((e,t)=>String.fromCharCode(parseInt(t,16))))))};let t=e.body;return r&&(t=r(e.body,e)),Promise.resolve(t)}catch(T){f.throwError("processing response error",s.Logger.errors.SERVER_ERROR,{body:b(E[1],E[2]),error:T,requestBody:null,requestMethod:"GET",url:m})}var A;t&&(g.method="POST",g.body=t,null==y["content-type"]&&(y["content-type"]={key:"Content-Type",value:"application/octet-stream"}),null==y["content-length"]&&(y["content-length"]={key:"Content-Length",value:String(t.length)}));const S={};Object.keys(y).forEach((e=>{const t=y[e];S[t.key]=t.value})),g.headers=S;const O=function(){let e=null;return{promise:new Promise((function(t,r){w&&(e=setTimeout((()=>{null!=e&&(e=null,r(f.makeError("timeout",s.Logger.errors.TIMEOUT,{requestBody:b(g.body,S["content-type"]),requestMethod:g.method,timeout:w,url:m})))}),w))})),cancel:function(){null!=e&&(clearTimeout(e),e=null)}}}(),P=function(){return l(this,void 0,void 0,(function*(){for(let e=0;e=300)&&(O.cancel(),f.throwError("bad response",s.Logger.errors.SERVER_ERROR,{status:t.statusCode,headers:t.headers,body:b(n,t.headers?t.headers["content-type"]:null),requestBody:b(g.body,S["content-type"]),requestMethod:g.method,url:m})),r)try{const e=yield r(n,t);return O.cancel(),e}catch(T){if(T.throttleRetry&&e"content-type"===e.toLowerCase())).length||(r.headers=(0,a.shallowCopy)(r.headers),r.headers["content-type"]="application/json")}else r.headers={"content-type":"application/json"};e=r}return h(e,n,((e,t)=>{let n=null;if(null!=e)try{n=JSON.parse((0,o.ZN)(e))}catch(i){f.throwError("invalid JSON",s.Logger.errors.SERVER_ERROR,{body:e,error:i})}return r&&(n=r(n,t)),n}))}function y(e,t){return t||(t={}),null==(t=(0,a.shallowCopy)(t)).floor&&(t.floor=0),null==t.ceiling&&(t.ceiling=1e4),null==t.interval&&(t.interval=250),new Promise((function(r,n){let i=null,a=!1;const o=()=>!a&&(a=!0,i&&clearTimeout(i),!0);t.timeout&&(i=setTimeout((()=>{o()&&n(new Error("timeout"))}),t.timeout));const s=t.retryLimit;let c=0;!function i(){return e().then((function(e){if(void 0!==e)o()&&r(e);else if(t.oncePoll)t.oncePoll.once("poll",i);else if(t.onceBlock)t.onceBlock.once("block",i);else if(!a){if(c++,c>s)return void(o()&&n(new Error("retry limit reached")));let e=t.interval*parseInt(String(Math.random()*Math.pow(2,c)));et.ceiling&&(e=t.ceiling),setTimeout(i,e)}return null}),(function(e){o()&&n(e)}))}()}))}},75760:(e,t,r)=>{"use strict";r.d(t,{D:()=>s});var n=r(51583),i=r(30520),a=r(39502);const o=new a.Logger("wordlists/5.7.0");class s{constructor(e){o.checkAbstract(new.target,s),(0,i.defineReadOnly)(this,"locale",e)}split(e){return e.toLowerCase().split(/ +/g)}join(e){return e.join(" ")}static check(e){const t=[];for(let r=0;r<2048;r++){const n=e.getWord(r);if(r!==e.getWordIndex(n))return"0x";t.push(n)}return(0,n.id)(t.join("\n")+"\n")}static register(e,t){t||(t=e.locale)}}},42646:(e,t,r)=>{"use strict";r.d(t,{E:()=>c});var n=r(75760);let i=null;function a(e){if(null==i&&(i="AbandonAbilityAbleAboutAboveAbsentAbsorbAbstractAbsurdAbuseAccessAccidentAccountAccuseAchieveAcidAcousticAcquireAcrossActActionActorActressActualAdaptAddAddictAddressAdjustAdmitAdultAdvanceAdviceAerobicAffairAffordAfraidAgainAgeAgentAgreeAheadAimAirAirportAisleAlarmAlbumAlcoholAlertAlienAllAlleyAllowAlmostAloneAlphaAlreadyAlsoAlterAlwaysAmateurAmazingAmongAmountAmusedAnalystAnchorAncientAngerAngleAngryAnimalAnkleAnnounceAnnualAnotherAnswerAntennaAntiqueAnxietyAnyApartApologyAppearAppleApproveAprilArchArcticAreaArenaArgueArmArmedArmorArmyAroundArrangeArrestArriveArrowArtArtefactArtistArtworkAskAspectAssaultAssetAssistAssumeAsthmaAthleteAtomAttackAttendAttitudeAttractAuctionAuditAugustAuntAuthorAutoAutumnAverageAvocadoAvoidAwakeAwareAwayAwesomeAwfulAwkwardAxisBabyBachelorBaconBadgeBagBalanceBalconyBallBambooBananaBannerBarBarelyBargainBarrelBaseBasicBasketBattleBeachBeanBeautyBecauseBecomeBeefBeforeBeginBehaveBehindBelieveBelowBeltBenchBenefitBestBetrayBetterBetweenBeyondBicycleBidBikeBindBiologyBirdBirthBitterBlackBladeBlameBlanketBlastBleakBlessBlindBloodBlossomBlouseBlueBlurBlushBoardBoatBodyBoilBombBoneBonusBookBoostBorderBoringBorrowBossBottomBounceBoxBoyBracketBrainBrandBrassBraveBreadBreezeBrickBridgeBriefBrightBringBriskBroccoliBrokenBronzeBroomBrotherBrownBrushBubbleBuddyBudgetBuffaloBuildBulbBulkBulletBundleBunkerBurdenBurgerBurstBusBusinessBusyButterBuyerBuzzCabbageCabinCableCactusCageCakeCallCalmCameraCampCanCanalCancelCandyCannonCanoeCanvasCanyonCapableCapitalCaptainCarCarbonCardCargoCarpetCarryCartCaseCashCasinoCastleCasualCatCatalogCatchCategoryCattleCaughtCauseCautionCaveCeilingCeleryCementCensusCenturyCerealCertainChairChalkChampionChangeChaosChapterChargeChaseChatCheapCheckCheeseChefCherryChestChickenChiefChildChimneyChoiceChooseChronicChuckleChunkChurnCigarCinnamonCircleCitizenCityCivilClaimClapClarifyClawClayCleanClerkCleverClickClientCliffClimbClinicClipClockClogCloseClothCloudClownClubClumpClusterClutchCoachCoastCoconutCodeCoffeeCoilCoinCollectColorColumnCombineComeComfortComicCommonCompanyConcertConductConfirmCongressConnectConsiderControlConvinceCookCoolCopperCopyCoralCoreCornCorrectCostCottonCouchCountryCoupleCourseCousinCoverCoyoteCrackCradleCraftCramCraneCrashCraterCrawlCrazyCreamCreditCreekCrewCricketCrimeCrispCriticCropCrossCrouchCrowdCrucialCruelCruiseCrumbleCrunchCrushCryCrystalCubeCultureCupCupboardCuriousCurrentCurtainCurveCushionCustomCuteCycleDadDamageDampDanceDangerDaringDashDaughterDawnDayDealDebateDebrisDecadeDecemberDecideDeclineDecorateDecreaseDeerDefenseDefineDefyDegreeDelayDeliverDemandDemiseDenialDentistDenyDepartDependDepositDepthDeputyDeriveDescribeDesertDesignDeskDespairDestroyDetailDetectDevelopDeviceDevoteDiagramDialDiamondDiaryDiceDieselDietDifferDigitalDignityDilemmaDinnerDinosaurDirectDirtDisagreeDiscoverDiseaseDishDismissDisorderDisplayDistanceDivertDivideDivorceDizzyDoctorDocumentDogDollDolphinDomainDonateDonkeyDonorDoorDoseDoubleDoveDraftDragonDramaDrasticDrawDreamDressDriftDrillDrinkDripDriveDropDrumDryDuckDumbDuneDuringDustDutchDutyDwarfDynamicEagerEagleEarlyEarnEarthEasilyEastEasyEchoEcologyEconomyEdgeEditEducateEffortEggEightEitherElbowElderElectricElegantElementElephantElevatorEliteElseEmbarkEmbodyEmbraceEmergeEmotionEmployEmpowerEmptyEnableEnactEndEndlessEndorseEnemyEnergyEnforceEngageEngineEnhanceEnjoyEnlistEnoughEnrichEnrollEnsureEnterEntireEntryEnvelopeEpisodeEqualEquipEraEraseErodeErosionErrorEruptEscapeEssayEssenceEstateEternalEthicsEvidenceEvilEvokeEvolveExactExampleExcessExchangeExciteExcludeExcuseExecuteExerciseExhaustExhibitExileExistExitExoticExpandExpectExpireExplainExposeExpressExtendExtraEyeEyebrowFabricFaceFacultyFadeFaintFaithFallFalseFameFamilyFamousFanFancyFantasyFarmFashionFatFatalFatherFatigueFaultFavoriteFeatureFebruaryFederalFeeFeedFeelFemaleFenceFestivalFetchFeverFewFiberFictionFieldFigureFileFilmFilterFinalFindFineFingerFinishFireFirmFirstFiscalFishFitFitnessFixFlagFlameFlashFlatFlavorFleeFlightFlipFloatFlockFloorFlowerFluidFlushFlyFoamFocusFogFoilFoldFollowFoodFootForceForestForgetForkFortuneForumForwardFossilFosterFoundFoxFragileFrameFrequentFreshFriendFringeFrogFrontFrostFrownFrozenFruitFuelFunFunnyFurnaceFuryFutureGadgetGainGalaxyGalleryGameGapGarageGarbageGardenGarlicGarmentGasGaspGateGatherGaugeGazeGeneralGeniusGenreGentleGenuineGestureGhostGiantGiftGiggleGingerGiraffeGirlGiveGladGlanceGlareGlassGlideGlimpseGlobeGloomGloryGloveGlowGlueGoatGoddessGoldGoodGooseGorillaGospelGossipGovernGownGrabGraceGrainGrantGrapeGrassGravityGreatGreenGridGriefGritGroceryGroupGrowGruntGuardGuessGuideGuiltGuitarGunGymHabitHairHalfHammerHamsterHandHappyHarborHardHarshHarvestHatHaveHawkHazardHeadHealthHeartHeavyHedgehogHeightHelloHelmetHelpHenHeroHiddenHighHillHintHipHireHistoryHobbyHockeyHoldHoleHolidayHollowHomeHoneyHoodHopeHornHorrorHorseHospitalHostHotelHourHoverHubHugeHumanHumbleHumorHundredHungryHuntHurdleHurryHurtHusbandHybridIceIconIdeaIdentifyIdleIgnoreIllIllegalIllnessImageImitateImmenseImmuneImpactImposeImproveImpulseInchIncludeIncomeIncreaseIndexIndicateIndoorIndustryInfantInflictInformInhaleInheritInitialInjectInjuryInmateInnerInnocentInputInquiryInsaneInsectInsideInspireInstallIntactInterestIntoInvestInviteInvolveIronIslandIsolateIssueItemIvoryJacketJaguarJarJazzJealousJeansJellyJewelJobJoinJokeJourneyJoyJudgeJuiceJumpJungleJuniorJunkJustKangarooKeenKeepKetchupKeyKickKidKidneyKindKingdomKissKitKitchenKiteKittenKiwiKneeKnifeKnockKnowLabLabelLaborLadderLadyLakeLampLanguageLaptopLargeLaterLatinLaughLaundryLavaLawLawnLawsuitLayerLazyLeaderLeafLearnLeaveLectureLeftLegLegalLegendLeisureLemonLendLengthLensLeopardLessonLetterLevelLiarLibertyLibraryLicenseLifeLiftLightLikeLimbLimitLinkLionLiquidListLittleLiveLizardLoadLoanLobsterLocalLockLogicLonelyLongLoopLotteryLoudLoungeLoveLoyalLuckyLuggageLumberLunarLunchLuxuryLyricsMachineMadMagicMagnetMaidMailMainMajorMakeMammalManManageMandateMangoMansionManualMapleMarbleMarchMarginMarineMarketMarriageMaskMassMasterMatchMaterialMathMatrixMatterMaximumMazeMeadowMeanMeasureMeatMechanicMedalMediaMelodyMeltMemberMemoryMentionMenuMercyMergeMeritMerryMeshMessageMetalMethodMiddleMidnightMilkMillionMimicMindMinimumMinorMinuteMiracleMirrorMiseryMissMistakeMixMixedMixtureMobileModelModifyMomMomentMonitorMonkeyMonsterMonthMoonMoralMoreMorningMosquitoMotherMotionMotorMountainMouseMoveMovieMuchMuffinMuleMultiplyMuscleMuseumMushroomMusicMustMutualMyselfMysteryMythNaiveNameNapkinNarrowNastyNationNatureNearNeckNeedNegativeNeglectNeitherNephewNerveNestNetNetworkNeutralNeverNewsNextNiceNightNobleNoiseNomineeNoodleNormalNorthNoseNotableNoteNothingNoticeNovelNowNuclearNumberNurseNutOakObeyObjectObligeObscureObserveObtainObviousOccurOceanOctoberOdorOffOfferOfficeOftenOilOkayOldOliveOlympicOmitOnceOneOnionOnlineOnlyOpenOperaOpinionOpposeOptionOrangeOrbitOrchardOrderOrdinaryOrganOrientOriginalOrphanOstrichOtherOutdoorOuterOutputOutsideOvalOvenOverOwnOwnerOxygenOysterOzonePactPaddlePagePairPalacePalmPandaPanelPanicPantherPaperParadeParentParkParrotPartyPassPatchPathPatientPatrolPatternPausePavePaymentPeacePeanutPearPeasantPelicanPenPenaltyPencilPeoplePepperPerfectPermitPersonPetPhonePhotoPhrasePhysicalPianoPicnicPicturePiecePigPigeonPillPilotPinkPioneerPipePistolPitchPizzaPlacePlanetPlasticPlatePlayPleasePledgePluckPlugPlungePoemPoetPointPolarPolePolicePondPonyPoolPopularPortionPositionPossiblePostPotatoPotteryPovertyPowderPowerPracticePraisePredictPreferPreparePresentPrettyPreventPricePridePrimaryPrintPriorityPrisonPrivatePrizeProblemProcessProduceProfitProgramProjectPromoteProofPropertyProsperProtectProudProvidePublicPuddingPullPulpPulsePumpkinPunchPupilPuppyPurchasePurityPurposePursePushPutPuzzlePyramidQualityQuantumQuarterQuestionQuickQuitQuizQuoteRabbitRaccoonRaceRackRadarRadioRailRainRaiseRallyRampRanchRandomRangeRapidRareRateRatherRavenRawRazorReadyRealReasonRebelRebuildRecallReceiveRecipeRecordRecycleReduceReflectReformRefuseRegionRegretRegularRejectRelaxReleaseReliefRelyRemainRememberRemindRemoveRenderRenewRentReopenRepairRepeatReplaceReportRequireRescueResembleResistResourceResponseResultRetireRetreatReturnReunionRevealReviewRewardRhythmRibRibbonRiceRichRideRidgeRifleRightRigidRingRiotRippleRiskRitualRivalRiverRoadRoastRobotRobustRocketRomanceRoofRookieRoomRoseRotateRoughRoundRouteRoyalRubberRudeRugRuleRunRunwayRuralSadSaddleSadnessSafeSailSaladSalmonSalonSaltSaluteSameSampleSandSatisfySatoshiSauceSausageSaveSayScaleScanScareScatterSceneSchemeSchoolScienceScissorsScorpionScoutScrapScreenScriptScrubSeaSearchSeasonSeatSecondSecretSectionSecuritySeedSeekSegmentSelectSellSeminarSeniorSenseSentenceSeriesServiceSessionSettleSetupSevenShadowShaftShallowShareShedShellSheriffShieldShiftShineShipShiverShockShoeShootShopShortShoulderShoveShrimpShrugShuffleShySiblingSickSideSiegeSightSignSilentSilkSillySilverSimilarSimpleSinceSingSirenSisterSituateSixSizeSkateSketchSkiSkillSkinSkirtSkullSlabSlamSleepSlenderSliceSlideSlightSlimSloganSlotSlowSlushSmallSmartSmileSmokeSmoothSnackSnakeSnapSniffSnowSoapSoccerSocialSockSodaSoftSolarSoldierSolidSolutionSolveSomeoneSongSoonSorrySortSoulSoundSoupSourceSouthSpaceSpareSpatialSpawnSpeakSpecialSpeedSpellSpendSphereSpiceSpiderSpikeSpinSpiritSplitSpoilSponsorSpoonSportSpotSpraySpreadSpringSpySquareSqueezeSquirrelStableStadiumStaffStageStairsStampStandStartStateStaySteakSteelStemStepStereoStickStillStingStockStomachStoneStoolStoryStoveStrategyStreetStrikeStrongStruggleStudentStuffStumbleStyleSubjectSubmitSubwaySuccessSuchSuddenSufferSugarSuggestSuitSummerSunSunnySunsetSuperSupplySupremeSureSurfaceSurgeSurpriseSurroundSurveySuspectSustainSwallowSwampSwapSwarmSwearSweetSwiftSwimSwingSwitchSwordSymbolSymptomSyrupSystemTableTackleTagTailTalentTalkTankTapeTargetTaskTasteTattooTaxiTeachTeamTellTenTenantTennisTentTermTestTextThankThatThemeThenTheoryThereTheyThingThisThoughtThreeThriveThrowThumbThunderTicketTideTigerTiltTimberTimeTinyTipTiredTissueTitleToastTobaccoTodayToddlerToeTogetherToiletTokenTomatoTomorrowToneTongueTonightToolToothTopTopicToppleTorchTornadoTortoiseTossTotalTouristTowardTowerTownToyTrackTradeTrafficTragicTrainTransferTrapTrashTravelTrayTreatTreeTrendTrialTribeTrickTriggerTrimTripTrophyTroubleTruckTrueTrulyTrumpetTrustTruthTryTubeTuitionTumbleTunaTunnelTurkeyTurnTurtleTwelveTwentyTwiceTwinTwistTwoTypeTypicalUglyUmbrellaUnableUnawareUncleUncoverUnderUndoUnfairUnfoldUnhappyUniformUniqueUnitUniverseUnknownUnlockUntilUnusualUnveilUpdateUpgradeUpholdUponUpperUpsetUrbanUrgeUsageUseUsedUsefulUselessUsualUtilityVacantVacuumVagueValidValleyValveVanVanishVaporVariousVastVaultVehicleVelvetVendorVentureVenueVerbVerifyVersionVeryVesselVeteranViableVibrantViciousVictoryVideoViewVillageVintageViolinVirtualVirusVisaVisitVisualVitalVividVocalVoiceVoidVolcanoVolumeVoteVoyageWageWagonWaitWalkWallWalnutWantWarfareWarmWarriorWashWaspWasteWaterWaveWayWealthWeaponWearWeaselWeatherWebWeddingWeekendWeirdWelcomeWestWetWhaleWhatWheatWheelWhenWhereWhipWhisperWideWidthWifeWildWillWinWindowWineWingWinkWinnerWinterWireWisdomWiseWishWitnessWolfWomanWonderWoodWoolWordWorkWorldWorryWorthWrapWreckWrestleWristWriteWrongYardYearYellowYouYoungYouthZebraZeroZoneZoo".replace(/([A-Z])/g," $1").toLowerCase().substring(1).split(" "),"0x3c8acc1e7b08d8e76f9fda015ef48dc8c710a73cb7e0f77b2c18a9b5a7adde60"!==n.D.check(e)))throw i=null,new Error("BIP39 Wordlist for en (English) FAILED")}class o extends n.D{constructor(){super("en")}getWord(e){return a(this),i[e]}getWordIndex(e){return a(this),i.indexOf(e)}}const s=new o;n.D.register(s);const c={en:s}},16045:function(e,t,r){"use strict";var n,i=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},a=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.BaseContract=void 0;const o=r(1385),s=r(37708),c=r(76074),u=r(30247),l=r(7793);let f=n=class{constructor(e,t,r){this.providerOrSigner=e,this.contractAddress=t,this.abi=r,this.hasSigner=!1,this.contract=new s.ethers.Contract(t,r,e),this.contractAbi=r,this.hasSigner=s.ethers.Signer.isSigner(e)}getContractAddress(){return this.contractAddress}getContract(){return this.contract}generateError(e,t){return o.BlockchainErrorMapper.buildBlockchainError(e,((e,r,n)=>this.generateContractSpecificError(t||e,r,n)))}writeToContract(e,t,r){return this.hasSigner?u.ResultAsync.fromPromise(this.contract[e](...t,{...r}),(e=>e)).map((r=>{var i;return n.buildWrappedTransactionResponse(r,(0,o.EVMContractAddress)(this.contract.address),(0,o.EVMAccountAddress)(null===(i=this.providerOrSigner)||void 0===i?void 0:i.address),e,t,this.contractAbi)})).mapErr((e=>o.BlockchainErrorMapper.buildBlockchainError(e,((e,t,r)=>this.generateContractSpecificError(e,t,r))))):(0,u.errAsync)(new o.SignerUnavailableError("Cannot writeToContract function ".concat(e,", no signer available. Contract wrapper is in read-only mode.")))}static buildWrappedTransactionResponse(e,t,r,i,a,o){return new l.WrappedTransactionResponse(e,t,r,i,JSON.stringify(a||[]),n.extractFunctionAbi(i,o))}static extractFunctionAbi(e,t){if(null==t||t.abi instanceof Array===!1)return"";for(const r of t.abi)if("function"===r.type&&r.name===e)return r;return""}};t.BaseContract=f,t.BaseContract=f=n=i([(0,c.injectable)(),a("design:paramtypes",[Object,String,Object])],f)},6041:function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},i=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ConsentContract=void 0;const a=r(97992),o=r(1385),s=r(76074),c=r(30247),u=r(47071),l=r(60926);let f=class extends a.ERC7529Contract{constructor(e,t,r){super(e,t,l.ContractsAbis.ConsentAbi.abi),this.providerOrSigner=e,this.contractAddress=t,this.cryptoUtils=r,this.filters={Transfer:(e,t)=>this.contract.filters.Transfer(e,t),RequestForData:e=>this.contract.filters.RequestForData(e)}}getContractAddress(){return this.contractAddress}optIn(e,t,r){return this.writeToContract("optIn",[e,t],r)}encodeOptIn(e,t){return(0,o.HexString)(this.contract.interface.encodeFunctionData("optIn",[e,t]))}restrictedOptIn(e,t,r,n){return this.writeToContract("restrictedOptIn",[e,t,r],n)}encodeRestrictedOptIn(e,t,r){return(0,o.HexString)(this.contract.interface.encodeFunctionData("restrictedOptIn",[e,r,t]))}anonymousRestrictedOptIn(e,t,r,n){return this.writeToContract("anonymousRestrictedOptIn",[e,t,r],n)}encodeAnonymousRestrictedOptIn(e,t,r){return(0,o.HexString)(this.contract.interface.encodeFunctionData("anonymousRestrictedOptIn",[e,r,t]))}optOut(e,t){return this.writeToContract("optOut",[e],t)}encodeOptOut(e){return(0,o.HexString)(this.contract.interface.encodeFunctionData("optOut",[e]))}agreementFlags(e){return c.ResultAsync.fromPromise(this.contract.agreementFlagsArray(e),(e=>this.generateError(e,"Unable to call agreementFlagsArray()")))}getMaxCapacity(){return c.ResultAsync.fromPromise(this.contract.maxCapacity(),(e=>this.generateError(e,"Unable to call maxCapacity()"))).map((e=>e.toNumber()))}updateMaxCapacity(e,t){return this.writeToContract("updateMaxCapacity",[e],t)}updateAgreementFlags(e,t,r){return this.writeToContract("updateAgreementFlags",[e,t],r)}encodeUpdateAgreementFlags(e,t){return(0,o.HexString)(this.contract.interface.encodeFunctionData("updateAgreementFlags",[e,t]))}requestForData(e,t){return this.writeToContract("requestForData",[e],t)}getConsentOwner(){return c.ResultAsync.fromPromise(this.contract.getRoleMember(l.ConsentRoles.DEFAULT_ADMIN_ROLE,0),(e=>this.generateError(e,"Unable to call getRoleMember()")))}getDefaultAdminRoleMembers(){return c.ResultAsync.fromPromise(this.contract.getRoleMemberCount(l.ConsentRoles.DEFAULT_ADMIN_ROLE),(e=>this.generateError(e,"Unable to call getDefaultAdminRoleMembers()"))).andThen((e=>{const t=[];for(let r=0;rc.ResultAsync.fromPromise(this.contract.getRoleMember(l.ConsentRoles.DEFAULT_ADMIN_ROLE,e),(e=>this.generateError(e,"Unable to call getRoleMember()"))))))}))}getSignerRoleMembers(){return c.ResultAsync.fromPromise(this.contract.getRoleMemberCount(l.ConsentRoles.SIGNER_ROLE),(e=>this.generateError(e,"Unable to call getSignerRoleMembers()"))).andThen((e=>{const t=[];for(let r=0;rc.ResultAsync.fromPromise(this.contract.getRoleMember(l.ConsentRoles.PAUSER_ROLE,e),(e=>this.generateError(e,"Unable to call getRoleMember() for SIGNER_ROLE"))))))}))}getPauserRoleMembers(){return c.ResultAsync.fromPromise(this.contract.getRoleMemberCount(l.ConsentRoles.PAUSER_ROLE),(e=>this.generateError(e,"Unable to call getPauserRoleMembers()"))).andThen((e=>{const t=[];for(let r=0;rc.ResultAsync.fromPromise(this.contract.getRoleMember(l.ConsentRoles.PAUSER_ROLE,e),(e=>this.generateError(e,"Unable to call getRoleMember() for PAUSER_ROLE"))))))}))}getRequesterRoleMembers(){return c.ResultAsync.fromPromise(this.contract.getRoleMemberCount(l.ConsentRoles.REQUESTER_ROLE),(e=>this.generateError(e,"Unable to call getRequesterRoleMembers()"))).andThen((e=>{const t=[];for(let r=0;rc.ResultAsync.fromPromise(this.contract.getRoleMember(l.ConsentRoles.REQUESTER_ROLE,e),(e=>this.generateError(e,"Unable to call getRoleMember() for REQUESTER_ROLE"))))))}))}balanceOf(e){return c.ResultAsync.fromPromise(this.contract.balanceOf(e),(e=>this.generateError(e,"Unable to call balanceOf()"))).map((e=>e.toNumber()))}ownerOf(e){return c.ResultAsync.fromPromise(this.contract.ownerOf(e),(e=>this.generateError(e,"Unable to call ownerOf()")))}tokenURI(e){return c.ResultAsync.fromPromise(this.contract.tokenURI(e),(e=>this.generateError(e,"Unable to call tokenURI()"))).orElse((e=>"ERC721: operator query for nonexistent token"===e.reason?(0,c.ok)(null):(0,c.err)(e)))}queryFilter(e,t,r){return c.ResultAsync.fromPromise(this.contract.queryFilter(e,t,r),(e=>this.generateError(e,"Unable to call queryFilter()")))}getConsentToken(e){return u.ResultUtils.combine([this.ownerOf(e),this.agreementFlags(e)]).andThen((t=>{let[r,n]=t;return(0,c.okAsync)(new o.ConsentToken(this.contractAddress,r,e,new o.DataPermissions(n)))}))}addDomain(e,t){return this.writeToContract("addDomain",[e],t)}removeDomain(e,t){return this.writeToContract("removeDomain",[e],t)}getDomains(){return c.ResultAsync.fromPromise(this.contract.getDomains(),(e=>this.generateError(e,"Unable to call getDomains()")))}getRequestForDataListByRequesterAddress(e,t,r){return this.queryFilter(this.filters.RequestForData(e),t,r).andThen((e=>u.ResultUtils.combine(e.map((e=>{var t,r;return(0,c.okAsync)(new o.RequestForData(this.getContractAddress(),null===(t=e.args)||void 0===t?void 0:t.requester,null===(r=e.args)||void 0===r?void 0:r.ipfsCID,(0,o.BlockNumber)(e.blockNumber)))})))))}getLatestTokenIdByOptInAddress(e){return this.queryFilter(this.filters.Transfer(null,e),void 0,void 0).map((e=>{if(0==e.length)return null;const t=e.reduce(((e,t)=>t.blockNumber>e.blockNumber?t:e),e[0]);return t.args&&t.args.tokenId?(0,o.TokenId)(t.args.tokenId):null}))}disableOpenOptIn(e){return this.writeToContract("disableOpenOptIn",[],e)}enableOpenOptIn(e){return this.writeToContract("enableOpenOptIn",[],e)}baseURI(){return c.ResultAsync.fromPromise(this.contract.baseURI(),(e=>this.generateError(e,"Unable to call baseURI()")))}setBaseURI(e,t){return this.writeToContract("setBaseURI",[e],t)}hasRole(e,t){return c.ResultAsync.fromPromise(this.contract.hasRole(l.ConsentRoles[e],t),(e=>this.generateError(e,"Unable to call hasRole()")))}grantRole(e,t,r){return this.writeToContract("grantRole",[e,t],r)}revokeRole(e,t,r){return this.writeToContract("revokeRole",[e,t],r)}renounceRole(e,t,r){return this.writeToContract("renounceRole",[e,t],r)}getQueryHorizon(){return c.ResultAsync.fromPromise(this.contract.queryHorizon(),(e=>this.generateError(e,"Unable to call queryHorizon()"))).map((e=>(0,o.BlockNumber)(e.toNumber())))}setQueryHorizon(e,t){return this.writeToContract("setQueryHorizon",[e],t)}estimateGasLimitForSetQueryHorizon(e,t){return c.ResultAsync.fromPromise(this.contract.estimateGas.setQueryHorizon(e,{overrides:t}),(e=>this.generateError(e,"Failed to estimate gas with error: ".concat(e)))).map((e=>(0,o.BigNumberString)(e.toString())))}totalSupply(){return c.ResultAsync.fromPromise(this.contract.totalSupply(),(e=>this.generateError(e,"Unable to call totalSupply()"))).map((e=>e.toNumber()))}openOptInDisabled(){return c.ResultAsync.fromPromise(this.contract.openOptInDisabled(),(e=>this.generateError(e,"Unable to call openOptInDisabled()")))}getMaxTags(){return c.ResultAsync.fromPromise(this.contract.maxTags(),(e=>this.generateError(e,"Unable to call maxTags()"))).map((e=>e.toNumber()))}getNumberOfStakedTags(){return c.ResultAsync.fromPromise(this.contract.getNumberOfStakedTags(),(e=>this.generateError(e,"Unable to call getNumberOfStakedTags()"))).map((e=>e.toNumber()))}getTagArray(){return c.ResultAsync.fromPromise(this.contract.getTagArray(),(e=>this.generateError(e,"Unable to call getTagArray()"))).map((e=>e.map((e=>new l.Tag(e.slot?(0,o.BigNumberString)(e.slot.toString()):null,e.tag,e.staker)))))}newGlobalTag(e,t,r){return this.writeToContract("newGlobalTag",[e,t],r)}newLocalTagUpstream(e,t,r,n){return this.writeToContract("newLocalTagUpstream",[e,t,r],n)}newLocalTagDownstream(e,t,r,n){return this.writeToContract("newLocalTagDownstream",[e,t,r],n)}replaceExpiredListing(e,t,r){return this.writeToContract("replaceExpiredListing",[e,t],r)}removeListing(e,t){return this.writeToContract("removeListing",[e],t)}getSignature(e){return this.cryptoUtils.getSignature(this.providerOrSigner,["address","uint256"],e)}generateContractSpecificError(e,t,r){return new o.ConsentContractError(e,t,r)}};t.ConsentContract=f,t.ConsentContract=f=n([(0,s.injectable)(),i("design:paramtypes",[Object,String,Object])],f)},34144:function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},i=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ConsentFactoryContract=void 0;const a=r(1385),o=r(37708),s=r(76074),c=r(30247),u=r(47071),l=r(16045),f=r(60926);let d=class extends l.BaseContract{constructor(e,t){super(e,t,f.ContractsAbis.ConsentFactoryAbi.abi),this.providerOrSigner=e,this.contractAddress=t}getContractAddress(){return this.contractAddress}createConsent(e,t,r,n){return this.writeToContract("createConsent",[e,t,r],n)}estimateGasToCreateConsent(e,t,r){return c.ResultAsync.fromPromise(this.contract.estimateGas.createConsent(e,t,r),(e=>this.generateError(e,"Failed to estimate gas with error: ".concat(e)))).map((e=>e.mul(110).div(100)))}getUserDeployedConsentsCount(e){return c.ResultAsync.fromPromise(this.contract.getUserDeployedConsentsCount(e),(e=>this.generateError(e,"Unable to call getUserDeployedConsentsCount()"))).map((e=>e.toNumber()))}getUserDeployedConsentsByIndex(e,t,r){return c.ResultAsync.fromPromise(this.contract.getUserDeployedConsentsByIndex(e,t,r),(e=>this.generateError(e,"Unable to call getUserDeployedConsentsByIndex()")))}getUserDeployedConsents(e){return this.getUserDeployedConsentsCount(e).andThen((t=>this.getUserDeployedConsentsByIndex(e,0,t)))}getUserRoleAddressesCount(e,t){return c.ResultAsync.fromPromise(this.contract.getUserConsentAddressesCount(e,t),(e=>this.generateError(e,"Unable to call getUserConsentAddressesCount()"))).map((e=>e.toNumber()))}getUserRoleAddressesCountByIndex(e,t,r,n){return c.ResultAsync.fromPromise(this.contract.getUserRoleAddressesCountByIndex(e,t,r,n),(e=>this.generateError(e,"Unable to call getUserRoleAddressesCountByIndex()")))}getDeployedConsents(){const e=this.contract.filters.ConsentDeployed();return c.ResultAsync.fromPromise(this.contract.queryFilter(e),(e=>this.generateError(e,"Unable to call contract.queryFilter() for ConsentDeployed event"))).map((e=>{const t=[];return e.forEach((e=>{var r;(null===(r=null===e||void 0===e?void 0:e.args)||void 0===r?void 0:r.consentAddress)&&t.push((0,a.EVMContractAddress)(e.args.consentAddress))})),t}))}getMaxTagsPerListing(){return c.ResultAsync.fromPromise(this.contract.maxTagsPerListing(),(e=>this.generateError(e,"Unable to call getMaxTagsPerListing()"))).map((e=>e.toNumber()))}getListingDuration(){return c.ResultAsync.fromPromise(this.contract.getListingDuration(),(e=>this.generateError(e,"Unable to call getListingDuration()"))).map((e=>e.toNumber()))}setListingDuration(e,t){return this.writeToContract("setListingDuration",[e],t)}setMaxTagsPerListing(e,t){return this.writeToContract("setMaxTagsPerListing",[e],t)}adminRemoveListing(e,t,r){return this.writeToContract("setMaxTagsPerListing",[e,t],r)}getListingDetail(e,t){return c.ResultAsync.fromPromise(this.contract.getListing(e,t),(e=>this.generateError(e,"Unable to call getListing()"))).map((r=>{var n;return new a.MarketplaceListing((0,a.BigNumberString)(r.previous.toString()),(0,a.BigNumberString)(r.next.toString()),r.consentContract,(0,a.UnixTimestamp)(null===(n=r.timeExpiring)||void 0===n?void 0:n.toNumber()),(0,a.IpfsCID)(""),t,e)}))}getListingsForward(e,t,r,n){return c.ResultAsync.fromPromise(this.contract.getListingsForward(e,t,r,n),(e=>this.generateError(e,"Unable to call getListingsForward()"))).map((r=>{let[n,i]=r;return i.map(((r,o)=>new a.MarketplaceListing((0,a.BigNumberString)(r.previous.toString()),(0,a.BigNumberString)(r.next.toString()),r.consentContract,(0,a.UnixTimestamp)(r.timeExpiring.toNumber()),(0,a.IpfsCID)(n[o]),null!=i[o+1]&&!1===r.next.isZero()?(0,a.BigNumberString)(i[o+1].previous.toString()):null!=i[o-1]?(0,a.BigNumberString)(i[o-1].next.toString()):t,e))).filter((e=>"0"!=e.previous||"0"!=e.next))}))}getListingsBackward(e,t,r,n){return c.ResultAsync.fromPromise(this.contract.getListingsForward(e,t,r,n),(e=>this.generateError(e,"Unable to call getListingsForward()"))).map((r=>{let[n,i]=r;return i.map(((r,s)=>{var c;return new a.MarketplaceListing((0,a.BigNumberString)(r.previous.toString()),(0,a.BigNumberString)(r.next.toString()),r.consentContract,(0,a.UnixTimestamp)(null===(c=r.timeExpiring)||void 0===c?void 0:c.toNumber()),(0,a.IpfsCID)(n[s]),null!=i[s+1]&&!1===r.previous.eq(o.ethers.constants.MaxUint256)?(0,a.BigNumberString)(i[s+1].next.toString()):null!=i[s-1]?(0,a.BigNumberString)(i[s-1].previous.toString()):t,e)})).filter((e=>"0"!=e.previous||"0"!=e.next))}))}getTagTotal(e){return c.ResultAsync.fromPromise(this.contract.getTagTotal(e),(e=>this.generateError(e,"Unable to call getTagTotal()"))).map((e=>e.toNumber()))}getListingsByTag(e,t){return u.ResultUtils.combine([this.getTagTotal(e),this.getListingDetail(e,(0,a.BigNumberString)(o.ethers.constants.MaxUint256.toString()))]).andThen((r=>{let[n,i]=r;const a=i.next;return this.getListingsForward(e,a,n,t)}))}getAddressOfConsentCreated(e){return e.wait().map((e=>{const t=o.ethers.utils.keccak256(o.ethers.utils.toUtf8Bytes("ConsentDeployed(address,address)")),r=e.logs.filter((e=>e.topics[0]==t)),n=r[0].data,i=r[0].topics;return new(0,o.ethers.utils.Interface)(["event ConsentDeployed(address indexed owner, address indexed consentAddress)"]).decodeEventLog("ConsentDeployed",n,i).consentAddress}))}generateContractSpecificError(e,t,r){return new a.ConsentFactoryContractError(e,t,r)}};t.ConsentFactoryContract=d,t.ConsentFactoryContract=d=n([(0,s.injectable)(),i("design:paramtypes",[Object,String])],d)},23421:function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},i=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.CrumbsContract=void 0;const a=r(1385),o=r(76074),s=r(30247),c=r(16045),u=r(60926);let l=class extends c.BaseContract{constructor(e,t){super(e,t,u.ContractsAbis.CrumbsAbi.abi),this.providerOrSigner=e,this.contractAddress=t}getContractAddress(){return this.contractAddress}addressToCrumbId(e){return s.ResultAsync.fromPromise(this.contract.addressToCrumbId(e),(e=>this.generateError(e,"Unable to call addressToCrumbId()"))).map((e=>e.eq(0)?null:(0,a.TokenId)(e.toBigInt())))}tokenURI(e){return s.ResultAsync.fromPromise(this.contract.tokenURI(e),(e=>this.generateError(e,"Unable to call tokenURI()"))).orElse((e=>"ERC721: operator query for nonexistent token"===e.reason?(0,s.okAsync)(null):(0,s.errAsync)(e)))}createCrumb(e,t,r){return this.writeToContract("createCrumb",[e,t],r)}encodeCreateCrumb(e,t){return(0,a.HexString)(this.contract.interface.encodeFunctionData("createCrumb",[e,t]))}burnCrumb(e,t){return this.writeToContract("createCrumb",[e],t)}encodeBurnCrumb(e){return(0,a.HexString)(this.contract.interface.encodeFunctionData("burnCrumb",[e]))}updateTokenURI(e,t,r){return this.writeToContract("updateTokenURI",[e,t],r)}generateContractSpecificError(e,t,r){return new a.CrumbsContractError(e,t,r)}};t.CrumbsContract=l,t.CrumbsContract=l=n([(0,o.injectable)(),i("design:paramtypes",[Object,String])],l)},9573:function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},i=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ERC721RewardContract=void 0;const a=r(1385),o=r(76074),s=r(30247),c=r(47071),u=r(16045),l=r(89964),f=r(60926);let d=class extends u.BaseContract{constructor(e,t){super(e,t,f.ContractsAbis.ERC721Reward.abi),this.providerOrSigner=e,this.contractAddress=t,this.filters={Transfer:(e,t)=>this.contract.filters.Transfer(e,t)}}getContractAddress(){return this.contractAddress}getOwner(){return s.ResultAsync.fromPromise(this.contract.getRoleMember(l.ERewardRoles.DEFAULT_ADMIN_ROLE,0),(e=>this.generateError(e,"Unable to call getRoleMember()")))}getDefaultAdminRoleMembers(){return s.ResultAsync.fromPromise(this.contract.getRoleMemberCount(l.ERewardRoles.DEFAULT_ADMIN_ROLE),(e=>this.generateError(e,"Unable to call getDefaultAdminRoleMembers()"))).andThen((e=>{const t=[];for(let r=0;rs.ResultAsync.fromPromise(this.contract.getRoleMember(l.ERewardRoles.DEFAULT_ADMIN_ROLE,e),(e=>this.generateError(e,"Unable to call getRoleMember()"))))))}))}getMinterRoleMembers(){return s.ResultAsync.fromPromise(this.contract.getRoleMemberCount(l.ERewardRoles.MINTER_ROLE),(e=>this.generateError(e,"Unable to call getSignerRoleMembers()"))).andThen((e=>{const t=[];for(let r=0;rs.ResultAsync.fromPromise(this.contract.getRoleMember(l.ERewardRoles.MINTER_ROLE,e),(e=>this.generateError(e,"Unable to call getRoleMember() for MINTER_ROLE"))))))}))}baseURI(){return s.ResultAsync.fromPromise(this.contract.baseURI(),(e=>this.generateError(e,"Unable to call baseURI()")))}setBaseURI(e,t){return this.writeToContract("setBaseURI",[e,t])}balanceOf(e){return s.ResultAsync.fromPromise(this.contract.balanceOf(e),(e=>this.generateError(e,"Unable to call balanceOf()"))).map((e=>e.toNumber()))}ownerOf(e){return s.ResultAsync.fromPromise(this.contract.ownerOf(e),(e=>this.generateError(e,"Unable to call ownerOf()")))}tokenURI(e){return s.ResultAsync.fromPromise(this.contract.tokenURI(e),(e=>this.generateError(e,"Unable to call tokenURI()"))).orElse((e=>"ERC721: operator query for nonexistent token"===e.reason?(0,s.okAsync)(null):(0,s.errAsync)(e)))}hasRole(e,t){return s.ResultAsync.fromPromise(this.contract.hasRole(l.ERewardRoles[e],t),(e=>this.generateError(e,"Unable to call hasRole()")))}grantRole(e,t,r){return this.writeToContract("grantRole",[l.ERewardRoles[e],t],r)}revokeRole(e,t,r){return this.writeToContract("revokeRole",[l.ERewardRoles[e],t],r)}renounceRole(e,t,r){return this.writeToContract("renounceRole",[l.ERewardRoles[e],t],r)}addDomain(e,t){return this.writeToContract("addDomain",[e],t)}removeDomain(e,t){return this.writeToContract("removeDomain",[e],t)}getDomains(){return s.ResultAsync.fromPromise(this.contract.getDomains(),(e=>this.generateError(e,"Unable to call getDomains()")))}generateContractSpecificError(e,t,r){return new a.ERC721RewardContractError(e,t,r)}};t.ERC721RewardContract=d,t.ERC721RewardContract=d=n([(0,o.injectable)(),i("design:paramtypes",[Object,String])],d)},97992:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ERC7529Contract=void 0;const n=r(30247),i=r(16045),a=r(60926);class o extends i.BaseContract{constructor(e,t,r){void 0==r&&(r=a.ContractsAbis.ERC7529Abi.abi),super(e,t,r),this.providerOrSigner=e,this.contractAddress=t}addDomain(e,t){return this.writeToContract("addDomain",[e],t)}removeDomain(e,t){return this.writeToContract("removeDomain",[e],t)}getDomains(){return n.ResultAsync.fromPromise(this.contract.getDomains(),(e=>this.generateError(e,"Unable to call getDomains()")))}}t.ERC7529Contract=o},52935:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ERC7529ContractProxy=void 0;const n=r(1385),i=r(97992);class a extends i.ERC7529Contract{generateContractSpecificError(e,t,r){return new n.ERC7529ContractError(e,t,r)}}t.ERC7529ContractProxy=a},18995:function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o};Object.defineProperty(t,"__esModule",{value:!0}),t.GasUtils=void 0;const i=r(1385),a=r(76074),o=r(30247),s=r(60926);let c=class{static getGasFee(e){return o.ResultAsync.fromPromise(e.getFeeData(),(e=>i.BlockchainErrorMapper.buildBlockchainError(e))).map((e=>new s.ContractOverrides(e.maxFeePerGas)))}static getGasPrice(e){return o.ResultAsync.fromPromise(e.getFeeData(),(e=>i.BlockchainErrorMapper.buildBlockchainError(e))).map((e=>new s.ContractOverrides(null,e.gasPrice)))}};t.GasUtils=c,t.GasUtils=c=n([(0,a.injectable)()],c)},45537:function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},i=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.MinimalForwarderContract=void 0;const a=r(1385),o=r(76074),s=r(30247),c=r(16045),u=r(60926);let l=class extends c.BaseContract{constructor(e,t){super(e,t,u.ContractsAbis.MinimalForwarderAbi.abi),this.providerOrSigner=e,this.contractAddress=t}getContractAddress(){return this.contractAddress}getNonce(e){return s.ResultAsync.fromPromise(this.contract.getNonce(e),(t=>this.generateError(t,"Unable to call getNonce(".concat(e,")")))).map((e=>(0,a.BigNumberString)(e.toString())))}verify(e,t){return s.ResultAsync.fromPromise(this.contract.verify(e,t),(e=>this.generateError(e,"Unable to call verify()")))}execute(e,t,r){return this.writeToContract("execute",[e,t],r)}generateContractSpecificError(e,t,r){return new a.MinimalForwarderContractError(e,t,r)}};t.MinimalForwarderContract=l,t.MinimalForwarderContract=l=n([(0,o.injectable)(),i("design:paramtypes",[Object,String])],l)},46812:function(e,t,r){"use strict";var n,i=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},a=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.RewardsContractFactory=void 0;const o=r(1385),s=r(37708),c=r(76074),u=r(30247),l=r(16045),f=r(18995),d=r(60926);let b=n=class extends l.BaseContract{constructor(e,t){super(e,(0,o.EVMContractAddress)(s.ethers.constants.AddressZero),d.ContractsAbis.ERC721Reward.abi),this.providerOrSigner=e,this.rewardType=t,this.contractFactory=new s.ethers.ContractFactory(d.ContractsAbis.ERC721Reward.abi,d.ContractsAbis.ERC721Reward.bytecode,e),this.rewardTypeToDeploy=t}deployERC721Reward(e,t,r,n){return f.GasUtils.getGasFee(this.providerOrSigner).andThen((i=>{const a={...i,...n};return this.writeToContractFactory("deploy",[e,t,r],a,!0)}))}estimateGasToDeployERC721Contract(e,t,r){return u.ResultAsync.fromPromise(this.providerOrSigner.estimateGas(this.contractFactory.getDeployTransaction(e,t,r)),(e=>this.generateError(e,"Failed to wait() for contract deployment"))).map((e=>e.mul(120).div(100)))}generateContractSpecificError(e,t,r){return new o.RewardsFactoryError(e,t,r)}writeToContractFactory(e,t,r,i){return u.ResultAsync.fromPromise(this.contractFactory[e](...t,{...r}),(t=>this.generateError(t,"Unable to call ".concat(e,"()")))).map((r=>{var a;return n.buildWrappedTransactionResponse(1==i?r.deployTransaction:r,(0,o.EVMContractAddress)(""),(0,o.EVMAccountAddress)(null===(a=this.providerOrSigner)||void 0===a?void 0:a.address),e,t,d.ContractsAbis.ConsentFactoryAbi.abi)}))}};t.RewardsContractFactory=b,t.RewardsContractFactory=b=n=i([(0,c.injectable)(),a("design:paramtypes",[Object,String])],b)},13273:function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var i,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o},i=this&&this.__metadata||function(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.SiftContract=void 0;const a=r(1385),o=r(76074),s=r(30247),c=r(16045),u=r(60926);let l=class extends c.BaseContract{constructor(e,t){super(e,t,u.ContractsAbis.SiftAbi.abi),this.providerOrSigner=e,this.contractAddress=t}getContractAddress(){return this.contractAddress}checkURL(e){return s.ResultAsync.fromPromise(this.contract.checkURL(e),(t=>this.generateError(t,"Unable to call checkURL(".concat(e,")"))))}verifyURL(e,t){return this.writeToContract("verifyURL",[e],t)}maliciousURL(e,t){return this.writeToContract("maliciousURL",[e],t)}setBaseURI(e,t){return this.writeToContract("setBaseURI",[e],t)}generateContractSpecificError(e,t,r){return new a.SiftContractError(e,t,r)}};t.SiftContract=l,t.SiftContract=l=n([(0,o.injectable)(),i("design:paramtypes",[Object,String])],l)},86808:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(6041),t),i(r(34144),t),i(r(23421),t),i(r(45537),t),i(r(13273),t),i(r(9573),t),i(r(97992),t),i(r(52935),t),i(r(18995),t),i(r(46812),t),i(r(7793),t)},12154:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4936:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IConsentContractType=void 0,t.IConsentContractType=Symbol.for("IConsentContract")},19789:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},70171:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ICrumbsContractType=void 0,t.ICrumbsContractType=Symbol.for("ICrumbsContract")},24373:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IERC721RewardContractType=void 0,t.IERC721RewardContractType=Symbol.for("IERC721RewardContract")},89441:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},61618:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IMinimalForwarderContractType=void 0,t.IMinimalForwarderContractType=Symbol.for("IMinimalForwarderContract")},1438:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IRewardsContractFactoryType=void 0,t.IRewardsContractFactoryType=Symbol.for("IRewardsContractFactory")},67073:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ISiftContractType=void 0,t.ISiftContractType=Symbol.for("ISiftContract")},89964:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ERewardRoles=void 0;r(37708).ethers.utils.id("MINTER_ROLE");var n;!function(e){e.DEFAULT_ADMIN_ROLE="0x0000000000000000000000000000000000000000000000000000000000000000",e.MINTER_ROLE="0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6"}(n||(t.ERewardRoles=n={}))},67851:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(89964),t)},7793:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(12154),t),i(r(4936),t),i(r(19789),t),i(r(70171),t),i(r(89441),t),i(r(61618),t),i(r(67073),t),i(r(24373),t),i(r(1438),t),i(r(60926),t),i(r(67851),t)},69341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConsentRoles=void 0;const n=r(37708);n.ethers.utils.id("PAUSER_ROLE"),n.ethers.utils.id("SIGNER_ROLE"),n.ethers.utils.id("REQUESTER_ROLE");var i;!function(e){e.DEFAULT_ADMIN_ROLE="0x0000000000000000000000000000000000000000000000000000000000000000",e.PAUSER_ROLE="0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a",e.REQUESTER_ROLE="0x61a3517f153a09154844ed8be639dabc6e78dc22315c2d9a91f7eddf9398c002",e.SIGNER_ROLE="0xe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70"}(i||(t.ConsentRoles=i={}))},90267:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContractOverrides=void 0;t.ContractOverrides=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;this.maxFeePerGas=e,this.gasPrice=t,this.gasLimit=r,this.value=n,this.nonce=i}}},88552:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},57317:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tag=void 0;t.Tag=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.slot=e,this.tag=t,this.staker=r}}},74219:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WrappedTransactionResponse=void 0;const n=r(1385),i=r(30247);t.WrappedTransactionResponse=class{constructor(e,t,r,n,i,a){this.txResponse=e,this.contractAddress=t,this.signerAddress=r,this.functionName=n,this.functionParams=i,this.abi=a}wait(){return i.ResultAsync.fromPromise(this.txResponse.wait(),(e=>new n.TransactionResponseError("Unable to call wait() for transaction response.",e.reason)))}}},75731:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={_format:"hh-sol-artifact-1",contractName:"Consent",sourceName:"contracts/consent/Consent.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"approved",type:"address"},{indexed:!0,internalType:"uint256",name:"tokenId",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"operator",type:"address"},{indexed:!1,internalType:"bool",name:"approved",type:"bool"}],name:"ApprovalForAll",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"string",name:"domain",type:"string"}],name:"LogAddDomain",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"string",name:"domain",type:"string"}],name:"LogRemoveDomain",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"requester",type:"address"},{indexed:!0,internalType:"string",name:"ipfsCIDIndexed",type:"string"},{indexed:!1,internalType:"string",name:"ipfsCID",type:"string"}],name:"RequestForData",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"previousAdminRole",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"newAdminRole",type:"bytes32"}],name:"RoleAdminChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!0,internalType:"address",name:"sender",type:"address"}],name:"RoleGranted",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!0,internalType:"address",name:"sender",type:"address"}],name:"RoleRevoked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!0,internalType:"uint256",name:"tokenId",type:"uint256"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{inputs:[],name:"DEFAULT_ADMIN_ROLE",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"PAUSER_ROLE",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"REQUESTER_ROLE",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"SIGNER_ROLE",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"STAKER_ROLE",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"_getBitCountByTokenId",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"domain",type:"string"}],name:"addDomain",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"agreementFlagsArray",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"},{internalType:"bytes32",name:"agreementFlags",type:"bytes32"},{internalType:"bytes",name:"signature",type:"bytes"}],name:"anonymousRestrictedOptIn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"approve",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"baseURI",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"disableOpenOptIn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"enableOpenOptIn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"getApproved",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDomains",outputs:[{internalType:"string[]",name:"domainsArr",type:"string[]"}],stateMutability:"view",type:"function"},{inputs:[],name:"getNumberOfStakedTags",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"}],name:"getRoleAdmin",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"uint256",name:"index",type:"uint256"}],name:"getRoleMember",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"}],name:"getRoleMemberCount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"getTagArray",outputs:[{components:[{internalType:"uint256",name:"slot",type:"uint256"},{internalType:"string",name:"tag",type:"string"},{internalType:"address",name:"staker",type:"address"}],internalType:"struct IConsent.Tag[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"grantRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"hasRole",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_trustedForwarder",type:"address"},{internalType:"address",name:"_consentOwner",type:"address"},{internalType:"string",name:"baseURI_",type:"string"},{internalType:"string",name:"_name",type:"string"},{internalType:"address",name:"_contractFactoryAddress",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"operator",type:"address"}],name:"isApprovedForAll",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"forwarder",type:"address"}],name:"isTrustedForwarder",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxCapacity",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxTags",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"tag",type:"string"},{internalType:"uint256",name:"_newSlot",type:"uint256"}],name:"newGlobalTag",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"tag",type:"string"},{internalType:"uint256",name:"_existingSlot",type:"uint256"},{internalType:"uint256",name:"_newSlot",type:"uint256"}],name:"newLocalTagDownstream",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"tag",type:"string"},{internalType:"uint256",name:"_newSlot",type:"uint256"},{internalType:"uint256",name:"_existingSlot",type:"uint256"}],name:"newLocalTagUpstream",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"openOptInDisabled",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"},{internalType:"bytes32",name:"agreementFlags",type:"bytes32"}],name:"optIn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"optOut",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"ownerOf",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"pause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"queryHorizon",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"domain",type:"string"}],name:"removeDomain",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"tag",type:"string"}],name:"removeListing",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"renounceRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"tag",type:"string"},{internalType:"uint256",name:"_slot",type:"uint256"}],name:"replaceExpiredListing",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"ipfsCID",type:"string"}],name:"requestForData",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"},{internalType:"bytes32",name:"agreementFlags",type:"bytes32"},{internalType:"bytes",name:"signature",type:"bytes"}],name:"restrictedOptIn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"revokeRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"safeTransferFrom",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}],name:"safeTransferFrom",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"operator",type:"address"},{internalType:"bool",name:"approved",type:"bool"}],name:"setApprovalForAll",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"newURI",type:"string"}],name:"setBaseURI",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"queryHorizon_",type:"uint256"}],name:"setQueryHorizon",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes4",name:"interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"",type:"string"}],name:"tagIndices",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"tokenURI",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"transferFrom",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"trustedForwarder",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"unpause",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"},{internalType:"bytes32",name:"newAgreementFlags",type:"bytes32"}],name:"updateAgreementFlags",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_maxCapacity",type:"uint256"}],name:"updateMaxCapacity",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"updateMaxTagsLimit",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"updateTrustedForwarder",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b50614d2a806100206000396000f3fe608060405234801561001057600080fd5b50600436106103d05760003560e01c80636352211e116101ff578063a428b07f1161011a578063ca15c873116100ad578063e682da7c1161007c578063e682da7c14610858578063e985e9c51461086b578063f5c7455c146108a8578063fafc130b146108d457600080fd5b8063ca15c87314610815578063cecc2eac14610828578063d547741f14610830578063e63ab1e91461084357600080fd5b8063ae23c782116100e9578063ae23c782146107c9578063b88d4fde146107dc578063b945060c146107ef578063c87b56dd1461080257600080fd5b8063a428b07f14610784578063a56016ca14610799578063a85f2ef7146107ac578063aad83e35146107b657600080fd5b80639010d07c11610192578063a1260cdf11610161578063a1260cdf14610734578063a1ebf35d14610742578063a217fddf14610769578063a22cb4651461077157600080fd5b80639010d07c146106f15780639101cc651461070457806391d148541461071957806395d89b411461072c57600080fd5b806372be0f1f116101ce57806372be0f1f146106b55780637da0a877146106bd578063827b8e14146106d65780638456cb59146106e957600080fd5b80636352211e146106745780636c0360eb146106875780636cf0dc301461068f57806370a08231146106a257600080fd5b806336568abe116102ef57806344dc6e1a11610282578063572b6c0511610251578063572b6c051461062457806359b6a0c91461064c5780635c975abb14610656578063604424541461066157600080fd5b806344dc6e1a146105d857806344e2e74c146105eb5780635149606e146105fe57806355f804b31461061157600080fd5b806340018a25116102be57806340018a251461057857806342842e0e1461058b57806342966c681461059e5780634430db7e146105b157600080fd5b806336568abe146105275780633780b3ed1461053a5780633bfa852b1461054f5780633f4ba83a1461057057600080fd5b806318160ddd11610367578063248a9ca311610336578063248a9ca3146104cb5780632684c925146104ee5780632f2ff15d14610501578063362925c21461051457600080fd5b806318160ddd14610488578063211b98bd1461049257806322778929146104a557806323b872dd146104b857600080fd5b806307a5069a116103a357806307a5069a1461043a578063081812fc14610442578063081f5de31461046d578063095ea7b31461047557600080fd5b806301ffc9a7146103d557806306fdde03146103fd578063072bf4cd14610412578063078908e814610427575b600080fd5b6103e86103e3366004614120565b6108de565b60405190151581526020015b60405180910390f35b6104056108ef565b6040516103f49190614195565b6104256104203660046141a8565b610981565b005b610160545b6040519081526020016103f4565b610425610a0b565b6104556104503660046141ca565b610ac7565b6040516001600160a01b0390911681526020016103f4565b610425610aee565b6104256104833660046141f8565b610b87565b61042c6101645481565b6104256104a03660046142db565b610caf565b6104256104b3366004614320565b610e4a565b6104256104c6366004614355565b6110f0565b61042c6104d93660046141ca565b60009081526097602052604090206001015490565b6104256104fc3660046142db565b611128565b61042561050f366004614396565b61128c565b6104256105223660046143c6565b6112b1565b610425610535366004614396565b611563565b61042c600080516020614cd583398151915281565b61042c61055d3660046141ca565b6101686020526000908152604090205481565b6104256115ed565b610425610586366004614464565b611610565b610425610599366004614355565b6117b8565b6104256105ac3660046141ca565b6117d3565b61042c7f61a3517f153a09154844ed8be639dabc6e78dc22315c2d9a91f7eddf9398c00281565b6104256105e63660046141ca565b611803565b6104256105f9366004614320565b61180c565b61040561060c366004614320565b611a3b565b61042561061f366004614320565b611e33565b6103e86106323660046144b4565b6101655461010090046001600160a01b0390811691161490565b61042c6101695481565b60335460ff166103e8565b61042c61066f3660046141ca565b611e52565b6104556106823660046141ca565b611e89565b610405611ee9565b61042561069d366004614320565b611f78565b61042c6106b03660046144b4565b612004565b61042561208a565b610165546104559061010090046001600160a01b031681565b6104256106e43660046144d1565b6120b0565b61042561224e565b6104556106ff3660046141a8565b61226e565b61070c61228d565b6040516103f4919061451f565b6103e8610727366004614396565b612367565b610405612392565b610165546103e89060ff1681565b61042c7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7081565b61042c600081565b61042561077f366004614581565b6123a1565b61078c6123b3565b6040516103f491906145b4565b6104256107a7366004614464565b6124bc565b61042c6101625481565b6104256107c43660046141a8565b612543565b6104256107d73660046141ca565b612640565b6104256107ea36600461463e565b6126ca565b6104256107fd3660046141ca565b6126fd565b6104056108103660046141ca565b612788565b61042c6108233660046141ca565b612793565b6104256127aa565b61042561083e366004614396565b6127d3565b61042c600080516020614c8d83398151915281565b6104256108663660046144d1565b6127f8565b6103e86108793660046146aa565b6001600160a01b0391821660009081526101006020908152604080832093909416825291909152205460ff1690565b61042c6108b6366004614320565b80516020818301810180516101618252928201919093012091525481565b61042c6101675481565b60006108e98261295e565b92915050565b606060fb80546108fe906146d8565b80601f016020809104026020016040519081016040528092919081815260200182805461092a906146d8565b80156109775780601f1061094c57610100808354040283529160200191610977565b820191906000526020600020905b81548152906001019060200180831161095a57829003601f168201915b5050505050905090565b61099261098c61299e565b836129cf565b6109ee5760405162461bcd60e51b815260206004820152602260248201527f436f6e73656e743a2063616c6c6572206973206e6f7420746f6b656e206f776e60448201526132b960f11b60648201526084015b60405180910390fd5b6000828152610168602052604090208054821890555050565b5050565b6000610a1681612a4f565b61015f60009054906101000a90046001600160a01b03166001600160a01b0316637da0a8776040518163ffffffff1660e01b815260040160206040518083038186803b158015610a6557600080fd5b505afa158015610a79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9d919061470d565b61016560016101000a8154816001600160a01b0302191690836001600160a01b0316021790555050565b6000610ad282612a60565b50600090815260ff60205260409020546001600160a01b031690565b6000610af981612a4f565b61015f60009054906101000a90046001600160a01b03166001600160a01b03166350ea66d46040518163ffffffff1660e01b815260040160206040518083038186803b158015610b4857600080fd5b505afa158015610b5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b80919061472a565b6101625550565b6000610b9282611e89565b9050806001600160a01b0316836001600160a01b03161415610c005760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109e5565b806001600160a01b0316610c1261299e565b6001600160a01b03161480610c2e5750610c2e8161087961299e565b610ca05760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016109e5565b610caa8383612abf565b505050565b600080516020614cd5833981519152610cc781612a4f565b610162546101605410610cec5760405162461bcd60e51b81526004016109e590614743565b61016183604051610cfd9190614789565b908152602001604051809103902054600014610d2b5760405162461bcd60e51b81526004016109e5906147a5565b6101606040518060600160405280848152602001858152602001610d4d61299e565b6001600160a01b031690528154600181810184556000938452602093849020835160039093020191825583830151805193949293610d9393928501929190910190613fc0565b5060409182015160029190910180546001600160a01b0319166001600160a01b0390921691909117905561016054905161016190610dd2908690614789565b9081526040519081900360200181209190915561015f5463211b98bd60e01b82526001600160a01b03169063211b98bd90610e139086908690600401614802565b600060405180830381600087803b158015610e2d57600080fd5b505af1158015610e41573d6000803e3d6000fd5b50505050505050565b6000610e5581612a4f565b6000610166805480602002602001604051908101604052809291908181526020016000905b82821015610f26578382906000526020600020018054610e99906146d8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ec5906146d8565b8015610f125780601f10610ee757610100808354040283529160200191610f12565b820191906000526020600020905b815481529060010190602001808311610ef557829003601f168201915b505050505081526020019060010190610e7a565b5050505090506000805b6101665481101561108a5784604051602001610f4c9190614789565b60405160208183030381529060405280519060200120838281518110610f7457610f74614824565b6020026020010151604051602001610f8c9190614789565b604051602081830303815290604052805190602001201415611082576101668054610fb990600190614850565b81548110610fc957610fc9614824565b906000526020600020016101668281548110610fe757610fe7614824565b90600052602060002001908054610ffd906146d8565b611008929190614044565b5061016680548061101b5761101b614867565b60019003818190600052602060002001600061103791906140bf565b9055816110438161487d565b9250507f549cfb509d34ba3a18b302f759af92977d405b9a59d1ad5eaf676b1b26fdd027856040516110759190614195565b60405180910390a161108a565b600101610f30565b5060008160ff16116110ea5760405162461bcd60e51b815260206004820152602360248201527f436f6e73656e74203a20446f6d61696e206973206e6f7420696e20746865206c6044820152621a5cdd60ea1b60648201526084016109e5565b50505050565b6111016110fb61299e565b826129cf565b61111d5760405162461bcd60e51b81526004016109e59061489d565b610caa838383612b2d565b600080516020614cd583398151915261114081612a4f565b6101625461016054106111655760405162461bcd60e51b81526004016109e590614743565b610161836040516111769190614789565b9081526020016040518091039020546000146111a45760405162461bcd60e51b81526004016109e5906147a5565b61016060405180606001604052808481526020018581526020016111c661299e565b6001600160a01b03169052815460018181018455600093845260209384902083516003909302019182558383015180519394929361120c93928501929190910190613fc0565b5060409182015160029190910180546001600160a01b0319166001600160a01b039092169190911790556101605490516101619061124b908690614789565b9081526040519081900360200181209190915561015f54636f88c56160e11b82526001600160a01b03169063df118ac290610e139086908690600401614802565b6000828152609760205260409020600101546112a781612a4f565b610caa8383612c9e565b600054610100900460ff16158080156112d15750600054600160ff909116105b806112eb5750303b1580156112eb575060005460ff166001145b61134e5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016109e5565b6000805460ff191660011790558015611371576000805461ff0019166101001790555b61139a836040518060400160405280600781526020016610d3d394d1539560ca1b815250612d0c565b6113a2612d3d565b6113aa612d6e565b6113b2612d6e565b61015f80546001600160a01b0319166001600160a01b0384169081179091556040805163143a99b560e21b815290516350ea66d491600480820192602092909190829003018186803b15801561140757600080fd5b505afa15801561141b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143f919061472a565b610162556101658054610100600160a81b0319166101006001600160a01b038916021790554361016755620186a061016955835161148590610163906020870190613fc0565b50611491600086612d95565b6114a9600080516020614c8d83398151915286612d95565b6114d37fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7086612d95565b6114fd7f61a3517f153a09154844ed8be639dabc6e78dc22315c2d9a91f7eddf9398c00286612d95565b611515600080516020614cd583398151915286612d95565b801561155b576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b61156b61299e565b6001600160a01b0316816001600160a01b0316146115e35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016109e5565b610a078282612db7565b600080516020614c8d83398151915261160581612a4f565b61160d612dfb565b50565b611618612e53565b6116236106b061299e565b156116405760405162461bcd60e51b81526004016109e5906148ea565b610169546101645414156116665760405162461bcd60e51b81526004016109e59061492c565b60006117063061167461299e565b6040516bffffffffffffffffffffffff19606093841b811660208301529190921b166034820152604881018690526068015b60408051601f1981840301815282825280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000084830152603c8085019190915282518085039091018152605c909301909152815191012090565b90506117128183612e99565b6117785760405162461bcd60e51b815260206004820152603160248201527f436f6e73656e743a20436f6e7472616374206f776e657220646964206e6f74206044820152707369676e2074686973206d65737361676560781b60648201526084016109e5565b61178961178361299e565b85612f34565b6000848152610168602052604081208054851890556101648054916117ad83614963565b919050555050505050565b610caa838383604051806020016040528060008152506126ca565b6117de6110fb61299e565b6117fa5760405162461bcd60e51b81526004016109e59061489d565b61160d81612f4e565b61160d816117d3565b600061181781612a4f565b6000610166805480602002602001604051908101604052809291908181526020016000905b828210156118e857838290600052602060002001805461185b906146d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611887906146d8565b80156118d45780601f106118a9576101008083540402835291602001916118d4565b820191906000526020600020905b8154815290600101906020018083116118b757829003601f168201915b50505050508152602001906001019061183c565b50505050905060005b610166548110156119b9578360405160200161190d9190614789565b6040516020818303038152906040528051906020012082828151811061193557611935614824565b602002602001015160405160200161194d9190614789565b6040516020818303038152906040528051906020012014156119b15760405162461bcd60e51b815260206004820152601e60248201527f436f6e73656e74203a20446f6d61696e20616c7265616479206164646564000060448201526064016109e5565b6001016118f1565b50610166805460018101825560009190915283516119fe917fa5a4c57b7184ec73d55be4993773cb4eef681bc86a28d0285cd66efb50676a9701906020860190613fc0565b507f518f4dd9e1ba750adb395696c0d4f5417dd0d7686a59f0ba155189e55042153383604051611a2e9190614195565b60405180910390a1505050565b6060600080516020614cd5833981519152611a5581612a4f565b600061016184604051611a689190614789565b90815260200160405180910390205411611adb5760405162461bcd60e51b815260206004820152602e60248201527f436f6e73656e7420436f6e74726163743a20546869732074616720686173206e60448201526d1bdd081899595b881cdd185ad95960921b60648201526084016109e5565b61016054600090611aee90600190614850565b90506000600161016186604051611b059190614789565b908152602001604051809103902054611b1e9190614850565b905060006101608381548110611b3657611b36614824565b906000526020600020906003020160405180606001604052908160008201548152602001600182018054611b69906146d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611b95906146d8565b8015611be25780601f10611bb757610100808354040283529160200191611be2565b820191906000526020600020905b815481529060010190602001808311611bc557829003601f168201915b5050509183525050600291909101546001600160a01b0316602090910152610160805491925060009184908110611c1b57611c1b614824565b9060005260206000209060030201600001549050816101608481548110611c4457611c44614824565b9060005260206000209060030201600082015181600001556020820151816001019080519060200190611c78929190613fc0565b5060409190910151600290910180546001600160a01b0319166001600160a01b03909216919091179055611cad83600161497e565b6101618360200151604051611cc29190614789565b90815260200160405180910390208190555061016187604051611ce59190614789565b908152602001604051809103902060009055610160805480611d0957611d09614867565b60008281526020812060036000199093019283020181815590611d2f60018301826140bf565b5060020180546001600160a01b0319169055905561015f54604051639d38c87b60e01b81526001600160a01b0390911690639d38c87b90611d76908a908590600401614802565b600060405180830381600087803b158015611d9057600080fd5b505af1925050508015611da1575060015b611dfe57611dad614996565b806308c379a01415611df25750611dc26149b1565b80611dcd5750611df4565b604051806060016040528060288152602001614cad6028913996505050505050611e2d565b505b3d6000803e3d6000fd5b6040518060400160405280600f81526020016e131a5cdd1a5b99c81c995b5bdd9959608a1b8152509550505050505b50919050565b6000611e3e81612a4f565b8151610caa90610163906020850190613fc0565b6000818152610168602052604081205481905b8015611e8257611e78600182168361497e565b915060011c611e65565b5092915050565b600081815260fd60205260408120546001600160a01b0316806108e95760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109e5565b6101638054611ef7906146d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611f23906146d8565b8015611f705780601f10611f4557610100808354040283529160200191611f70565b820191906000526020600020905b815481529060010190602001808311611f5357829003601f168201915b505050505081565b7f61a3517f153a09154844ed8be639dabc6e78dc22315c2d9a91f7eddf9398c002611fa281612a4f565b81604051611fb09190614789565b6040518091039020611fc061299e565b6001600160a01b03167f31df2703b10660cea45214572e0616949f363a34b1c19dca24026609f466557084604051611ff89190614195565b60405180910390a35050565b60006001600160a01b03821661206e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016109e5565b506001600160a01b0316600090815260fe602052604090205490565b600080516020614c8d8339815191526120a281612a4f565b50610165805460ff19169055565b600080516020614cd58339815191526120c881612a4f565b6101625461016054106120ed5760405162461bcd60e51b81526004016109e590614743565b610161846040516120fe9190614789565b90815260200160405180910390205460001461212c5760405162461bcd60e51b81526004016109e5906147a5565b610160604051806060016040528084815260200186815260200161214e61299e565b6001600160a01b03169052815460018181018455600093845260209384902083516003909302019182558383015180519394929361219493928501929190910190613fc0565b5060409182015160029190910180546001600160a01b0319166001600160a01b03909216919091179055610160549051610161906121d3908790614789565b9081526040519081900360200181209190915561015f54636887f58f60e01b82526001600160a01b031690636887f58f9061221690879087908790600401614a3b565b600060405180830381600087803b15801561223057600080fd5b505af1158015612244573d6000803e3d6000fd5b5050505050505050565b600080516020614c8d83398151915261226681612a4f565b61160d612f7d565b600082815260c9602052604081206122869083612fbb565b9392505050565b6060610166805480602002602001604051908101604052809291908181526020016000905b8282101561235e5783829060005260206000200180546122d1906146d8565b80601f01602080910402602001604051908101604052809291908181526020018280546122fd906146d8565b801561234a5780601f1061231f5761010080835404028352916020019161234a565b820191906000526020600020905b81548152906001019060200180831161232d57829003601f168201915b5050505050815260200190600101906122b2565b50505050905090565b60009182526097602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060fc80546108fe906146d8565b610a076123ac61299e565b8383612fc7565b6060610160805480602002602001604051908101604052809291908181526020016000905b8282101561235e578382906000526020600020906003020160405180606001604052908160008201548152602001600182018054612415906146d8565b80601f0160208091040260200160405190810160405280929190818152602001828054612441906146d8565b801561248e5780601f106124635761010080835404028352916020019161248e565b820191906000526020600020905b81548152906001019060200180831161247157829003601f168201915b5050509183525050600291909101546001600160a01b031660209182015290825260019290920191016123d8565b6124c4612e53565b6124cf6106b061299e565b156124ec5760405162461bcd60e51b81526004016109e5906148ea565b610169546101645414156125125760405162461bcd60e51b81526004016109e59061492c565b6040516bffffffffffffffffffffffff193060601b16602082015260348101849052600090611706906054016116a6565b61254b612e53565b6101655460ff16156125b45760405162461bcd60e51b815260206004820152602c60248201527f436f6e73656e743a204f70656e206f70742d696e73206172652063757272656e60448201526b1d1b1e48191a5cd8589b195960a21b60648201526084016109e5565b6125bf6106b061299e565b156125dc5760405162461bcd60e51b81526004016109e5906148ea565b610169546101645414156126025760405162461bcd60e51b81526004016109e59061492c565b61261361260d61299e565b83612f34565b60008281526101686020526040812080548318905561016480549161263783614963565b91905055505050565b600061264b81612a4f565b6101675482116126c35760405162461bcd60e51b815260206004820152603860248201527f4e657720686f72697a6f6e206d757374206265207374726963746c79206c617460448201527f6572207468616e2063757272656e7420686f72697a6f6e2e000000000000000060648201526084016109e5565b5061016755565b6126d561098c61299e565b6126f15760405162461bcd60e51b81526004016109e59061489d565b6110ea84848484613097565b600061270881612a4f565b610164548210156127815760405162461bcd60e51b815260206004820152603960248201527f436f6e73656e743a2063616e6e6f74207265647563652063617061636974792060448201527f62656c6f772063757272656e7420656e726f6c6c6d656e742e0000000000000060648201526084016109e5565b5061016955565b60606108e9826130ca565b600081815260c9602052604081206108e990613130565b600080516020614c8d8339815191526127c281612a4f565b50610165805460ff19166001179055565b6000828152609760205260409020600101546127ee81612a4f565b610caa8383612db7565b600080516020614cd583398151915261281081612a4f565b6101625461016054106128355760405162461bcd60e51b81526004016109e590614743565b610161846040516128469190614789565b9081526020016040518091039020546000146128745760405162461bcd60e51b81526004016109e5906147a5565b610160604051806060016040528085815260200186815260200161289661299e565b6001600160a01b0316905281546001818101845560009384526020938490208351600390930201918255838301518051939492936128dc93928501929190910190613fc0565b5060409182015160029190910180546001600160a01b0319166001600160a01b039092169190911790556101605490516101619061291b908790614789565b9081526040519081900360200181209190915561015f546371731b8360e01b82526001600160a01b0316906371731b839061221690879087908790600401614a3b565b60006001600160e01b031982166380ac58cd60e01b148061298f57506001600160e01b03198216635b5e139f60e01b145b806108e957506108e98261313a565b6101655460009061010090046001600160a01b03163314156129c7575060131936013560601c90565b503390565b90565b6000806129db83611e89565b9050806001600160a01b0316846001600160a01b03161480612a2357506001600160a01b038082166000908152610100602090815260408083209388168352929052205460ff165b80612a475750836001600160a01b0316612a3c84610ac7565b6001600160a01b0316145b949350505050565b61160d81612a5b61299e565b61315f565b600081815260fd60205260409020546001600160a01b031661160d5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109e5565b600081815260ff6020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612af482611e89565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b826001600160a01b0316612b4082611e89565b6001600160a01b031614612b665760405162461bcd60e51b81526004016109e590614a60565b6001600160a01b038216612bc85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109e5565b612bd583838360016131b8565b826001600160a01b0316612be882611e89565b6001600160a01b031614612c0e5760405162461bcd60e51b81526004016109e590614a60565b600081815260ff6020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260fe855283862080546000190190559087168086528386208054600101905586865260fd90945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b612ca88282612d95565b61015f54604051635c655a5560e11b81526001600160a01b038381166004830152602482018590529091169063b8cab4aa906044015b600060405180830381600087803b158015612cf857600080fd5b505af115801561155b573d6000803e3d6000fd5b600054610100900460ff16612d335760405162461bcd60e51b81526004016109e590614aa5565b610a07828261324b565b600054610100900460ff16612d645760405162461bcd60e51b81526004016109e590614aa5565b612d6c613299565b565b600054610100900460ff16612d6c5760405162461bcd60e51b81526004016109e590614aa5565b612d9f82826132cc565b600082815260c960205260409020610caa9082613353565b612dc18282613368565b61015f54604051637659125360e01b81526001600160a01b0383811660048301526024820185905290911690637659125390604401612cde565b612e0361338a565b6033805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612e3661299e565b6040516001600160a01b03909116815260200160405180910390a1565b60335460ff1615612d6c5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016109e5565b600080612ea684846133d3565b90506001600160a01b038116612f0a5760405162461bcd60e51b8152602060048201526024808201527f436f6e73656e743a205369676e65722063616e6e6f742062652030206164647260448201526332b9b99760e11b60648201526084016109e5565b612a477fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7082612367565b610a078282604051806020016040528060008152506133f7565b6101648054906000612f5f83614af0565b90915550506000818152610168602052604081205561160d8161342a565b612f85612e53565b6033805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612e3661299e565b600061228683836134cd565b816001600160a01b0316836001600160a01b031614156130295760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109e5565b6001600160a01b0383811660008181526101006020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6130a2848484612b2d565b6130ae848484846134f7565b6110ea5760405162461bcd60e51b81526004016109e590614b07565b60606130d582612a60565b60006130df61360b565b905060008151116130ff5760405180602001604052806000815250612286565b806131098461361b565b60405160200161311a929190614b59565b6040516020818303038152906040529392505050565b60006108e9825490565b60006001600160e01b03198216635a05180f60e01b14806108e957506108e9826136b0565b6131698282612367565b610a0757613176816136e5565b6131818360206136f7565b604051602001613192929190614b88565b60408051601f198184030181529082905262461bcd60e51b82526109e591600401614195565b6131c0612e53565b6001600160a01b03841615806131dd57506001600160a01b038316155b61323f5760405162461bcd60e51b815260206004820152602d60248201527f436f6e73656e743a20436f6e73656e7420746f6b656e7320617265206e6f6e2d60448201526c7472616e736665727261626c6560981b60648201526084016109e5565b6110ea84848484613893565b600054610100900460ff166132725760405162461bcd60e51b81526004016109e590614aa5565b81516132859060fb906020850190613fc0565b508051610caa9060fc906020840190613fc0565b600054610100900460ff166132c05760405162461bcd60e51b81526004016109e590614aa5565b6033805460ff19169055565b6132d68282612367565b610a075760008281526097602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561330f61299e565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000612286836001600160a01b03841661391b565b613372828261396a565b600082815260c960205260409020610caa90826139ef565b60335460ff16612d6c5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016109e5565b60008060006133e28585613a04565b915091506133ef81613a4a565b509392505050565b6134018383613b98565b61340e60008484846134f7565b610caa5760405162461bcd60e51b81526004016109e590614b07565b600061343582611e89565b90506134458160008460016131b8565b61344e82611e89565b600083815260ff6020908152604080832080546001600160a01b03199081169091556001600160a01b03851680855260fe8452828520805460001901905587855260fd909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008260000182815481106134e4576134e4614824565b9060005260206000200154905092915050565b60006001600160a01b0384163b1561360057836001600160a01b031663150b7a0261352061299e565b8786866040518563ffffffff1660e01b81526004016135429493929190614bfd565b602060405180830381600087803b15801561355c57600080fd5b505af192505050801561358c575060408051601f3d908101601f1916820190925261358991810190614c3a565b60015b6135e6573d8080156135ba576040519150601f19603f3d011682016040523d82523d6000602084013e6135bf565b606091505b5080516135de5760405162461bcd60e51b81526004016109e590614b07565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612a47565b506001949350505050565b606061016380546108fe906146d8565b6060600061362883613d31565b600101905060008167ffffffffffffffff81111561364857613648614224565b6040519080825280601f01601f191660200182016040528015613672576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846136ab576133ef565b61367c565b60006001600160e01b03198216637965db0b60e01b14806108e957506301ffc9a760e01b6001600160e01b03198316146108e9565b60606108e96001600160a01b03831660145b60606000613706836002614c57565b61371190600261497e565b67ffffffffffffffff81111561372957613729614224565b6040519080825280601f01601f191660200182016040528015613753576020820181803683370190505b509050600360fc1b8160008151811061376e5761376e614824565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061379d5761379d614824565b60200101906001600160f81b031916908160001a90535060006137c1846002614c57565b6137cc90600161497e565b90505b6001811115613844576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061380057613800614824565b1a60f81b82828151811061381657613816614824565b60200101906001600160f81b031916908160001a90535060049490941c9361383d81614af0565b90506137cf565b5083156122865760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109e5565b60018111156110ea576001600160a01b038416156138d9576001600160a01b038416600090815260fe6020526040812080548392906138d3908490614850565b90915550505b6001600160a01b038316156110ea576001600160a01b038316600090815260fe60205260408120805483929061391090849061497e565b909155505050505050565b6000818152600183016020526040812054613962575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556108e9565b5060006108e9565b6139748282612367565b15610a075760008281526097602090815260408083206001600160a01b03851684529091529020805460ff191690556139ab61299e565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6000612286836001600160a01b038416613e09565b600080825160411415613a3b5760208301516040840151606085015160001a613a2f87828585613efc565b94509450505050613a43565b506000905060025b9250929050565b6000816004811115613a5e57613a5e614c76565b1415613a675750565b6001816004811115613a7b57613a7b614c76565b1415613ac95760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016109e5565b6002816004811115613add57613add614c76565b1415613b2b5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016109e5565b6003816004811115613b3f57613b3f614c76565b141561160d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016109e5565b6001600160a01b038216613bee5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109e5565b600081815260fd60205260409020546001600160a01b031615613c535760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109e5565b613c616000838360016131b8565b600081815260fd60205260409020546001600160a01b031615613cc65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109e5565b6001600160a01b038216600081815260fe602090815260408083208054600101905584835260fd90915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310613d705772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310613d9c576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310613dba57662386f26fc10000830492506010015b6305f5e1008310613dd2576305f5e100830492506008015b6127108310613de657612710830492506004015b60648310613df8576064830492506002015b600a83106108e95760010192915050565b60008181526001830160205260408120548015613ef2576000613e2d600183614850565b8554909150600090613e4190600190614850565b9050818114613ea6576000866000018281548110613e6157613e61614824565b9060005260206000200154905080876000018481548110613e8457613e84614824565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613eb757613eb7614867565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506108e9565b60009150506108e9565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613f335750600090506003613fb7565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613f87573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613fb057600060019250925050613fb7565b9150600090505b94509492505050565b828054613fcc906146d8565b90600052602060002090601f016020900481019282613fee5760008555614034565b82601f1061400757805160ff1916838001178555614034565b82800160010185558215614034579182015b82811115614034578251825591602001919060010190614019565b506140409291506140f5565b5090565b828054614050906146d8565b90600052602060002090601f0160209004810192826140725760008555614034565b82601f106140835780548555614034565b8280016001018555821561403457600052602060002091601f016020900482015b828111156140345782548255916001019190600101906140a4565b5080546140cb906146d8565b6000825580601f106140db575050565b601f01602090049060005260206000209081019061160d91905b5b8082111561404057600081556001016140f6565b6001600160e01b03198116811461160d57600080fd5b60006020828403121561413257600080fd5b81356122868161410a565b60005b83811015614158578181015183820152602001614140565b838111156110ea5750506000910152565b6000815180845261418181602086016020860161413d565b601f01601f19169290920160200192915050565b6020815260006122866020830184614169565b600080604083850312156141bb57600080fd5b50508035926020909101359150565b6000602082840312156141dc57600080fd5b5035919050565b6001600160a01b038116811461160d57600080fd5b6000806040838503121561420b57600080fd5b8235614216816141e3565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff8111828210171561426057614260614224565b6040525050565b600082601f83011261427857600080fd5b813567ffffffffffffffff81111561429257614292614224565b6040516142a9601f8301601f19166020018261423a565b8181528460208386010111156142be57600080fd5b816020850160208301376000918101602001919091529392505050565b600080604083850312156142ee57600080fd5b823567ffffffffffffffff81111561430557600080fd5b61431185828601614267565b95602094909401359450505050565b60006020828403121561433257600080fd5b813567ffffffffffffffff81111561434957600080fd5b612a4784828501614267565b60008060006060848603121561436a57600080fd5b8335614375816141e3565b92506020840135614385816141e3565b929592945050506040919091013590565b600080604083850312156143a957600080fd5b8235915060208301356143bb816141e3565b809150509250929050565b600080600080600060a086880312156143de57600080fd5b85356143e9816141e3565b945060208601356143f9816141e3565b9350604086013567ffffffffffffffff8082111561441657600080fd5b61442289838a01614267565b9450606088013591508082111561443857600080fd5b5061444588828901614267565b9250506080860135614456816141e3565b809150509295509295909350565b60008060006060848603121561447957600080fd5b8335925060208401359150604084013567ffffffffffffffff81111561449e57600080fd5b6144aa86828701614267565b9150509250925092565b6000602082840312156144c657600080fd5b8135612286816141e3565b6000806000606084860312156144e657600080fd5b833567ffffffffffffffff8111156144fd57600080fd5b61450986828701614267565b9660208601359650604090950135949350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561457457603f19888603018452614562858351614169565b94509285019290850190600101614546565b5092979650505050505050565b6000806040838503121561459457600080fd5b823561459f816141e3565b9150602083013580151581146143bb57600080fd5b60006020808301818452808551808352604092508286019150828160051b87010184880160005b8381101561463057603f19898403018552815160608151855288820151818a87015261460982870182614169565b928901516001600160a01b03169589019590955250948701949250908601906001016145db565b509098975050505050505050565b6000806000806080858703121561465457600080fd5b843561465f816141e3565b9350602085013561466f816141e3565b925060408501359150606085013567ffffffffffffffff81111561469257600080fd5b61469e87828801614267565b91505092959194509250565b600080604083850312156146bd57600080fd5b82356146c8816141e3565b915060208301356143bb816141e3565b600181811c908216806146ec57607f821691505b60208210811415611e2d57634e487b7160e01b600052602260045260246000fd5b60006020828403121561471f57600080fd5b8151612286816141e3565b60006020828403121561473c57600080fd5b5051919050565b60208082526026908201527f436f6e73656e7420436f6e74726163743a205461672062756467657420657868604082015265185d5cdd195960d21b606082015260800190565b6000825161479b81846020870161413d565b9190910192915050565b6020808252603d908201527f436f6e73656e7420436f6e74726163743a20546869732074616720697320616c60408201527f7265616479207374616b6564206279207468697320636f6e7472616374000000606082015260800190565b6040815260006148156040830185614169565b90508260208301529392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156148625761486261483a565b500390565b634e487b7160e01b600052603160045260246000fd5b600060ff821660ff8114156148945761489461483a565b60010192915050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526022908201527f436f6e73656e743a20557365722068617320616c7265616479206f707465642060408201526134b760f11b606082015260800190565b6020808252601e908201527f436f6e73656e743a20636f686f72742069732061742063617061636974790000604082015260600190565b60006000198214156149775761497761483a565b5060010190565b600082198211156149915761499161483a565b500190565b600060033d11156129cc5760046000803e5060005160e01c90565b600060443d10156149bf5790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156149ef57505050505090565b8285019150815181811115614a075750505050505090565b843d8701016020828501011115614a215750505050505090565b614a306020828601018761423a565b509095945050505050565b606081526000614a4e6060830186614169565b60208301949094525060400152919050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600081614aff57614aff61483a565b506000190190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351614b6b81846020880161413d565b835190830190614b7f81836020880161413d565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351614bc081601785016020880161413d565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351614bf181602884016020880161413d565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614c3090830184614169565b9695505050505050565b600060208284031215614c4c57600080fd5b81516122868161410a565b6000816000190483118215151615614c7157614c7161483a565b500290565b634e487b7160e01b600052602160045260246000fdfe65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a4c697374696e6720776173207265706c6163656420627920616e6f7468657220636f6e7472616374b9e206fa2af7ee1331b72ce58b6d938ac810ce9b5cdb65d35ab723fd67badf9ea264697066735822122078abb4e6b0cc3f40fdc97d67ee1d5b9be1d3862f4480f635d69fb38ff1213cc164736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106103d05760003560e01c80636352211e116101ff578063a428b07f1161011a578063ca15c873116100ad578063e682da7c1161007c578063e682da7c14610858578063e985e9c51461086b578063f5c7455c146108a8578063fafc130b146108d457600080fd5b8063ca15c87314610815578063cecc2eac14610828578063d547741f14610830578063e63ab1e91461084357600080fd5b8063ae23c782116100e9578063ae23c782146107c9578063b88d4fde146107dc578063b945060c146107ef578063c87b56dd1461080257600080fd5b8063a428b07f14610784578063a56016ca14610799578063a85f2ef7146107ac578063aad83e35146107b657600080fd5b80639010d07c11610192578063a1260cdf11610161578063a1260cdf14610734578063a1ebf35d14610742578063a217fddf14610769578063a22cb4651461077157600080fd5b80639010d07c146106f15780639101cc651461070457806391d148541461071957806395d89b411461072c57600080fd5b806372be0f1f116101ce57806372be0f1f146106b55780637da0a877146106bd578063827b8e14146106d65780638456cb59146106e957600080fd5b80636352211e146106745780636c0360eb146106875780636cf0dc301461068f57806370a08231146106a257600080fd5b806336568abe116102ef57806344dc6e1a11610282578063572b6c0511610251578063572b6c051461062457806359b6a0c91461064c5780635c975abb14610656578063604424541461066157600080fd5b806344dc6e1a146105d857806344e2e74c146105eb5780635149606e146105fe57806355f804b31461061157600080fd5b806340018a25116102be57806340018a251461057857806342842e0e1461058b57806342966c681461059e5780634430db7e146105b157600080fd5b806336568abe146105275780633780b3ed1461053a5780633bfa852b1461054f5780633f4ba83a1461057057600080fd5b806318160ddd11610367578063248a9ca311610336578063248a9ca3146104cb5780632684c925146104ee5780632f2ff15d14610501578063362925c21461051457600080fd5b806318160ddd14610488578063211b98bd1461049257806322778929146104a557806323b872dd146104b857600080fd5b806307a5069a116103a357806307a5069a1461043a578063081812fc14610442578063081f5de31461046d578063095ea7b31461047557600080fd5b806301ffc9a7146103d557806306fdde03146103fd578063072bf4cd14610412578063078908e814610427575b600080fd5b6103e86103e3366004614120565b6108de565b60405190151581526020015b60405180910390f35b6104056108ef565b6040516103f49190614195565b6104256104203660046141a8565b610981565b005b610160545b6040519081526020016103f4565b610425610a0b565b6104556104503660046141ca565b610ac7565b6040516001600160a01b0390911681526020016103f4565b610425610aee565b6104256104833660046141f8565b610b87565b61042c6101645481565b6104256104a03660046142db565b610caf565b6104256104b3366004614320565b610e4a565b6104256104c6366004614355565b6110f0565b61042c6104d93660046141ca565b60009081526097602052604090206001015490565b6104256104fc3660046142db565b611128565b61042561050f366004614396565b61128c565b6104256105223660046143c6565b6112b1565b610425610535366004614396565b611563565b61042c600080516020614cd583398151915281565b61042c61055d3660046141ca565b6101686020526000908152604090205481565b6104256115ed565b610425610586366004614464565b611610565b610425610599366004614355565b6117b8565b6104256105ac3660046141ca565b6117d3565b61042c7f61a3517f153a09154844ed8be639dabc6e78dc22315c2d9a91f7eddf9398c00281565b6104256105e63660046141ca565b611803565b6104256105f9366004614320565b61180c565b61040561060c366004614320565b611a3b565b61042561061f366004614320565b611e33565b6103e86106323660046144b4565b6101655461010090046001600160a01b0390811691161490565b61042c6101695481565b60335460ff166103e8565b61042c61066f3660046141ca565b611e52565b6104556106823660046141ca565b611e89565b610405611ee9565b61042561069d366004614320565b611f78565b61042c6106b03660046144b4565b612004565b61042561208a565b610165546104559061010090046001600160a01b031681565b6104256106e43660046144d1565b6120b0565b61042561224e565b6104556106ff3660046141a8565b61226e565b61070c61228d565b6040516103f4919061451f565b6103e8610727366004614396565b612367565b610405612392565b610165546103e89060ff1681565b61042c7fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7081565b61042c600081565b61042561077f366004614581565b6123a1565b61078c6123b3565b6040516103f491906145b4565b6104256107a7366004614464565b6124bc565b61042c6101625481565b6104256107c43660046141a8565b612543565b6104256107d73660046141ca565b612640565b6104256107ea36600461463e565b6126ca565b6104256107fd3660046141ca565b6126fd565b6104056108103660046141ca565b612788565b61042c6108233660046141ca565b612793565b6104256127aa565b61042561083e366004614396565b6127d3565b61042c600080516020614c8d83398151915281565b6104256108663660046144d1565b6127f8565b6103e86108793660046146aa565b6001600160a01b0391821660009081526101006020908152604080832093909416825291909152205460ff1690565b61042c6108b6366004614320565b80516020818301810180516101618252928201919093012091525481565b61042c6101675481565b60006108e98261295e565b92915050565b606060fb80546108fe906146d8565b80601f016020809104026020016040519081016040528092919081815260200182805461092a906146d8565b80156109775780601f1061094c57610100808354040283529160200191610977565b820191906000526020600020905b81548152906001019060200180831161095a57829003601f168201915b5050505050905090565b61099261098c61299e565b836129cf565b6109ee5760405162461bcd60e51b815260206004820152602260248201527f436f6e73656e743a2063616c6c6572206973206e6f7420746f6b656e206f776e60448201526132b960f11b60648201526084015b60405180910390fd5b6000828152610168602052604090208054821890555050565b5050565b6000610a1681612a4f565b61015f60009054906101000a90046001600160a01b03166001600160a01b0316637da0a8776040518163ffffffff1660e01b815260040160206040518083038186803b158015610a6557600080fd5b505afa158015610a79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a9d919061470d565b61016560016101000a8154816001600160a01b0302191690836001600160a01b0316021790555050565b6000610ad282612a60565b50600090815260ff60205260409020546001600160a01b031690565b6000610af981612a4f565b61015f60009054906101000a90046001600160a01b03166001600160a01b03166350ea66d46040518163ffffffff1660e01b815260040160206040518083038186803b158015610b4857600080fd5b505afa158015610b5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b80919061472a565b6101625550565b6000610b9282611e89565b9050806001600160a01b0316836001600160a01b03161415610c005760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109e5565b806001600160a01b0316610c1261299e565b6001600160a01b03161480610c2e5750610c2e8161087961299e565b610ca05760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016109e5565b610caa8383612abf565b505050565b600080516020614cd5833981519152610cc781612a4f565b610162546101605410610cec5760405162461bcd60e51b81526004016109e590614743565b61016183604051610cfd9190614789565b908152602001604051809103902054600014610d2b5760405162461bcd60e51b81526004016109e5906147a5565b6101606040518060600160405280848152602001858152602001610d4d61299e565b6001600160a01b031690528154600181810184556000938452602093849020835160039093020191825583830151805193949293610d9393928501929190910190613fc0565b5060409182015160029190910180546001600160a01b0319166001600160a01b0390921691909117905561016054905161016190610dd2908690614789565b9081526040519081900360200181209190915561015f5463211b98bd60e01b82526001600160a01b03169063211b98bd90610e139086908690600401614802565b600060405180830381600087803b158015610e2d57600080fd5b505af1158015610e41573d6000803e3d6000fd5b50505050505050565b6000610e5581612a4f565b6000610166805480602002602001604051908101604052809291908181526020016000905b82821015610f26578382906000526020600020018054610e99906146d8565b80601f0160208091040260200160405190810160405280929190818152602001828054610ec5906146d8565b8015610f125780601f10610ee757610100808354040283529160200191610f12565b820191906000526020600020905b815481529060010190602001808311610ef557829003601f168201915b505050505081526020019060010190610e7a565b5050505090506000805b6101665481101561108a5784604051602001610f4c9190614789565b60405160208183030381529060405280519060200120838281518110610f7457610f74614824565b6020026020010151604051602001610f8c9190614789565b604051602081830303815290604052805190602001201415611082576101668054610fb990600190614850565b81548110610fc957610fc9614824565b906000526020600020016101668281548110610fe757610fe7614824565b90600052602060002001908054610ffd906146d8565b611008929190614044565b5061016680548061101b5761101b614867565b60019003818190600052602060002001600061103791906140bf565b9055816110438161487d565b9250507f549cfb509d34ba3a18b302f759af92977d405b9a59d1ad5eaf676b1b26fdd027856040516110759190614195565b60405180910390a161108a565b600101610f30565b5060008160ff16116110ea5760405162461bcd60e51b815260206004820152602360248201527f436f6e73656e74203a20446f6d61696e206973206e6f7420696e20746865206c6044820152621a5cdd60ea1b60648201526084016109e5565b50505050565b6111016110fb61299e565b826129cf565b61111d5760405162461bcd60e51b81526004016109e59061489d565b610caa838383612b2d565b600080516020614cd583398151915261114081612a4f565b6101625461016054106111655760405162461bcd60e51b81526004016109e590614743565b610161836040516111769190614789565b9081526020016040518091039020546000146111a45760405162461bcd60e51b81526004016109e5906147a5565b61016060405180606001604052808481526020018581526020016111c661299e565b6001600160a01b03169052815460018181018455600093845260209384902083516003909302019182558383015180519394929361120c93928501929190910190613fc0565b5060409182015160029190910180546001600160a01b0319166001600160a01b039092169190911790556101605490516101619061124b908690614789565b9081526040519081900360200181209190915561015f54636f88c56160e11b82526001600160a01b03169063df118ac290610e139086908690600401614802565b6000828152609760205260409020600101546112a781612a4f565b610caa8383612c9e565b600054610100900460ff16158080156112d15750600054600160ff909116105b806112eb5750303b1580156112eb575060005460ff166001145b61134e5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016109e5565b6000805460ff191660011790558015611371576000805461ff0019166101001790555b61139a836040518060400160405280600781526020016610d3d394d1539560ca1b815250612d0c565b6113a2612d3d565b6113aa612d6e565b6113b2612d6e565b61015f80546001600160a01b0319166001600160a01b0384169081179091556040805163143a99b560e21b815290516350ea66d491600480820192602092909190829003018186803b15801561140757600080fd5b505afa15801561141b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143f919061472a565b610162556101658054610100600160a81b0319166101006001600160a01b038916021790554361016755620186a061016955835161148590610163906020870190613fc0565b50611491600086612d95565b6114a9600080516020614c8d83398151915286612d95565b6114d37fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7086612d95565b6114fd7f61a3517f153a09154844ed8be639dabc6e78dc22315c2d9a91f7eddf9398c00286612d95565b611515600080516020614cd583398151915286612d95565b801561155b576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b61156b61299e565b6001600160a01b0316816001600160a01b0316146115e35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016109e5565b610a078282612db7565b600080516020614c8d83398151915261160581612a4f565b61160d612dfb565b50565b611618612e53565b6116236106b061299e565b156116405760405162461bcd60e51b81526004016109e5906148ea565b610169546101645414156116665760405162461bcd60e51b81526004016109e59061492c565b60006117063061167461299e565b6040516bffffffffffffffffffffffff19606093841b811660208301529190921b166034820152604881018690526068015b60408051601f1981840301815282825280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000084830152603c8085019190915282518085039091018152605c909301909152815191012090565b90506117128183612e99565b6117785760405162461bcd60e51b815260206004820152603160248201527f436f6e73656e743a20436f6e7472616374206f776e657220646964206e6f74206044820152707369676e2074686973206d65737361676560781b60648201526084016109e5565b61178961178361299e565b85612f34565b6000848152610168602052604081208054851890556101648054916117ad83614963565b919050555050505050565b610caa838383604051806020016040528060008152506126ca565b6117de6110fb61299e565b6117fa5760405162461bcd60e51b81526004016109e59061489d565b61160d81612f4e565b61160d816117d3565b600061181781612a4f565b6000610166805480602002602001604051908101604052809291908181526020016000905b828210156118e857838290600052602060002001805461185b906146d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611887906146d8565b80156118d45780601f106118a9576101008083540402835291602001916118d4565b820191906000526020600020905b8154815290600101906020018083116118b757829003601f168201915b50505050508152602001906001019061183c565b50505050905060005b610166548110156119b9578360405160200161190d9190614789565b6040516020818303038152906040528051906020012082828151811061193557611935614824565b602002602001015160405160200161194d9190614789565b6040516020818303038152906040528051906020012014156119b15760405162461bcd60e51b815260206004820152601e60248201527f436f6e73656e74203a20446f6d61696e20616c7265616479206164646564000060448201526064016109e5565b6001016118f1565b50610166805460018101825560009190915283516119fe917fa5a4c57b7184ec73d55be4993773cb4eef681bc86a28d0285cd66efb50676a9701906020860190613fc0565b507f518f4dd9e1ba750adb395696c0d4f5417dd0d7686a59f0ba155189e55042153383604051611a2e9190614195565b60405180910390a1505050565b6060600080516020614cd5833981519152611a5581612a4f565b600061016184604051611a689190614789565b90815260200160405180910390205411611adb5760405162461bcd60e51b815260206004820152602e60248201527f436f6e73656e7420436f6e74726163743a20546869732074616720686173206e60448201526d1bdd081899595b881cdd185ad95960921b60648201526084016109e5565b61016054600090611aee90600190614850565b90506000600161016186604051611b059190614789565b908152602001604051809103902054611b1e9190614850565b905060006101608381548110611b3657611b36614824565b906000526020600020906003020160405180606001604052908160008201548152602001600182018054611b69906146d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611b95906146d8565b8015611be25780601f10611bb757610100808354040283529160200191611be2565b820191906000526020600020905b815481529060010190602001808311611bc557829003601f168201915b5050509183525050600291909101546001600160a01b0316602090910152610160805491925060009184908110611c1b57611c1b614824565b9060005260206000209060030201600001549050816101608481548110611c4457611c44614824565b9060005260206000209060030201600082015181600001556020820151816001019080519060200190611c78929190613fc0565b5060409190910151600290910180546001600160a01b0319166001600160a01b03909216919091179055611cad83600161497e565b6101618360200151604051611cc29190614789565b90815260200160405180910390208190555061016187604051611ce59190614789565b908152602001604051809103902060009055610160805480611d0957611d09614867565b60008281526020812060036000199093019283020181815590611d2f60018301826140bf565b5060020180546001600160a01b0319169055905561015f54604051639d38c87b60e01b81526001600160a01b0390911690639d38c87b90611d76908a908590600401614802565b600060405180830381600087803b158015611d9057600080fd5b505af1925050508015611da1575060015b611dfe57611dad614996565b806308c379a01415611df25750611dc26149b1565b80611dcd5750611df4565b604051806060016040528060288152602001614cad6028913996505050505050611e2d565b505b3d6000803e3d6000fd5b6040518060400160405280600f81526020016e131a5cdd1a5b99c81c995b5bdd9959608a1b8152509550505050505b50919050565b6000611e3e81612a4f565b8151610caa90610163906020850190613fc0565b6000818152610168602052604081205481905b8015611e8257611e78600182168361497e565b915060011c611e65565b5092915050565b600081815260fd60205260408120546001600160a01b0316806108e95760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109e5565b6101638054611ef7906146d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611f23906146d8565b8015611f705780601f10611f4557610100808354040283529160200191611f70565b820191906000526020600020905b815481529060010190602001808311611f5357829003601f168201915b505050505081565b7f61a3517f153a09154844ed8be639dabc6e78dc22315c2d9a91f7eddf9398c002611fa281612a4f565b81604051611fb09190614789565b6040518091039020611fc061299e565b6001600160a01b03167f31df2703b10660cea45214572e0616949f363a34b1c19dca24026609f466557084604051611ff89190614195565b60405180910390a35050565b60006001600160a01b03821661206e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016109e5565b506001600160a01b0316600090815260fe602052604090205490565b600080516020614c8d8339815191526120a281612a4f565b50610165805460ff19169055565b600080516020614cd58339815191526120c881612a4f565b6101625461016054106120ed5760405162461bcd60e51b81526004016109e590614743565b610161846040516120fe9190614789565b90815260200160405180910390205460001461212c5760405162461bcd60e51b81526004016109e5906147a5565b610160604051806060016040528084815260200186815260200161214e61299e565b6001600160a01b03169052815460018181018455600093845260209384902083516003909302019182558383015180519394929361219493928501929190910190613fc0565b5060409182015160029190910180546001600160a01b0319166001600160a01b03909216919091179055610160549051610161906121d3908790614789565b9081526040519081900360200181209190915561015f54636887f58f60e01b82526001600160a01b031690636887f58f9061221690879087908790600401614a3b565b600060405180830381600087803b15801561223057600080fd5b505af1158015612244573d6000803e3d6000fd5b5050505050505050565b600080516020614c8d83398151915261226681612a4f565b61160d612f7d565b600082815260c9602052604081206122869083612fbb565b9392505050565b6060610166805480602002602001604051908101604052809291908181526020016000905b8282101561235e5783829060005260206000200180546122d1906146d8565b80601f01602080910402602001604051908101604052809291908181526020018280546122fd906146d8565b801561234a5780601f1061231f5761010080835404028352916020019161234a565b820191906000526020600020905b81548152906001019060200180831161232d57829003601f168201915b5050505050815260200190600101906122b2565b50505050905090565b60009182526097602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060fc80546108fe906146d8565b610a076123ac61299e565b8383612fc7565b6060610160805480602002602001604051908101604052809291908181526020016000905b8282101561235e578382906000526020600020906003020160405180606001604052908160008201548152602001600182018054612415906146d8565b80601f0160208091040260200160405190810160405280929190818152602001828054612441906146d8565b801561248e5780601f106124635761010080835404028352916020019161248e565b820191906000526020600020905b81548152906001019060200180831161247157829003601f168201915b5050509183525050600291909101546001600160a01b031660209182015290825260019290920191016123d8565b6124c4612e53565b6124cf6106b061299e565b156124ec5760405162461bcd60e51b81526004016109e5906148ea565b610169546101645414156125125760405162461bcd60e51b81526004016109e59061492c565b6040516bffffffffffffffffffffffff193060601b16602082015260348101849052600090611706906054016116a6565b61254b612e53565b6101655460ff16156125b45760405162461bcd60e51b815260206004820152602c60248201527f436f6e73656e743a204f70656e206f70742d696e73206172652063757272656e60448201526b1d1b1e48191a5cd8589b195960a21b60648201526084016109e5565b6125bf6106b061299e565b156125dc5760405162461bcd60e51b81526004016109e5906148ea565b610169546101645414156126025760405162461bcd60e51b81526004016109e59061492c565b61261361260d61299e565b83612f34565b60008281526101686020526040812080548318905561016480549161263783614963565b91905055505050565b600061264b81612a4f565b6101675482116126c35760405162461bcd60e51b815260206004820152603860248201527f4e657720686f72697a6f6e206d757374206265207374726963746c79206c617460448201527f6572207468616e2063757272656e7420686f72697a6f6e2e000000000000000060648201526084016109e5565b5061016755565b6126d561098c61299e565b6126f15760405162461bcd60e51b81526004016109e59061489d565b6110ea84848484613097565b600061270881612a4f565b610164548210156127815760405162461bcd60e51b815260206004820152603960248201527f436f6e73656e743a2063616e6e6f74207265647563652063617061636974792060448201527f62656c6f772063757272656e7420656e726f6c6c6d656e742e0000000000000060648201526084016109e5565b5061016955565b60606108e9826130ca565b600081815260c9602052604081206108e990613130565b600080516020614c8d8339815191526127c281612a4f565b50610165805460ff19166001179055565b6000828152609760205260409020600101546127ee81612a4f565b610caa8383612db7565b600080516020614cd583398151915261281081612a4f565b6101625461016054106128355760405162461bcd60e51b81526004016109e590614743565b610161846040516128469190614789565b9081526020016040518091039020546000146128745760405162461bcd60e51b81526004016109e5906147a5565b610160604051806060016040528085815260200186815260200161289661299e565b6001600160a01b0316905281546001818101845560009384526020938490208351600390930201918255838301518051939492936128dc93928501929190910190613fc0565b5060409182015160029190910180546001600160a01b0319166001600160a01b039092169190911790556101605490516101619061291b908790614789565b9081526040519081900360200181209190915561015f546371731b8360e01b82526001600160a01b0316906371731b839061221690879087908790600401614a3b565b60006001600160e01b031982166380ac58cd60e01b148061298f57506001600160e01b03198216635b5e139f60e01b145b806108e957506108e98261313a565b6101655460009061010090046001600160a01b03163314156129c7575060131936013560601c90565b503390565b90565b6000806129db83611e89565b9050806001600160a01b0316846001600160a01b03161480612a2357506001600160a01b038082166000908152610100602090815260408083209388168352929052205460ff165b80612a475750836001600160a01b0316612a3c84610ac7565b6001600160a01b0316145b949350505050565b61160d81612a5b61299e565b61315f565b600081815260fd60205260409020546001600160a01b031661160d5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016109e5565b600081815260ff6020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612af482611e89565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b826001600160a01b0316612b4082611e89565b6001600160a01b031614612b665760405162461bcd60e51b81526004016109e590614a60565b6001600160a01b038216612bc85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109e5565b612bd583838360016131b8565b826001600160a01b0316612be882611e89565b6001600160a01b031614612c0e5760405162461bcd60e51b81526004016109e590614a60565b600081815260ff6020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260fe855283862080546000190190559087168086528386208054600101905586865260fd90945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b612ca88282612d95565b61015f54604051635c655a5560e11b81526001600160a01b038381166004830152602482018590529091169063b8cab4aa906044015b600060405180830381600087803b158015612cf857600080fd5b505af115801561155b573d6000803e3d6000fd5b600054610100900460ff16612d335760405162461bcd60e51b81526004016109e590614aa5565b610a07828261324b565b600054610100900460ff16612d645760405162461bcd60e51b81526004016109e590614aa5565b612d6c613299565b565b600054610100900460ff16612d6c5760405162461bcd60e51b81526004016109e590614aa5565b612d9f82826132cc565b600082815260c960205260409020610caa9082613353565b612dc18282613368565b61015f54604051637659125360e01b81526001600160a01b0383811660048301526024820185905290911690637659125390604401612cde565b612e0361338a565b6033805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612e3661299e565b6040516001600160a01b03909116815260200160405180910390a1565b60335460ff1615612d6c5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016109e5565b600080612ea684846133d3565b90506001600160a01b038116612f0a5760405162461bcd60e51b8152602060048201526024808201527f436f6e73656e743a205369676e65722063616e6e6f742062652030206164647260448201526332b9b99760e11b60648201526084016109e5565b612a477fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f7082612367565b610a078282604051806020016040528060008152506133f7565b6101648054906000612f5f83614af0565b90915550506000818152610168602052604081205561160d8161342a565b612f85612e53565b6033805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612e3661299e565b600061228683836134cd565b816001600160a01b0316836001600160a01b031614156130295760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109e5565b6001600160a01b0383811660008181526101006020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6130a2848484612b2d565b6130ae848484846134f7565b6110ea5760405162461bcd60e51b81526004016109e590614b07565b60606130d582612a60565b60006130df61360b565b905060008151116130ff5760405180602001604052806000815250612286565b806131098461361b565b60405160200161311a929190614b59565b6040516020818303038152906040529392505050565b60006108e9825490565b60006001600160e01b03198216635a05180f60e01b14806108e957506108e9826136b0565b6131698282612367565b610a0757613176816136e5565b6131818360206136f7565b604051602001613192929190614b88565b60408051601f198184030181529082905262461bcd60e51b82526109e591600401614195565b6131c0612e53565b6001600160a01b03841615806131dd57506001600160a01b038316155b61323f5760405162461bcd60e51b815260206004820152602d60248201527f436f6e73656e743a20436f6e73656e7420746f6b656e7320617265206e6f6e2d60448201526c7472616e736665727261626c6560981b60648201526084016109e5565b6110ea84848484613893565b600054610100900460ff166132725760405162461bcd60e51b81526004016109e590614aa5565b81516132859060fb906020850190613fc0565b508051610caa9060fc906020840190613fc0565b600054610100900460ff166132c05760405162461bcd60e51b81526004016109e590614aa5565b6033805460ff19169055565b6132d68282612367565b610a075760008281526097602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561330f61299e565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000612286836001600160a01b03841661391b565b613372828261396a565b600082815260c960205260409020610caa90826139ef565b60335460ff16612d6c5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016109e5565b60008060006133e28585613a04565b915091506133ef81613a4a565b509392505050565b6134018383613b98565b61340e60008484846134f7565b610caa5760405162461bcd60e51b81526004016109e590614b07565b600061343582611e89565b90506134458160008460016131b8565b61344e82611e89565b600083815260ff6020908152604080832080546001600160a01b03199081169091556001600160a01b03851680855260fe8452828520805460001901905587855260fd909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008260000182815481106134e4576134e4614824565b9060005260206000200154905092915050565b60006001600160a01b0384163b1561360057836001600160a01b031663150b7a0261352061299e565b8786866040518563ffffffff1660e01b81526004016135429493929190614bfd565b602060405180830381600087803b15801561355c57600080fd5b505af192505050801561358c575060408051601f3d908101601f1916820190925261358991810190614c3a565b60015b6135e6573d8080156135ba576040519150601f19603f3d011682016040523d82523d6000602084013e6135bf565b606091505b5080516135de5760405162461bcd60e51b81526004016109e590614b07565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612a47565b506001949350505050565b606061016380546108fe906146d8565b6060600061362883613d31565b600101905060008167ffffffffffffffff81111561364857613648614224565b6040519080825280601f01601f191660200182016040528015613672576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846136ab576133ef565b61367c565b60006001600160e01b03198216637965db0b60e01b14806108e957506301ffc9a760e01b6001600160e01b03198316146108e9565b60606108e96001600160a01b03831660145b60606000613706836002614c57565b61371190600261497e565b67ffffffffffffffff81111561372957613729614224565b6040519080825280601f01601f191660200182016040528015613753576020820181803683370190505b509050600360fc1b8160008151811061376e5761376e614824565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061379d5761379d614824565b60200101906001600160f81b031916908160001a90535060006137c1846002614c57565b6137cc90600161497e565b90505b6001811115613844576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061380057613800614824565b1a60f81b82828151811061381657613816614824565b60200101906001600160f81b031916908160001a90535060049490941c9361383d81614af0565b90506137cf565b5083156122865760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109e5565b60018111156110ea576001600160a01b038416156138d9576001600160a01b038416600090815260fe6020526040812080548392906138d3908490614850565b90915550505b6001600160a01b038316156110ea576001600160a01b038316600090815260fe60205260408120805483929061391090849061497e565b909155505050505050565b6000818152600183016020526040812054613962575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556108e9565b5060006108e9565b6139748282612367565b15610a075760008281526097602090815260408083206001600160a01b03851684529091529020805460ff191690556139ab61299e565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6000612286836001600160a01b038416613e09565b600080825160411415613a3b5760208301516040840151606085015160001a613a2f87828585613efc565b94509450505050613a43565b506000905060025b9250929050565b6000816004811115613a5e57613a5e614c76565b1415613a675750565b6001816004811115613a7b57613a7b614c76565b1415613ac95760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016109e5565b6002816004811115613add57613add614c76565b1415613b2b5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016109e5565b6003816004811115613b3f57613b3f614c76565b141561160d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016109e5565b6001600160a01b038216613bee5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109e5565b600081815260fd60205260409020546001600160a01b031615613c535760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109e5565b613c616000838360016131b8565b600081815260fd60205260409020546001600160a01b031615613cc65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109e5565b6001600160a01b038216600081815260fe602090815260408083208054600101905584835260fd90915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310613d705772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310613d9c576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310613dba57662386f26fc10000830492506010015b6305f5e1008310613dd2576305f5e100830492506008015b6127108310613de657612710830492506004015b60648310613df8576064830492506002015b600a83106108e95760010192915050565b60008181526001830160205260408120548015613ef2576000613e2d600183614850565b8554909150600090613e4190600190614850565b9050818114613ea6576000866000018281548110613e6157613e61614824565b9060005260206000200154905080876000018481548110613e8457613e84614824565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613eb757613eb7614867565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506108e9565b60009150506108e9565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613f335750600090506003613fb7565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613f87573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613fb057600060019250925050613fb7565b9150600090505b94509492505050565b828054613fcc906146d8565b90600052602060002090601f016020900481019282613fee5760008555614034565b82601f1061400757805160ff1916838001178555614034565b82800160010185558215614034579182015b82811115614034578251825591602001919060010190614019565b506140409291506140f5565b5090565b828054614050906146d8565b90600052602060002090601f0160209004810192826140725760008555614034565b82601f106140835780548555614034565b8280016001018555821561403457600052602060002091601f016020900482015b828111156140345782548255916001019190600101906140a4565b5080546140cb906146d8565b6000825580601f106140db575050565b601f01602090049060005260206000209081019061160d91905b5b8082111561404057600081556001016140f6565b6001600160e01b03198116811461160d57600080fd5b60006020828403121561413257600080fd5b81356122868161410a565b60005b83811015614158578181015183820152602001614140565b838111156110ea5750506000910152565b6000815180845261418181602086016020860161413d565b601f01601f19169290920160200192915050565b6020815260006122866020830184614169565b600080604083850312156141bb57600080fd5b50508035926020909101359150565b6000602082840312156141dc57600080fd5b5035919050565b6001600160a01b038116811461160d57600080fd5b6000806040838503121561420b57600080fd5b8235614216816141e3565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff8111828210171561426057614260614224565b6040525050565b600082601f83011261427857600080fd5b813567ffffffffffffffff81111561429257614292614224565b6040516142a9601f8301601f19166020018261423a565b8181528460208386010111156142be57600080fd5b816020850160208301376000918101602001919091529392505050565b600080604083850312156142ee57600080fd5b823567ffffffffffffffff81111561430557600080fd5b61431185828601614267565b95602094909401359450505050565b60006020828403121561433257600080fd5b813567ffffffffffffffff81111561434957600080fd5b612a4784828501614267565b60008060006060848603121561436a57600080fd5b8335614375816141e3565b92506020840135614385816141e3565b929592945050506040919091013590565b600080604083850312156143a957600080fd5b8235915060208301356143bb816141e3565b809150509250929050565b600080600080600060a086880312156143de57600080fd5b85356143e9816141e3565b945060208601356143f9816141e3565b9350604086013567ffffffffffffffff8082111561441657600080fd5b61442289838a01614267565b9450606088013591508082111561443857600080fd5b5061444588828901614267565b9250506080860135614456816141e3565b809150509295509295909350565b60008060006060848603121561447957600080fd5b8335925060208401359150604084013567ffffffffffffffff81111561449e57600080fd5b6144aa86828701614267565b9150509250925092565b6000602082840312156144c657600080fd5b8135612286816141e3565b6000806000606084860312156144e657600080fd5b833567ffffffffffffffff8111156144fd57600080fd5b61450986828701614267565b9660208601359650604090950135949350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561457457603f19888603018452614562858351614169565b94509285019290850190600101614546565b5092979650505050505050565b6000806040838503121561459457600080fd5b823561459f816141e3565b9150602083013580151581146143bb57600080fd5b60006020808301818452808551808352604092508286019150828160051b87010184880160005b8381101561463057603f19898403018552815160608151855288820151818a87015261460982870182614169565b928901516001600160a01b03169589019590955250948701949250908601906001016145db565b509098975050505050505050565b6000806000806080858703121561465457600080fd5b843561465f816141e3565b9350602085013561466f816141e3565b925060408501359150606085013567ffffffffffffffff81111561469257600080fd5b61469e87828801614267565b91505092959194509250565b600080604083850312156146bd57600080fd5b82356146c8816141e3565b915060208301356143bb816141e3565b600181811c908216806146ec57607f821691505b60208210811415611e2d57634e487b7160e01b600052602260045260246000fd5b60006020828403121561471f57600080fd5b8151612286816141e3565b60006020828403121561473c57600080fd5b5051919050565b60208082526026908201527f436f6e73656e7420436f6e74726163743a205461672062756467657420657868604082015265185d5cdd195960d21b606082015260800190565b6000825161479b81846020870161413d565b9190910192915050565b6020808252603d908201527f436f6e73656e7420436f6e74726163743a20546869732074616720697320616c60408201527f7265616479207374616b6564206279207468697320636f6e7472616374000000606082015260800190565b6040815260006148156040830185614169565b90508260208301529392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156148625761486261483a565b500390565b634e487b7160e01b600052603160045260246000fd5b600060ff821660ff8114156148945761489461483a565b60010192915050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526022908201527f436f6e73656e743a20557365722068617320616c7265616479206f707465642060408201526134b760f11b606082015260800190565b6020808252601e908201527f436f6e73656e743a20636f686f72742069732061742063617061636974790000604082015260600190565b60006000198214156149775761497761483a565b5060010190565b600082198211156149915761499161483a565b500190565b600060033d11156129cc5760046000803e5060005160e01c90565b600060443d10156149bf5790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156149ef57505050505090565b8285019150815181811115614a075750505050505090565b843d8701016020828501011115614a215750505050505090565b614a306020828601018761423a565b509095945050505050565b606081526000614a4e6060830186614169565b60208301949094525060400152919050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600081614aff57614aff61483a565b506000190190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351614b6b81846020880161413d565b835190830190614b7f81836020880161413d565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351614bc081601785016020880161413d565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351614bf181602884016020880161413d565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614c3090830184614169565b9695505050505050565b600060208284031215614c4c57600080fd5b81516122868161410a565b6000816000190483118215151615614c7157614c7161483a565b500290565b634e487b7160e01b600052602160045260246000fdfe65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a4c697374696e6720776173207265706c6163656420627920616e6f7468657220636f6e7472616374b9e206fa2af7ee1331b72ce58b6d938ac810ce9b5cdb65d35ab723fd67badf9ea264697066735822122078abb4e6b0cc3f40fdc97d67ee1d5b9be1d3862f4480f635d69fb38ff1213cc164736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}},95050:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={_format:"hh-sol-artifact-1",contractName:"ConsentFactory",sourceName:"contracts/consent/ConsentFactory.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"consentAddress",type:"address"}],name:"ConsentDeployed",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"oldOccupant",type:"address"},{indexed:!0,internalType:"address",name:"newOccupant",type:"address"},{indexed:!1,internalType:"string",name:"tag",type:"string"},{indexed:!1,internalType:"uint256",name:"slot",type:"uint256"}],name:"MarketplaceUpdate",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"previousAdminRole",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"newAdminRole",type:"bytes32"}],name:"RoleAdminChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!0,internalType:"address",name:"sender",type:"address"}],name:"RoleGranted",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!0,internalType:"address",name:"sender",type:"address"}],name:"RoleRevoked",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{inputs:[],name:"DEFAULT_ADMIN_ROLE",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"PAUSER_ROLE",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"user",type:"address"},{internalType:"bytes32",name:"role",type:"bytes32"}],name:"addUserRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"uint256",name:"",type:"uint256"}],name:"addressToDeployedConsents",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"address",name:"",type:"address"}],name:"addressToDeployedConsentsIndex",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"uint256",name:"",type:"uint256"}],name:"addressToUserRolesArray",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"},{internalType:"bytes32",name:"",type:"bytes32"},{internalType:"address",name:"",type:"address"}],name:"addressToUserRolesArrayIndex",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"tag",type:"string"},{internalType:"uint256",name:"_removedSlot",type:"uint256"}],name:"adminRemoveListing",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"beaconAddress",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"consentAddressCheck",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"string",name:"baseURI",type:"string"},{internalType:"string",name:"name",type:"string"}],name:"createConsent",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"tag",type:"string"},{internalType:"uint256",name:"_slot",type:"uint256"}],name:"getListing",outputs:[{components:[{internalType:"uint256",name:"previous",type:"uint256"},{internalType:"uint256",name:"next",type:"uint256"},{internalType:"address",name:"consentContract",type:"address"},{internalType:"uint256",name:"timeExpiring",type:"uint256"}],internalType:"struct IConsentFactory.Listing",name:"",type:"tuple"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"tag",type:"string"},{internalType:"uint256",name:"_startingSlot",type:"uint256"},{internalType:"uint256",name:"numSlots",type:"uint256"},{internalType:"bool",name:"filterActive",type:"bool"}],name:"getListingsBackward",outputs:[{internalType:"string[]",name:"",type:"string[]"},{components:[{internalType:"uint256",name:"previous",type:"uint256"},{internalType:"uint256",name:"next",type:"uint256"},{internalType:"address",name:"consentContract",type:"address"},{internalType:"uint256",name:"timeExpiring",type:"uint256"}],internalType:"struct IConsentFactory.Listing[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"tag",type:"string"},{internalType:"uint256",name:"_startingSlot",type:"uint256"},{internalType:"uint256",name:"numSlots",type:"uint256"},{internalType:"bool",name:"filterActive",type:"bool"}],name:"getListingsForward",outputs:[{internalType:"string[]",name:"",type:"string[]"},{components:[{internalType:"uint256",name:"previous",type:"uint256"},{internalType:"uint256",name:"next",type:"uint256"},{internalType:"address",name:"consentContract",type:"address"},{internalType:"uint256",name:"timeExpiring",type:"uint256"}],internalType:"struct IConsentFactory.Listing[]",name:"",type:"tuple[]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"}],name:"getRoleAdmin",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"uint256",name:"index",type:"uint256"}],name:"getRoleMember",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"}],name:"getRoleMemberCount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"tag",type:"string"}],name:"getTagTotal",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"user",type:"address"},{internalType:"uint256",name:"startingIndex",type:"uint256"},{internalType:"uint256",name:"endingIndex",type:"uint256"}],name:"getUserDeployedConsentsByIndex",outputs:[{internalType:"address[]",name:"",type:"address[]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"user",type:"address"}],name:"getUserDeployedConsentsCount",outputs:[{internalType:"uint256",name:"count",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"user",type:"address"},{internalType:"bytes32",name:"role",type:"bytes32"}],name:"getUserRoleAddressesCount",outputs:[{internalType:"uint256",name:"count",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"user",type:"address"},{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"uint256",name:"startingIndex",type:"uint256"},{internalType:"uint256",name:"endingIndex",type:"uint256"}],name:"getUserRoleAddressesCountByIndex",outputs:[{internalType:"address[]",name:"",type:"address[]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"grantRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"hasRole",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"_trustedForwarder",type:"address"},{internalType:"address",name:"_consentImpAddress",type:"address"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"tag",type:"string"},{internalType:"uint256",name:"_newHead",type:"uint256"}],name:"initializeTag",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"tag",type:"string"},{internalType:"uint256",name:"_existingSlot",type:"uint256"},{internalType:"uint256",name:"_newSlot",type:"uint256"}],name:"insertDownstream",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"tag",type:"string"},{internalType:"uint256",name:"_newSlot",type:"uint256"},{internalType:"uint256",name:"_existingSlot",type:"uint256"}],name:"insertUpstream",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"listingDuration",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"maxTagsPerListing",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"tag",type:"string"},{internalType:"uint256",name:"_removedSlot",type:"uint256"}],name:"removeListing",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"user",type:"address"},{internalType:"bytes32",name:"role",type:"bytes32"}],name:"removeUserRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"renounceRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"tag",type:"string"},{internalType:"uint256",name:"_slot",type:"uint256"}],name:"replaceExpiredListing",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"revokeRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_listingDuration",type:"uint256"}],name:"setListingDuration",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"_maxTagsPerListing",type:"uint256"}],name:"setMaxTagsPerListing",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes4",name:"interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"trustedForwarder",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b50614565806100206000396000f3fe60806040523480156200001157600080fd5b5060043610620002795760003560e01c806391d148541162000155578063b8cab4aa11620000c7578063df118ac21162000086578063df118ac21462000657578063e50c201f146200066e578063e63ab1e91462000694578063e68122e214620006bc578063fba81d7414620006d357600080fd5b8063b8cab4aa14620005c1578063b9ed16ec14620005d8578063ca15c8731462000612578063d171f61a1462000629578063d547741f146200064057600080fd5b8063a8b2b8cd1162000114578063a8b2b8cd1462000521578063aa6311e71462000547578063ac97b7d2146200055e578063b164786c1462000575578063b89a0b24146200058c57600080fd5b806391d1485414620004a65780639d38c87b14620004bd5780639f83597b14620004d4578063a1faf0081462000501578063a217fddf146200051857600080fd5b806350ea66d411620001ef5780637659125311620001ae5780637659125314620004385780637da0a877146200044f5780637e2ec6d01462000463578063841a5c4814620004785780639010d07c146200048f57600080fd5b806350ea66d414620003cd5780635c975abb14620003d75780636887f58f14620003e35780636b1993b214620003fa57806371731b83146200042157600080fd5b80632f2ff15d116200023c5780632f2ff15d146200032957806336568abe1462000340578063485cc95514620003575780634cc1f7af146200036e5780634e69ec4f146200039e57600080fd5b806301ffc9a7146200027e5780631bcea2b314620002aa578063211b98bd14620002d1578063248a9ca314620002ea5780632850df1a146200031f575b600080fd5b620002956200028f36600462002d51565b620006ea565b60405190151581526020015b60405180910390f35b62000295620002bb36600462002d9a565b6101026020526000908152604090205460ff1681565b620002e8620002e236600462002e87565b62000718565b005b62000310620002fb36600462002ecf565b60009081526097602052604090206001015490565b604051908152602001620002a1565b6200031060fc5481565b620002e86200033a36600462002ee9565b62000973565b620002e86200035136600462002ee9565b620009a1565b620002e86200036836600462002f18565b62000a23565b620003856200037f36600462002f47565b62000c5b565b6040516001600160a01b039091168152602001620002a1565b62000310620003af36600462002f18565b61010160209081526000928352604080842090915290825290205481565b6200031060fd5481565b60335460ff1662000295565b620002e8620003f436600462002f74565b62000c95565b620004116200040b36600462002fc5565b62000f72565b604051620002a192919062003092565b620002e86200043236600462002f74565b62001221565b620002e86200044936600462002f47565b620014ec565b60ff5462000385906001600160a01b031681565b6101055462000385906001600160a01b031681565b620002e86200048936600462002ecf565b6200171d565b62000385620004a036600462003165565b62001730565b62000295620004b736600462002ee9565b62001751565b620002e8620004ce36600462002e87565b6200177c565b62000310620004e536600462002d9a565b6001600160a01b03166000908152610100602052604090205490565b620003856200051236600462003188565b62001955565b62000310600081565b620005386200053236600462003188565b6200199c565b604051620002a19190620031be565b620002e86200055836600462002ecf565b62001a33565b620003106200056f3660046200320d565b62001a46565b620002e86200058636600462002e87565b62001a88565b620003106200059d36600462003245565b61010460209081526000938452604080852082529284528284209052825290205481565b620002e8620005d236600462002f47565b62001c35565b62000310620005e936600462002f47565b6001600160a01b0391909116600090815261010360209081526040808320938352929052205490565b620003106200062336600462002ecf565b62001cf1565b620005386200063a36600462003286565b62001d0a565b620002e86200065136600462002ee9565b62001d9b565b620002e86200066836600462002e87565b62001dc4565b620006856200067f36600462002e87565b62001fad565b604051620002a19190620032c2565b620003107f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b620002e8620006cd366004620032f7565b62002035565b62000411620006e436600462002fc5565b620022b3565b60006001600160e01b03198216635a05180f60e01b1480620007125750620007128262002551565b92915050565b336000908152610102602052604090205460ff161515600114620007595760405162461bcd60e51b8152600401620007509062003373565b60405180910390fd5b6000826040516020016200076e9190620033c3565b60408051601f198184030181528282528051602091820120600081815260fe835283812087825283528390206080850184528054855260018101549285019290925260028201546001600160a01b0316928401929092526003015460608301819052909250620008365760405162461bcd60e51b815260206004820152602c60248201527f436f6e73656e74466163746f72793a2043616e6e6f74207265706c616365206160448201526b1b88195b5c1d1e481cdb1bdd60a21b606482015260840162000750565b80606001514211620008a35760405162461bcd60e51b815260206004820152602f60248201527f436f6e73656e74466163746f72793a2063757272656e74206c697374696e672060448201526e6973207374696c6c2061637469766560881b606482015260840162000750565b60405180608001604052808260000151815260200182602001518152602001336001600160a01b0316815260200160fc5442620008e19190620033f7565b9052600083815260fe6020908152604080832087845282529182902083518155908301516001820155828201516002820180546001600160a01b0319166001600160a01b0392831617905560609093015160039091015582810151905133929190911690600080516020620045108339815191529062000965908890889062003412565b60405180910390a350505050565b600082815260976020526040902060010154620009908162002588565b6200099c838362002597565b505050565b6001600160a01b038116331462000a135760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840162000750565b62000a1f8282620025bd565b5050565b600054610100900460ff161580801562000a445750600054600160ff909116105b8062000a605750303b15801562000a60575060005460ff166001145b62000ac55760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840162000750565b6000805460ff19166001179055801562000ae9576000805461ff0019166101001790555b62000af3620025e3565b62000afd62002619565b62000b0a60003362002597565b62000b367f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a3362002597565b60008260405162000b479062002d04565b6001600160a01b039091168152602001604051809103906000f08015801562000b74573d6000803e3d6000fd5b5060405163f2fde38b60e01b81523360048201529091506001600160a01b0382169063f2fde38b90602401600060405180830381600087803b15801562000bba57600080fd5b505af115801562000bcf573d6000803e3d6000fd5b505061010580546001600160a01b03199081166001600160a01b039586161790915560ff80549091169387169390931790925550506212750060fc55601460fd5580156200099c576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b610100602052816000526040600020818154811062000c7957600080fd5b6000918252602090912001546001600160a01b03169150829050565b336000908152610102602052604090205460ff16151560011462000ccd5760405162461bcd60e51b8152600401620007509062003373565b6000811162000cf05760405162461bcd60e51b8152600401620007509062003436565b80821162000d675760405162461bcd60e51b815260206004820152603b60248201527f436f6e73656e74466163746f72793a205f6578697374696e67536c6f74206d7560448201527f73742062652067726561746572207468616e205f6e6577536c6f740000000000606482015260840162000750565b60008360405160200162000d7c9190620033c3565b60408051601f198184030181528282528051602091820120600081815260fe8352838120888252835283902060808501845280548552600181015492850183905260028101546001600160a01b0316938501939093526003909201546060840152909250831162000e565760405162461bcd60e51b815260206004820152603a60248201527f436f6e73656e74466163746f72793a205f6e6577536c6f74206973206c65737360448201527f207468616e206578697374696e674c697374696e672e6e657874000000000000606482015260840162000750565b600082815260fe6020908152604080832087845282529182902060010185905581516080810183528681528382015191810191909152339181019190915260fc54606082019062000ea89042620033f7565b9052600083815260fe602081815260408084208885528083528185208651815586840151600180830191909155878401516002830180546001600160a01b0319166001600160a01b0390921691909117905560609097015160039091015587855292825285820151845291815281832087905585835260fb90528120805490919062000f36908490620033f7565b90915550506040513390600090600080516020620045108339815191529062000f63908990889062003412565b60405180910390a35050505050565b6060806000846001600160401b0381111562000f925762000f9262002db8565b60405190808252806020026020018201604052801562000fc757816020015b606081526020019060019003908162000fb15790505b5090506000856001600160401b0381111562000fe75762000fe762002db8565b6040519080825280602002602001820160405280156200102457816020015b6200101062002d12565b815260200190600190039081620010065790505b5090506000886040516020016200103c9190620033c3565b60405160208183030381529060405280519060200120905060005b878110156200121257600082815260fe602090815260408083208c845282529182902082516080810184528154815260018201549281019290925260028101546001600160a01b03169282019290925260039091015460608201819052620011025760405162461bcd60e51b815260206004820152601c60248201527f436f6e73656e74466163746f72793a20696e76616c696420736c6f7400000000604482015260640162000750565b6001881515148015620011185750428160600151105b15620011255750620011fd565b80604001516001600160a01b0316636c0360eb6040518163ffffffff1660e01b815260040160006040518083038186803b1580156200116357600080fd5b505afa15801562001178573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620011a2919081019062003485565b858381518110620011b757620011b7620034fb565b602002602001018190525080848381518110620011d857620011d8620034fb565b6020026020010181905250806020015199508960001415620011fb575062001212565b505b80620012098162003511565b91505062001057565b50919890975095505050505050565b336000908152610102602052604090205460ff161515600114620012595760405162461bcd60e51b8152600401620007509062003373565b600082116200127c5760405162461bcd60e51b8152600401620007509062003436565b808211620012f35760405162461bcd60e51b815260206004820152603b60248201527f436f6e73656e74466163746f72793a205f6e6577536c6f74206d75737420626560448201527f2067726561746572207468616e205f6578697374696e67536c6f740000000000606482015260840162000750565b600083604051602001620013089190620033c3565b60408051601f198184030181528282528051602091820120600081815260fe83528381208782528352839020608085018452805480865260018201549386019390935260028101546001600160a01b03169385019390935260039092015460608401529092508410620013ee5760405162461bcd60e51b815260206004820152604160248201527f436f6e73656e74466163746f72793a205f6e6577536c6f74206973206772656160448201527f746572207468616e206578697374696e674c697374696e672e70726576696f756064820152607360f81b608482015260a40162000750565b600082815260fe6020908152604080832084518452825291829020600101869055815160808101835283518152908101859052339181019190915260fc5460608201906200143d9042620033f7565b9052600083815260fe6020908152604080832088845282528083208451815584830151600180830191909155858301516002830180546001600160a01b0319166001600160a01b0390921691909117905560609095015160039091015586835280832088905585835260fb90915281208054909190620014bf908490620033f7565b90915550506040513390600090600080516020620045108339815191529062000f63908990899062003412565b336000908152610102602052604090205460ff161515600114620015245760405162461bcd60e51b8152600401620007509062003373565b6001600160a01b0382166000908152610103602090815260408083208484528252808320805482518185028101850190935280835291929091908301828280156200159957602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116200157a575b5050506001600160a01b0386166000908152610104602090815260408083208884528252808320338452909152902054835193945092849250620015e191506001906200352f565b81518110620015f457620015f4620034fb565b6020908102919091018101516001600160a01b03861660009081526101038352604080822087835290935291909120805483908110620016385762001638620034fb565b600091825260208083209190910180546001600160a01b0319166001600160a01b03948516179055918616815261010482526040808220868352909252908120835183929085906200168d906001906200352f565b81518110620016a057620016a0620034fb565b6020908102919091018101516001600160a01b039081168352828201939093526040918201600090812094909455918716835261010382528083208684529091529020805480620016f557620016f562003549565b600082815260209020810160001990810180546001600160a01b031916905501905550505050565b60006200172a8162002588565b5060fc55565b600082815260c9602052604081206200174a908362002643565b9392505050565b60009182526097602090815260408084206001600160a01b0393909316845291905290205460ff1690565b336000908152610102602052604090205460ff161515600114620017b45760405162461bcd60e51b8152600401620007509062003373565b600082604051602001620017c99190620033c3565b60408051601f198184030181528282528051602091820120600081815260fe835283812087825283528390206080850184528054855260018101549285019290925260028201546001600160a01b0316928401839052600390910154606084015292503314620018925760405162461bcd60e51b815260206004820152602d60248201527f436f6e73656e74466163746f72793a206f6e6c79206c697374696e67206f776e60448201526c65722063616e2072656d6f766560981b606482015260840162000750565b60208181018051600085815260fe8085526040808320875184528087528184206001908101959095558984528184208481558086018590556002810180546001600160a01b03191690556003018490558751898552928752945183529385528382205585815260fb909352908220805491929091620019139084906200352f565b9250508190555060006001600160a01b031681604001516001600160a01b03166000805160206200451083398151915286866040516200096592919062003412565b61010360205282600052604060002060205281600052604060002081815481106200197f57600080fd5b6000918252602090912001546001600160a01b0316925083915050565b606062001a2b83836101006000886001600160a01b03166001600160a01b0316815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801562001a2057602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162001a01575b505050505062002651565b949350505050565b600062001a408162002588565b5060fd55565b6000808260405160200162001a5c9190620033c3565b60408051601f198184030181529181528151602092830120600090815260fb9092529020549392505050565b600062001a958162002588565b60008360405160200162001aaa9190620033c3565b60408051601f198184030181528282528051602091820120600081815260fe835283812088825283528390206080850184528054855260018101549285019290925260028201546001600160a01b031692840192909252600301546060830181905290925062001b725760405162461bcd60e51b815260206004820152602c60248201527f436f6e73656e74466163746f72793a207468697320736c6f74206973206e6f7460448201526b081a5b9a5d1a585b1a5e995960a21b606482015260840162000750565b60208181018051600085815260fe8085526040808320875184528087528184206001908101959095558a84528184208481558086018590556002810180546001600160a01b03191690556003018490558751898552928752945183529385528382205585815260fb90935290822080549192909162001bf39084906200352f565b9250508190555060006001600160a01b031681604001516001600160a01b031660008051602062004510833981519152878760405162000f6392919062003412565b336000908152610102602052604090205460ff16151560011462001c6d5760405162461bcd60e51b8152600401620007509062003373565b6001600160a01b038216600090815261010360209081526040808320848452825282208054600180820183558285529284200180546001600160a01b0319163317905591839052905462001cc291906200352f565b6001600160a01b0390921660009081526101046020908152604080832093835292815282822033835290522055565b600081815260c9602052604081206200071290620027ee565b6001600160a01b038416600090815261010360209081526040808320868452825291829020805483518184028101840190945280845260609362001d929387938793909183018282801562001a20576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831162001a0157505050505062002651565b95945050505050565b60008281526097602052604090206001015462001db88162002588565b6200099c8383620025bd565b336000908152610102602052604090205460ff16151560011462001dfc5760405162461bcd60e51b8152600401620007509062003373565b60008260405160200162001e119190620033c3565b60408051601f198184030181529181528151602092830120600081815260fb9093529120549091501562001ea05760405162461bcd60e51b815260206004820152602f60248201527f436f6e73656e74466163746f72793a20546869732074616720697320616c726560448201526e18591e481a5b9a5d1a585b1a5e9959608a1b606482015260840162000750565b600081815260fe60209081526040808320600019808552908352818420600101869055815160808101835290815291820192909252339181019190915260fc54606082019062001ef19042620033f7565b9052600082815260fe6020908152604080832086845282528083208451815584830151600180830191909155858301516002830180546001600160a01b0319166001600160a01b0390921691909117905560609095015160039091015582805280832086905584835260fb9091528120805490919062001f73908490620033f7565b90915550506040513390600090600080516020620045108339815191529062001fa0908790879062003412565b60405180910390a3505050565b62001fb762002d12565b60008360405160200162001fcc9190620033c3565b60408051601f198184030181528282528051602091820120600090815260fe825282812087825282528290206080840183528054845260018101549184019190915260028101546001600160a01b03169183019190915260030154606082015291505092915050565b6101055460ff546040516000926001600160a01b0390811692631b1492e160e11b9262002071929091169088908890889030906024016200355f565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051620020b09062002d43565b620020bd929190620035b5565b604051809103906000f080158015620020da573d6000803e3d6000fd5b506001600160a01b03808216600081815261010260209081526040808320805460ff19166001908117909155948a1680845261010083529083208054808701825581855292842090920180546001600160a01b0319169094179093559190525491925082916200214b91906200352f565b6001600160a01b038681166000818152610101602090815260408083209487168084529482528083209590955582825261010381528482207f044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d835281528482208054600180820183559184528284200180546001600160a01b031990811687179091557f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a8452868420805480840182559085528385200180548216871790557fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f708452868420805480840182559085528385200180548216871790557f61a3517f153a09154844ed8be639dabc6e78dc22315c2d9a91f7eddf9398c0028452868420805492830181558452918320018054909116841790559251919290917f3386ce5565b3a847e6f22d2ab7aa20347cfda2d3dfbfb4534805ce4cbbdd50019190a35050505050565b6060806000846001600160401b03811115620022d357620022d362002db8565b6040519080825280602002602001820160405280156200230857816020015b6060815260200190600190039081620022f25790505b5090506000856001600160401b0381111562002328576200232862002db8565b6040519080825280602002602001820160405280156200236557816020015b6200235162002d12565b815260200190600190039081620023475790505b5090506000886040516020016200237d9190620033c3565b60405160208183030381529060405280519060200120905060005b878110156200121257600082815260fe602090815260408083208c845282529182902082516080810184528154815260018201549281019290925260028101546001600160a01b03169282019290925260039091015460608201819052620024435760405162461bcd60e51b815260206004820152601c60248201527f436f6e73656e74466163746f72793a20696e76616c696420736c6f7400000000604482015260640162000750565b6001881515148015620024595750428160600151105b156200246657506200253c565b80604001516001600160a01b0316636c0360eb6040518163ffffffff1660e01b815260040160006040518083038186803b158015620024a457600080fd5b505afa158015620024b9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620024e3919081019062003485565b858381518110620024f857620024f8620034fb565b602002602001018190525080848381518110620025195762002519620034fb565b6020908102919091010152805199506000198a14156200253a575062001212565b505b80620025488162003511565b91505062002398565b60006001600160e01b03198216637965db0b60e01b14806200071257506301ffc9a760e01b6001600160e01b031983161462000712565b620025948133620027f9565b50565b620025a382826200285d565b600082815260c9602052604090206200099c9082620028e7565b620025c98282620028fe565b600082815260c9602052604090206200099c908262002968565b600054610100900460ff166200260d5760405162461bcd60e51b81526004016200075090620035db565b620026176200297f565b565b600054610100900460ff16620026175760405162461bcd60e51b81526004016200075090620035db565b60006200174a8383620029b5565b606083831015620026cb5760405162461bcd60e51b815260206004820152603f60248201527f436f6e73656e74466163746f72793a20456e64696e6720696e646578206d757360448201527f74206265206c6172676572207468656e207374617274696e6720696e64657800606482015260840162000750565b8151620026db575060606200174a565b60018251620026eb91906200352f565b8311156200270657600182516200270391906200352f565b92505b60006200271485856200352f565b62002721906001620033f7565b6001600160401b038111156200273b576200273b62002db8565b60405190808252806020026020018201604052801562002765578160200160208202803683370190505b5090506000855b858111620027e357848181518110620027895762002789620034fb565b6020026020010151838381518110620027a657620027a6620034fb565b6001600160a01b039092166020928302919091019091015281620027ca8162003511565b9250508080620027da9062003511565b9150506200276c565b509095945050505050565b600062000712825490565b62002805828262001751565b62000a1f576200281581620029e2565b62002822836020620029f5565b6040516020016200283592919062003626565b60408051601f198184030181529082905262461bcd60e51b825262000750916004016200369f565b62002869828262001751565b62000a1f5760008281526097602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620028a33390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006200174a836001600160a01b03841662002bae565b6200290a828262001751565b1562000a1f5760008281526097602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006200174a836001600160a01b03841662002c00565b600054610100900460ff16620029a95760405162461bcd60e51b81526004016200075090620035db565b6033805460ff19169055565b6000826000018281548110620029cf57620029cf620034fb565b9060005260206000200154905092915050565b6060620007126001600160a01b03831660145b6060600062002a06836002620036b4565b62002a13906002620033f7565b6001600160401b0381111562002a2d5762002a2d62002db8565b6040519080825280601f01601f19166020018201604052801562002a58576020820181803683370190505b509050600360fc1b8160008151811062002a765762002a76620034fb565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811062002aa85762002aa8620034fb565b60200101906001600160f81b031916908160001a905350600062002ace846002620036b4565b62002adb906001620033f7565b90505b600181111562002b5d576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811062002b135762002b13620034fb565b1a60f81b82828151811062002b2c5762002b2c620034fb565b60200101906001600160f81b031916908160001a90535060049490941c9362002b5581620036d6565b905062002ade565b5083156200174a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640162000750565b600081815260018301602052604081205462002bf75750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000712565b50600062000712565b6000818152600183016020526040812054801562002cf957600062002c276001836200352f565b855490915060009062002c3d906001906200352f565b905081811462002ca957600086600001828154811062002c615762002c61620034fb565b906000526020600020015490508087600001848154811062002c875762002c87620034fb565b6000918252602080832090910192909255918252600188019052604090208390555b855486908062002cbd5762002cbd62003549565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505062000712565b600091505062000712565b6104e480620036f183390190565b6040518060800160405280600081526020016000815260200160006001600160a01b03168152602001600081525090565b61093b8062003bd583390190565b60006020828403121562002d6457600080fd5b81356001600160e01b0319811681146200174a57600080fd5b80356001600160a01b038116811462002d9557600080fd5b919050565b60006020828403121562002dad57600080fd5b6200174a8262002d7d565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562002df95762002df962002db8565b604052919050565b60006001600160401b0382111562002e1d5762002e1d62002db8565b50601f01601f191660200190565b600082601f83011262002e3d57600080fd5b813562002e5462002e4e8262002e01565b62002dce565b81815284602083860101111562002e6a57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121562002e9b57600080fd5b82356001600160401b0381111562002eb257600080fd5b62002ec08582860162002e2b565b95602094909401359450505050565b60006020828403121562002ee257600080fd5b5035919050565b6000806040838503121562002efd57600080fd5b8235915062002f0f6020840162002d7d565b90509250929050565b6000806040838503121562002f2c57600080fd5b62002f378362002d7d565b915062002f0f6020840162002d7d565b6000806040838503121562002f5b57600080fd5b62002f668362002d7d565b946020939093013593505050565b60008060006060848603121562002f8a57600080fd5b83356001600160401b0381111562002fa157600080fd5b62002faf8682870162002e2b565b9660208601359650604090950135949350505050565b6000806000806080858703121562002fdc57600080fd5b84356001600160401b0381111562002ff357600080fd5b620030018782880162002e2b565b9450506020850135925060408501359150606085013580151581146200302657600080fd5b939692955090935050565b60005b838110156200304e57818101518382015260200162003034565b838111156200305e576000848401525b50505050565b600081518084526200307e81602086016020860162003031565b601f01601f19169290920160200192915050565b6000604082016040835280855180835260608501915060608160051b8601019250602080880160005b83811015620030ed57605f19888703018552620030da86835162003064565b95509382019390820190600101620030bb565b50508584038187015286518085528782019482019350915060005b8281101562003158576200314484865180518252602080820151908301526040808201516001600160a01b031690830152606090810151910152565b938101936080939093019260010162003108565b5091979650505050505050565b600080604083850312156200317957600080fd5b50508035926020909101359150565b6000806000606084860312156200319e57600080fd5b620031a98462002d7d565b95602085013595506040909401359392505050565b6020808252825182820181905260009190848201906040850190845b81811015620032015783516001600160a01b031683529284019291840191600101620031da565b50909695505050505050565b6000602082840312156200322057600080fd5b81356001600160401b038111156200323757600080fd5b62001a2b8482850162002e2b565b6000806000606084860312156200325b57600080fd5b620032668462002d7d565b9250602084013591506200327d6040850162002d7d565b90509250925092565b600080600080608085870312156200329d57600080fd5b620032a88562002d7d565b966020860135965060408601359560600135945092505050565b81518152602080830151908201526040808301516001600160a01b031690820152606080830151908201526080810162000712565b6000806000606084860312156200330d57600080fd5b620033188462002d7d565b925060208401356001600160401b03808211156200333557600080fd5b620033438783880162002e2b565b935060408601359150808211156200335a57600080fd5b50620033698682870162002e2b565b9150509250925092565b60208082526030908201527f436f6e73656e74466163746f72793a2043616c6c6572206973206e6f7420612060408201526f10dbdb9cd95b9d0810dbdb9d1c9858dd60821b606082015260800190565b60008251620033d781846020870162003031565b9190910192915050565b634e487b7160e01b600052601160045260246000fd5b600082198211156200340d576200340d620033e1565b500190565b60408152600062003427604083018562003064565b90508260208301529392505050565b6020808252602f908201527f436f6e73656e74466163746f72793a205f6e6577536c6f74206d75737420626560408201526e02067726561746572207468616e203608c1b606082015260800190565b6000602082840312156200349857600080fd5b81516001600160401b03811115620034af57600080fd5b8201601f81018413620034c157600080fd5b8051620034d262002e4e8262002e01565b818152856020838501011115620034e857600080fd5b62001d9282602083016020860162003031565b634e487b7160e01b600052603260045260246000fd5b6000600019821415620035285762003528620033e1565b5060010190565b600082821015620035445762003544620033e1565b500390565b634e487b7160e01b600052603160045260246000fd5b600060018060a01b038088168352808716602084015260a060408401526200358b60a084018762003064565b83810360608501526200359f818762003064565b9250508084166080840152509695505050505050565b6001600160a01b038316815260406020820181905260009062001a2b9083018462003064565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516200366081601785016020880162003031565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516200369381602884016020880162003031565b01602801949350505050565b6020815260006200174a602083018462003064565b6000816000190483118215151615620036d157620036d1620033e1565b500290565b600081620036e857620036e8620033e1565b50600019019056fe608060405234801561001057600080fd5b506040516104e43803806104e483398101604081905261002f91610151565b61003833610047565b61004181610097565b50610181565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6100aa8161014260201b6101a01760201c565b6101205760405162461bcd60e51b815260206004820152603360248201527f5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f60448201527f6e206973206e6f74206120636f6e747261637400000000000000000000000000606482015260840160405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03163b151590565b60006020828403121561016357600080fd5b81516001600160a01b038116811461017a57600080fd5b9392505050565b610354806101906000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80633659cfe61461005c5780635c60da1b14610071578063715018a61461009a5780638da5cb5b146100a2578063f2fde38b146100b3575b600080fd5b61006f61006a3660046102ee565b6100c6565b005b6001546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b61006f61010e565b6000546001600160a01b031661007e565b61006f6100c13660046102ee565b610122565b6100ce6101af565b6100d781610209565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6101166101af565b610120600061029e565b565b61012a6101af565b6001600160a01b0381166101945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61019d8161029e565b50565b6001600160a01b03163b151590565b6000546001600160a01b031633146101205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161018b565b6001600160a01b0381163b61027c5760405162461bcd60e51b815260206004820152603360248201527f5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f6044820152721b881a5cc81b9bdd08184818dbdb9d1c9858dd606a1b606482015260840161018b565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561030057600080fd5b81356001600160a01b038116811461031757600080fd5b939250505056fea264697066735822122037f5e761a584b5cfedfedcacdd35de142872479851fbaecf66f55a175ffa1d1d64736f6c63430008090033608060405260405161093b38038061093b8339810160408190526100229161047e565b61002e82826000610035565b50506105a8565b61003e8361010f565b6040516001600160a01b038416907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e90600090a260008251118061007f5750805b1561010a57610108836001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156100c057600080fd5b505afa1580156100d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100f8919061053e565b836102c160201b6100291760201c565b505b505050565b610122816102ed60201b6100551760201c565b6101815760405162461bcd60e51b815260206004820152602560248201527f455243313936373a206e657720626561636f6e206973206e6f74206120636f6e6044820152641d1c9858dd60da1b60648201526084015b60405180910390fd5b610204816001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156101bd57600080fd5b505afa1580156101d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101f5919061053e565b6102ed60201b6100551760201c565b6102695760405162461bcd60e51b815260206004820152603060248201527f455243313936373a20626561636f6e20696d706c656d656e746174696f6e206960448201526f1cc81b9bdd08184818dbdb9d1c9858dd60821b6064820152608401610178565b806102a07fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d5060001b6102fc60201b6100641760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b60606102e68383604051806060016040528060278152602001610914602791396102ff565b9392505050565b6001600160a01b03163b151590565b90565b6060600080856001600160a01b03168560405161031c9190610559565b600060405180830381855af49150503d8060008114610357576040519150601f19603f3d011682016040523d82523d6000602084013e61035c565b606091505b50909250905061036e86838387610378565b9695505050505050565b606083156103e45782516103dd576001600160a01b0385163b6103dd5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610178565b50816103ee565b6103ee83836103f6565b949350505050565b8151156104065781518083602001fd5b8060405162461bcd60e51b81526004016101789190610575565b80516001600160a01b038116811461043757600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561046d578181015183820152602001610455565b838111156101085750506000910152565b6000806040838503121561049157600080fd5b61049a83610420565b60208401519092506001600160401b03808211156104b757600080fd5b818501915085601f8301126104cb57600080fd5b8151818111156104dd576104dd61043c565b604051601f8201601f19908116603f011681019083821181831017156105055761050561043c565b8160405282815288602084870101111561051e57600080fd5b61052f836020830160208801610452565b80955050505050509250929050565b60006020828403121561055057600080fd5b6102e682610420565b6000825161056b818460208701610452565b9190910192915050565b6020815260008251806020840152610594816040850160208701610452565b601f01601f19169190910160400192915050565b61035d806105b76000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610067565b61010f565b565b606061004e838360405180606001604052806027815260200161030160279139610133565b9392505050565b6001600160a01b03163b151590565b90565b600061009a7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50546001600160a01b031690565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156100d257600080fd5b505afa1580156100e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061010a9190610258565b905090565b3660008037600080366000845af43d6000803e80801561012e573d6000f35b3d6000fd5b6060600080856001600160a01b03168560405161015091906102b1565b600060405180830381855af49150503d806000811461018b576040519150601f19603f3d011682016040523d82523d6000602084013e610190565b606091505b50915091506101a1868383876101ab565b9695505050505050565b6060831561021c578251610215576001600160a01b0385163b6102155760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b5081610226565b610226838361022e565b949350505050565b81511561023e5781518083602001fd5b8060405162461bcd60e51b815260040161020c91906102cd565b60006020828403121561026a57600080fd5b81516001600160a01b038116811461004e57600080fd5b60005b8381101561029c578181015183820152602001610284565b838111156102ab576000848401525b50505050565b600082516102c3818460208701610281565b9190910192915050565b60208152600082518060208401526102ec816040850160208701610281565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212203b163e80fb6d2725d90c67ab296adb4976d35afe4e99831fd03cf02178370bee64736f6c63430008090033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564d0231052a39e12006e39a6a3e2efefdbe9507c7e2178ab3c63b1a248f6949beaa2646970667358221220fecd6c47ac00ff671de97be67758a82efcabd96ce9d66780285ec14dd1f6470264736f6c63430008090033",deployedBytecode:"0x60806040523480156200001157600080fd5b5060043610620002795760003560e01c806391d148541162000155578063b8cab4aa11620000c7578063df118ac21162000086578063df118ac21462000657578063e50c201f146200066e578063e63ab1e91462000694578063e68122e214620006bc578063fba81d7414620006d357600080fd5b8063b8cab4aa14620005c1578063b9ed16ec14620005d8578063ca15c8731462000612578063d171f61a1462000629578063d547741f146200064057600080fd5b8063a8b2b8cd1162000114578063a8b2b8cd1462000521578063aa6311e71462000547578063ac97b7d2146200055e578063b164786c1462000575578063b89a0b24146200058c57600080fd5b806391d1485414620004a65780639d38c87b14620004bd5780639f83597b14620004d4578063a1faf0081462000501578063a217fddf146200051857600080fd5b806350ea66d411620001ef5780637659125311620001ae5780637659125314620004385780637da0a877146200044f5780637e2ec6d01462000463578063841a5c4814620004785780639010d07c146200048f57600080fd5b806350ea66d414620003cd5780635c975abb14620003d75780636887f58f14620003e35780636b1993b214620003fa57806371731b83146200042157600080fd5b80632f2ff15d116200023c5780632f2ff15d146200032957806336568abe1462000340578063485cc95514620003575780634cc1f7af146200036e5780634e69ec4f146200039e57600080fd5b806301ffc9a7146200027e5780631bcea2b314620002aa578063211b98bd14620002d1578063248a9ca314620002ea5780632850df1a146200031f575b600080fd5b620002956200028f36600462002d51565b620006ea565b60405190151581526020015b60405180910390f35b62000295620002bb36600462002d9a565b6101026020526000908152604090205460ff1681565b620002e8620002e236600462002e87565b62000718565b005b62000310620002fb36600462002ecf565b60009081526097602052604090206001015490565b604051908152602001620002a1565b6200031060fc5481565b620002e86200033a36600462002ee9565b62000973565b620002e86200035136600462002ee9565b620009a1565b620002e86200036836600462002f18565b62000a23565b620003856200037f36600462002f47565b62000c5b565b6040516001600160a01b039091168152602001620002a1565b62000310620003af36600462002f18565b61010160209081526000928352604080842090915290825290205481565b6200031060fd5481565b60335460ff1662000295565b620002e8620003f436600462002f74565b62000c95565b620004116200040b36600462002fc5565b62000f72565b604051620002a192919062003092565b620002e86200043236600462002f74565b62001221565b620002e86200044936600462002f47565b620014ec565b60ff5462000385906001600160a01b031681565b6101055462000385906001600160a01b031681565b620002e86200048936600462002ecf565b6200171d565b62000385620004a036600462003165565b62001730565b62000295620004b736600462002ee9565b62001751565b620002e8620004ce36600462002e87565b6200177c565b62000310620004e536600462002d9a565b6001600160a01b03166000908152610100602052604090205490565b620003856200051236600462003188565b62001955565b62000310600081565b620005386200053236600462003188565b6200199c565b604051620002a19190620031be565b620002e86200055836600462002ecf565b62001a33565b620003106200056f3660046200320d565b62001a46565b620002e86200058636600462002e87565b62001a88565b620003106200059d36600462003245565b61010460209081526000938452604080852082529284528284209052825290205481565b620002e8620005d236600462002f47565b62001c35565b62000310620005e936600462002f47565b6001600160a01b0391909116600090815261010360209081526040808320938352929052205490565b620003106200062336600462002ecf565b62001cf1565b620005386200063a36600462003286565b62001d0a565b620002e86200065136600462002ee9565b62001d9b565b620002e86200066836600462002e87565b62001dc4565b620006856200067f36600462002e87565b62001fad565b604051620002a19190620032c2565b620003107f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b620002e8620006cd366004620032f7565b62002035565b62000411620006e436600462002fc5565b620022b3565b60006001600160e01b03198216635a05180f60e01b1480620007125750620007128262002551565b92915050565b336000908152610102602052604090205460ff161515600114620007595760405162461bcd60e51b8152600401620007509062003373565b60405180910390fd5b6000826040516020016200076e9190620033c3565b60408051601f198184030181528282528051602091820120600081815260fe835283812087825283528390206080850184528054855260018101549285019290925260028201546001600160a01b0316928401929092526003015460608301819052909250620008365760405162461bcd60e51b815260206004820152602c60248201527f436f6e73656e74466163746f72793a2043616e6e6f74207265706c616365206160448201526b1b88195b5c1d1e481cdb1bdd60a21b606482015260840162000750565b80606001514211620008a35760405162461bcd60e51b815260206004820152602f60248201527f436f6e73656e74466163746f72793a2063757272656e74206c697374696e672060448201526e6973207374696c6c2061637469766560881b606482015260840162000750565b60405180608001604052808260000151815260200182602001518152602001336001600160a01b0316815260200160fc5442620008e19190620033f7565b9052600083815260fe6020908152604080832087845282529182902083518155908301516001820155828201516002820180546001600160a01b0319166001600160a01b0392831617905560609093015160039091015582810151905133929190911690600080516020620045108339815191529062000965908890889062003412565b60405180910390a350505050565b600082815260976020526040902060010154620009908162002588565b6200099c838362002597565b505050565b6001600160a01b038116331462000a135760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840162000750565b62000a1f8282620025bd565b5050565b600054610100900460ff161580801562000a445750600054600160ff909116105b8062000a605750303b15801562000a60575060005460ff166001145b62000ac55760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840162000750565b6000805460ff19166001179055801562000ae9576000805461ff0019166101001790555b62000af3620025e3565b62000afd62002619565b62000b0a60003362002597565b62000b367f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a3362002597565b60008260405162000b479062002d04565b6001600160a01b039091168152602001604051809103906000f08015801562000b74573d6000803e3d6000fd5b5060405163f2fde38b60e01b81523360048201529091506001600160a01b0382169063f2fde38b90602401600060405180830381600087803b15801562000bba57600080fd5b505af115801562000bcf573d6000803e3d6000fd5b505061010580546001600160a01b03199081166001600160a01b039586161790915560ff80549091169387169390931790925550506212750060fc55601460fd5580156200099c576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b610100602052816000526040600020818154811062000c7957600080fd5b6000918252602090912001546001600160a01b03169150829050565b336000908152610102602052604090205460ff16151560011462000ccd5760405162461bcd60e51b8152600401620007509062003373565b6000811162000cf05760405162461bcd60e51b8152600401620007509062003436565b80821162000d675760405162461bcd60e51b815260206004820152603b60248201527f436f6e73656e74466163746f72793a205f6578697374696e67536c6f74206d7560448201527f73742062652067726561746572207468616e205f6e6577536c6f740000000000606482015260840162000750565b60008360405160200162000d7c9190620033c3565b60408051601f198184030181528282528051602091820120600081815260fe8352838120888252835283902060808501845280548552600181015492850183905260028101546001600160a01b0316938501939093526003909201546060840152909250831162000e565760405162461bcd60e51b815260206004820152603a60248201527f436f6e73656e74466163746f72793a205f6e6577536c6f74206973206c65737360448201527f207468616e206578697374696e674c697374696e672e6e657874000000000000606482015260840162000750565b600082815260fe6020908152604080832087845282529182902060010185905581516080810183528681528382015191810191909152339181019190915260fc54606082019062000ea89042620033f7565b9052600083815260fe602081815260408084208885528083528185208651815586840151600180830191909155878401516002830180546001600160a01b0319166001600160a01b0390921691909117905560609097015160039091015587855292825285820151845291815281832087905585835260fb90528120805490919062000f36908490620033f7565b90915550506040513390600090600080516020620045108339815191529062000f63908990889062003412565b60405180910390a35050505050565b6060806000846001600160401b0381111562000f925762000f9262002db8565b60405190808252806020026020018201604052801562000fc757816020015b606081526020019060019003908162000fb15790505b5090506000856001600160401b0381111562000fe75762000fe762002db8565b6040519080825280602002602001820160405280156200102457816020015b6200101062002d12565b815260200190600190039081620010065790505b5090506000886040516020016200103c9190620033c3565b60405160208183030381529060405280519060200120905060005b878110156200121257600082815260fe602090815260408083208c845282529182902082516080810184528154815260018201549281019290925260028101546001600160a01b03169282019290925260039091015460608201819052620011025760405162461bcd60e51b815260206004820152601c60248201527f436f6e73656e74466163746f72793a20696e76616c696420736c6f7400000000604482015260640162000750565b6001881515148015620011185750428160600151105b15620011255750620011fd565b80604001516001600160a01b0316636c0360eb6040518163ffffffff1660e01b815260040160006040518083038186803b1580156200116357600080fd5b505afa15801562001178573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620011a2919081019062003485565b858381518110620011b757620011b7620034fb565b602002602001018190525080848381518110620011d857620011d8620034fb565b6020026020010181905250806020015199508960001415620011fb575062001212565b505b80620012098162003511565b91505062001057565b50919890975095505050505050565b336000908152610102602052604090205460ff161515600114620012595760405162461bcd60e51b8152600401620007509062003373565b600082116200127c5760405162461bcd60e51b8152600401620007509062003436565b808211620012f35760405162461bcd60e51b815260206004820152603b60248201527f436f6e73656e74466163746f72793a205f6e6577536c6f74206d75737420626560448201527f2067726561746572207468616e205f6578697374696e67536c6f740000000000606482015260840162000750565b600083604051602001620013089190620033c3565b60408051601f198184030181528282528051602091820120600081815260fe83528381208782528352839020608085018452805480865260018201549386019390935260028101546001600160a01b03169385019390935260039092015460608401529092508410620013ee5760405162461bcd60e51b815260206004820152604160248201527f436f6e73656e74466163746f72793a205f6e6577536c6f74206973206772656160448201527f746572207468616e206578697374696e674c697374696e672e70726576696f756064820152607360f81b608482015260a40162000750565b600082815260fe6020908152604080832084518452825291829020600101869055815160808101835283518152908101859052339181019190915260fc5460608201906200143d9042620033f7565b9052600083815260fe6020908152604080832088845282528083208451815584830151600180830191909155858301516002830180546001600160a01b0319166001600160a01b0390921691909117905560609095015160039091015586835280832088905585835260fb90915281208054909190620014bf908490620033f7565b90915550506040513390600090600080516020620045108339815191529062000f63908990899062003412565b336000908152610102602052604090205460ff161515600114620015245760405162461bcd60e51b8152600401620007509062003373565b6001600160a01b0382166000908152610103602090815260408083208484528252808320805482518185028101850190935280835291929091908301828280156200159957602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116200157a575b5050506001600160a01b0386166000908152610104602090815260408083208884528252808320338452909152902054835193945092849250620015e191506001906200352f565b81518110620015f457620015f4620034fb565b6020908102919091018101516001600160a01b03861660009081526101038352604080822087835290935291909120805483908110620016385762001638620034fb565b600091825260208083209190910180546001600160a01b0319166001600160a01b03948516179055918616815261010482526040808220868352909252908120835183929085906200168d906001906200352f565b81518110620016a057620016a0620034fb565b6020908102919091018101516001600160a01b039081168352828201939093526040918201600090812094909455918716835261010382528083208684529091529020805480620016f557620016f562003549565b600082815260209020810160001990810180546001600160a01b031916905501905550505050565b60006200172a8162002588565b5060fc55565b600082815260c9602052604081206200174a908362002643565b9392505050565b60009182526097602090815260408084206001600160a01b0393909316845291905290205460ff1690565b336000908152610102602052604090205460ff161515600114620017b45760405162461bcd60e51b8152600401620007509062003373565b600082604051602001620017c99190620033c3565b60408051601f198184030181528282528051602091820120600081815260fe835283812087825283528390206080850184528054855260018101549285019290925260028201546001600160a01b0316928401839052600390910154606084015292503314620018925760405162461bcd60e51b815260206004820152602d60248201527f436f6e73656e74466163746f72793a206f6e6c79206c697374696e67206f776e60448201526c65722063616e2072656d6f766560981b606482015260840162000750565b60208181018051600085815260fe8085526040808320875184528087528184206001908101959095558984528184208481558086018590556002810180546001600160a01b03191690556003018490558751898552928752945183529385528382205585815260fb909352908220805491929091620019139084906200352f565b9250508190555060006001600160a01b031681604001516001600160a01b03166000805160206200451083398151915286866040516200096592919062003412565b61010360205282600052604060002060205281600052604060002081815481106200197f57600080fd5b6000918252602090912001546001600160a01b0316925083915050565b606062001a2b83836101006000886001600160a01b03166001600160a01b0316815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801562001a2057602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162001a01575b505050505062002651565b949350505050565b600062001a408162002588565b5060fd55565b6000808260405160200162001a5c9190620033c3565b60408051601f198184030181529181528151602092830120600090815260fb9092529020549392505050565b600062001a958162002588565b60008360405160200162001aaa9190620033c3565b60408051601f198184030181528282528051602091820120600081815260fe835283812088825283528390206080850184528054855260018101549285019290925260028201546001600160a01b031692840192909252600301546060830181905290925062001b725760405162461bcd60e51b815260206004820152602c60248201527f436f6e73656e74466163746f72793a207468697320736c6f74206973206e6f7460448201526b081a5b9a5d1a585b1a5e995960a21b606482015260840162000750565b60208181018051600085815260fe8085526040808320875184528087528184206001908101959095558a84528184208481558086018590556002810180546001600160a01b03191690556003018490558751898552928752945183529385528382205585815260fb90935290822080549192909162001bf39084906200352f565b9250508190555060006001600160a01b031681604001516001600160a01b031660008051602062004510833981519152878760405162000f6392919062003412565b336000908152610102602052604090205460ff16151560011462001c6d5760405162461bcd60e51b8152600401620007509062003373565b6001600160a01b038216600090815261010360209081526040808320848452825282208054600180820183558285529284200180546001600160a01b0319163317905591839052905462001cc291906200352f565b6001600160a01b0390921660009081526101046020908152604080832093835292815282822033835290522055565b600081815260c9602052604081206200071290620027ee565b6001600160a01b038416600090815261010360209081526040808320868452825291829020805483518184028101840190945280845260609362001d929387938793909183018282801562001a20576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831162001a0157505050505062002651565b95945050505050565b60008281526097602052604090206001015462001db88162002588565b6200099c8383620025bd565b336000908152610102602052604090205460ff16151560011462001dfc5760405162461bcd60e51b8152600401620007509062003373565b60008260405160200162001e119190620033c3565b60408051601f198184030181529181528151602092830120600081815260fb9093529120549091501562001ea05760405162461bcd60e51b815260206004820152602f60248201527f436f6e73656e74466163746f72793a20546869732074616720697320616c726560448201526e18591e481a5b9a5d1a585b1a5e9959608a1b606482015260840162000750565b600081815260fe60209081526040808320600019808552908352818420600101869055815160808101835290815291820192909252339181019190915260fc54606082019062001ef19042620033f7565b9052600082815260fe6020908152604080832086845282528083208451815584830151600180830191909155858301516002830180546001600160a01b0319166001600160a01b0390921691909117905560609095015160039091015582805280832086905584835260fb9091528120805490919062001f73908490620033f7565b90915550506040513390600090600080516020620045108339815191529062001fa0908790879062003412565b60405180910390a3505050565b62001fb762002d12565b60008360405160200162001fcc9190620033c3565b60408051601f198184030181528282528051602091820120600090815260fe825282812087825282528290206080840183528054845260018101549184019190915260028101546001600160a01b03169183019190915260030154606082015291505092915050565b6101055460ff546040516000926001600160a01b0390811692631b1492e160e11b9262002071929091169088908890889030906024016200355f565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051620020b09062002d43565b620020bd929190620035b5565b604051809103906000f080158015620020da573d6000803e3d6000fd5b506001600160a01b03808216600081815261010260209081526040808320805460ff19166001908117909155948a1680845261010083529083208054808701825581855292842090920180546001600160a01b0319169094179093559190525491925082916200214b91906200352f565b6001600160a01b038681166000818152610101602090815260408083209487168084529482528083209590955582825261010381528482207f044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d835281528482208054600180820183559184528284200180546001600160a01b031990811687179091557f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a8452868420805480840182559085528385200180548216871790557fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f708452868420805480840182559085528385200180548216871790557f61a3517f153a09154844ed8be639dabc6e78dc22315c2d9a91f7eddf9398c0028452868420805492830181558452918320018054909116841790559251919290917f3386ce5565b3a847e6f22d2ab7aa20347cfda2d3dfbfb4534805ce4cbbdd50019190a35050505050565b6060806000846001600160401b03811115620022d357620022d362002db8565b6040519080825280602002602001820160405280156200230857816020015b6060815260200190600190039081620022f25790505b5090506000856001600160401b0381111562002328576200232862002db8565b6040519080825280602002602001820160405280156200236557816020015b6200235162002d12565b815260200190600190039081620023475790505b5090506000886040516020016200237d9190620033c3565b60405160208183030381529060405280519060200120905060005b878110156200121257600082815260fe602090815260408083208c845282529182902082516080810184528154815260018201549281019290925260028101546001600160a01b03169282019290925260039091015460608201819052620024435760405162461bcd60e51b815260206004820152601c60248201527f436f6e73656e74466163746f72793a20696e76616c696420736c6f7400000000604482015260640162000750565b6001881515148015620024595750428160600151105b156200246657506200253c565b80604001516001600160a01b0316636c0360eb6040518163ffffffff1660e01b815260040160006040518083038186803b158015620024a457600080fd5b505afa158015620024b9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620024e3919081019062003485565b858381518110620024f857620024f8620034fb565b602002602001018190525080848381518110620025195762002519620034fb565b6020908102919091010152805199506000198a14156200253a575062001212565b505b80620025488162003511565b91505062002398565b60006001600160e01b03198216637965db0b60e01b14806200071257506301ffc9a760e01b6001600160e01b031983161462000712565b620025948133620027f9565b50565b620025a382826200285d565b600082815260c9602052604090206200099c9082620028e7565b620025c98282620028fe565b600082815260c9602052604090206200099c908262002968565b600054610100900460ff166200260d5760405162461bcd60e51b81526004016200075090620035db565b620026176200297f565b565b600054610100900460ff16620026175760405162461bcd60e51b81526004016200075090620035db565b60006200174a8383620029b5565b606083831015620026cb5760405162461bcd60e51b815260206004820152603f60248201527f436f6e73656e74466163746f72793a20456e64696e6720696e646578206d757360448201527f74206265206c6172676572207468656e207374617274696e6720696e64657800606482015260840162000750565b8151620026db575060606200174a565b60018251620026eb91906200352f565b8311156200270657600182516200270391906200352f565b92505b60006200271485856200352f565b62002721906001620033f7565b6001600160401b038111156200273b576200273b62002db8565b60405190808252806020026020018201604052801562002765578160200160208202803683370190505b5090506000855b858111620027e357848181518110620027895762002789620034fb565b6020026020010151838381518110620027a657620027a6620034fb565b6001600160a01b039092166020928302919091019091015281620027ca8162003511565b9250508080620027da9062003511565b9150506200276c565b509095945050505050565b600062000712825490565b62002805828262001751565b62000a1f576200281581620029e2565b62002822836020620029f5565b6040516020016200283592919062003626565b60408051601f198184030181529082905262461bcd60e51b825262000750916004016200369f565b62002869828262001751565b62000a1f5760008281526097602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620028a33390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006200174a836001600160a01b03841662002bae565b6200290a828262001751565b1562000a1f5760008281526097602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60006200174a836001600160a01b03841662002c00565b600054610100900460ff16620029a95760405162461bcd60e51b81526004016200075090620035db565b6033805460ff19169055565b6000826000018281548110620029cf57620029cf620034fb565b9060005260206000200154905092915050565b6060620007126001600160a01b03831660145b6060600062002a06836002620036b4565b62002a13906002620033f7565b6001600160401b0381111562002a2d5762002a2d62002db8565b6040519080825280601f01601f19166020018201604052801562002a58576020820181803683370190505b509050600360fc1b8160008151811062002a765762002a76620034fb565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811062002aa85762002aa8620034fb565b60200101906001600160f81b031916908160001a905350600062002ace846002620036b4565b62002adb906001620033f7565b90505b600181111562002b5d576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811062002b135762002b13620034fb565b1a60f81b82828151811062002b2c5762002b2c620034fb565b60200101906001600160f81b031916908160001a90535060049490941c9362002b5581620036d6565b905062002ade565b5083156200174a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640162000750565b600081815260018301602052604081205462002bf75750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000712565b50600062000712565b6000818152600183016020526040812054801562002cf957600062002c276001836200352f565b855490915060009062002c3d906001906200352f565b905081811462002ca957600086600001828154811062002c615762002c61620034fb565b906000526020600020015490508087600001848154811062002c875762002c87620034fb565b6000918252602080832090910192909255918252600188019052604090208390555b855486908062002cbd5762002cbd62003549565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505062000712565b600091505062000712565b6104e480620036f183390190565b6040518060800160405280600081526020016000815260200160006001600160a01b03168152602001600081525090565b61093b8062003bd583390190565b60006020828403121562002d6457600080fd5b81356001600160e01b0319811681146200174a57600080fd5b80356001600160a01b038116811462002d9557600080fd5b919050565b60006020828403121562002dad57600080fd5b6200174a8262002d7d565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562002df95762002df962002db8565b604052919050565b60006001600160401b0382111562002e1d5762002e1d62002db8565b50601f01601f191660200190565b600082601f83011262002e3d57600080fd5b813562002e5462002e4e8262002e01565b62002dce565b81815284602083860101111562002e6a57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121562002e9b57600080fd5b82356001600160401b0381111562002eb257600080fd5b62002ec08582860162002e2b565b95602094909401359450505050565b60006020828403121562002ee257600080fd5b5035919050565b6000806040838503121562002efd57600080fd5b8235915062002f0f6020840162002d7d565b90509250929050565b6000806040838503121562002f2c57600080fd5b62002f378362002d7d565b915062002f0f6020840162002d7d565b6000806040838503121562002f5b57600080fd5b62002f668362002d7d565b946020939093013593505050565b60008060006060848603121562002f8a57600080fd5b83356001600160401b0381111562002fa157600080fd5b62002faf8682870162002e2b565b9660208601359650604090950135949350505050565b6000806000806080858703121562002fdc57600080fd5b84356001600160401b0381111562002ff357600080fd5b620030018782880162002e2b565b9450506020850135925060408501359150606085013580151581146200302657600080fd5b939692955090935050565b60005b838110156200304e57818101518382015260200162003034565b838111156200305e576000848401525b50505050565b600081518084526200307e81602086016020860162003031565b601f01601f19169290920160200192915050565b6000604082016040835280855180835260608501915060608160051b8601019250602080880160005b83811015620030ed57605f19888703018552620030da86835162003064565b95509382019390820190600101620030bb565b50508584038187015286518085528782019482019350915060005b8281101562003158576200314484865180518252602080820151908301526040808201516001600160a01b031690830152606090810151910152565b938101936080939093019260010162003108565b5091979650505050505050565b600080604083850312156200317957600080fd5b50508035926020909101359150565b6000806000606084860312156200319e57600080fd5b620031a98462002d7d565b95602085013595506040909401359392505050565b6020808252825182820181905260009190848201906040850190845b81811015620032015783516001600160a01b031683529284019291840191600101620031da565b50909695505050505050565b6000602082840312156200322057600080fd5b81356001600160401b038111156200323757600080fd5b62001a2b8482850162002e2b565b6000806000606084860312156200325b57600080fd5b620032668462002d7d565b9250602084013591506200327d6040850162002d7d565b90509250925092565b600080600080608085870312156200329d57600080fd5b620032a88562002d7d565b966020860135965060408601359560600135945092505050565b81518152602080830151908201526040808301516001600160a01b031690820152606080830151908201526080810162000712565b6000806000606084860312156200330d57600080fd5b620033188462002d7d565b925060208401356001600160401b03808211156200333557600080fd5b620033438783880162002e2b565b935060408601359150808211156200335a57600080fd5b50620033698682870162002e2b565b9150509250925092565b60208082526030908201527f436f6e73656e74466163746f72793a2043616c6c6572206973206e6f7420612060408201526f10dbdb9cd95b9d0810dbdb9d1c9858dd60821b606082015260800190565b60008251620033d781846020870162003031565b9190910192915050565b634e487b7160e01b600052601160045260246000fd5b600082198211156200340d576200340d620033e1565b500190565b60408152600062003427604083018562003064565b90508260208301529392505050565b6020808252602f908201527f436f6e73656e74466163746f72793a205f6e6577536c6f74206d75737420626560408201526e02067726561746572207468616e203608c1b606082015260800190565b6000602082840312156200349857600080fd5b81516001600160401b03811115620034af57600080fd5b8201601f81018413620034c157600080fd5b8051620034d262002e4e8262002e01565b818152856020838501011115620034e857600080fd5b62001d9282602083016020860162003031565b634e487b7160e01b600052603260045260246000fd5b6000600019821415620035285762003528620033e1565b5060010190565b600082821015620035445762003544620033e1565b500390565b634e487b7160e01b600052603160045260246000fd5b600060018060a01b038088168352808716602084015260a060408401526200358b60a084018762003064565b83810360608501526200359f818762003064565b9250508084166080840152509695505050505050565b6001600160a01b038316815260406020820181905260009062001a2b9083018462003064565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516200366081601785016020880162003031565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516200369381602884016020880162003031565b01602801949350505050565b6020815260006200174a602083018462003064565b6000816000190483118215151615620036d157620036d1620033e1565b500290565b600081620036e857620036e8620033e1565b50600019019056fe608060405234801561001057600080fd5b506040516104e43803806104e483398101604081905261002f91610151565b61003833610047565b61004181610097565b50610181565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6100aa8161014260201b6101a01760201c565b6101205760405162461bcd60e51b815260206004820152603360248201527f5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f60448201527f6e206973206e6f74206120636f6e747261637400000000000000000000000000606482015260840160405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03163b151590565b60006020828403121561016357600080fd5b81516001600160a01b038116811461017a57600080fd5b9392505050565b610354806101906000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80633659cfe61461005c5780635c60da1b14610071578063715018a61461009a5780638da5cb5b146100a2578063f2fde38b146100b3575b600080fd5b61006f61006a3660046102ee565b6100c6565b005b6001546001600160a01b03165b6040516001600160a01b03909116815260200160405180910390f35b61006f61010e565b6000546001600160a01b031661007e565b61006f6100c13660046102ee565b610122565b6100ce6101af565b6100d781610209565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6101166101af565b610120600061029e565b565b61012a6101af565b6001600160a01b0381166101945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61019d8161029e565b50565b6001600160a01b03163b151590565b6000546001600160a01b031633146101205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161018b565b6001600160a01b0381163b61027c5760405162461bcd60e51b815260206004820152603360248201527f5570677261646561626c65426561636f6e3a20696d706c656d656e746174696f6044820152721b881a5cc81b9bdd08184818dbdb9d1c9858dd606a1b606482015260840161018b565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561030057600080fd5b81356001600160a01b038116811461031757600080fd5b939250505056fea264697066735822122037f5e761a584b5cfedfedcacdd35de142872479851fbaecf66f55a175ffa1d1d64736f6c63430008090033608060405260405161093b38038061093b8339810160408190526100229161047e565b61002e82826000610035565b50506105a8565b61003e8361010f565b6040516001600160a01b038416907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e90600090a260008251118061007f5750805b1561010a57610108836001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156100c057600080fd5b505afa1580156100d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100f8919061053e565b836102c160201b6100291760201c565b505b505050565b610122816102ed60201b6100551760201c565b6101815760405162461bcd60e51b815260206004820152602560248201527f455243313936373a206e657720626561636f6e206973206e6f74206120636f6e6044820152641d1c9858dd60da1b60648201526084015b60405180910390fd5b610204816001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156101bd57600080fd5b505afa1580156101d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101f5919061053e565b6102ed60201b6100551760201c565b6102695760405162461bcd60e51b815260206004820152603060248201527f455243313936373a20626561636f6e20696d706c656d656e746174696f6e206960448201526f1cc81b9bdd08184818dbdb9d1c9858dd60821b6064820152608401610178565b806102a07fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d5060001b6102fc60201b6100641760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b60606102e68383604051806060016040528060278152602001610914602791396102ff565b9392505050565b6001600160a01b03163b151590565b90565b6060600080856001600160a01b03168560405161031c9190610559565b600060405180830381855af49150503d8060008114610357576040519150601f19603f3d011682016040523d82523d6000602084013e61035c565b606091505b50909250905061036e86838387610378565b9695505050505050565b606083156103e45782516103dd576001600160a01b0385163b6103dd5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610178565b50816103ee565b6103ee83836103f6565b949350505050565b8151156104065781518083602001fd5b8060405162461bcd60e51b81526004016101789190610575565b80516001600160a01b038116811461043757600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561046d578181015183820152602001610455565b838111156101085750506000910152565b6000806040838503121561049157600080fd5b61049a83610420565b60208401519092506001600160401b03808211156104b757600080fd5b818501915085601f8301126104cb57600080fd5b8151818111156104dd576104dd61043c565b604051601f8201601f19908116603f011681019083821181831017156105055761050561043c565b8160405282815288602084870101111561051e57600080fd5b61052f836020830160208801610452565b80955050505050509250929050565b60006020828403121561055057600080fd5b6102e682610420565b6000825161056b818460208701610452565b9190910192915050565b6020815260008251806020840152610594816040850160208701610452565b601f01601f19169190910160400192915050565b61035d806105b76000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610067565b61010f565b565b606061004e838360405180606001604052806027815260200161030160279139610133565b9392505050565b6001600160a01b03163b151590565b90565b600061009a7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50546001600160a01b031690565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156100d257600080fd5b505afa1580156100e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061010a9190610258565b905090565b3660008037600080366000845af43d6000803e80801561012e573d6000f35b3d6000fd5b6060600080856001600160a01b03168560405161015091906102b1565b600060405180830381855af49150503d806000811461018b576040519150601f19603f3d011682016040523d82523d6000602084013e610190565b606091505b50915091506101a1868383876101ab565b9695505050505050565b6060831561021c578251610215576001600160a01b0385163b6102155760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b5081610226565b610226838361022e565b949350505050565b81511561023e5781518083602001fd5b8060405162461bcd60e51b815260040161020c91906102cd565b60006020828403121561026a57600080fd5b81516001600160a01b038116811461004e57600080fd5b60005b8381101561029c578181015183820152602001610284565b838111156102ab576000848401525b50505050565b600082516102c3818460208701610281565b9190910192915050565b60208152600082518060208401526102ec816040850160208701610281565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212203b163e80fb6d2725d90c67ab296adb4976d35afe4e99831fd03cf02178370bee64736f6c63430008090033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564d0231052a39e12006e39a6a3e2efefdbe9507c7e2178ab3c63b1a248f6949beaa2646970667358221220fecd6c47ac00ff671de97be67758a82efcabd96ce9d66780285ec14dd1f6470264736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}},49065:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={_format:"hh-sol-artifact-1",contractName:"Crumbs",sourceName:"contracts/registry/Crumbs.sol",abi:[{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"approved",type:"address"},{indexed:!0,internalType:"uint256",name:"tokenId",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"operator",type:"address"},{indexed:!1,internalType:"bool",name:"approved",type:"bool"}],name:"ApprovalForAll",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"uint256",name:"crumbId",type:"uint256"}],name:"CrumbBurnt",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"uint256",name:"crumbId",type:"uint256"},{indexed:!1,internalType:"string",name:"tokenURI",type:"string"}],name:"CrumbCreated",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"uint256",name:"crumbId",type:"uint256"},{indexed:!1,internalType:"string",name:"tokenURI",type:"string"}],name:"CrumbUpdated",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Paused",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"previousAdminRole",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"newAdminRole",type:"bytes32"}],name:"RoleAdminChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!0,internalType:"address",name:"sender",type:"address"}],name:"RoleGranted",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!0,internalType:"address",name:"sender",type:"address"}],name:"RoleRevoked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!0,internalType:"uint256",name:"tokenId",type:"uint256"}],name:"Transfer",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"address",name:"account",type:"address"}],name:"Unpaused",type:"event"},{inputs:[],name:"DEFAULT_ADMIN_ROLE",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"",type:"address"}],name:"addressToCrumbId",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"approve",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"baseURI",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"crumbId",type:"uint256"}],name:"burnCrumb",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"crumbId",type:"uint256"},{internalType:"string",name:"_tokenURI",type:"string"}],name:"createCrumb",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"getApproved",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"}],name:"getRoleAdmin",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"uint256",name:"index",type:"uint256"}],name:"getRoleMember",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"}],name:"getRoleMemberCount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"grantRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"hasRole",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"trustedForwarder_",type:"address"},{internalType:"string",name:"baseURI_",type:"string"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"operator",type:"address"}],name:"isApprovedForAll",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"forwarder",type:"address"}],name:"isTrustedForwarder",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"ownerOf",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"paused",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"renounceRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"revokeRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"safeTransferFrom",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}],name:"safeTransferFrom",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"operator",type:"address"},{internalType:"bool",name:"approved",type:"bool"}],name:"setApprovalForAll",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"newURI",type:"string"}],name:"setBaseURI",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes4",name:"interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"tokenURI",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"transferFrom",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"trustedForwarder",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"crumbId",type:"uint256"},{internalType:"string",name:"_tokenURI",type:"string"}],name:"updateCrumb",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b506129ed806100206000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80635c975abb1161011a5780639dae2756116100ad578063c87b56dd1161007c578063c87b56dd14610450578063ca15c87314610463578063d547741f14610476578063e985e9c514610489578063f399e22e146104c657600080fd5b80639dae27561461040f578063a217fddf14610422578063a22cb4651461042a578063b88d4fde1461043d57600080fd5b80637da0a877116100e95780637da0a877146103cd5780639010d07c146103e157806391d14854146103f457806395d89b411461040757600080fd5b80635c975abb146103945780636352211e1461039f5780636c0360eb146103b257806370a08231146103ba57600080fd5b80632f2ff15d1161019257806342842e0e1161016157806342842e0e1461033857806342966c681461034b57806355f804b31461035e578063572b6c051461037157600080fd5b80632f2ff15d146102ec57806335663cc3146102ff57806336568abe14610312578063397db2b71461032557600080fd5b806318160ddd116101ce57806318160ddd1461027d5780631e72662c1461029557806323b872dd146102b6578063248a9ca3146102c957600080fd5b806301ffc9a71461020057806306fdde0314610228578063081812fc1461023d578063095ea7b314610268575b600080fd5b61021361020e3660046122bf565b6104d9565b60405190151581526020015b60405180910390f35b6102306104ea565b60405161021f9190612334565b61025061024b366004612347565b61057c565b6040516001600160a01b03909116815260200161021f565b61027b61027636600461237c565b6105a3565b005b6102876101935481565b60405190815260200161021f565b6102876102a33660046123a6565b6101926020526000908152604090205481565b61027b6102c43660046123c1565b6106d0565b6102876102d7366004612347565b60009081526065602052604090206001015490565b61027b6102fa3660046123fd565b610708565b61027b61030d3660046124d5565b61072d565b61027b6103203660046123fd565b61080f565b61027b610333366004612347565b61089d565b61027b6103463660046123c1565b610926565b61027b610359366004612347565b610941565b61027b61036c36600461251c565b610974565b61021361037f3660046123a6565b610191546001600160a01b0391821691161490565b60c95460ff16610213565b6102506103ad366004612347565b610993565b6102306109f3565b6102876103c83660046123a6565b610a82565b61019154610250906001600160a01b031681565b6102506103ef366004612551565b610b08565b6102136104023660046123fd565b610b27565b610230610b52565b61027b61041d3660046124d5565b610b61565b610287600081565b61027b610438366004612573565b610c7a565b61027b61044b3660046125af565b610c8c565b61023061045e366004612347565b610ccb565b610287610471366004612347565b610cd6565b61027b6104843660046123fd565b610ced565b61021361049736600461262b565b6001600160a01b0391821660009081526101006020908152604080832093909416825291909152205460ff1690565b61027b6104d4366004612655565b610d12565b60006104e482610ea7565b92915050565b606060fb80546104f99061268d565b80601f01602080910402602001604051908101604052809291908181526020018280546105259061268d565b80156105725780601f1061054757610100808354040283529160200191610572565b820191906000526020600020905b81548152906001019060200180831161055557829003601f168201915b5050505050905090565b600061058782610ee7565b50600090815260ff60205260409020546001600160a01b031690565b60006105ae82610993565b9050806001600160a01b0316836001600160a01b031614156106215760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b806001600160a01b0316610633610f46565b6001600160a01b0316148061064f575061064f81610497610f46565b6106c15760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610618565b6106cb8383610f6f565b505050565b6106e16106db610f46565b82610fdd565b6106fd5760405162461bcd60e51b8152600401610618906126c8565b6106cb83838361105d565b600082815260656020526040902060010154610723816111ce565b6106cb83836111df565b81610192600061073b610f46565b6001600160a01b03166001600160a01b0316815260200190815260200160002054146107b85760405162461bcd60e51b815260206004820152602660248201527f4372756d62733a2043616c6c6572206973206e6f74206372756d6220696427736044820152651037bbb732b960d11b6064820152608401610618565b6107c28282611201565b816107cb610f46565b6001600160a01b03167feb81e0386e32835318819d28f2ddd64aeb31765b40c23c6b666326668acbe100836040516108039190612334565b60405180910390a35050565b610817610f46565b6001600160a01b0316816001600160a01b03161461088f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610618565b610899828261129c565b5050565b6108a681610941565b61019260006108b3610f46565b6001600160a01b03168152602081019190915260400160009081208190556101938054916108e08361272b565b9190505550806108ee610f46565b6001600160a01b03167f77b7aa5994179a3d66e8618206ed6ac63796103546e67aff8f5d03f4fba6187560405160405180910390a350565b6106cb83838360405180602001604052806000815250610c8c565b61094c6106db610f46565b6109685760405162461bcd60e51b8152600401610618906126c8565b610971816112be565b50565b600061097f816111ce565b81516106cb906101949060208501906121da565b600081815260fd60205260408120546001600160a01b0316806104e45760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610618565b6101948054610a019061268d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2d9061268d565b8015610a7a5780601f10610a4f57610100808354040283529160200191610a7a565b820191906000526020600020905b815481529060010190602001808311610a5d57829003601f168201915b505050505081565b60006001600160a01b038216610aec5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610618565b506001600160a01b0316600090815260fe602052604090205490565b6000828152609760205260408120610b2090836112c7565b9392505050565b60009182526065602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060fc80546104f99061268d565b6101926000610b6e610f46565b6001600160a01b0316815260208101919091526040016000205415610be05760405162461bcd60e51b815260206004820152602260248201527f4372756d623a204164647265737320616c72656164792068617320612063727560448201526136b160f11b6064820152608401610618565b816101926000610bee610f46565b6001600160a01b03168152602081019190915260400160002055610c19610c13610f46565b836112d3565b610c238282611201565b6101938054906000610c3483612742565b919050555081610c42610f46565b6001600160a01b03167f30b7447bd7d5f97ad296418a4faa9108e5d5818733d63b6dc8d106e0825b16eb836040516108039190612334565b610899610c85610f46565b83836112ed565b610c9d610c97610f46565b83610fdd565b610cb95760405162461bcd60e51b8152600401610618906126c8565b610cc5848484846113bd565b50505050565b60606104e4826113f0565b60008181526097602052604081206104e4906114ed565b600082815260656020526040902060010154610d08816111ce565b6106cb838361129c565b600054610100900460ff1615808015610d325750600054600160ff909116105b80610d4c5750303b158015610d4c575060005460ff166001145b610daf5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610618565b6000805460ff191660011790558015610dd2576000805461ff0019166101001790555b610e15604051806040016040528060068152602001654372756d627360d01b8152506040518060400160405280600381526020016243525560e81b8152506114f7565b610e1d611528565b610e25611528565b610e2d611528565b61019180546001600160a01b0319166001600160a01b038516179055610e546000336111df565b610e5d82610974565b80156106cb576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b60006001600160e01b031982166380ac58cd60e01b1480610ed857506001600160e01b03198216635b5e139f60e01b145b806104e457506104e482611551565b600081815260fd60205260409020546001600160a01b03166109715760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610618565b610191546000906001600160a01b0316331415610f6a575060131936013560601c90565b503390565b600081815260ff6020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610fa482610993565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610fe983610993565b9050806001600160a01b0316846001600160a01b0316148061103157506001600160a01b038082166000908152610100602090815260408083209388168352929052205460ff165b806110555750836001600160a01b031661104a8461057c565b6001600160a01b0316145b949350505050565b826001600160a01b031661107082610993565b6001600160a01b0316146110965760405162461bcd60e51b81526004016106189061275d565b6001600160a01b0382166110f85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610618565b6111058383836001611576565b826001600160a01b031661111882610993565b6001600160a01b03161461113e5760405162461bcd60e51b81526004016106189061275d565b600081815260ff6020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260fe855283862080546000190190559087168086528386208054600101905586865260fd90945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610971816111da610f46565b611630565b6111e98282611689565b60008281526097602052604090206106cb9082611710565b600082815260fd60205260409020546001600160a01b031661127c5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610618565b600082815261012d6020908152604090912082516106cb928401906121da565b6112a68282611725565b60008281526097602052604090206106cb90826117aa565b610971816117bf565b6000610b208383611801565b61089982826040518060200160405280600081525061182b565b816001600160a01b0316836001600160a01b0316141561134f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610618565b6001600160a01b0383811660008181526101006020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6113c884848461105d565b6113d48484848461185e565b610cc55760405162461bcd60e51b8152600401610618906127a2565b60606113fb82610ee7565b600082815261012d6020526040812080546114159061268d565b80601f01602080910402602001604051908101604052809291908181526020018280546114419061268d565b801561148e5780601f106114635761010080835404028352916020019161148e565b820191906000526020600020905b81548152906001019060200180831161147157829003601f168201915b50505050509050600061149f611972565b90508051600014156114b2575092915050565b8151156114e45780826040516020016114cc9291906127f4565b60405160208183030381529060405292505050919050565b61105584611982565b60006104e4825490565b600054610100900460ff1661151e5760405162461bcd60e51b815260040161061890612823565b61089982826119e8565b600054610100900460ff1661154f5760405162461bcd60e51b815260040161061890612823565b565b60006001600160e01b03198216635a05180f60e01b14806104e457506104e482611a36565b61157e611a6b565b6001600160a01b038416158061159b57506001600160a01b038316155b6115fa5760405162461bcd60e51b815260206004820152602a60248201527f4372756d62733a204372756d6220746f6b656e7320617265206e6f6e2d7472616044820152696e736665727261626c6560b01b6064820152608401610618565b61160684848484611ab1565b506001600160a01b0392831660009081526101926020526040808220829055929093168352912055565b61163a8282610b27565b6108995761164781611b39565b611652836020611b4b565b60405160200161166392919061286e565b60408051601f198184030181529082905262461bcd60e51b825261061891600401612334565b6116938282610b27565b6108995760008281526065602090815260408083206001600160a01b03851684529091529020805460ff191660011790556116cc610f46565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610b20836001600160a01b038416611ce7565b61172f8282610b27565b156108995760008281526065602090815260408083206001600160a01b03851684529091529020805460ff19169055611766610f46565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6000610b20836001600160a01b038416611d36565b6117c881611e29565b600081815261012d6020526040902080546117e29061268d565b15905061097157600081815261012d602052604081206109719161225e565b6000826000018281548110611818576118186128e3565b9060005260206000200154905092915050565b6118358383611ecc565b611842600084848461185e565b6106cb5760405162461bcd60e51b8152600401610618906127a2565b60006001600160a01b0384163b1561196757836001600160a01b031663150b7a02611887610f46565b8786866040518563ffffffff1660e01b81526004016118a994939291906128f9565b602060405180830381600087803b1580156118c357600080fd5b505af19250505080156118f3575060408051601f3d908101601f191682019092526118f091810190612936565b60015b61194d573d808015611921576040519150601f19603f3d011682016040523d82523d6000602084013e611926565b606091505b5080516119455760405162461bcd60e51b8152600401610618906127a2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611055565b506001949350505050565b606061019480546104f99061268d565b606061198d82610ee7565b6000611997611972565b905060008151116119b75760405180602001604052806000815250610b20565b806119c184612065565b6040516020016119d29291906127f4565b6040516020818303038152906040529392505050565b600054610100900460ff16611a0f5760405162461bcd60e51b815260040161061890612823565b8151611a229060fb9060208501906121da565b5080516106cb9060fc9060208401906121da565b60006001600160e01b03198216637965db0b60e01b14806104e457506301ffc9a760e01b6001600160e01b03198316146104e4565b60c95460ff161561154f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610618565b6001811115610cc5576001600160a01b03841615611af7576001600160a01b038416600090815260fe602052604081208054839290611af1908490612953565b90915550505b6001600160a01b03831615610cc5576001600160a01b038316600090815260fe602052604081208054839290611b2e90849061296a565b909155505050505050565b60606104e46001600160a01b03831660145b60606000611b5a836002612982565b611b6590600261296a565b67ffffffffffffffff811115611b7d57611b7d612429565b6040519080825280601f01601f191660200182016040528015611ba7576020820181803683370190505b509050600360fc1b81600081518110611bc257611bc26128e3565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611bf157611bf16128e3565b60200101906001600160f81b031916908160001a9053506000611c15846002612982565b611c2090600161296a565b90505b6001811115611c98576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611c5457611c546128e3565b1a60f81b828281518110611c6a57611c6a6128e3565b60200101906001600160f81b031916908160001a90535060049490941c93611c918161272b565b9050611c23565b508315610b205760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610618565b6000818152600183016020526040812054611d2e575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104e4565b5060006104e4565b60008181526001830160205260408120548015611e1f576000611d5a600183612953565b8554909150600090611d6e90600190612953565b9050818114611dd3576000866000018281548110611d8e57611d8e6128e3565b9060005260206000200154905080876000018481548110611db157611db16128e3565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611de457611de46129a1565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506104e4565b60009150506104e4565b6000611e3482610993565b9050611e44816000846001611576565b611e4d82610993565b600083815260ff6020908152604080832080546001600160a01b03199081169091556001600160a01b03851680855260fe8452828520805460001901905587855260fd909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b038216611f225760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610618565b600081815260fd60205260409020546001600160a01b031615611f875760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610618565b611f95600083836001611576565b600081815260fd60205260409020546001600160a01b031615611ffa5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610618565b6001600160a01b038216600081815260fe602090815260408083208054600101905584835260fd90915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060600061207283612102565b600101905060008167ffffffffffffffff81111561209257612092612429565b6040519080825280601f01601f1916602001820160405280156120bc576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846120f5576120fa565b6120c6565b509392505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106121415772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061216d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061218b57662386f26fc10000830492506010015b6305f5e10083106121a3576305f5e100830492506008015b61271083106121b757612710830492506004015b606483106121c9576064830492506002015b600a83106104e45760010192915050565b8280546121e69061268d565b90600052602060002090601f016020900481019282612208576000855561224e565b82601f1061222157805160ff191683800117855561224e565b8280016001018555821561224e579182015b8281111561224e578251825591602001919060010190612233565b5061225a929150612294565b5090565b50805461226a9061268d565b6000825580601f1061227a575050565b601f01602090049060005260206000209081019061097191905b5b8082111561225a5760008155600101612295565b6001600160e01b03198116811461097157600080fd5b6000602082840312156122d157600080fd5b8135610b20816122a9565b60005b838110156122f75781810151838201526020016122df565b83811115610cc55750506000910152565b600081518084526123208160208601602086016122dc565b601f01601f19169290920160200192915050565b602081526000610b206020830184612308565b60006020828403121561235957600080fd5b5035919050565b80356001600160a01b038116811461237757600080fd5b919050565b6000806040838503121561238f57600080fd5b61239883612360565b946020939093013593505050565b6000602082840312156123b857600080fd5b610b2082612360565b6000806000606084860312156123d657600080fd5b6123df84612360565b92506123ed60208501612360565b9150604084013590509250925092565b6000806040838503121561241057600080fd5b8235915061242060208401612360565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561245a5761245a612429565b604051601f8501601f19908116603f0116810190828211818310171561248257612482612429565b8160405280935085815286868601111561249b57600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126124c657600080fd5b610b208383356020850161243f565b600080604083850312156124e857600080fd5b82359150602083013567ffffffffffffffff81111561250657600080fd5b612512858286016124b5565b9150509250929050565b60006020828403121561252e57600080fd5b813567ffffffffffffffff81111561254557600080fd5b611055848285016124b5565b6000806040838503121561256457600080fd5b50508035926020909101359150565b6000806040838503121561258657600080fd5b61258f83612360565b9150602083013580151581146125a457600080fd5b809150509250929050565b600080600080608085870312156125c557600080fd5b6125ce85612360565b93506125dc60208601612360565b925060408501359150606085013567ffffffffffffffff8111156125ff57600080fd5b8501601f8101871361261057600080fd5b61261f8782356020840161243f565b91505092959194509250565b6000806040838503121561263e57600080fd5b61264783612360565b915061242060208401612360565b6000806040838503121561266857600080fd5b61267183612360565b9150602083013567ffffffffffffffff81111561250657600080fd5b600181811c908216806126a157607f821691505b602082108114156126c257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008161273a5761273a612715565b506000190190565b600060001982141561275657612756612715565b5060010190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600083516128068184602088016122dc565b83519083019061281a8183602088016122dc565b01949350505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516128a68160178501602088016122dc565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516128d78160288401602088016122dc565b01602801949350505050565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061292c90830184612308565b9695505050505050565b60006020828403121561294857600080fd5b8151610b20816122a9565b60008282101561296557612965612715565b500390565b6000821982111561297d5761297d612715565b500190565b600081600019048311821515161561299c5761299c612715565b500290565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220738b550052279653654435c5ca2994d537056088fa969fd3c2c302489ee999df64736f6c63430008090033",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80635c975abb1161011a5780639dae2756116100ad578063c87b56dd1161007c578063c87b56dd14610450578063ca15c87314610463578063d547741f14610476578063e985e9c514610489578063f399e22e146104c657600080fd5b80639dae27561461040f578063a217fddf14610422578063a22cb4651461042a578063b88d4fde1461043d57600080fd5b80637da0a877116100e95780637da0a877146103cd5780639010d07c146103e157806391d14854146103f457806395d89b411461040757600080fd5b80635c975abb146103945780636352211e1461039f5780636c0360eb146103b257806370a08231146103ba57600080fd5b80632f2ff15d1161019257806342842e0e1161016157806342842e0e1461033857806342966c681461034b57806355f804b31461035e578063572b6c051461037157600080fd5b80632f2ff15d146102ec57806335663cc3146102ff57806336568abe14610312578063397db2b71461032557600080fd5b806318160ddd116101ce57806318160ddd1461027d5780631e72662c1461029557806323b872dd146102b6578063248a9ca3146102c957600080fd5b806301ffc9a71461020057806306fdde0314610228578063081812fc1461023d578063095ea7b314610268575b600080fd5b61021361020e3660046122bf565b6104d9565b60405190151581526020015b60405180910390f35b6102306104ea565b60405161021f9190612334565b61025061024b366004612347565b61057c565b6040516001600160a01b03909116815260200161021f565b61027b61027636600461237c565b6105a3565b005b6102876101935481565b60405190815260200161021f565b6102876102a33660046123a6565b6101926020526000908152604090205481565b61027b6102c43660046123c1565b6106d0565b6102876102d7366004612347565b60009081526065602052604090206001015490565b61027b6102fa3660046123fd565b610708565b61027b61030d3660046124d5565b61072d565b61027b6103203660046123fd565b61080f565b61027b610333366004612347565b61089d565b61027b6103463660046123c1565b610926565b61027b610359366004612347565b610941565b61027b61036c36600461251c565b610974565b61021361037f3660046123a6565b610191546001600160a01b0391821691161490565b60c95460ff16610213565b6102506103ad366004612347565b610993565b6102306109f3565b6102876103c83660046123a6565b610a82565b61019154610250906001600160a01b031681565b6102506103ef366004612551565b610b08565b6102136104023660046123fd565b610b27565b610230610b52565b61027b61041d3660046124d5565b610b61565b610287600081565b61027b610438366004612573565b610c7a565b61027b61044b3660046125af565b610c8c565b61023061045e366004612347565b610ccb565b610287610471366004612347565b610cd6565b61027b6104843660046123fd565b610ced565b61021361049736600461262b565b6001600160a01b0391821660009081526101006020908152604080832093909416825291909152205460ff1690565b61027b6104d4366004612655565b610d12565b60006104e482610ea7565b92915050565b606060fb80546104f99061268d565b80601f01602080910402602001604051908101604052809291908181526020018280546105259061268d565b80156105725780601f1061054757610100808354040283529160200191610572565b820191906000526020600020905b81548152906001019060200180831161055557829003601f168201915b5050505050905090565b600061058782610ee7565b50600090815260ff60205260409020546001600160a01b031690565b60006105ae82610993565b9050806001600160a01b0316836001600160a01b031614156106215760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b806001600160a01b0316610633610f46565b6001600160a01b0316148061064f575061064f81610497610f46565b6106c15760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610618565b6106cb8383610f6f565b505050565b6106e16106db610f46565b82610fdd565b6106fd5760405162461bcd60e51b8152600401610618906126c8565b6106cb83838361105d565b600082815260656020526040902060010154610723816111ce565b6106cb83836111df565b81610192600061073b610f46565b6001600160a01b03166001600160a01b0316815260200190815260200160002054146107b85760405162461bcd60e51b815260206004820152602660248201527f4372756d62733a2043616c6c6572206973206e6f74206372756d6220696427736044820152651037bbb732b960d11b6064820152608401610618565b6107c28282611201565b816107cb610f46565b6001600160a01b03167feb81e0386e32835318819d28f2ddd64aeb31765b40c23c6b666326668acbe100836040516108039190612334565b60405180910390a35050565b610817610f46565b6001600160a01b0316816001600160a01b03161461088f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610618565b610899828261129c565b5050565b6108a681610941565b61019260006108b3610f46565b6001600160a01b03168152602081019190915260400160009081208190556101938054916108e08361272b565b9190505550806108ee610f46565b6001600160a01b03167f77b7aa5994179a3d66e8618206ed6ac63796103546e67aff8f5d03f4fba6187560405160405180910390a350565b6106cb83838360405180602001604052806000815250610c8c565b61094c6106db610f46565b6109685760405162461bcd60e51b8152600401610618906126c8565b610971816112be565b50565b600061097f816111ce565b81516106cb906101949060208501906121da565b600081815260fd60205260408120546001600160a01b0316806104e45760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610618565b6101948054610a019061268d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2d9061268d565b8015610a7a5780601f10610a4f57610100808354040283529160200191610a7a565b820191906000526020600020905b815481529060010190602001808311610a5d57829003601f168201915b505050505081565b60006001600160a01b038216610aec5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610618565b506001600160a01b0316600090815260fe602052604090205490565b6000828152609760205260408120610b2090836112c7565b9392505050565b60009182526065602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060fc80546104f99061268d565b6101926000610b6e610f46565b6001600160a01b0316815260208101919091526040016000205415610be05760405162461bcd60e51b815260206004820152602260248201527f4372756d623a204164647265737320616c72656164792068617320612063727560448201526136b160f11b6064820152608401610618565b816101926000610bee610f46565b6001600160a01b03168152602081019190915260400160002055610c19610c13610f46565b836112d3565b610c238282611201565b6101938054906000610c3483612742565b919050555081610c42610f46565b6001600160a01b03167f30b7447bd7d5f97ad296418a4faa9108e5d5818733d63b6dc8d106e0825b16eb836040516108039190612334565b610899610c85610f46565b83836112ed565b610c9d610c97610f46565b83610fdd565b610cb95760405162461bcd60e51b8152600401610618906126c8565b610cc5848484846113bd565b50505050565b60606104e4826113f0565b60008181526097602052604081206104e4906114ed565b600082815260656020526040902060010154610d08816111ce565b6106cb838361129c565b600054610100900460ff1615808015610d325750600054600160ff909116105b80610d4c5750303b158015610d4c575060005460ff166001145b610daf5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610618565b6000805460ff191660011790558015610dd2576000805461ff0019166101001790555b610e15604051806040016040528060068152602001654372756d627360d01b8152506040518060400160405280600381526020016243525560e81b8152506114f7565b610e1d611528565b610e25611528565b610e2d611528565b61019180546001600160a01b0319166001600160a01b038516179055610e546000336111df565b610e5d82610974565b80156106cb576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b60006001600160e01b031982166380ac58cd60e01b1480610ed857506001600160e01b03198216635b5e139f60e01b145b806104e457506104e482611551565b600081815260fd60205260409020546001600160a01b03166109715760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610618565b610191546000906001600160a01b0316331415610f6a575060131936013560601c90565b503390565b600081815260ff6020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610fa482610993565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610fe983610993565b9050806001600160a01b0316846001600160a01b0316148061103157506001600160a01b038082166000908152610100602090815260408083209388168352929052205460ff165b806110555750836001600160a01b031661104a8461057c565b6001600160a01b0316145b949350505050565b826001600160a01b031661107082610993565b6001600160a01b0316146110965760405162461bcd60e51b81526004016106189061275d565b6001600160a01b0382166110f85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610618565b6111058383836001611576565b826001600160a01b031661111882610993565b6001600160a01b03161461113e5760405162461bcd60e51b81526004016106189061275d565b600081815260ff6020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260fe855283862080546000190190559087168086528386208054600101905586865260fd90945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610971816111da610f46565b611630565b6111e98282611689565b60008281526097602052604090206106cb9082611710565b600082815260fd60205260409020546001600160a01b031661127c5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610618565b600082815261012d6020908152604090912082516106cb928401906121da565b6112a68282611725565b60008281526097602052604090206106cb90826117aa565b610971816117bf565b6000610b208383611801565b61089982826040518060200160405280600081525061182b565b816001600160a01b0316836001600160a01b0316141561134f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610618565b6001600160a01b0383811660008181526101006020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6113c884848461105d565b6113d48484848461185e565b610cc55760405162461bcd60e51b8152600401610618906127a2565b60606113fb82610ee7565b600082815261012d6020526040812080546114159061268d565b80601f01602080910402602001604051908101604052809291908181526020018280546114419061268d565b801561148e5780601f106114635761010080835404028352916020019161148e565b820191906000526020600020905b81548152906001019060200180831161147157829003601f168201915b50505050509050600061149f611972565b90508051600014156114b2575092915050565b8151156114e45780826040516020016114cc9291906127f4565b60405160208183030381529060405292505050919050565b61105584611982565b60006104e4825490565b600054610100900460ff1661151e5760405162461bcd60e51b815260040161061890612823565b61089982826119e8565b600054610100900460ff1661154f5760405162461bcd60e51b815260040161061890612823565b565b60006001600160e01b03198216635a05180f60e01b14806104e457506104e482611a36565b61157e611a6b565b6001600160a01b038416158061159b57506001600160a01b038316155b6115fa5760405162461bcd60e51b815260206004820152602a60248201527f4372756d62733a204372756d6220746f6b656e7320617265206e6f6e2d7472616044820152696e736665727261626c6560b01b6064820152608401610618565b61160684848484611ab1565b506001600160a01b0392831660009081526101926020526040808220829055929093168352912055565b61163a8282610b27565b6108995761164781611b39565b611652836020611b4b565b60405160200161166392919061286e565b60408051601f198184030181529082905262461bcd60e51b825261061891600401612334565b6116938282610b27565b6108995760008281526065602090815260408083206001600160a01b03851684529091529020805460ff191660011790556116cc610f46565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610b20836001600160a01b038416611ce7565b61172f8282610b27565b156108995760008281526065602090815260408083206001600160a01b03851684529091529020805460ff19169055611766610f46565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6000610b20836001600160a01b038416611d36565b6117c881611e29565b600081815261012d6020526040902080546117e29061268d565b15905061097157600081815261012d602052604081206109719161225e565b6000826000018281548110611818576118186128e3565b9060005260206000200154905092915050565b6118358383611ecc565b611842600084848461185e565b6106cb5760405162461bcd60e51b8152600401610618906127a2565b60006001600160a01b0384163b1561196757836001600160a01b031663150b7a02611887610f46565b8786866040518563ffffffff1660e01b81526004016118a994939291906128f9565b602060405180830381600087803b1580156118c357600080fd5b505af19250505080156118f3575060408051601f3d908101601f191682019092526118f091810190612936565b60015b61194d573d808015611921576040519150601f19603f3d011682016040523d82523d6000602084013e611926565b606091505b5080516119455760405162461bcd60e51b8152600401610618906127a2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611055565b506001949350505050565b606061019480546104f99061268d565b606061198d82610ee7565b6000611997611972565b905060008151116119b75760405180602001604052806000815250610b20565b806119c184612065565b6040516020016119d29291906127f4565b6040516020818303038152906040529392505050565b600054610100900460ff16611a0f5760405162461bcd60e51b815260040161061890612823565b8151611a229060fb9060208501906121da565b5080516106cb9060fc9060208401906121da565b60006001600160e01b03198216637965db0b60e01b14806104e457506301ffc9a760e01b6001600160e01b03198316146104e4565b60c95460ff161561154f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610618565b6001811115610cc5576001600160a01b03841615611af7576001600160a01b038416600090815260fe602052604081208054839290611af1908490612953565b90915550505b6001600160a01b03831615610cc5576001600160a01b038316600090815260fe602052604081208054839290611b2e90849061296a565b909155505050505050565b60606104e46001600160a01b03831660145b60606000611b5a836002612982565b611b6590600261296a565b67ffffffffffffffff811115611b7d57611b7d612429565b6040519080825280601f01601f191660200182016040528015611ba7576020820181803683370190505b509050600360fc1b81600081518110611bc257611bc26128e3565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611bf157611bf16128e3565b60200101906001600160f81b031916908160001a9053506000611c15846002612982565b611c2090600161296a565b90505b6001811115611c98576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611c5457611c546128e3565b1a60f81b828281518110611c6a57611c6a6128e3565b60200101906001600160f81b031916908160001a90535060049490941c93611c918161272b565b9050611c23565b508315610b205760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610618565b6000818152600183016020526040812054611d2e575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104e4565b5060006104e4565b60008181526001830160205260408120548015611e1f576000611d5a600183612953565b8554909150600090611d6e90600190612953565b9050818114611dd3576000866000018281548110611d8e57611d8e6128e3565b9060005260206000200154905080876000018481548110611db157611db16128e3565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611de457611de46129a1565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506104e4565b60009150506104e4565b6000611e3482610993565b9050611e44816000846001611576565b611e4d82610993565b600083815260ff6020908152604080832080546001600160a01b03199081169091556001600160a01b03851680855260fe8452828520805460001901905587855260fd909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b038216611f225760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610618565b600081815260fd60205260409020546001600160a01b031615611f875760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610618565b611f95600083836001611576565b600081815260fd60205260409020546001600160a01b031615611ffa5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610618565b6001600160a01b038216600081815260fe602090815260408083208054600101905584835260fd90915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060600061207283612102565b600101905060008167ffffffffffffffff81111561209257612092612429565b6040519080825280601f01601f1916602001820160405280156120bc576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846120f5576120fa565b6120c6565b509392505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106121415772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061216d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061218b57662386f26fc10000830492506010015b6305f5e10083106121a3576305f5e100830492506008015b61271083106121b757612710830492506004015b606483106121c9576064830492506002015b600a83106104e45760010192915050565b8280546121e69061268d565b90600052602060002090601f016020900481019282612208576000855561224e565b82601f1061222157805160ff191683800117855561224e565b8280016001018555821561224e579182015b8281111561224e578251825591602001919060010190612233565b5061225a929150612294565b5090565b50805461226a9061268d565b6000825580601f1061227a575050565b601f01602090049060005260206000209081019061097191905b5b8082111561225a5760008155600101612295565b6001600160e01b03198116811461097157600080fd5b6000602082840312156122d157600080fd5b8135610b20816122a9565b60005b838110156122f75781810151838201526020016122df565b83811115610cc55750506000910152565b600081518084526123208160208601602086016122dc565b601f01601f19169290920160200192915050565b602081526000610b206020830184612308565b60006020828403121561235957600080fd5b5035919050565b80356001600160a01b038116811461237757600080fd5b919050565b6000806040838503121561238f57600080fd5b61239883612360565b946020939093013593505050565b6000602082840312156123b857600080fd5b610b2082612360565b6000806000606084860312156123d657600080fd5b6123df84612360565b92506123ed60208501612360565b9150604084013590509250925092565b6000806040838503121561241057600080fd5b8235915061242060208401612360565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561245a5761245a612429565b604051601f8501601f19908116603f0116810190828211818310171561248257612482612429565b8160405280935085815286868601111561249b57600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126124c657600080fd5b610b208383356020850161243f565b600080604083850312156124e857600080fd5b82359150602083013567ffffffffffffffff81111561250657600080fd5b612512858286016124b5565b9150509250929050565b60006020828403121561252e57600080fd5b813567ffffffffffffffff81111561254557600080fd5b611055848285016124b5565b6000806040838503121561256457600080fd5b50508035926020909101359150565b6000806040838503121561258657600080fd5b61258f83612360565b9150602083013580151581146125a457600080fd5b809150509250929050565b600080600080608085870312156125c557600080fd5b6125ce85612360565b93506125dc60208601612360565b925060408501359150606085013567ffffffffffffffff8111156125ff57600080fd5b8501601f8101871361261057600080fd5b61261f8782356020840161243f565b91505092959194509250565b6000806040838503121561263e57600080fd5b61264783612360565b915061242060208401612360565b6000806040838503121561266857600080fd5b61267183612360565b9150602083013567ffffffffffffffff81111561250657600080fd5b600181811c908216806126a157607f821691505b602082108114156126c257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008161273a5761273a612715565b506000190190565b600060001982141561275657612756612715565b5060010190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600083516128068184602088016122dc565b83519083019061281a8183602088016122dc565b01949350505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516128a68160178501602088016122dc565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516128d78160288401602088016122dc565b01602801949350505050565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061292c90830184612308565b9695505050505050565b60006020828403121561294857600080fd5b8151610b20816122a9565b60008282101561296557612965612715565b500390565b6000821982111561297d5761297d612715565b500190565b600081600019048311821515161561299c5761299c612715565b500290565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220738b550052279653654435c5ca2994d537056088fa969fd3c2c302489ee999df64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}},11881:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={_format:"hh-sol-artifact-1",contractName:"Reward",sourceName:"contracts/testing/Reward.sol",abi:[{inputs:[{internalType:"string",name:"name",type:"string"},{internalType:"string",name:"symbol",type:"string"},{internalType:"string",name:"baseUri",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"approved",type:"address"},{indexed:!0,internalType:"uint256",name:"tokenId",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"operator",type:"address"},{indexed:!1,internalType:"bool",name:"approved",type:"bool"}],name:"ApprovalForAll",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"previousAdminRole",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"newAdminRole",type:"bytes32"}],name:"RoleAdminChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!0,internalType:"address",name:"sender",type:"address"}],name:"RoleGranted",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!0,internalType:"address",name:"sender",type:"address"}],name:"RoleRevoked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!0,internalType:"uint256",name:"tokenId",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[],name:"DEFAULT_ADMIN_ROLE",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"MINTER_ROLE",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"domain",type:"string"}],name:"addDomain",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"approve",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"baseURI",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"uint256",name:"",type:"uint256"}],name:"domains",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"getApproved",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[],name:"getDomains",outputs:[{internalType:"string[]",name:"domainsArr",type:"string[]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"}],name:"getRoleAdmin",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"grantRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"hasRole",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"operator",type:"address"}],name:"isApprovedForAll",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"ownerOf",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"domain",type:"string"}],name:"removeDomain",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"renounceRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"revokeRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"to",type:"address"}],name:"safeMint",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"safeTransferFrom",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}],name:"safeTransferFrom",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"operator",type:"address"},{internalType:"bool",name:"approved",type:"bool"}],name:"setApprovalForAll",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"newBaseURI",type:"string"}],name:"setBaseURI",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes4",name:"interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"tokenURI",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"transferFrom",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b5060405162002c5538038062002c55833981016040819052620000349162000586565b8251839083906200004d90600090602085019062000406565b5080516200006390600190602084019062000406565b506200007591506000905033620000a4565b6200009060008051602062002c3583398151915233620000a4565b6200009b8162000149565b50505062000785565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16620001455760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001043390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60008051602062002c3583398151915262000164816200017e565b81516200017990600890602085019062000406565b505050565b6200018a81336200018d565b50565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff166200014557620001ce816200022860201b62000faf1760201c565b620001e483602062000fc162000246821b17811c565b604051602001620001f792919062000617565b60408051601f198184030181529082905262461bcd60e51b82526200021f9160040162000690565b60405180910390fd5b6060620002406001600160a01b038316601462000246565b92915050565b6060600062000257836002620006db565b62000264906002620006fd565b6001600160401b038111156200027e576200027e620004ac565b6040519080825280601f01601f191660200182016040528015620002a9576020820181803683370190505b509050600360fc1b81600081518110620002c757620002c762000718565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110620002f957620002f962000718565b60200101906001600160f81b031916908160001a90535060006200031f846002620006db565b6200032c906001620006fd565b90505b6001811115620003ae576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811062000364576200036462000718565b1a60f81b8282815181106200037d576200037d62000718565b60200101906001600160f81b031916908160001a90535060049490941c93620003a6816200072e565b90506200032f565b508315620003ff5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016200021f565b9392505050565b828054620004149062000748565b90600052602060002090601f01602090048101928262000438576000855562000483565b82601f106200045357805160ff191683800117855562000483565b8280016001018555821562000483579182015b828111156200048357825182559160200191906001019062000466565b506200049192915062000495565b5090565b5b8082111562000491576000815560010162000496565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004df578181015183820152602001620004c5565b83811115620004ef576000848401525b50505050565b600082601f8301126200050757600080fd5b81516001600160401b0380821115620005245762000524620004ac565b604051601f8301601f19908116603f011681019082821181831017156200054f576200054f620004ac565b816040528381528660208588010111156200056957600080fd5b6200057c846020830160208901620004c2565b9695505050505050565b6000806000606084860312156200059c57600080fd5b83516001600160401b0380821115620005b457600080fd5b620005c287838801620004f5565b94506020860151915080821115620005d957600080fd5b620005e787838801620004f5565b93506040860151915080821115620005fe57600080fd5b506200060d86828701620004f5565b9150509250925092565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835162000651816017850160208801620004c2565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835162000684816028840160208801620004c2565b01602801949350505050565b6020815260008251806020840152620006b1816040850160208701620004c2565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615620006f857620006f8620006c5565b500290565b60008219821115620007135762000713620006c5565b500190565b634e487b7160e01b600052603260045260246000fd5b600081620007405762000740620006c5565b506000190190565b600181811c908216806200075d57607f821691505b602082108114156200077f57634e487b7160e01b600052602260045260246000fd5b50919050565b6124a080620007956000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80636352211e116100f9578063a217fddf11610097578063c87b56dd11610071578063c87b56dd146103c1578063d5391393146103d4578063d547741f146103fb578063e985e9c51461040e57600080fd5b8063a217fddf14610393578063a22cb4651461039b578063b88d4fde146103ae57600080fd5b806370a08231116100d357806370a08231146103505780639101cc651461036357806391d148541461037857806395d89b411461038b57600080fd5b80636352211e1461032257806366cf8fab146103355780636c0360eb1461034857600080fd5b80632f2ff15d1161016657806342842e0e1161014057806342842e0e146102d657806342966c68146102e957806344e2e74c146102fc57806355f804b31461030f57600080fd5b80632f2ff15d1461029d57806336568abe146102b057806340d097c3146102c357600080fd5b8063095ea7b3116101a2578063095ea7b314610231578063227789291461024657806323b872dd14610259578063248a9ca31461026c57600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063081812fc14610206575b600080fd5b6101dc6101d7366004611de7565b61044a565b60405190151581526020015b60405180910390f35b6101f961045b565b6040516101e89190611e5c565b610219610214366004611e6f565b6104ed565b6040516001600160a01b0390911681526020016101e8565b61024461023f366004611ea4565b610514565b005b610244610254366004611f5a565b61062f565b610244610267366004611fa3565b610898565b61028f61027a366004611e6f565b60009081526006602052604090206001015490565b6040519081526020016101e8565b6102446102ab366004611fdf565b6108ca565b6102446102be366004611fdf565b6108ef565b6102446102d136600461200b565b61096d565b6102446102e4366004611fa3565b6109bc565b6102446102f7366004611e6f565b6109d7565b61024461030a366004611f5a565b610a08565b61024461031d366004611f5a565b610bf7565b610219610330366004611e6f565b610c34565b6101f9610343366004611e6f565b610c94565b6101f9610d40565b61028f61035e36600461200b565b610d4d565b61036b610dd3565b6040516101e89190612026565b6101dc610386366004611fdf565b610eac565b6101f9610ed7565b61028f600081565b6102446103a9366004612088565b610ee6565b6102446103bc3660046120c4565b610ef1565b6101f96103cf366004611e6f565b610f23565b61028f7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610244610409366004611fdf565b610f8a565b6101dc61041c366004612140565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006104558261115d565b92915050565b60606000805461046a9061216a565b80601f01602080910402602001604051908101604052809291908181526020018280546104969061216a565b80156104e35780601f106104b8576101008083540402835291602001916104e3565b820191906000526020600020905b8154815290600101906020018083116104c657829003601f168201915b5050505050905090565b60006104f882611182565b506000908152600460205260409020546001600160a01b031690565b600061051f82610c34565b9050806001600160a01b0316836001600160a01b031614156105925760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806105ae57506105ae813361041c565b6106205760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610589565b61062a83836111e1565b505050565b600061063a8161124f565b60006009805480602002602001604051908101604052809291908181526020016000905b8282101561070a57838290600052602060002001805461067d9061216a565b80601f01602080910402602001604051908101604052809291908181526020018280546106a99061216a565b80156106f65780601f106106cb576101008083540402835291602001916106f6565b820191906000526020600020905b8154815290600101906020018083116106d957829003601f168201915b50505050508152602001906001019061065e565b5050505090506000805b600954811015610833578460405160200161072f91906121a5565b60405160208183030381529060405280519060200120838281518110610757576107576121c1565b602002602001015160405160200161076f91906121a5565b60405160208183030381529060405280519060200120141561082b576009805461079b906001906121ed565b815481106107ab576107ab6121c1565b90600052602060002001600982815481106107c8576107c86121c1565b906000526020600020019080546107de9061216a565b6107e9929190611c83565b5060098054806107fb576107fb612204565b6001900381819060005260206000200160006108179190611d0e565b9055816108238161221a565b925050610833565b600101610714565b5060008160ff16116108925760405162461bcd60e51b815260206004820152602260248201527f526577617264203a20446f6d61696e206973206e6f7420696e20746865206c696044820152611cdd60f21b6064820152608401610589565b50505050565b6108a3335b82611259565b6108bf5760405162461bcd60e51b81526004016105899061223a565b61062a8383836112d8565b6000828152600660205260409020600101546108e58161124f565b61062a8383611449565b6001600160a01b038116331461095f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610589565b61096982826114cf565b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66109978161124f565b60006109a260075490565b90506109b2600780546001019055565b61062a8382611536565b61062a83838360405180602001604052806000815250610ef1565b6109e03361089d565b6109fc5760405162461bcd60e51b81526004016105899061223a565b610a0581611550565b50565b6000610a138161124f565b60006009805480602002602001604051908101604052809291908181526020016000905b82821015610ae3578382906000526020600020018054610a569061216a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a829061216a565b8015610acf5780601f10610aa457610100808354040283529160200191610acf565b820191906000526020600020905b815481529060010190602001808311610ab257829003601f168201915b505050505081526020019060010190610a37565b50505050905060005b600954811015610bb35783604051602001610b0791906121a5565b60405160208183030381529060405280519060200120828281518110610b2f57610b2f6121c1565b6020026020010151604051602001610b4791906121a5565b604051602081830303815290604052805190602001201415610bab5760405162461bcd60e51b815260206004820152601d60248201527f526577617264203a20446f6d61696e20616c72656164792061646465640000006044820152606401610589565b600101610aec565b50600980546001810182556000919091528351610892917f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01906020860190611d48565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610c218161124f565b815161062a906008906020850190611d48565b6000818152600260205260408120546001600160a01b0316806104555760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610589565b60098181548110610ca457600080fd5b906000526020600020016000915090508054610cbf9061216a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ceb9061216a565b8015610d385780601f10610d0d57610100808354040283529160200191610d38565b820191906000526020600020905b815481529060010190602001808311610d1b57829003601f168201915b505050505081565b60088054610cbf9061216a565b60006001600160a01b038216610db75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610589565b506001600160a01b031660009081526003602052604090205490565b60606009805480602002602001604051908101604052809291908181526020016000905b82821015610ea3578382906000526020600020018054610e169061216a565b80601f0160208091040260200160405190810160405280929190818152602001828054610e429061216a565b8015610e8f5780601f10610e6457610100808354040283529160200191610e8f565b820191906000526020600020905b815481529060010190602001808311610e7257829003601f168201915b505050505081526020019060010190610df7565b50505050905090565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606001805461046a9061216a565b6109693383836115f3565b610efb3383611259565b610f175760405162461bcd60e51b81526004016105899061223a565b610892848484846116c2565b6060610f2e82611182565b6000610f386116f5565b90506000815111610f585760405180602001604052806000815250610f83565b80610f6284611704565b604051602001610f73929190612287565b6040516020818303038152906040525b9392505050565b600082815260066020526040902060010154610fa58161124f565b61062a83836114cf565b60606104556001600160a01b03831660145b60606000610fd08360026122b6565b610fdb9060026122d5565b67ffffffffffffffff811115610ff357610ff3611ece565b6040519080825280601f01601f19166020018201604052801561101d576020820181803683370190505b509050600360fc1b81600081518110611038576110386121c1565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611067576110676121c1565b60200101906001600160f81b031916908160001a905350600061108b8460026122b6565b6110969060016122d5565b90505b600181111561110e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106110ca576110ca6121c1565b1a60f81b8282815181106110e0576110e06121c1565b60200101906001600160f81b031916908160001a90535060049490941c93611107816122ed565b9050611099565b508315610f835760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610589565b60006001600160e01b03198216637965db0b60e01b14806104555750610455826117a1565b6000818152600260205260409020546001600160a01b0316610a055760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610589565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061121682610c34565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610a0581336117f1565b60008061126583610c34565b9050806001600160a01b0316846001600160a01b031614806112ac57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806112d05750836001600160a01b03166112c5846104ed565b6001600160a01b0316145b949350505050565b826001600160a01b03166112eb82610c34565b6001600160a01b0316146113115760405162461bcd60e51b815260040161058990612304565b6001600160a01b0382166113735760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610589565b611380838383600161184a565b826001600160a01b031661139382610c34565b6001600160a01b0316146113b95760405162461bcd60e51b815260040161058990612304565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6114538282610eac565b6109695760008281526006602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561148b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6114d98282610eac565b156109695760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6109698282604051806020016040528060008152506118d2565b600061155b82610c34565b905061156b81600084600161184a565b61157482610c34565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b816001600160a01b0316836001600160a01b031614156116555760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610589565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6116cd8484846112d8565b6116d984848484611905565b6108925760405162461bcd60e51b815260040161058990612349565b60606008805461046a9061216a565b6060600061171183611a12565b600101905060008167ffffffffffffffff81111561173157611731611ece565b6040519080825280601f01601f19166020018201604052801561175b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461179457611799565b611765565b509392505050565b60006001600160e01b031982166380ac58cd60e01b14806117d257506001600160e01b03198216635b5e139f60e01b145b8061045557506301ffc9a760e01b6001600160e01b0319831614610455565b6117fb8282610eac565b6109695761180881610faf565b611813836020610fc1565b60405160200161182492919061239b565b60408051601f198184030181529082905262461bcd60e51b825261058991600401611e5c565b6001811115610892576001600160a01b03841615611890576001600160a01b0384166000908152600360205260408120805483929061188a9084906121ed565b90915550505b6001600160a01b03831615610892576001600160a01b038316600090815260036020526040812080548392906118c79084906122d5565b909155505050505050565b6118dc8383611aea565b6118e96000848484611905565b61062a5760405162461bcd60e51b815260040161058990612349565b60006001600160a01b0384163b15611a0757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611949903390899088908890600401612410565b602060405180830381600087803b15801561196357600080fd5b505af1925050508015611993575060408051601f3d908101601f191682019092526119909181019061244d565b60015b6119ed573d8080156119c1576040519150601f19603f3d011682016040523d82523d6000602084013e6119c6565b606091505b5080516119e55760405162461bcd60e51b815260040161058990612349565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506112d0565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611a515772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611a7d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611a9b57662386f26fc10000830492506010015b6305f5e1008310611ab3576305f5e100830492506008015b6127108310611ac757612710830492506004015b60648310611ad9576064830492506002015b600a83106104555760010192915050565b6001600160a01b038216611b405760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610589565b6000818152600260205260409020546001600160a01b031615611ba55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610589565b611bb360008383600161184a565b6000818152600260205260409020546001600160a01b031615611c185760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610589565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611c8f9061216a565b90600052602060002090601f016020900481019282611cb15760008555611cfe565b82601f10611cc25780548555611cfe565b82800160010185558215611cfe57600052602060002091601f016020900482015b82811115611cfe578254825591600101919060010190611ce3565b50611d0a929150611dbc565b5090565b508054611d1a9061216a565b6000825580601f10611d2a575050565b601f016020900490600052602060002090810190610a059190611dbc565b828054611d549061216a565b90600052602060002090601f016020900481019282611d765760008555611cfe565b82601f10611d8f57805160ff1916838001178555611cfe565b82800160010185558215611cfe579182015b82811115611cfe578251825591602001919060010190611da1565b5b80821115611d0a5760008155600101611dbd565b6001600160e01b031981168114610a0557600080fd5b600060208284031215611df957600080fd5b8135610f8381611dd1565b60005b83811015611e1f578181015183820152602001611e07565b838111156108925750506000910152565b60008151808452611e48816020860160208601611e04565b601f01601f19169290920160200192915050565b602081526000610f836020830184611e30565b600060208284031215611e8157600080fd5b5035919050565b80356001600160a01b0381168114611e9f57600080fd5b919050565b60008060408385031215611eb757600080fd5b611ec083611e88565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611eff57611eff611ece565b604051601f8501601f19908116603f01168101908282118183101715611f2757611f27611ece565b81604052809350858152868686011115611f4057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f6c57600080fd5b813567ffffffffffffffff811115611f8357600080fd5b8201601f81018413611f9457600080fd5b6112d084823560208401611ee4565b600080600060608486031215611fb857600080fd5b611fc184611e88565b9250611fcf60208501611e88565b9150604084013590509250925092565b60008060408385031215611ff257600080fd5b8235915061200260208401611e88565b90509250929050565b60006020828403121561201d57600080fd5b610f8382611e88565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561207b57603f19888603018452612069858351611e30565b9450928501929085019060010161204d565b5092979650505050505050565b6000806040838503121561209b57600080fd5b6120a483611e88565b9150602083013580151581146120b957600080fd5b809150509250929050565b600080600080608085870312156120da57600080fd5b6120e385611e88565b93506120f160208601611e88565b925060408501359150606085013567ffffffffffffffff81111561211457600080fd5b8501601f8101871361212557600080fd5b61213487823560208401611ee4565b91505092959194509250565b6000806040838503121561215357600080fd5b61215c83611e88565b915061200260208401611e88565b600181811c9082168061217e57607f821691505b6020821081141561219f57634e487b7160e01b600052602260045260246000fd5b50919050565b600082516121b7818460208701611e04565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156121ff576121ff6121d7565b500390565b634e487b7160e01b600052603160045260246000fd5b600060ff821660ff811415612231576122316121d7565b60010192915050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60008351612299818460208801611e04565b8351908301906122ad818360208801611e04565b01949350505050565b60008160001904831182151516156122d0576122d06121d7565b500290565b600082198211156122e8576122e86121d7565b500190565b6000816122fc576122fc6121d7565b506000190190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516123d3816017850160208801611e04565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612404816028840160208801611e04565b01602801949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061244390830184611e30565b9695505050505050565b60006020828403121561245f57600080fd5b8151610f8381611dd156fea2646970667358221220e0a5785539db615e28145b2481327bc78a46e48232605b151b5bc9f225bdcbbc64736f6c634300080900339f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80636352211e116100f9578063a217fddf11610097578063c87b56dd11610071578063c87b56dd146103c1578063d5391393146103d4578063d547741f146103fb578063e985e9c51461040e57600080fd5b8063a217fddf14610393578063a22cb4651461039b578063b88d4fde146103ae57600080fd5b806370a08231116100d357806370a08231146103505780639101cc651461036357806391d148541461037857806395d89b411461038b57600080fd5b80636352211e1461032257806366cf8fab146103355780636c0360eb1461034857600080fd5b80632f2ff15d1161016657806342842e0e1161014057806342842e0e146102d657806342966c68146102e957806344e2e74c146102fc57806355f804b31461030f57600080fd5b80632f2ff15d1461029d57806336568abe146102b057806340d097c3146102c357600080fd5b8063095ea7b3116101a2578063095ea7b314610231578063227789291461024657806323b872dd14610259578063248a9ca31461026c57600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063081812fc14610206575b600080fd5b6101dc6101d7366004611de7565b61044a565b60405190151581526020015b60405180910390f35b6101f961045b565b6040516101e89190611e5c565b610219610214366004611e6f565b6104ed565b6040516001600160a01b0390911681526020016101e8565b61024461023f366004611ea4565b610514565b005b610244610254366004611f5a565b61062f565b610244610267366004611fa3565b610898565b61028f61027a366004611e6f565b60009081526006602052604090206001015490565b6040519081526020016101e8565b6102446102ab366004611fdf565b6108ca565b6102446102be366004611fdf565b6108ef565b6102446102d136600461200b565b61096d565b6102446102e4366004611fa3565b6109bc565b6102446102f7366004611e6f565b6109d7565b61024461030a366004611f5a565b610a08565b61024461031d366004611f5a565b610bf7565b610219610330366004611e6f565b610c34565b6101f9610343366004611e6f565b610c94565b6101f9610d40565b61028f61035e36600461200b565b610d4d565b61036b610dd3565b6040516101e89190612026565b6101dc610386366004611fdf565b610eac565b6101f9610ed7565b61028f600081565b6102446103a9366004612088565b610ee6565b6102446103bc3660046120c4565b610ef1565b6101f96103cf366004611e6f565b610f23565b61028f7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b610244610409366004611fdf565b610f8a565b6101dc61041c366004612140565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006104558261115d565b92915050565b60606000805461046a9061216a565b80601f01602080910402602001604051908101604052809291908181526020018280546104969061216a565b80156104e35780601f106104b8576101008083540402835291602001916104e3565b820191906000526020600020905b8154815290600101906020018083116104c657829003601f168201915b5050505050905090565b60006104f882611182565b506000908152600460205260409020546001600160a01b031690565b600061051f82610c34565b9050806001600160a01b0316836001600160a01b031614156105925760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806105ae57506105ae813361041c565b6106205760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610589565b61062a83836111e1565b505050565b600061063a8161124f565b60006009805480602002602001604051908101604052809291908181526020016000905b8282101561070a57838290600052602060002001805461067d9061216a565b80601f01602080910402602001604051908101604052809291908181526020018280546106a99061216a565b80156106f65780601f106106cb576101008083540402835291602001916106f6565b820191906000526020600020905b8154815290600101906020018083116106d957829003601f168201915b50505050508152602001906001019061065e565b5050505090506000805b600954811015610833578460405160200161072f91906121a5565b60405160208183030381529060405280519060200120838281518110610757576107576121c1565b602002602001015160405160200161076f91906121a5565b60405160208183030381529060405280519060200120141561082b576009805461079b906001906121ed565b815481106107ab576107ab6121c1565b90600052602060002001600982815481106107c8576107c86121c1565b906000526020600020019080546107de9061216a565b6107e9929190611c83565b5060098054806107fb576107fb612204565b6001900381819060005260206000200160006108179190611d0e565b9055816108238161221a565b925050610833565b600101610714565b5060008160ff16116108925760405162461bcd60e51b815260206004820152602260248201527f526577617264203a20446f6d61696e206973206e6f7420696e20746865206c696044820152611cdd60f21b6064820152608401610589565b50505050565b6108a3335b82611259565b6108bf5760405162461bcd60e51b81526004016105899061223a565b61062a8383836112d8565b6000828152600660205260409020600101546108e58161124f565b61062a8383611449565b6001600160a01b038116331461095f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610589565b61096982826114cf565b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66109978161124f565b60006109a260075490565b90506109b2600780546001019055565b61062a8382611536565b61062a83838360405180602001604052806000815250610ef1565b6109e03361089d565b6109fc5760405162461bcd60e51b81526004016105899061223a565b610a0581611550565b50565b6000610a138161124f565b60006009805480602002602001604051908101604052809291908181526020016000905b82821015610ae3578382906000526020600020018054610a569061216a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a829061216a565b8015610acf5780601f10610aa457610100808354040283529160200191610acf565b820191906000526020600020905b815481529060010190602001808311610ab257829003601f168201915b505050505081526020019060010190610a37565b50505050905060005b600954811015610bb35783604051602001610b0791906121a5565b60405160208183030381529060405280519060200120828281518110610b2f57610b2f6121c1565b6020026020010151604051602001610b4791906121a5565b604051602081830303815290604052805190602001201415610bab5760405162461bcd60e51b815260206004820152601d60248201527f526577617264203a20446f6d61696e20616c72656164792061646465640000006044820152606401610589565b600101610aec565b50600980546001810182556000919091528351610892917f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af01906020860190611d48565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610c218161124f565b815161062a906008906020850190611d48565b6000818152600260205260408120546001600160a01b0316806104555760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610589565b60098181548110610ca457600080fd5b906000526020600020016000915090508054610cbf9061216a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ceb9061216a565b8015610d385780601f10610d0d57610100808354040283529160200191610d38565b820191906000526020600020905b815481529060010190602001808311610d1b57829003601f168201915b505050505081565b60088054610cbf9061216a565b60006001600160a01b038216610db75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610589565b506001600160a01b031660009081526003602052604090205490565b60606009805480602002602001604051908101604052809291908181526020016000905b82821015610ea3578382906000526020600020018054610e169061216a565b80601f0160208091040260200160405190810160405280929190818152602001828054610e429061216a565b8015610e8f5780601f10610e6457610100808354040283529160200191610e8f565b820191906000526020600020905b815481529060010190602001808311610e7257829003601f168201915b505050505081526020019060010190610df7565b50505050905090565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606001805461046a9061216a565b6109693383836115f3565b610efb3383611259565b610f175760405162461bcd60e51b81526004016105899061223a565b610892848484846116c2565b6060610f2e82611182565b6000610f386116f5565b90506000815111610f585760405180602001604052806000815250610f83565b80610f6284611704565b604051602001610f73929190612287565b6040516020818303038152906040525b9392505050565b600082815260066020526040902060010154610fa58161124f565b61062a83836114cf565b60606104556001600160a01b03831660145b60606000610fd08360026122b6565b610fdb9060026122d5565b67ffffffffffffffff811115610ff357610ff3611ece565b6040519080825280601f01601f19166020018201604052801561101d576020820181803683370190505b509050600360fc1b81600081518110611038576110386121c1565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611067576110676121c1565b60200101906001600160f81b031916908160001a905350600061108b8460026122b6565b6110969060016122d5565b90505b600181111561110e576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106110ca576110ca6121c1565b1a60f81b8282815181106110e0576110e06121c1565b60200101906001600160f81b031916908160001a90535060049490941c93611107816122ed565b9050611099565b508315610f835760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610589565b60006001600160e01b03198216637965db0b60e01b14806104555750610455826117a1565b6000818152600260205260409020546001600160a01b0316610a055760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610589565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061121682610c34565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610a0581336117f1565b60008061126583610c34565b9050806001600160a01b0316846001600160a01b031614806112ac57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806112d05750836001600160a01b03166112c5846104ed565b6001600160a01b0316145b949350505050565b826001600160a01b03166112eb82610c34565b6001600160a01b0316146113115760405162461bcd60e51b815260040161058990612304565b6001600160a01b0382166113735760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610589565b611380838383600161184a565b826001600160a01b031661139382610c34565b6001600160a01b0316146113b95760405162461bcd60e51b815260040161058990612304565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6114538282610eac565b6109695760008281526006602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561148b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6114d98282610eac565b156109695760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6109698282604051806020016040528060008152506118d2565b600061155b82610c34565b905061156b81600084600161184a565b61157482610c34565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526003845282852080546000190190558785526002909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b816001600160a01b0316836001600160a01b031614156116555760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610589565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6116cd8484846112d8565b6116d984848484611905565b6108925760405162461bcd60e51b815260040161058990612349565b60606008805461046a9061216a565b6060600061171183611a12565b600101905060008167ffffffffffffffff81111561173157611731611ece565b6040519080825280601f01601f19166020018201604052801561175b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461179457611799565b611765565b509392505050565b60006001600160e01b031982166380ac58cd60e01b14806117d257506001600160e01b03198216635b5e139f60e01b145b8061045557506301ffc9a760e01b6001600160e01b0319831614610455565b6117fb8282610eac565b6109695761180881610faf565b611813836020610fc1565b60405160200161182492919061239b565b60408051601f198184030181529082905262461bcd60e51b825261058991600401611e5c565b6001811115610892576001600160a01b03841615611890576001600160a01b0384166000908152600360205260408120805483929061188a9084906121ed565b90915550505b6001600160a01b03831615610892576001600160a01b038316600090815260036020526040812080548392906118c79084906122d5565b909155505050505050565b6118dc8383611aea565b6118e96000848484611905565b61062a5760405162461bcd60e51b815260040161058990612349565b60006001600160a01b0384163b15611a0757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611949903390899088908890600401612410565b602060405180830381600087803b15801561196357600080fd5b505af1925050508015611993575060408051601f3d908101601f191682019092526119909181019061244d565b60015b6119ed573d8080156119c1576040519150601f19603f3d011682016040523d82523d6000602084013e6119c6565b606091505b5080516119e55760405162461bcd60e51b815260040161058990612349565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506112d0565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611a515772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611a7d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611a9b57662386f26fc10000830492506010015b6305f5e1008310611ab3576305f5e100830492506008015b6127108310611ac757612710830492506004015b60648310611ad9576064830492506002015b600a83106104555760010192915050565b6001600160a01b038216611b405760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610589565b6000818152600260205260409020546001600160a01b031615611ba55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610589565b611bb360008383600161184a565b6000818152600260205260409020546001600160a01b031615611c185760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610589565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611c8f9061216a565b90600052602060002090601f016020900481019282611cb15760008555611cfe565b82601f10611cc25780548555611cfe565b82800160010185558215611cfe57600052602060002091601f016020900482015b82811115611cfe578254825591600101919060010190611ce3565b50611d0a929150611dbc565b5090565b508054611d1a9061216a565b6000825580601f10611d2a575050565b601f016020900490600052602060002090810190610a059190611dbc565b828054611d549061216a565b90600052602060002090601f016020900481019282611d765760008555611cfe565b82601f10611d8f57805160ff1916838001178555611cfe565b82800160010185558215611cfe579182015b82811115611cfe578251825591602001919060010190611da1565b5b80821115611d0a5760008155600101611dbd565b6001600160e01b031981168114610a0557600080fd5b600060208284031215611df957600080fd5b8135610f8381611dd1565b60005b83811015611e1f578181015183820152602001611e07565b838111156108925750506000910152565b60008151808452611e48816020860160208601611e04565b601f01601f19169290920160200192915050565b602081526000610f836020830184611e30565b600060208284031215611e8157600080fd5b5035919050565b80356001600160a01b0381168114611e9f57600080fd5b919050565b60008060408385031215611eb757600080fd5b611ec083611e88565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611eff57611eff611ece565b604051601f8501601f19908116603f01168101908282118183101715611f2757611f27611ece565b81604052809350858152868686011115611f4057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f6c57600080fd5b813567ffffffffffffffff811115611f8357600080fd5b8201601f81018413611f9457600080fd5b6112d084823560208401611ee4565b600080600060608486031215611fb857600080fd5b611fc184611e88565b9250611fcf60208501611e88565b9150604084013590509250925092565b60008060408385031215611ff257600080fd5b8235915061200260208401611e88565b90509250929050565b60006020828403121561201d57600080fd5b610f8382611e88565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561207b57603f19888603018452612069858351611e30565b9450928501929085019060010161204d565b5092979650505050505050565b6000806040838503121561209b57600080fd5b6120a483611e88565b9150602083013580151581146120b957600080fd5b809150509250929050565b600080600080608085870312156120da57600080fd5b6120e385611e88565b93506120f160208601611e88565b925060408501359150606085013567ffffffffffffffff81111561211457600080fd5b8501601f8101871361212557600080fd5b61213487823560208401611ee4565b91505092959194509250565b6000806040838503121561215357600080fd5b61215c83611e88565b915061200260208401611e88565b600181811c9082168061217e57607f821691505b6020821081141561219f57634e487b7160e01b600052602260045260246000fd5b50919050565b600082516121b7818460208701611e04565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156121ff576121ff6121d7565b500390565b634e487b7160e01b600052603160045260246000fd5b600060ff821660ff811415612231576122316121d7565b60010192915050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60008351612299818460208801611e04565b8351908301906122ad818360208801611e04565b01949350505050565b60008160001904831182151516156122d0576122d06121d7565b500290565b600082198211156122e8576122e86121d7565b500190565b6000816122fc576122fc6121d7565b506000190190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516123d3816017850160208801611e04565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612404816028840160208801611e04565b01602801949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061244390830184611e30565b9695505050505050565b60006020828403121561245f57600080fd5b8151610f8381611dd156fea2646970667358221220e0a5785539db615e28145b2481327bc78a46e48232605b151b5bc9f225bdcbbc64736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}},58991:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={abi:[{inputs:[{internalType:"string",name:"domain",type:"string"}],name:"addDomain",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"getDomains",outputs:[{internalType:"string[]",name:"domainsArr",type:"string[]"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"domain",type:"string"}],name:"removeDomain",outputs:[],stateMutability:"nonpayable",type:"function"}]}},45393:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={_format:"hh-sol-artifact-1",contractName:"MinimalForwarderUpgradeable",sourceName:"@openzeppelin/contracts-upgradeable/metatx/MinimalForwarderUpgradeable.sol",abi:[{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{inputs:[{components:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gas",type:"uint256"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct MinimalForwarderUpgradeable.ForwardRequest",name:"req",type:"tuple"},{internalType:"bytes",name:"signature",type:"bytes"}],name:"execute",outputs:[{internalType:"bool",name:"",type:"bool"},{internalType:"bytes",name:"",type:"bytes"}],stateMutability:"payable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"}],name:"getNonce",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{components:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"value",type:"uint256"},{internalType:"uint256",name:"gas",type:"uint256"},{internalType:"uint256",name:"nonce",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}],internalType:"struct MinimalForwarderUpgradeable.ForwardRequest",name:"req",type:"tuple"},{internalType:"bytes",name:"signature",type:"bytes"}],name:"verify",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"}],bytecode:"0x608060405234801561001057600080fd5b50610aa0806100206000396000f3fe6080604052600436106100345760003560e01c80632d0335ab1461003957806347153f8214610082578063bf5d3bdb146100a3575b600080fd5b34801561004557600080fd5b5061006f610054366004610838565b6001600160a01b031660009081526035602052604090205490565b6040519081526020015b60405180910390f35b610095610090366004610868565b6100d3565b604051610079929190610937565b3480156100af57600080fd5b506100c36100be366004610868565b61026d565b6040519015158152602001610079565b600060606100e285858561026d565b61014e5760405162461bcd60e51b815260206004820152603260248201527f4d696e696d616c466f727761726465723a207369676e617475726520646f6573604482015271081b9bdd081b585d18da081c995c5d595cdd60721b60648201526084015b60405180910390fd5b61015d60808601356001610973565b6035600061016e6020890189610838565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506000808660200160208101906101a89190610838565b6001600160a01b0316606088013560408901356101c860a08b018b610999565b6101d560208d018d610838565b6040516020016101e7939291906109e0565b60408051601f198184030181529082905261020191610a06565b600060405180830381858888f193505050503d806000811461023f576040519150601f19603f3d011682016040523d82523d6000602084013e610244565b606091505b509092509050610259603f6060890135610a22565b5a1161026157fe5b90969095509350505050565b60008061038084848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061037a92507fdd8f4b70b0f4393e889bd39128a30628a78b61816a9eb8199759e7a349657e4891506102dd905060208a018a610838565b6102ed60408b0160208c01610838565b60408b013560608c013560808d013561030960a08f018f610999565b604051610317929190610a44565b6040805191829003822060208301989098526001600160a01b0396871690820152949093166060850152608084019190915260a083015260c082015260e081019190915261010001604051602081830303815290604052805190602001206103ec565b90610440565b90506080850135603560006103986020890189610838565b6001600160a01b03166001600160a01b03168152602001908152602001600020541480156103e357506103ce6020860186610838565b6001600160a01b0316816001600160a01b0316145b95945050505050565b600061043a6103f9610464565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b92915050565b600080600061044f85856104e4565b9150915061045c81610554565b509392505050565b60006104df7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f61049360015490565b6002546040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b905090565b60008082516041141561051b5760208301516040840151606085015160001a61050f87828585610712565b9450945050505061054d565b825160401415610545576020830151604084015161053a8683836107ff565b93509350505061054d565b506000905060025b9250929050565b600081600481111561056857610568610a54565b14156105715750565b600181600481111561058557610585610a54565b14156105d35760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610145565b60028160048111156105e7576105e7610a54565b14156106355760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610145565b600381600481111561064957610649610a54565b14156106a25760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610145565b60048160048111156106b6576106b6610a54565b141561070f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610145565b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561074957506000905060036107f6565b8460ff16601b1415801561076157508460ff16601c14155b1561077257506000905060046107f6565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156107c6573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166107ef576000600192509250506107f6565b9150600090505b94509492505050565b6000806001600160ff1b0383168161081c60ff86901c601b610973565b905061082a87828885610712565b935093505050935093915050565b60006020828403121561084a57600080fd5b81356001600160a01b038116811461086157600080fd5b9392505050565b60008060006040848603121561087d57600080fd5b833567ffffffffffffffff8082111561089557600080fd5b9085019060c082880312156108a957600080fd5b909350602085013590808211156108bf57600080fd5b818601915086601f8301126108d357600080fd5b8135818111156108e257600080fd5b8760208285010111156108f457600080fd5b6020830194508093505050509250925092565b60005b8381101561092257818101518382015260200161090a565b83811115610931576000848401525b50505050565b8215158152604060208201526000825180604084015261095e816060850160208701610907565b601f01601f1916919091016060019392505050565b6000821982111561099457634e487b7160e01b600052601160045260246000fd5b500190565b6000808335601e198436030181126109b057600080fd5b83018035915067ffffffffffffffff8211156109cb57600080fd5b60200191503681900382131561054d57600080fd5b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b60008251610a18818460208701610907565b9190910192915050565b600082610a3f57634e487b7160e01b600052601260045260246000fd5b500490565b8183823760009101908152919050565b634e487b7160e01b600052602160045260246000fdfea264697066735822122049d6f882f13ae129cb28bdda0d42d186f21f1e867cbf7cb42882f6726aa590b564736f6c63430008090033",deployedBytecode:"0x6080604052600436106100345760003560e01c80632d0335ab1461003957806347153f8214610082578063bf5d3bdb146100a3575b600080fd5b34801561004557600080fd5b5061006f610054366004610838565b6001600160a01b031660009081526035602052604090205490565b6040519081526020015b60405180910390f35b610095610090366004610868565b6100d3565b604051610079929190610937565b3480156100af57600080fd5b506100c36100be366004610868565b61026d565b6040519015158152602001610079565b600060606100e285858561026d565b61014e5760405162461bcd60e51b815260206004820152603260248201527f4d696e696d616c466f727761726465723a207369676e617475726520646f6573604482015271081b9bdd081b585d18da081c995c5d595cdd60721b60648201526084015b60405180910390fd5b61015d60808601356001610973565b6035600061016e6020890189610838565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506000808660200160208101906101a89190610838565b6001600160a01b0316606088013560408901356101c860a08b018b610999565b6101d560208d018d610838565b6040516020016101e7939291906109e0565b60408051601f198184030181529082905261020191610a06565b600060405180830381858888f193505050503d806000811461023f576040519150601f19603f3d011682016040523d82523d6000602084013e610244565b606091505b509092509050610259603f6060890135610a22565b5a1161026157fe5b90969095509350505050565b60008061038084848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061037a92507fdd8f4b70b0f4393e889bd39128a30628a78b61816a9eb8199759e7a349657e4891506102dd905060208a018a610838565b6102ed60408b0160208c01610838565b60408b013560608c013560808d013561030960a08f018f610999565b604051610317929190610a44565b6040805191829003822060208301989098526001600160a01b0396871690820152949093166060850152608084019190915260a083015260c082015260e081019190915261010001604051602081830303815290604052805190602001206103ec565b90610440565b90506080850135603560006103986020890189610838565b6001600160a01b03166001600160a01b03168152602001908152602001600020541480156103e357506103ce6020860186610838565b6001600160a01b0316816001600160a01b0316145b95945050505050565b600061043a6103f9610464565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b92915050565b600080600061044f85856104e4565b9150915061045c81610554565b509392505050565b60006104df7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f61049360015490565b6002546040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b905090565b60008082516041141561051b5760208301516040840151606085015160001a61050f87828585610712565b9450945050505061054d565b825160401415610545576020830151604084015161053a8683836107ff565b93509350505061054d565b506000905060025b9250929050565b600081600481111561056857610568610a54565b14156105715750565b600181600481111561058557610585610a54565b14156105d35760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610145565b60028160048111156105e7576105e7610a54565b14156106355760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610145565b600381600481111561064957610649610a54565b14156106a25760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610145565b60048160048111156106b6576106b6610a54565b141561070f5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610145565b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561074957506000905060036107f6565b8460ff16601b1415801561076157508460ff16601c14155b1561077257506000905060046107f6565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156107c6573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166107ef576000600192509250506107f6565b9150600090505b94509492505050565b6000806001600160ff1b0383168161081c60ff86901c601b610973565b905061082a87828885610712565b935093505050935093915050565b60006020828403121561084a57600080fd5b81356001600160a01b038116811461086157600080fd5b9392505050565b60008060006040848603121561087d57600080fd5b833567ffffffffffffffff8082111561089557600080fd5b9085019060c082880312156108a957600080fd5b909350602085013590808211156108bf57600080fd5b818601915086601f8301126108d357600080fd5b8135818111156108e257600080fd5b8760208285010111156108f457600080fd5b6020830194508093505050509250925092565b60005b8381101561092257818101518382015260200161090a565b83811115610931576000848401525b50505050565b8215158152604060208201526000825180604084015261095e816060850160208701610907565b601f01601f1916919091016060019392505050565b6000821982111561099457634e487b7160e01b600052601160045260246000fd5b500190565b6000808335601e198436030181126109b057600080fd5b83018035915067ffffffffffffffff8211156109cb57600080fd5b60200191503681900382131561054d57600080fd5b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b60008251610a18818460208701610907565b9190910192915050565b600082610a3f57634e487b7160e01b600052601260045260246000fd5b500490565b8183823760009101908152919050565b634e487b7160e01b600052602160045260246000fdfea264697066735822122049d6f882f13ae129cb28bdda0d42d186f21f1e867cbf7cb42882f6726aa590b564736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}},48131:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={_format:"hh-sol-artifact-1",contractName:"Sift",sourceName:"contracts/registry/Sift.sol",abi:[{inputs:[{internalType:"string",name:"baseURInew",type:"string"}],stateMutability:"nonpayable",type:"constructor"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"approved",type:"address"},{indexed:!0,internalType:"uint256",name:"tokenId",type:"uint256"}],name:"Approval",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"owner",type:"address"},{indexed:!0,internalType:"address",name:"operator",type:"address"},{indexed:!1,internalType:"bool",name:"approved",type:"bool"}],name:"ApprovalForAll",type:"event"},{anonymous:!1,inputs:[{indexed:!1,internalType:"uint8",name:"version",type:"uint8"}],name:"Initialized",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"previousAdminRole",type:"bytes32"},{indexed:!0,internalType:"bytes32",name:"newAdminRole",type:"bytes32"}],name:"RoleAdminChanged",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!0,internalType:"address",name:"sender",type:"address"}],name:"RoleGranted",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"bytes32",name:"role",type:"bytes32"},{indexed:!0,internalType:"address",name:"account",type:"address"},{indexed:!0,internalType:"address",name:"sender",type:"address"}],name:"RoleRevoked",type:"event"},{anonymous:!1,inputs:[{indexed:!0,internalType:"address",name:"from",type:"address"},{indexed:!0,internalType:"address",name:"to",type:"address"},{indexed:!0,internalType:"uint256",name:"tokenId",type:"uint256"}],name:"Transfer",type:"event"},{inputs:[],name:"DEFAULT_ADMIN_ROLE",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[],name:"VERIFIER_ROLE",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"approve",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"}],name:"balanceOf",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[],name:"baseURI",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"burn",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"url",type:"string"}],name:"checkURL",outputs:[{internalType:"string",name:"result",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"getApproved",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"}],name:"getRoleAdmin",outputs:[{internalType:"bytes32",name:"",type:"bytes32"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"uint256",name:"index",type:"uint256"}],name:"getRoleMember",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"}],name:"getRoleMemberCount",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"grantRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"hasRole",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"baseURI_",type:"string"}],name:"initialize",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"owner",type:"address"},{internalType:"address",name:"operator",type:"address"}],name:"isApprovedForAll",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"url",type:"string"},{internalType:"address",name:"owner",type:"address"}],name:"maliciousURL",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[],name:"name",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"ownerOf",outputs:[{internalType:"address",name:"",type:"address"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"renounceRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"role",type:"bytes32"},{internalType:"address",name:"account",type:"address"}],name:"revokeRole",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"safeTransferFrom",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"},{internalType:"bytes",name:"data",type:"bytes"}],name:"safeTransferFrom",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"address",name:"operator",type:"address"},{internalType:"bool",name:"approved",type:"bool"}],name:"setApprovalForAll",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"string",name:"newURI",type:"string"}],name:"setBaseURI",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes4",name:"interfaceId",type:"bytes4"}],name:"supportsInterface",outputs:[{internalType:"bool",name:"",type:"bool"}],stateMutability:"view",type:"function"},{inputs:[],name:"symbol",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"tokenURI",outputs:[{internalType:"string",name:"",type:"string"}],stateMutability:"view",type:"function"},{inputs:[],name:"totalSupply",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"address",name:"from",type:"address"},{internalType:"address",name:"to",type:"address"},{internalType:"uint256",name:"tokenId",type:"uint256"}],name:"transferFrom",outputs:[],stateMutability:"nonpayable",type:"function"},{inputs:[{internalType:"bytes32",name:"",type:"bytes32"}],name:"urlToTokenId",outputs:[{internalType:"uint256",name:"",type:"uint256"}],stateMutability:"view",type:"function"},{inputs:[{internalType:"string",name:"url",type:"string"},{internalType:"address",name:"owner",type:"address"}],name:"verifyURL",outputs:[],stateMutability:"nonpayable",type:"function"}],bytecode:"0x60806040523480156200001157600080fd5b506040516200327438038062003274833981016040819052620000349162000846565b6200003f8162000046565b5062000a6c565b600054610100900460ff1615808015620000675750600054600160ff909116105b8062000097575062000084306200021160201b62000d1d1760201c565b15801562000097575060005460ff166001145b620001005760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6000805460ff19166001179055801562000124576000805461ff0019166101001790555b6200016e6040518060400160405280600481526020016314da599d60e21b8152506040518060400160405280600481526020016314d2519560e21b8152506200022060201b60201c565b6200017862000288565b6200018262000288565b6200018f600033620002e6565b620001bb7f0ce23c3e399818cfee81a7ab0880f714e53d7672b08df0fa62f2843416e1ea0933620002e6565b620001c6826200032a565b80156200020d576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050565b6001600160a01b03163b151590565b600054610100900460ff166200027c5760405162461bcd60e51b815260206004820152602b60248201526000805160206200325483398151915260448201526a6e697469616c697a696e6760a81b6064820152608401620000f7565b6200020d82826200034d565b600054610100900460ff16620002e45760405162461bcd60e51b815260206004820152602b60248201526000805160206200325483398151915260448201526a6e697469616c697a696e6760a81b6064820152608401620000f7565b565b620002fd8282620003d460201b62000d2c1760201c565b600082815261012d602090815260409091206200032591839062000db262000478821b17901c565b505050565b6000620003378162000498565b8151620003259061016190602085019062000757565b600054610100900460ff16620003a95760405162461bcd60e51b815260206004820152602b60248201526000805160206200325483398151915260448201526a6e697469616c697a696e6760a81b6064820152608401620000f7565b8151620003be90606590602085019062000757565b5080516200032590606690602084019062000757565b600082815260fb602090815260408083206001600160a01b038516845290915290205460ff166200020d57600082815260fb602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620004343390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60006200048f836001600160a01b038416620004a7565b90505b92915050565b620004a48133620004f9565b50565b6000818152600183016020526040812054620004f05750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000492565b50600062000492565b600082815260fb602090815260408083206001600160a01b038516845290915290205460ff166200020d576200053a816200058b60201b62000dc71760201c565b6200055083602062000dd96200059e821b17811c565b60405160200162000563929190620008fe565b60408051601f198184030181529082905262461bcd60e51b8252620000f79160040162000977565b6060620004926001600160a01b03831660145b60606000620005af836002620009c2565b620005bc906002620009e4565b6001600160401b03811115620005d657620005d6620007fd565b6040519080825280601f01601f19166020018201604052801562000601576020820181803683370190505b509050600360fc1b816000815181106200061f576200061f620009ff565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110620006515762000651620009ff565b60200101906001600160f81b031916908160001a905350600062000677846002620009c2565b62000684906001620009e4565b90505b600181111562000706576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110620006bc57620006bc620009ff565b1a60f81b828281518110620006d557620006d5620009ff565b60200101906001600160f81b031916908160001a90535060049490941c93620006fe8162000a15565b905062000687565b5083156200048f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401620000f7565b828054620007659062000a2f565b90600052602060002090601f016020900481019282620007895760008555620007d4565b82601f10620007a457805160ff1916838001178555620007d4565b82800160010185558215620007d4579182015b82811115620007d4578251825591602001919060010190620007b7565b50620007e2929150620007e6565b5090565b5b80821115620007e25760008155600101620007e7565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200083057818101518382015260200162000816565b8381111562000840576000848401525b50505050565b6000602082840312156200085957600080fd5b81516001600160401b03808211156200087157600080fd5b818401915084601f8301126200088657600080fd5b8151818111156200089b576200089b620007fd565b604051601f8201601f19908116603f01168101908382118183101715620008c657620008c6620007fd565b81604052828152876020848701011115620008e057600080fd5b620008f383602083016020880162000813565b979650505050505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516200093881601785016020880162000813565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516200096b81602884016020880162000813565b01602801949350505050565b60208152600082518060208401526200099881604085016020870162000813565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615620009df57620009df620009ac565b500290565b60008219821115620009fa57620009fa620009ac565b500190565b634e487b7160e01b600052603260045260246000fd5b60008162000a275762000a27620009ac565b506000190190565b600181811c9082168062000a4457607f821691505b6020821081141562000a6657634e487b7160e01b600052602260045260246000fd5b50919050565b6127d88062000a7c6000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c806370a082311161010f578063b88d4fde116100a2578063d547741f11610071578063d547741f1461041e578063e7705db614610431578063e985e9c514610458578063f62d18881461049457600080fd5b8063b88d4fde146103c4578063c87b56dd146103d7578063ca15c873146103ea578063ca3da15f146103fd57600080fd5b806391d14854116100de57806391d148541461038e57806395d89b41146103a1578063a217fddf146103a9578063a22cb465146103b157600080fd5b806370a08231146103425780637ec9a6f0146103555780638719a3b1146103685780639010d07c1461037b57600080fd5b80632f2ff15d1161018757806355f804b31161015657806355f804b3146103015780635c962100146103145780636352211e146103275780636c0360eb1461033a57600080fd5b80632f2ff15d146102b557806336568abe146102c857806342842e0e146102db57806342966c68146102ee57600080fd5b8063095ea7b3116101c3578063095ea7b31461025257806318160ddd1461026757806323b872dd1461027f578063248a9ca31461029257600080fd5b806301ffc9a7146101ea57806306fdde0314610212578063081812fc14610227575b600080fd5b6101fd6101f83660046120c8565b6104a7565b60405190151581526020015b60405180910390f35b61021a6104b8565b604051610209919061213d565b61023a610235366004612150565b61054a565b6040516001600160a01b039091168152602001610209565b610265610260366004612185565b610571565b005b6102716101625481565b604051908152602001610209565b61026561028d3660046121af565b61068c565b6102716102a0366004612150565b600090815260fb602052604090206001015490565b6102656102c33660046121eb565b6106be565b6102656102d63660046121eb565b6106e3565b6102656102e93660046121af565b610761565b6102656102fc366004612150565b61077c565b61026561030f3660046122c3565b6107ad565b6102656103223660046122f8565b6107cc565b61023a610335366004612150565b6107f8565b61021a610858565b61027161035036600461233d565b6108e7565b6102656103633660046122f8565b61096d565b61021a6103763660046122c3565b610a22565b61023a610389366004612358565b610aa6565b6101fd61039c3660046121eb565b610abf565b61021a610aea565b610271600081565b6102656103bf36600461237a565b610af9565b6102656103d23660046123b6565b610b04565b61021a6103e5366004612150565b610b3c565b6102716103f8366004612150565b610b47565b61027161040b366004612150565b6101606020526000908152604090205481565b61026561042c3660046121eb565b610b5f565b6102717f0ce23c3e399818cfee81a7ab0880f714e53d7672b08df0fa62f2843416e1ea0981565b6101fd610466366004612432565b6001600160a01b039182166000908152606a6020908152604080832093909416825291909152205460ff1690565b6102656104a23660046122c3565b610b84565b60006104b282610f75565b92915050565b6060606580546104c79061245c565b80601f01602080910402602001604051908101604052809291908181526020018280546104f39061245c565b80156105405780601f1061051557610100808354040283529160200191610540565b820191906000526020600020905b81548152906001019060200180831161052357829003601f168201915b5050505050905090565b600061055582610f9a565b506000908152606960205260409020546001600160a01b031690565b600061057c826107f8565b9050806001600160a01b0316836001600160a01b031614156105ef5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061060b575061060b8133610466565b61067d5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016105e6565b6106878383610ff9565b505050565b610697335b82611067565b6106b35760405162461bcd60e51b81526004016105e690612497565b6106878383836110e6565b600082815260fb60205260409020600101546106d981611257565b6106878383611261565b6001600160a01b03811633146107535760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105e6565b61075d8282611284565b5050565b61068783838360405180602001604052806000815250610b04565b61078533610691565b6107a15760405162461bcd60e51b81526004016105e690612497565b6107aa816112a7565b50565b60006107b881611257565b815161068790610161906020850190611fe3565b61075d81604051806040016040528060098152602001684d414c4943494f555360b81b815250846112c9565b6000818152606760205260408120546001600160a01b0316806104b25760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105e6565b61016180546108669061245c565b80601f01602080910402602001604051908101604052809291908181526020018280546108929061245c565b80156108df5780601f106108b4576101008083540402835291602001916108df565b820191906000526020600020905b8154815290600101906020018083116108c257829003601f168201915b505050505081565b60006001600160a01b0382166109515760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016105e6565b506001600160a01b031660009081526068602052604090205490565b61016060008360405160200161098391906124e4565b604051602081830303815290604052805190602001208152602001908152602001600020546000146109f75760405162461bcd60e51b815260206004820152601d60248201527f436f6e73656e743a2055524c20616c726561647920766572696669656400000060448201526064016105e6565b61075d8160405180604001604052806008815260200167159154925192515160c21b815250846112c9565b60606000610160600084604051602001610a3c91906124e4565b6040516020818303038152906040528051906020012081526020019081526020016000205490508060001415610a9657505060408051808201909152600c81526b1393d508159154925192515160a21b6020820152919050565b610a9f81610b3c565b9392505050565b600082815261012d60205260408120610a9f908361138e565b600091825260fb602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060606680546104c79061245c565b61075d33838361139a565b610b0e3383611067565b610b2a5760405162461bcd60e51b81526004016105e690612497565b610b3684848484611469565b50505050565b60606104b28261149c565b600081815261012d602052604081206104b290611598565b600082815260fb6020526040902060010154610b7a81611257565b6106878383611284565b600054610100900460ff1615808015610ba45750600054600160ff909116105b80610bbe5750303b158015610bbe575060005460ff166001145b610c215760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016105e6565b6000805460ff191660011790558015610c44576000805461ff0019166101001790555b610c866040518060400160405280600481526020016314da599d60e21b8152506040518060400160405280600481526020016314d2519560e21b8152506115a2565b610c8e6115d3565b610c966115d3565b610ca1600033611261565b610ccb7f0ce23c3e399818cfee81a7ab0880f714e53d7672b08df0fa62f2843416e1ea0933611261565b610cd4826107ad565b801561075d576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b6001600160a01b03163b151590565b610d368282610abf565b61075d57600082815260fb602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610d6e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610a9f836001600160a01b0384166115fc565b60606104b26001600160a01b03831660145b60606000610de8836002612516565b610df3906002612535565b67ffffffffffffffff811115610e0b57610e0b612217565b6040519080825280601f01601f191660200182016040528015610e35576020820181803683370190505b509050600360fc1b81600081518110610e5057610e5061254d565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610e7f57610e7f61254d565b60200101906001600160f81b031916908160001a9053506000610ea3846002612516565b610eae906001612535565b90505b6001811115610f26576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610ee257610ee261254d565b1a60f81b828281518110610ef857610ef861254d565b60200101906001600160f81b031916908160001a90535060049490941c93610f1f81612563565b9050610eb1565b508315610a9f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105e6565b60006001600160e01b03198216635a05180f60e01b14806104b257506104b28261164b565b6000818152606760205260409020546001600160a01b03166107aa5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105e6565b600081815260696020526040902080546001600160a01b0319166001600160a01b038416908117909155819061102e826107f8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611073836107f8565b9050806001600160a01b0316846001600160a01b031614806110ba57506001600160a01b038082166000908152606a602090815260408083209388168352929052205460ff165b806110de5750836001600160a01b03166110d38461054a565b6001600160a01b0316145b949350505050565b826001600160a01b03166110f9826107f8565b6001600160a01b03161461111f5760405162461bcd60e51b81526004016105e69061257a565b6001600160a01b0382166111815760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105e6565b61118e8383836001611670565b826001600160a01b03166111a1826107f8565b6001600160a01b0316146111c75760405162461bcd60e51b81526004016105e69061257a565b600081815260696020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260688552838620805460001901905590871680865283862080546001019055868652606790945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6107aa81336116f8565b61126b8282610d2c565b600082815261012d602052604090206106879082610db2565b61128e8282611751565b600082815261012d6020526040902061068790826117b8565b6112b0816117cd565b61016280549060006112c183612563565b919050555050565b7f0ce23c3e399818cfee81a7ab0880f714e53d7672b08df0fa62f2843416e1ea096112f381611257565b60006112ff61015f5490565b61130a906001612535565b905061131b61015f80546001019055565b611325858261180d565b61132f8185611827565b8061016060008560405160200161134691906124e4565b604051602081830303815290604052805190602001208152602001908152602001600020819055506101626000815480929190611382906125bf565b91905055505050505050565b6000610a9f83836118c1565b816001600160a01b0316836001600160a01b031614156113fc5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105e6565b6001600160a01b038381166000818152606a6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6114748484846110e6565b611480848484846118eb565b610b365760405162461bcd60e51b81526004016105e6906125da565b60606114a782610f9a565b600082815260976020526040812080546114c09061245c565b80601f01602080910402602001604051908101604052809291908181526020018280546114ec9061245c565b80156115395780601f1061150e57610100808354040283529160200191611539565b820191906000526020600020905b81548152906001019060200180831161151c57829003601f168201915b50505050509050600061154a6119f8565b905080516000141561155d575092915050565b81511561158f57808260405160200161157792919061262c565b60405160208183030381529060405292505050919050565b6110de84611a08565b60006104b2825490565b600054610100900460ff166115c95760405162461bcd60e51b81526004016105e69061265b565b61075d8282611a6e565b600054610100900460ff166115fa5760405162461bcd60e51b81526004016105e69061265b565b565b6000818152600183016020526040812054611643575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104b2565b5060006104b2565b60006001600160e01b03198216637965db0b60e01b14806104b257506104b282611abc565b6001811115610b36576001600160a01b038416156116b6576001600160a01b038416600090815260686020526040812080548392906116b09084906126a6565b90915550505b6001600160a01b03831615610b36576001600160a01b038316600090815260686020526040812080548392906116ed908490612535565b909155505050505050565b6117028282610abf565b61075d5761170f81610dc7565b61171a836020610dd9565b60405160200161172b9291906126bd565b60408051601f198184030181529082905262461bcd60e51b82526105e69160040161213d565b61175b8282610abf565b1561075d57600082815260fb602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610a9f836001600160a01b038416611b0c565b6117d681611bff565b600081815260976020526040902080546117ef9061245c565b1590506107aa5760008181526097602052604081206107aa91612067565b61075d828260405180602001604052806000815250611ca2565b6000828152606760205260409020546001600160a01b03166118a25760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016105e6565b6000828152609760209081526040909120825161068792840190611fe3565b60008260000182815481106118d8576118d861254d565b9060005260206000200154905092915050565b60006001600160a01b0384163b156119ed57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061192f903390899088908890600401612732565b602060405180830381600087803b15801561194957600080fd5b505af1925050508015611979575060408051601f3d908101601f191682019092526119769181019061276f565b60015b6119d3573d8080156119a7576040519150601f19603f3d011682016040523d82523d6000602084013e6119ac565b606091505b5080516119cb5760405162461bcd60e51b81526004016105e6906125da565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110de565b506001949350505050565b606061016180546104c79061245c565b6060611a1382610f9a565b6000611a1d6119f8565b90506000815111611a3d5760405180602001604052806000815250610a9f565b80611a4784611cd5565b604051602001611a5892919061262c565b6040516020818303038152906040529392505050565b600054610100900460ff16611a955760405162461bcd60e51b81526004016105e69061265b565b8151611aa8906065906020850190611fe3565b508051610687906066906020840190611fe3565b60006001600160e01b031982166380ac58cd60e01b1480611aed57506001600160e01b03198216635b5e139f60e01b145b806104b257506301ffc9a760e01b6001600160e01b03198316146104b2565b60008181526001830160205260408120548015611bf5576000611b306001836126a6565b8554909150600090611b44906001906126a6565b9050818114611ba9576000866000018281548110611b6457611b6461254d565b9060005260206000200154905080876000018481548110611b8757611b8761254d565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611bba57611bba61278c565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506104b2565b60009150506104b2565b6000611c0a826107f8565b9050611c1a816000846001611670565b611c23826107f8565b600083815260696020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526068845282852080546000190190558785526067909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b611cac8383611d72565b611cb960008484846118eb565b6106875760405162461bcd60e51b81526004016105e6906125da565b60606000611ce283611f0b565b600101905060008167ffffffffffffffff811115611d0257611d02612217565b6040519080825280601f01601f191660200182016040528015611d2c576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611d6557611d6a565b611d36565b509392505050565b6001600160a01b038216611dc85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105e6565b6000818152606760205260409020546001600160a01b031615611e2d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105e6565b611e3b600083836001611670565b6000818152606760205260409020546001600160a01b031615611ea05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105e6565b6001600160a01b038216600081815260686020908152604080832080546001019055848352606790915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611f4a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611f76576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611f9457662386f26fc10000830492506010015b6305f5e1008310611fac576305f5e100830492506008015b6127108310611fc057612710830492506004015b60648310611fd2576064830492506002015b600a83106104b25760010192915050565b828054611fef9061245c565b90600052602060002090601f0160209004810192826120115760008555612057565b82601f1061202a57805160ff1916838001178555612057565b82800160010185558215612057579182015b8281111561205757825182559160200191906001019061203c565b5061206392915061209d565b5090565b5080546120739061245c565b6000825580601f10612083575050565b601f0160209004906000526020600020908101906107aa91905b5b80821115612063576000815560010161209e565b6001600160e01b0319811681146107aa57600080fd5b6000602082840312156120da57600080fd5b8135610a9f816120b2565b60005b838110156121005781810151838201526020016120e8565b83811115610b365750506000910152565b600081518084526121298160208601602086016120e5565b601f01601f19169290920160200192915050565b602081526000610a9f6020830184612111565b60006020828403121561216257600080fd5b5035919050565b80356001600160a01b038116811461218057600080fd5b919050565b6000806040838503121561219857600080fd5b6121a183612169565b946020939093013593505050565b6000806000606084860312156121c457600080fd5b6121cd84612169565b92506121db60208501612169565b9150604084013590509250925092565b600080604083850312156121fe57600080fd5b8235915061220e60208401612169565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561224857612248612217565b604051601f8501601f19908116603f0116810190828211818310171561227057612270612217565b8160405280935085815286868601111561228957600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126122b457600080fd5b610a9f8383356020850161222d565b6000602082840312156122d557600080fd5b813567ffffffffffffffff8111156122ec57600080fd5b6110de848285016122a3565b6000806040838503121561230b57600080fd5b823567ffffffffffffffff81111561232257600080fd5b61232e858286016122a3565b92505061220e60208401612169565b60006020828403121561234f57600080fd5b610a9f82612169565b6000806040838503121561236b57600080fd5b50508035926020909101359150565b6000806040838503121561238d57600080fd5b61239683612169565b9150602083013580151581146123ab57600080fd5b809150509250929050565b600080600080608085870312156123cc57600080fd5b6123d585612169565b93506123e360208601612169565b925060408501359150606085013567ffffffffffffffff81111561240657600080fd5b8501601f8101871361241757600080fd5b6124268782356020840161222d565b91505092959194509250565b6000806040838503121561244557600080fd5b61244e83612169565b915061220e60208401612169565b600181811c9082168061247057607f821691505b6020821081141561249157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b600082516124f68184602087016120e5565b9190910192915050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561253057612530612500565b500290565b6000821982111561254857612548612500565b500190565b634e487b7160e01b600052603260045260246000fd5b60008161257257612572612500565b506000190190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60006000198214156125d3576125d3612500565b5060010190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000835161263e8184602088016120e5565b8351908301906126528183602088016120e5565b01949350505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6000828210156126b8576126b8612500565b500390565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516126f58160178501602088016120e5565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516127268160288401602088016120e5565b01602801949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061276590830184612111565b9695505050505050565b60006020828403121561278157600080fd5b8151610a9f816120b2565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220ec3f7d3d699ccf326ddfe95da6527af858ee2666b3fcb8acdad189bbd2534f2464736f6c63430008090033496e697469616c697a61626c653a20636f6e7472616374206973206e6f742069",deployedBytecode:"0x608060405234801561001057600080fd5b50600436106101e55760003560e01c806370a082311161010f578063b88d4fde116100a2578063d547741f11610071578063d547741f1461041e578063e7705db614610431578063e985e9c514610458578063f62d18881461049457600080fd5b8063b88d4fde146103c4578063c87b56dd146103d7578063ca15c873146103ea578063ca3da15f146103fd57600080fd5b806391d14854116100de57806391d148541461038e57806395d89b41146103a1578063a217fddf146103a9578063a22cb465146103b157600080fd5b806370a08231146103425780637ec9a6f0146103555780638719a3b1146103685780639010d07c1461037b57600080fd5b80632f2ff15d1161018757806355f804b31161015657806355f804b3146103015780635c962100146103145780636352211e146103275780636c0360eb1461033a57600080fd5b80632f2ff15d146102b557806336568abe146102c857806342842e0e146102db57806342966c68146102ee57600080fd5b8063095ea7b3116101c3578063095ea7b31461025257806318160ddd1461026757806323b872dd1461027f578063248a9ca31461029257600080fd5b806301ffc9a7146101ea57806306fdde0314610212578063081812fc14610227575b600080fd5b6101fd6101f83660046120c8565b6104a7565b60405190151581526020015b60405180910390f35b61021a6104b8565b604051610209919061213d565b61023a610235366004612150565b61054a565b6040516001600160a01b039091168152602001610209565b610265610260366004612185565b610571565b005b6102716101625481565b604051908152602001610209565b61026561028d3660046121af565b61068c565b6102716102a0366004612150565b600090815260fb602052604090206001015490565b6102656102c33660046121eb565b6106be565b6102656102d63660046121eb565b6106e3565b6102656102e93660046121af565b610761565b6102656102fc366004612150565b61077c565b61026561030f3660046122c3565b6107ad565b6102656103223660046122f8565b6107cc565b61023a610335366004612150565b6107f8565b61021a610858565b61027161035036600461233d565b6108e7565b6102656103633660046122f8565b61096d565b61021a6103763660046122c3565b610a22565b61023a610389366004612358565b610aa6565b6101fd61039c3660046121eb565b610abf565b61021a610aea565b610271600081565b6102656103bf36600461237a565b610af9565b6102656103d23660046123b6565b610b04565b61021a6103e5366004612150565b610b3c565b6102716103f8366004612150565b610b47565b61027161040b366004612150565b6101606020526000908152604090205481565b61026561042c3660046121eb565b610b5f565b6102717f0ce23c3e399818cfee81a7ab0880f714e53d7672b08df0fa62f2843416e1ea0981565b6101fd610466366004612432565b6001600160a01b039182166000908152606a6020908152604080832093909416825291909152205460ff1690565b6102656104a23660046122c3565b610b84565b60006104b282610f75565b92915050565b6060606580546104c79061245c565b80601f01602080910402602001604051908101604052809291908181526020018280546104f39061245c565b80156105405780601f1061051557610100808354040283529160200191610540565b820191906000526020600020905b81548152906001019060200180831161052357829003601f168201915b5050505050905090565b600061055582610f9a565b506000908152606960205260409020546001600160a01b031690565b600061057c826107f8565b9050806001600160a01b0316836001600160a01b031614156105ef5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061060b575061060b8133610466565b61067d5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c00000060648201526084016105e6565b6106878383610ff9565b505050565b610697335b82611067565b6106b35760405162461bcd60e51b81526004016105e690612497565b6106878383836110e6565b600082815260fb60205260409020600101546106d981611257565b6106878383611261565b6001600160a01b03811633146107535760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105e6565b61075d8282611284565b5050565b61068783838360405180602001604052806000815250610b04565b61078533610691565b6107a15760405162461bcd60e51b81526004016105e690612497565b6107aa816112a7565b50565b60006107b881611257565b815161068790610161906020850190611fe3565b61075d81604051806040016040528060098152602001684d414c4943494f555360b81b815250846112c9565b6000818152606760205260408120546001600160a01b0316806104b25760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105e6565b61016180546108669061245c565b80601f01602080910402602001604051908101604052809291908181526020018280546108929061245c565b80156108df5780601f106108b4576101008083540402835291602001916108df565b820191906000526020600020905b8154815290600101906020018083116108c257829003601f168201915b505050505081565b60006001600160a01b0382166109515760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016105e6565b506001600160a01b031660009081526068602052604090205490565b61016060008360405160200161098391906124e4565b604051602081830303815290604052805190602001208152602001908152602001600020546000146109f75760405162461bcd60e51b815260206004820152601d60248201527f436f6e73656e743a2055524c20616c726561647920766572696669656400000060448201526064016105e6565b61075d8160405180604001604052806008815260200167159154925192515160c21b815250846112c9565b60606000610160600084604051602001610a3c91906124e4565b6040516020818303038152906040528051906020012081526020019081526020016000205490508060001415610a9657505060408051808201909152600c81526b1393d508159154925192515160a21b6020820152919050565b610a9f81610b3c565b9392505050565b600082815261012d60205260408120610a9f908361138e565b600091825260fb602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060606680546104c79061245c565b61075d33838361139a565b610b0e3383611067565b610b2a5760405162461bcd60e51b81526004016105e690612497565b610b3684848484611469565b50505050565b60606104b28261149c565b600081815261012d602052604081206104b290611598565b600082815260fb6020526040902060010154610b7a81611257565b6106878383611284565b600054610100900460ff1615808015610ba45750600054600160ff909116105b80610bbe5750303b158015610bbe575060005460ff166001145b610c215760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016105e6565b6000805460ff191660011790558015610c44576000805461ff0019166101001790555b610c866040518060400160405280600481526020016314da599d60e21b8152506040518060400160405280600481526020016314d2519560e21b8152506115a2565b610c8e6115d3565b610c966115d3565b610ca1600033611261565b610ccb7f0ce23c3e399818cfee81a7ab0880f714e53d7672b08df0fa62f2843416e1ea0933611261565b610cd4826107ad565b801561075d576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b6001600160a01b03163b151590565b610d368282610abf565b61075d57600082815260fb602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610d6e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000610a9f836001600160a01b0384166115fc565b60606104b26001600160a01b03831660145b60606000610de8836002612516565b610df3906002612535565b67ffffffffffffffff811115610e0b57610e0b612217565b6040519080825280601f01601f191660200182016040528015610e35576020820181803683370190505b509050600360fc1b81600081518110610e5057610e5061254d565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110610e7f57610e7f61254d565b60200101906001600160f81b031916908160001a9053506000610ea3846002612516565b610eae906001612535565b90505b6001811115610f26576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110610ee257610ee261254d565b1a60f81b828281518110610ef857610ef861254d565b60200101906001600160f81b031916908160001a90535060049490941c93610f1f81612563565b9050610eb1565b508315610a9f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105e6565b60006001600160e01b03198216635a05180f60e01b14806104b257506104b28261164b565b6000818152606760205260409020546001600160a01b03166107aa5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016105e6565b600081815260696020526040902080546001600160a01b0319166001600160a01b038416908117909155819061102e826107f8565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611073836107f8565b9050806001600160a01b0316846001600160a01b031614806110ba57506001600160a01b038082166000908152606a602090815260408083209388168352929052205460ff165b806110de5750836001600160a01b03166110d38461054a565b6001600160a01b0316145b949350505050565b826001600160a01b03166110f9826107f8565b6001600160a01b03161461111f5760405162461bcd60e51b81526004016105e69061257a565b6001600160a01b0382166111815760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105e6565b61118e8383836001611670565b826001600160a01b03166111a1826107f8565b6001600160a01b0316146111c75760405162461bcd60e51b81526004016105e69061257a565b600081815260696020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260688552838620805460001901905590871680865283862080546001019055868652606790945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6107aa81336116f8565b61126b8282610d2c565b600082815261012d602052604090206106879082610db2565b61128e8282611751565b600082815261012d6020526040902061068790826117b8565b6112b0816117cd565b61016280549060006112c183612563565b919050555050565b7f0ce23c3e399818cfee81a7ab0880f714e53d7672b08df0fa62f2843416e1ea096112f381611257565b60006112ff61015f5490565b61130a906001612535565b905061131b61015f80546001019055565b611325858261180d565b61132f8185611827565b8061016060008560405160200161134691906124e4565b604051602081830303815290604052805190602001208152602001908152602001600020819055506101626000815480929190611382906125bf565b91905055505050505050565b6000610a9f83836118c1565b816001600160a01b0316836001600160a01b031614156113fc5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105e6565b6001600160a01b038381166000818152606a6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6114748484846110e6565b611480848484846118eb565b610b365760405162461bcd60e51b81526004016105e6906125da565b60606114a782610f9a565b600082815260976020526040812080546114c09061245c565b80601f01602080910402602001604051908101604052809291908181526020018280546114ec9061245c565b80156115395780601f1061150e57610100808354040283529160200191611539565b820191906000526020600020905b81548152906001019060200180831161151c57829003601f168201915b50505050509050600061154a6119f8565b905080516000141561155d575092915050565b81511561158f57808260405160200161157792919061262c565b60405160208183030381529060405292505050919050565b6110de84611a08565b60006104b2825490565b600054610100900460ff166115c95760405162461bcd60e51b81526004016105e69061265b565b61075d8282611a6e565b600054610100900460ff166115fa5760405162461bcd60e51b81526004016105e69061265b565b565b6000818152600183016020526040812054611643575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556104b2565b5060006104b2565b60006001600160e01b03198216637965db0b60e01b14806104b257506104b282611abc565b6001811115610b36576001600160a01b038416156116b6576001600160a01b038416600090815260686020526040812080548392906116b09084906126a6565b90915550505b6001600160a01b03831615610b36576001600160a01b038316600090815260686020526040812080548392906116ed908490612535565b909155505050505050565b6117028282610abf565b61075d5761170f81610dc7565b61171a836020610dd9565b60405160200161172b9291906126bd565b60408051601f198184030181529082905262461bcd60e51b82526105e69160040161213d565b61175b8282610abf565b1561075d57600082815260fb602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610a9f836001600160a01b038416611b0c565b6117d681611bff565b600081815260976020526040902080546117ef9061245c565b1590506107aa5760008181526097602052604081206107aa91612067565b61075d828260405180602001604052806000815250611ca2565b6000828152606760205260409020546001600160a01b03166118a25760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016105e6565b6000828152609760209081526040909120825161068792840190611fe3565b60008260000182815481106118d8576118d861254d565b9060005260206000200154905092915050565b60006001600160a01b0384163b156119ed57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061192f903390899088908890600401612732565b602060405180830381600087803b15801561194957600080fd5b505af1925050508015611979575060408051601f3d908101601f191682019092526119769181019061276f565b60015b6119d3573d8080156119a7576040519150601f19603f3d011682016040523d82523d6000602084013e6119ac565b606091505b5080516119cb5760405162461bcd60e51b81526004016105e6906125da565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110de565b506001949350505050565b606061016180546104c79061245c565b6060611a1382610f9a565b6000611a1d6119f8565b90506000815111611a3d5760405180602001604052806000815250610a9f565b80611a4784611cd5565b604051602001611a5892919061262c565b6040516020818303038152906040529392505050565b600054610100900460ff16611a955760405162461bcd60e51b81526004016105e69061265b565b8151611aa8906065906020850190611fe3565b508051610687906066906020840190611fe3565b60006001600160e01b031982166380ac58cd60e01b1480611aed57506001600160e01b03198216635b5e139f60e01b145b806104b257506301ffc9a760e01b6001600160e01b03198316146104b2565b60008181526001830160205260408120548015611bf5576000611b306001836126a6565b8554909150600090611b44906001906126a6565b9050818114611ba9576000866000018281548110611b6457611b6461254d565b9060005260206000200154905080876000018481548110611b8757611b8761254d565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611bba57611bba61278c565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506104b2565b60009150506104b2565b6000611c0a826107f8565b9050611c1a816000846001611670565b611c23826107f8565b600083815260696020908152604080832080546001600160a01b03199081169091556001600160a01b0385168085526068845282852080546000190190558785526067909352818420805490911690555192935084927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b611cac8383611d72565b611cb960008484846118eb565b6106875760405162461bcd60e51b81526004016105e6906125da565b60606000611ce283611f0b565b600101905060008167ffffffffffffffff811115611d0257611d02612217565b6040519080825280601f01601f191660200182016040528015611d2c576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611d6557611d6a565b611d36565b509392505050565b6001600160a01b038216611dc85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105e6565b6000818152606760205260409020546001600160a01b031615611e2d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105e6565b611e3b600083836001611670565b6000818152606760205260409020546001600160a01b031615611ea05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105e6565b6001600160a01b038216600081815260686020908152604080832080546001019055848352606790915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611f4a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611f76576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611f9457662386f26fc10000830492506010015b6305f5e1008310611fac576305f5e100830492506008015b6127108310611fc057612710830492506004015b60648310611fd2576064830492506002015b600a83106104b25760010192915050565b828054611fef9061245c565b90600052602060002090601f0160209004810192826120115760008555612057565b82601f1061202a57805160ff1916838001178555612057565b82800160010185558215612057579182015b8281111561205757825182559160200191906001019061203c565b5061206392915061209d565b5090565b5080546120739061245c565b6000825580601f10612083575050565b601f0160209004906000526020600020908101906107aa91905b5b80821115612063576000815560010161209e565b6001600160e01b0319811681146107aa57600080fd5b6000602082840312156120da57600080fd5b8135610a9f816120b2565b60005b838110156121005781810151838201526020016120e8565b83811115610b365750506000910152565b600081518084526121298160208601602086016120e5565b601f01601f19169290920160200192915050565b602081526000610a9f6020830184612111565b60006020828403121561216257600080fd5b5035919050565b80356001600160a01b038116811461218057600080fd5b919050565b6000806040838503121561219857600080fd5b6121a183612169565b946020939093013593505050565b6000806000606084860312156121c457600080fd5b6121cd84612169565b92506121db60208501612169565b9150604084013590509250925092565b600080604083850312156121fe57600080fd5b8235915061220e60208401612169565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561224857612248612217565b604051601f8501601f19908116603f0116810190828211818310171561227057612270612217565b8160405280935085815286868601111561228957600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126122b457600080fd5b610a9f8383356020850161222d565b6000602082840312156122d557600080fd5b813567ffffffffffffffff8111156122ec57600080fd5b6110de848285016122a3565b6000806040838503121561230b57600080fd5b823567ffffffffffffffff81111561232257600080fd5b61232e858286016122a3565b92505061220e60208401612169565b60006020828403121561234f57600080fd5b610a9f82612169565b6000806040838503121561236b57600080fd5b50508035926020909101359150565b6000806040838503121561238d57600080fd5b61239683612169565b9150602083013580151581146123ab57600080fd5b809150509250929050565b600080600080608085870312156123cc57600080fd5b6123d585612169565b93506123e360208601612169565b925060408501359150606085013567ffffffffffffffff81111561240657600080fd5b8501601f8101871361241757600080fd5b6124268782356020840161222d565b91505092959194509250565b6000806040838503121561244557600080fd5b61244e83612169565b915061220e60208401612169565b600181811c9082168061247057607f821691505b6020821081141561249157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b600082516124f68184602087016120e5565b9190910192915050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561253057612530612500565b500290565b6000821982111561254857612548612500565b500190565b634e487b7160e01b600052603260045260246000fd5b60008161257257612572612500565b506000190190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60006000198214156125d3576125d3612500565b5060010190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000835161263e8184602088016120e5565b8351908301906126528183602088016120e5565b01949350505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6000828210156126b8576126b8612500565b500390565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516126f58160178501602088016120e5565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516127268160288401602088016120e5565b01602801949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061276590830184612111565b9695505050505050565b60006020828403121561278157600080fd5b8151610a9f816120b2565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220ec3f7d3d699ccf326ddfe95da6527af858ee2666b3fcb8acdad189bbd2534f2464736f6c63430008090033",linkReferences:{},deployedLinkReferences:{}}},38772:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ContractsAbis=void 0;const i=n(r(45393)),a=n(r(75731)),o=n(r(95050)),s=n(r(49065)),c=n(r(58991)),u=n(r(11881)),l=n(r(48131));t.ContractsAbis={ConsentFactoryAbi:o.default,ConsentAbi:a.default,CrumbsAbi:s.default,MinimalForwarderAbi:i.default,SiftAbi:l.default,ERC721Reward:u.default,ERC7529Abi:c.default}},60926:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(69341),t),i(r(90267),t),i(r(88552),t),i(r(57317),t),i(r(74219),t),i(r(38772),t)},67866:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AESEncryptedString=void 0;t.AESEncryptedString=class{constructor(e,t){this.data=e,this.initializationVector=t}}},92791:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdContent=void 0;t.AdContent=class{constructor(e,t){this.type=e,this.src=t}}},44744:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AuthenticatedStorageSettings=void 0;t.AuthenticatedStorageSettings=class{constructor(e,t,r){this.type=e,this.path=t,this.refresh_token=r}}},11602:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackupStat=void 0;t.BackupStat=class{constructor(e,t,r,n){this.storageType=e,this.dataType=t,this.backupId=r,this.name=n}}},46731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ControlChainInformation=t.ChainInformation=t.NativeCurrencyInformation=void 0;const n=r(11594);t.NativeCurrencyInformation=class{constructor(e,t,r,n){this.name=e,this.decimals=t,this.symbol=r,this.coinGeckoId=n}};class i{constructor(e,t,r,n,i,a,o,s,c,u,l,f,d){this.name=e,this.chainId=t,this.chain=r,this.chainTechnology=n,this.isDev=i,this.networkName=a,this.averageBlockMiningTime=o,this.nativeCurrency=s,this.type=c,this.explorerURL=u,this.getExplorerURL=l,this.etherscanEndpointURL=f,this.coinGeckoSlug=d}}t.ChainInformation=i;t.ControlChainInformation=class extends i{constructor(e,t,r,i,a,o,s,c,u,l,f,d,b,h,p){super(e,t,r,i,a,o,s,c,u,l,(function(e){return l+e}),h?(0,n.URLString)(h):void 0,p),this.name=e,this.chainId=t,this.chain=r,this.chainTechnology=i,this.isDev=a,this.networkName=o,this.averageBlockMiningTime=s,this.nativeCurrency=c,this.type=u,this.explorerURL=l,this.consentFactoryContractAddress=f,this.crumbsContractAddress=d,this.metatransactionForwarderAddress=b,this.etherscanEndpointURL=h,this.coinGeckoSlug=p}}},36460:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChainSupportStatus=void 0;t.ChainSupportStatus=class{constructor(e,t,r,n){this.chain=e,this.transactions=t,this.nfts=r,this.balances=n}}},55149:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClickFilter=void 0;t.ClickFilter=class{constructor(e,t,r){this.urls=e,this.minTime=t,this.maxTime=r}}},99385:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EIndexerFunction=t.EProviderFunctions=t.ComponentStatus=void 0;t.ComponentStatus=class{constructor(e,t,r,n,i,a,o,s,c,u,l,f,d,b,h){this.primaryProvider=e,this.secondaryProvider=t,this.ankrIndexer=r,this.alchemyIndexer=n,this.covalentIndexer=i,this.etherscanIndexer=a,this.maticIndexer=o,this.moralisIndexer=s,this.nftScanIndexer=c,this.oklinkIndexer=u,this.poapIndexer=l,this.polygonIndexer=f,this.simulatorIndexer=d,this.solanaIndexer=b,this.blockvisionIndexer=h}};var r;t.EProviderFunctions=class{constructor(e,t,r){this.balances=e,this.nft=t,this.transactions=r}},function(e){e.Available="Available",e.Error="Error",e.NoKeyProvided="NoKeyProvided",e.Disabled="Disabled",e.InUse="In Use",e.TemporarilyDisabled="Temporarily Disabled"}(r||(t.EIndexerFunction=r={}))},20720:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConsentToken=void 0;t.ConsentToken=class{constructor(e,t,r,n){this.consentContractAddress=e,this.ownerAddress=t,this.tokenId=r,this.dataPermissions=n}}},38132:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CursorPagedResponse=void 0;t.CursorPagedResponse=class{constructor(e,t,r){this.response=e,this.cursor=t,this.pageSize=r}}},74500:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CursorPagingRequest=void 0;t.CursorPagingRequest=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20;this.cursor=e,this.pageSize=t}}},99591:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataPermissions=void 0;const n=r(37708),i=r(58610),a=r(11594);class o{constructor(e){this.agreementFlags=e;const t=n.utils.arrayify(e).length;if(32!=t)throw new Error("Invalid HexString32 passed to DataPermissions! Provided flags have ".concat(t," bytes and should have 32!"))}getFlags(){return this.agreementFlags}eq(e){return this.agreementFlags===e}contains(e){const t=n.utils.arrayify(this.agreementFlags),r=n.utils.arrayify(e.getFlags());for(let n=0;n<32;n++)if((t[n]&r[n])!=r[n])return!1;return!0}get Age(){return this.getFlag(i.EWalletDataType.Age)}get Gender(){return this.getFlag(i.EWalletDataType.Gender)}get GivenName(){return this.getFlag(i.EWalletDataType.GivenName)}get FamilyName(){return this.getFlag(i.EWalletDataType.FamilyName)}get Birthday(){return this.getFlag(i.EWalletDataType.Birthday)}get Email(){return this.getFlag(i.EWalletDataType.Email)}get Location(){return this.getFlag(i.EWalletDataType.Location)}get SiteVisits(){return this.getFlag(i.EWalletDataType.SiteVisits)}get EVMTransactions(){return this.getFlag(i.EWalletDataType.EVMTransactions)}get AccountBalances(){return this.getFlag(i.EWalletDataType.AccountBalances)}get AccountNFTs(){return this.getFlag(i.EWalletDataType.AccountNFTs)}get LatestBlockNumber(){return this.getFlag(i.EWalletDataType.LatestBlockNumber)}get Discord(){return this.getFlag(i.EWalletDataType.Discord)}get Twitter(){return this.getFlag(i.EWalletDataType.Twitter)}getFlag(e){const t=e%8;return(n.utils.arrayify(this.agreementFlags)[e/8|0]&1<0}static get allPermissionsHexString(){return(0,a.HexString32)("0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF")}static get permissionString(){return(0,a.HexString32)("0x111111111111111111111111111111111111111111111111111111111111111b")}static createWithAllPermissions(){return new o(o.allPermissionsHexString)}static createWithPermissions(e){const t=new Uint8Array(32);return e.forEach((e=>{const r=e%8;t[e/8|0]|=1<(t[r]&&(e=[...e,i.EWalletDataType[r]]),e)),[])}}t.DataPermissions=o},85227:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataWalletBackup=void 0;t.DataWalletBackup=class{constructor(e,t){this.header=e,this.blob=t}get id(){return this.header.hash}}},80550:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataWalletBackupHeader=void 0;const n=r(11594);t.DataWalletBackupHeader=class{constructor(e,t,r,n,i){this.hash=e,this.timestamp=t,this.priority=r,this.dataType=n,this.isField=i}get name(){const e=this._sanitizeDataType(this.dataType);return(0,n.BackupFileName)("".concat(this.priority,"_").concat(e,"_").concat(this.timestamp,"_").concat(this.hash,"_").concat(this.isField))}_sanitizeDataType(e){return e.replace("_","$")}}},24972:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVMEvent=void 0;t.EVMEvent=class{constructor(e,t,r,n,i,a,o,s,c,u,l){this.txHash=e,this.rawData=t,this.raw_log_topics=r,this.sender_contract_decimals=n,this.sender_name=i,this.sender_contract_ticker_symbol=a,this.sender_address=o,this.sender_address_label=s,this.sender_logo_url=c,this.raw_log_data=u,this.decoded=l}}},1254:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVMFunctionSignature=t.EVMFunctionParameter=void 0;t.EVMFunctionParameter=class{constructor(e,t,r){this.name=e,this.type=t,this.value=r}};t.EVMFunctionSignature=class{constructor(e,t,r){this.name=e,this.type=t,this.inputs=r}}},61324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVMNFT=void 0;const n=r(97205),i=r(58610);class a extends n.WalletNFT{constructor(e,t,r,n,a,o,s,c,u,l,f){super(i.EChainTechnology.EVM,u,n,e,c),this.token=e,this.tokenId=t,this.contractType=r,this.owner=n,this.tokenUri=a,this.metadata=o,this.amount=s,this.name=c,this.chain=u,this.blockNumber=l,this.lastOwnerTimeStamp=f}}t.EVMNFT=a},75696:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVMTimestampRange=void 0;const n=r(11594);class i{constructor(e,t){this.start=e,this.end=t}static fromString(e){return new i((0,n.UnixTimestamp)(Number(e.start)),(0,n.UnixTimestamp)(Number(e.end)))}}t.EVMTimestampRange=i},45475:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExternallyOwnedAccount=void 0;t.ExternallyOwnedAccount=class{constructor(e,t){this.accountAddress=e,this.privateKey=t}}},64768:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FieldDataUpdate=void 0;t.FieldDataUpdate=class{constructor(e,t,r){this.key=e,this.value=t,this.timestamp=r}}},23648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndexerSupportSummary=void 0;const n=r(58610);t.IndexerSupportSummary=class{constructor(e,t,r,n){this.chain=e,this.balances=t,this.transactions=r,this.nfts=n}static isMethodSupported(e,t){return t==n.EIndexerMethod.Balances?e.balances:t==n.EIndexerMethod.Transactions?e.transactions:t==n.EIndexerMethod.NFTs&&e.nfts}}},51206:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Insight=void 0;t.Insight=class{constructor(e,t){this.key=e,this.data=t}}},3686:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InsightWithProof=void 0;const n=r(11196),i=r(14510);t.InsightWithProof=class{constructor(e,t){this.insight=(0,n.InsightString)(JSON.stringify(e)),this.proof=(0,i.ProofString)(JSON.stringify(t))}}},7503:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Invitation=void 0;t.Invitation=class{constructor(e,t,r,n){this.consentContractAddress=e,this.tokenId=t,this.domain=r,this.businessSignature=n}}},45967:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarketplaceListing=void 0;t.MarketplaceListing=class{constructor(e,t,r,n,i,a,o){this.previous=e,this.next=t,this.consentContract=r,this.timeExpiring=n,this.cid=i,this.stakeAmount=a,this.tag=o}}},56233:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MetatransactionSignatureRequest=void 0;t.MetatransactionSignatureRequest=class{constructor(e,t,r,n,i,a){this.accountAddress=e,this.contractAddress=t,this.value=r,this.gas=n,this.data=i,this.callback=a}}},65997:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NftHolding=void 0;t.NftHolding=class{constructor(e,t,r,n){this.chain=e,this.tokenAddress=t,this.amount=r,this.name=n}}},37844:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OAuth2Tokens=void 0;t.OAuth2Tokens=class{constructor(e,t,r){this.accessToken=e,this.refreshToken=t,this.expiry=r}}},36316:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptInInfo=void 0;t.OptInInfo=class{constructor(e,t){this.consentContractAddress=e,this.tokenId=t}}},22219:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageInvitation=void 0;t.PageInvitation=class{constructor(e,t,r){this.url=e,this.invitation=t,this.invitationMetadata=r}}},72850:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PagedResponse=void 0;t.PagedResponse=class{constructor(e,t,r,n){this.response=e,this.page=t,this.pageSize=r,this.totalResults=n}}},26527:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PagingRequest=void 0;t.PagingRequest=class{constructor(e,t){this.page=e,this.pageSize=t,this.page=null!==e&&void 0!==e?e:1,this.pageSize=null!==t&&void 0!==t?t:25}}},38507:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParsedBackupFileName=void 0;class r{constructor(e,t,r,n,i){this.priority=e,this.dataType=t,this.timestamp=r,this.hash=n,this.isField=i}static parse(e){const t=e.split(/[/ ]+/).pop();if(void 0==t)return null;const n=t.split("_");return 5!=n.length?null:new r(Number.parseInt(n[0]),r._getDataType(n[1]),Number.parseInt(n[2]),n[3],"true"==n[4])}static _getDataType(e){return e.replace("$","_")}}t.ParsedBackupFileName=r},47893:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PortfolioUpdate=void 0;t.PortfolioUpdate=class{constructor(e,t,r,n){this.accountAddress=e,this.chain=t,this.timestamp=r,this.data=n}}},17470:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QueryDeliveryItems=void 0;t.QueryDeliveryItems=class{constructor(e,t){this.insights=e,this.ads=t}}},32109:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QueryPerformanceMetrics=void 0;t.QueryPerformanceMetrics=class{constructor(e,t,r,n){this.eventName=e,this.meterData=t,this.histogram=r,this.durations=n}}},73414:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RSAKeyPair=void 0;t.RSAKeyPair=class{constructor(e,t){this.privateKey=e,this.publicKey=t}}},76669:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RequestForData=void 0;t.RequestForData=class{constructor(e,t,r,n){this.consentContractAddress=e,this.requesterAddress=t,this.requestedCID=r,this.blockNumber=n}}},24900:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Reward=void 0;t.Reward=class{constructor(e){this.queryCID=e}}},21030:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RuntimeMetrics=void 0;t.RuntimeMetrics=class{constructor(e,t,r,n,i,a,o,s,c,u,l,f,d){this.uptime=e,this.startTime=t,this.apiCalls=r,this.queriesPosted=n,this.createdBackupsTotal=i,this.createdBackupsByType=a,this.createdBackups=o,this.restoredBackupsTotal=s,this.restoredBackupsByType=c,this.restoredBackups=u,this.componentStatus=l,this.queryPerformanceMetrics=f,this.queryErrors=d}}},36355:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SDQLQuery=t.NewSDQLQuery=void 0;class r{constructor(e){this.query=e}}t.NewSDQLQuery=r;t.SDQLQuery=class extends r{constructor(e,t){super(t),this.cid=e,this.query=t}}},93950:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SDQLQueryRequest=void 0;t.SDQLQueryRequest=class{constructor(e,t,r,n,i){this.consentContractAddress=e,this.query=t,this.rewardsPreview=r,this.accounts=n,this.dataWalletAddress=i}}},47545:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SerializedObject=void 0;t.SerializedObject=class{constructor(e,t){this.type=e,this.data=t}}},81253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SiteVisitsData=void 0;t.SiteVisitsData=class{constructor(e,t,r,n){this.numberOfVisits=e,this.averageScreenTime=t,this.totalScreenTime=r,this.lastReportedTime=n}}},73694:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},24310:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SolanaNFT=t.SolanaCollection=void 0;const n=r(97205),i=r(58610);t.SolanaCollection=class{constructor(e,t){this.address=e,this.verified=t}};class a extends n.WalletNFT{constructor(e,t,r,n,a,o,s,c,u,l,f,d){super(i.EChainTechnology.Solana,e,t,r,d),this.chain=e,this.owner=t,this.mint=r,this.collection=n,this.metadataUri=a,this.isMutable=o,this.primarySaleHappened=s,this.sellerFeeBasisPoints=c,this.updateAuthority=u,this.tokenStandard=l,this.symbol=f,this.name=d}}t.SolanaNFT=a},80221:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatSummary=void 0;t.StatSummary=class{constructor(e,t,r,n,i,a,o){this.stat=e,this.mean=t,this.count=r,this.currentRate=n,this.oneMinuteRate=i,this.fiveMinuteRate=a,this.fifteenMinuteRate=o}}},82072:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SuiNFT=t.SuiCollection=void 0;const n=r(97205),i=r(58610);t.SuiCollection=class{constructor(e,t){this.address=e,this.verified=t}};class a extends n.WalletNFT{constructor(e,t,r,n,a,o,s,c,u,l,f){super(i.EChainTechnology.Sui,u,n,e,c),this.token=e,this.tokenId=t,this.contractType=r,this.owner=n,this.tokenUri=a,this.metadata=o,this.amount=s,this.name=c,this.chain=u,this.blockNumber=l,this.lastOwnerTimeStamp=f}}t.SuiNFT=a},31448:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},33425:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenAndSecret=void 0;t.TokenAndSecret=class{constructor(e,t){this.token=e,this.secret=t}}},4355:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatValue=t.TokenBalance=void 0;const n=r(37708),i=r(11594);t.TokenBalance=class{constructor(e,t,r,n,i,a,o){this.type=e,this.ticker=t,this.chainId=r,this.tokenAddress=n,this.accountAddress=i,this.balance=a,this.decimals=o}},t.formatValue=function(e){return(0,i.DecimalString)(n.utils.formatUnits(n.BigNumber.from(e.balance),e.decimals))}},20113:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenMarketData=void 0;t.TokenMarketData=class{constructor(e,t,r,n,i,a,o,s,c,u,l,f){this.id=e,this.symbol=t,this.name=r,this.image=n,this.currentPrice=i,this.marketCap=a,this.marketCapRank=o,this.priceChange24h=s,this.priceChangePercentage24h=c,this.circulatingSupply=u,this.totalSupply=l,this.maxSupply=f}}},3392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionFilter=void 0;const n=r(11594);t.TransactionFilter=class{constructor(e,t,r,n,i){this.startTime=n,this.endTime=i,void 0!=e&&(this.chainIDs=new Set(e)),void 0!=r&&(this.hashes=new Set(r.map((e=>e.toLowerCase())))),void 0!=t&&(this.addresses=new Set(t.map((e=>e.toLowerCase()))))}matches(e){if(void 0!=this.chainIDs&&!this.chainIDs.has((0,n.ChainId)(e.chain)))return!1;if(void 0!=this.hashes&&!this.hashes.has(e.hash.toLowerCase()))return!1;if(void 0!=this.startTime&&this.startTime>e.timestamp)return!1;if(void 0!=this.endTime&&this.endTime{var t;return null===(t=this.addresses)||void 0===t?void 0:t.has(e)})))return!1}return!0}_getDescendants(e){let t=new Set;for(const[r,n]of Object.entries(e))n&&"object"===typeof n?t=new Set([...t,...this._getDescendants(n)]):"string"===typeof n&&t.add(n.toLowerCase());return t}}},53877:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionPaymentCounter=void 0;t.TransactionPaymentCounter=class{constructor(e,t,r,n,i){this.chainId=e,this.incomingValue=t,this.incomingCount=r,this.outgoingValue=n,this.outgoingCount=i}}},50355:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VolatileDataUpdate=void 0;t.VolatileDataUpdate=class{constructor(e,t,r,n,i){this.operation=e,this.key=t,this.timestamp=r,this.value=n,this.version=i}}},83920:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VolatileStorageMetadata=t.VolatileStorageMetadataIndexes=t.VolatileStorageDataKey=void 0;const n=r(58610);t.VolatileStorageDataKey="data",t.VolatileStorageMetadataIndexes=[["deleted",!1]];t.VolatileStorageMetadata=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.EBoolean.FALSE;this.data=e,this.lastUpdate=t,this.deleted=r}}},97205:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WalletNFT=void 0;t.WalletNFT=class{constructor(e,t,r,n,i){this.type=e,this.chain=t,this.owner=r,this.token=n,this.name=i}}},20075:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackupCreatedEvent=void 0;t.BackupCreatedEvent=class{constructor(e,t,r,n,i,a){this.storageType=e,this.dataType=t,this.backupId=r,this.name=n,this.remainingBackupsToCreate=i,this.backupsCreated=a}}},33138:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackupRestoreEvent=void 0;t.BackupRestoreEvent=class{constructor(e,t,r,n,i,a){this.storageType=e,this.dataType=t,this.backupId=r,this.name=n,this.totalRestored=i,this.remainingToRestore=a}}},30858:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloudStorageActivatedEvent=void 0;t.CloudStorageActivatedEvent=class{constructor(e){this.platform=e}}},77211:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataPermissionsUpdatedEvent=void 0;t.DataPermissionsUpdatedEvent=class{constructor(e,t){this.consentContractAddress=e,this.dataPermissions=t}}},50648:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PermissionsGrantedEvent=void 0;t.PermissionsGrantedEvent=class{constructor(e,t){this.domain=e,this.permissions=t}}},68555:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PermissionsRequestedEvent=void 0;t.PermissionsRequestedEvent=class{constructor(e,t,r){this.domain=e,this.existingPermissions=t,this.requestedPermissions=r}}},39814:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PublicEvents=void 0;const n=r(95228);t.PublicEvents=class{constructor(){this.onInitialized=new n.Subject,this.onQueryPosted=new n.Subject,this.onQueryParametersRequired=new n.Subject,this.onQueryStatusUpdated=new n.Subject,this.onAccountAdded=new n.Subject,this.onPasswordAdded=new n.Subject,this.onAccountRemoved=new n.Subject,this.onPasswordRemoved=new n.Subject,this.onCohortJoined=new n.Subject,this.onCohortLeft=new n.Subject,this.onDataPermissionsUpdated=new n.Subject,this.onTransaction=new n.Subject,this.onMetatransactionSignatureRequested=new n.Subject,this.onTokenBalanceUpdate=new n.Subject,this.onNftBalanceUpdate=new n.Subject,this.onBackupRestored=new n.Subject,this.onBackupCreated=new n.Subject,this.onEarnedRewardsAdded=new n.Subject,this.onPermissionsGranted=new n.Subject,this.onPermissionsRequested=new n.Subject,this.onPermissionsRevoked=new n.Subject,this.onSocialProfileLinked=new n.Subject,this.onSocialProfileUnlinked=new n.Subject,this.onCloudStorageActivated=new n.Subject,this.onCloudStorageDeactivated=new n.Subject,this.onBirthdayUpdated=new n.Subject,this.onGenderUpdated=new n.Subject,this.onLocationUpdated=new n.Subject,this.queryPerformance=new n.Subject}}},95541:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(20075),t),i(r(33138),t),i(r(30858),t),i(r(77211),t),i(r(50648),t),i(r(68555),t),i(r(39814),t),i(r(96614),t),i(r(41174),t)},18413:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QueryPerformanceEvent=void 0;t.QueryPerformanceEvent=class{constructor(e,t,r,n,i){this.type=e,this.status=t,this.queryCID=r,this.subQueryIdentifier=n,this.error=i}}},41174:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(18413),t)},88309:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SocialProfileLinkedEvent=void 0;t.SocialProfileLinkedEvent=class{constructor(e,t){this.platform=e,this.profile=t}}},96717:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SocialProfileUnlinkedEvent=void 0;t.SocialProfileUnlinkedEvent=class{constructor(e,t){this.platform=e,this.id=t}}},96614:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(88309),t),i(r(96717),t)},68678:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(92791),t),i(r(67866),t),i(r(44744),t),i(r(11602),t),i(r(46731),t),i(r(36460),t),i(r(55149),t),i(r(99385),t),i(r(20720),t),i(r(38132),t),i(r(74500),t),i(r(99591),t),i(r(85227),t),i(r(80550),t),i(r(24972),t),i(r(1254),t),i(r(61324),t),i(r(75696),t),i(r(45475),t),i(r(64768),t),i(r(23648),t),i(r(51206),t),i(r(3686),t),i(r(7503),t),i(r(45967),t),i(r(56233),t),i(r(65997),t),i(r(37844),t),i(r(36316),t),i(r(72850),t),i(r(22219),t),i(r(26527),t),i(r(38507),t),i(r(47893),t),i(r(76669),t),i(r(17470),t),i(r(32109),t),i(r(24900),t),i(r(73414),t),i(r(21030),t),i(r(36355),t),i(r(93950),t),i(r(47545),t),i(r(81253),t),i(r(73694),t),i(r(24310),t),i(r(80221),t),i(r(82072),t),i(r(31448),t),i(r(33425),t),i(r(4355),t),i(r(20113),t),i(r(3392),t),i(r(53877),t),i(r(50355),t),i(r(83920),t),i(r(97205),t),i(r(95541),t),i(r(12657),t),i(r(1217),t),i(r(98173),t),i(r(5445),t)},20281:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},70631:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},58126:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},21871:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OAuthURLState=void 0;class r{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;this.provider=e,this.redirectTabId=t}getEncodedState(){return encodeURIComponent(JSON.stringify({provider:this.provider,redirectTabId:this.redirectTabId}))}overrideUrlWithState(e){const t=new URL(e),r=t.searchParams.get("state");if(r){const e={...JSON.parse(decodeURIComponent(r)),provider:this.provider,redirectTabId:this.redirectTabId};t.searchParams.set("state",encodeURIComponent(JSON.stringify(e))),t.searchParams.set("state",this.getEncodedState())}else t.searchParams.set("state",this.getEncodedState());return t.toString()}static getParsedState(e){const{provider:t,redirectTabId:n}=JSON.parse(decodeURIComponent(e));return new r(t,n)}}t.OAuthURLState=r},19754:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1217:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(20281),t),i(r(70631),t),i(r(58126),t),i(r(21871),t),i(r(19754),t)},46649:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockchainInteractionInsight=void 0;t.BlockchainInteractionInsight=class{constructor(e,t,r,n,i){this.chainId=e,this.address=t,this.interacted=r,this.timePeriods=n,this.measurementTime=i}}},59461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionFlowInsight=void 0;const n=r(58610);class i{constructor(e,t,r,n,i,a){this.chainId=e,this.day=t,this.week=r,this.month=n,this.year=i,this.measurementTime=a}static additionOfMetrics(e,t){i.addNewTransactionMetrics(e,n.ETimePeriods.Day,t.day),i.addNewTransactionMetrics(e,n.ETimePeriods.Week,t.week),i.addNewTransactionMetrics(e,n.ETimePeriods.Month,t.month),i.addNewTransactionMetrics(e,n.ETimePeriods.Year,t.year)}static addNewTransactionMetrics(e,t,r){switch(!0){case t===n.ETimePeriods.Day:i.transactionMetricsAddition(e.day,r);break;case t===n.ETimePeriods.Week:i.transactionMetricsAddition(e.week,r);break;case t===n.ETimePeriods.Month:i.transactionMetricsAddition(e.month,r);break;case t===n.ETimePeriods.Year:i.transactionMetricsAddition(e.year,r)}}static transactionMetricsAddition(e,t){e.incomingCount+=t.incomingCount,e.incomingNativeValue+=t.incomingNativeValue,e.outgoingCount+=t.outgoingCount,e.outgoingNativeValue+=t.outgoingNativeValue}}t.TransactionFlowInsight=i},57477:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionMetrics=void 0;t.TransactionMetrics=class{constructor(e,t,r,n){this.incomingNativeValue=e,this.incomingCount=t,this.outgoingNativeValue=r,this.outgoingCount=n}}},98173:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(59461),t),i(r(46649),t),i(r(57477),t)},87370:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectReward=void 0;const n=r(95206),i=r(58610);class a extends n.EarnedReward{constructor(e,t,r,n,a,o,s){super(e,t,r,n,i.ERewardType.Direct),this.queryCID=e,this.name=t,this.image=r,this.description=n,this.chainId=a,this.contractAddress=o,this.recipientAddress=s}}t.DirectReward=a},53920:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},95206:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EarnedRewardMigrator=t.EarnedReward=void 0;const n=r(5445);class i extends n.VersionedObject{constructor(e,t,r,n,i){super(),this.queryCID=e,this.name=t,this.image=r,this.description=n,this.type=i}getVersion(){return i.CURRENT_VERSION}}t.EarnedReward=i,i.CURRENT_VERSION=1;class a extends n.VersionedObjectMigrator{getCurrentVersion(){return i.CURRENT_VERSION}factory(e){return new i(e.queryCID,e.name,e.image,e.description,e.type)}getUpgradeFunctions(){return new Map}}t.EarnedRewardMigrator=a},54127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EligibleReward=void 0;t.EligibleReward=class{constructor(e,t,r,n,i,a,o){this.compensationKey=e,this.name=t,this.image=r,this.description=n,this.chainId=i,this.callback=a,this.type=o}}},51754:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExpectedReward=void 0;t.ExpectedReward=class{constructor(e,t,r,n,i){this.compensationKey=e,this.description=t,this.chainId=r,this.callback=n,this.type=i}}},6026:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LazyReward=void 0;const n=r(95206),i=r(58610);class a extends n.EarnedReward{constructor(e,t,r,n,a,o,s,c,u){super(e,t,r,n,i.ERewardType.Lazy),this.queryCID=e,this.name=t,this.image=r,this.description=n,this.chainId=a,this.contractAddress=o,this.recipientAddress=s,this.functionName=c,this.functionParams=u}}t.LazyReward=a},25205:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PossibleReward=void 0;t.PossibleReward=class{constructor(e,t,r,n,i,a,o,s){this.queryCID=e,this.compensationKey=t,this.estimatedQueryDependencies=r,this.name=n,this.image=i,this.description=a,this.chainId=o,this.type=s}}},7833:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Web2Reward=void 0;const n=r(95206),i=r(58610);class a extends n.EarnedReward{constructor(e,t,r,n,a,o,s,c){super(e,t,r,n,i.ERewardType.Direct),this.queryCID=e,this.name=t,this.image=r,this.description=n,this.url=a,this.credentialType=o,this.credential=s,this.instructions=c}}t.Web2Reward=a},12657:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(87370),t),i(r(53920),t),i(r(95206),t),i(r(51754),t),i(r(54127),t),i(r(6026),t),i(r(7833),t),i(r(25205),t)},92980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdSignatureMigrator=t.AdSignature=void 0;const n=r(1083);class i extends n.VersionedObject{constructor(e,t,r,n){super(),this.consentContractAddress=e,this.queryCID=t,this.adKey=r,this.signature=n}getVersion(){return i.CURRENT_VERSION}}t.AdSignature=i,i.CURRENT_VERSION=1;class a extends n.VersionedObjectMigrator{getCurrentVersion(){return i.CURRENT_VERSION}factory(e){return new i(e.consentContractAddress,e.queryCID,e.adKey,e.signature)}getUpgradeFunctions(){return new Map}}t.AdSignatureMigrator=a},49268:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChainTransaction=void 0;const n=r(1083);class i extends n.VersionedObject{constructor(e,t,r,n){super(),this.chain=e,this.hash=t,this.timestamp=r,this.measurementDate=n}getVersion(){return i.CURRENT_VERSION}}t.ChainTransaction=i,i.CURRENT_VERSION=2},44946:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChainTransactionMigrator=void 0;const n=r(49268),i=r(1180),a=r(63791),o=r(1083),s=r(93763),c=r(58610);class u extends o.VersionedObjectMigrator{getCurrentVersion(){return n.ChainTransaction.CURRENT_VERSION}factory(e){switch((0,s.getChainInfoByChainId)(e.chainId).chainTechnology){case c.EChainTechnology.Solana:return new a.SolanaTransaction(e.ChainId,e.hash,e.timestamp,e.slot,e.err,e.memo,e.measurementDate);case c.EChainTechnology.EVM:return new i.EVMTransaction(e.chainId,e.hash,e.timestamp,e.blockHeight,e.to,e.from,e.value,e.gasPrice,e.contractAddress,e.input,e.methodId,e.functionName,e.events,e.measurementDate);default:throw new Error("chain ID does not match known technology")}}getUpgradeFunctions(){return new Map([[1,(e,t)=>(e.measurementDate=Math.floor(Date.now()/1e3),e)]])}}t.ChainTransactionMigrator=u},81794:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ClickDataMigrator=t.ClickData=void 0;const n=r(1083);class i extends n.VersionedObject{constructor(e,t,r){super(),this.url=e,this.timestamp=t,this.element=r}getVersion(){return i.CURRENT_VERSION}}t.ClickData=i,i.CURRENT_VERSION=1;class a extends n.VersionedObjectMigrator{getCurrentVersion(){return i.CURRENT_VERSION}factory(e){return new i(e.url,e.timestamp,e.element)}getUpgradeFunctions(){return new Map}}t.ClickDataMigrator=a},6620:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DomainCredentialMigrator=t.DomainCredential=void 0;const n=r(73414),i=r(1083);class a extends i.VersionedObject{constructor(e,t,r){super(),this.domain=e,this.id=t,this.key=r}getVersion(){return a.CURRENT_VERSION}}t.DomainCredential=a,a.CURRENT_VERSION=1;class o extends i.VersionedObjectMigrator{getCurrentVersion(){return a.CURRENT_VERSION}factory(e){return new a(e.domain,e.id,new n.RSAKeyPair(e.key.privateKey,e.key.publicKey))}getUpgradeFunctions(){return new Map}}t.DomainCredentialMigrator=o},1180:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVMTransaction=void 0;const n=r(73580),i=r(1254),a=r(49268),o=r(11594);class s extends a.ChainTransaction{constructor(e,t,r,a,o,s,c,u,l,f,d,b,h,p){super(e,t,r,p),this.chain=e,this.hash=t,this.timestamp=r,this.blockHeight=a,this.to=o,this.from=s,this.value=c,this.gasPrice=u,this.contractAddress=l,this.input=f,this.methodId=d,this.functionName=b,this.measurementDate=p,this.functionSignature=null;let y=new Set;if(this.to&&y.add(this.to),this.from&&y.add(this.from),this.input&&this.functionName&&this.methodId&&!this.functionName.startsWith(this.methodId))try{const e=new n.Interface(["function ".concat(this.functionName)]),t=e.getFunction(this.input.slice(0,10)),r=e.decodeFunctionData(t.name,this.input);this.functionSignature=new i.EVMFunctionSignature(t.name,t.type,t.inputs.map(((e,t)=>new i.EVMFunctionParameter(e.name,e.type,r[t])))),y=new Set([...y,...this._getDescendants(this.functionSignature)])}catch(m){console.warn("error decoding transaction input",m)}h&&(y=new Set([...y,...this._getDescendants(h)])),this.accountAddresses=Array.from(y)}_getDescendants(e){let t=new Set;for(const[r,n]of Object.entries(e))n&&"object"===typeof n?t=new Set([...t,...this._getDescendants(n)]):"string"===typeof n&&n.match(o.EVMAccountAddressRegex)&&t.add((0,o.EVMAccountAddress)(n));return t}}t.EVMTransaction=s},78731:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EligibleAdMigrator=t.EligibleAd=void 0;const n=r(1083);class i extends n.VersionedObject{constructor(e,t,r,n,i,a,o,s,c,u){super(),this.consentContractAddress=e,this.queryCID=t,this.key=r,this.name=n,this.content=i,this.text=a,this.displayType=o,this.weight=s,this.expiry=c,this.keywords=u}getUniqueId(){return this.queryCID+this.key}getVersion(){return i.CURRENT_VERSION}}t.EligibleAd=i,i.CURRENT_VERSION=1;class a extends n.VersionedObjectMigrator{getCurrentVersion(){return i.CURRENT_VERSION}factory(e){return new i(e.consentContractAddress,e.queryCID,e.key,e.name,e.content,e.text,e.displayType,e.weight,e.expiry,e.keywords)}getUpgradeFunctions(){return new Map}}t.EligibleAdMigrator=a},52819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LinkedAccount=t.LinkedAccountMigrator=void 0;const n=r(1083);class i extends n.VersionedObjectMigrator{getCurrentVersion(){return a.CURRENT_VERSION}factory(e){return new a(e.sourceChain,e.sourceAccountAddress)}getUpgradeFunctions(){return new Map([])}}t.LinkedAccountMigrator=i;class a extends n.VersionedObject{constructor(e,t){super(),this.sourceChain=e,this.sourceAccountAddress=t}getVersion(){return a.CURRENT_VERSION}}t.LinkedAccount=a,a.CURRENT_VERSION=2},90442:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PolygonTransaction=t.EPolygonTransactionType=void 0;const n=r(1180);var i;!function(e){e[e.ERC20=0]="ERC20",e[e.ERC721=1]="ERC721",e[e.ERC1155=2]="ERC1155"}(i||(t.EPolygonTransactionType=i={}));class a extends n.EVMTransaction{constructor(e,t,r,n,i,a,o,s,c,u,l,f){super(e,t,r,n,i,a,o,s,c,null,null,null,null,f),this.chainId=e,this.hash=t,this.timestamp=r,this.blockHeight=n,this.to=i,this.from=a,this.value=o,this.gasPrice=s,this.contractAddress=c,this.tokenId=u,this.type=l,this.measurementDate=f}}t.PolygonTransaction=a},99877:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QueryStatusMigrator=t.QueryStatus=void 0;const n=r(1083);class i extends n.VersionedObject{constructor(e,t,r,n,i,a){super(),this.consentContractAddress=e,this.queryCID=t,this.receivedBlock=r,this.status=n,this.expirationDate=i,this.rewardsParameters=a}getVersion(){return i.CURRENT_VERSION}}t.QueryStatus=i,i.CURRENT_VERSION=2;class a extends n.VersionedObjectMigrator{getCurrentVersion(){return i.CURRENT_VERSION}factory(e){return new i(e.consentContractAddress,e.queryCID,e.receivedBlock,e.status,e.expirationDate,e.rewardsParameters)}getUpgradeFunctions(){return new Map([[1,(e,t)=>(e.rewardsParameters=null,e)]])}}t.QueryStatusMigrator=a},39569:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReceivingAccountMigrator=t.ReceivingAccount=void 0;const n=r(1083);class i extends n.VersionedObject{constructor(e,t){super(),this.contractAddress=e,this.receivingAddress=t}getVersion(){return i.CURRENT_VERSION}}t.ReceivingAccount=i,i.CURRENT_VERSION=1;class a extends n.VersionedObjectMigrator{getCurrentVersion(){return i.CURRENT_VERSION}factory(e){return new i(e.contractAddress,e.receivingAddress)}getUpgradeFunctions(){return new Map}}t.ReceivingAccountMigrator=a},94231:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RejectedInvitationMigrator=t.RejectedInvitation=void 0;const n=r(1083);class i extends n.VersionedObject{constructor(e,t){super(),this.consentContractAddress=e,this.rejectUntil=t}getVersion(){return i.CURRENT_VERSION}}t.RejectedInvitation=i,i.CURRENT_VERSION=1;class a extends n.VersionedObjectMigrator{getCurrentVersion(){return i.CURRENT_VERSION}factory(e){return new i(e.consentContractAddress,e.rejectUntil)}getUpgradeFunctions(){return new Map([])}}t.RejectedInvitationMigrator=a},30743:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RestoredBackupMigrator=t.RestoredBackup=void 0;const n=r(1083);class i extends n.VersionedObject{constructor(e,t){super(),this.id=e,this.storageKey=t}getVersion(){return 1}}t.RestoredBackup=i,i.CURRENT_VERSION=1;class a extends n.VersionedObjectMigrator{getCurrentVersion(){return i.CURRENT_VERSION}factory(e){return new i(e.id,e.storageKey)}getUpgradeFunctions(){return new Map}}t.RestoredBackupMigrator=a},83393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SiteVisitMigrator=t.SiteVisit=void 0;const n=r(1083);class i extends n.VersionedObject{constructor(e,t,r){super(),this.url=e,this.startTime=t,this.endTime=r}getVersion(){return i.CURRENT_VERSION}}t.SiteVisit=i,i.CURRENT_VERSION=1;class a extends n.VersionedObjectMigrator{getCurrentVersion(){return i.CURRENT_VERSION}factory(e){return new i(e.url,e.startTime,e.endTime)}getUpgradeFunctions(){return new Map}}t.SiteVisitMigrator=a},87079:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DiscordGuildProfileMigrator=t.DiscordGuildProfile=t.SocialGroupProfileMigrator=t.InvalidSocialGroupProfile=t.SocialGroupProfile=void 0;const n=r(1083),i=r(58610),a=r(11594);class o extends n.VersionedObject{constructor(e,t,r){super(),this.pKey=e,this.type=t,this.ownerId=r}}t.SocialGroupProfile=o,o.CURRENT_VERSION=1;class s extends o{constructor(e,t,r){super(e,t,r),this.pKey=e,this.type=t,this.ownerId=r}getVersion(){return s.CURRENT_VERSION}}t.InvalidSocialGroupProfile=s,s.CURRENT_VERSION=1;class c extends n.VersionedObjectMigrator{getCurrentVersion(){return o.CURRENT_VERSION}constructor(){super(),this.discordMigrator=new l}factory(e){return e.type===i.ESocialType.DISCORD?this.discordMigrator.factory(e):new s((0,a.SocialPrimaryKey)(e.pKey),i.ESocialType[e.type],(0,a.SocialPrimaryKey)(e.ownerId))}getUpgradeFunctions(){return new Map}}t.SocialGroupProfileMigrator=c;class u extends o{constructor(e,t,r,n,o,s,c){super((0,a.SocialPrimaryKey)("discord-group-".concat(e)),i.ESocialType.DISCORD,t?(0,a.SocialPrimaryKey)("discord-".concat(t)):void 0),this.id=e,this.discordUserProfileId=t,this.name=r,this.isOwner=n,this.permissions=o,this.icon=s,this.joinedAt=c}deriveKey(e){return(0,a.SocialPrimaryKey)("discord-group-".concat(e))}getVersion(){return u.CURRENT_VERSION}}t.DiscordGuildProfile=u,u.CURRENT_VERSION=1;class l{factory(e){return new u((0,a.DiscordID)(e.id),(0,a.DiscordID)(e.discordUserProfileId),(0,a.Username)(e.name),e.isOwner,(0,a.Integer)(e.permissions),e.icon,(0,a.UnixTimestamp)(e.joinedAt))}}t.DiscordGuildProfileMigrator=l},49794:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TwitterProfileMigrator=t.TwitterProfile=t.TwitterFollowData=t.TwitterUserObject=t.DiscordProfileMigrator=t.DiscordProfile=t.SocialProfileMigrator=t.InvalidSocialProfile=t.SocialProfile=void 0;const n=r(1083),i=r(58610),a=r(11594);class o extends n.VersionedObject{constructor(e,t){super(),this.pKey=e,this.type=t}getVersion(){return o.CURRENT_VERSION}}t.SocialProfile=o,o.CURRENT_VERSION=1;class s extends o{constructor(e,t){super(e,t),this.pKey=e,this.type=t}getVersion(){return s.CURRENT_VERSION}}t.InvalidSocialProfile=s,s.CURRENT_VERSION=1;class c extends n.VersionedObjectMigrator{getCurrentVersion(){return o.CURRENT_VERSION}constructor(){super(),this.discordMigrator=new l,this.twitterMigrator=new d}factory(e){switch(e.type){case i.ESocialType.DISCORD:return this.discordMigrator.factory(e);case i.ESocialType.TWITTER:return this.twitterMigrator.factory(e)}return new s((0,a.SocialPrimaryKey)(e.pKey),i.ESocialType[e.type])}getUpgradeFunctions(){return new Map}}t.SocialProfileMigrator=c;class u extends o{constructor(e,t,r,n,o,s,c){super((0,a.SocialPrimaryKey)("discord-".concat(e)),i.ESocialType.DISCORD),this.id=e,this.username=t,this.displayName=r,this.discriminator=n,this.avatar=o,this.flags=s,this.oauth2Tokens=c}deriveKey(e){return(0,a.SocialPrimaryKey)("discord-".concat(e))}}t.DiscordProfile=u;class l{factory(e){return new u((0,a.DiscordID)(e.id),(0,a.Username)(e.username),e.displayName,e.discriminator,e.avatar,(0,a.Integer)(e.flags),e.oauth2Tokens)}}t.DiscordProfileMigrator=l;t.TwitterUserObject=class{constructor(e,t,r){this.id=e,this.username=t,this.name=r}};t.TwitterFollowData=class{constructor(e,t){this.following=e,this.followers=t}};class f extends o{constructor(e,t,r){super((0,a.SocialPrimaryKey)("twitter-".concat(e.id)),i.ESocialType.TWITTER),this.userObject=e,this.oAuth1a=t,this.followData=r}deriveKey(e){return(0,a.SocialPrimaryKey)("twitter-".concat(e))}}t.TwitterProfile=f;class d{factory(e){return new f(e.userObject,e.oAuth1a,e.followData?e.followData:void 0)}}t.TwitterProfileMigrator=d},63791:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SolanaTransaction=void 0;const n=r(49268);class i extends n.ChainTransaction{constructor(e,t,r,n,i,a,o){super(e,t,r,o),this.chainId=e,this.hash=t,this.timestamp=r,this.slot=n,this.err=i,this.memo=a,this.measurementDate=o}}t.SolanaTransaction=i},22698:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SuiTransaction=void 0;const n=r(73580),i=r(1254),a=r(49268),o=r(11594);class s extends a.ChainTransaction{constructor(e,t,r,a,o,s,c,u,l,f,d,b,h,p){super(e,t,r,p),this.chain=e,this.hash=t,this.timestamp=r,this.blockHeight=a,this.to=o,this.from=s,this.value=c,this.gasPrice=u,this.contractAddress=l,this.input=f,this.methodId=d,this.functionName=b,this.measurementDate=p,this.functionSignature=null;let y=new Set;if(this.to&&y.add(this.to),this.from&&y.add(this.from),this.input&&this.functionName&&this.methodId&&!this.functionName.startsWith(this.methodId))try{const e=new n.Interface(["function ".concat(this.functionName)]),t=e.getFunction(this.input.slice(0,10)),r=e.decodeFunctionData(t.name,this.input);this.functionSignature=new i.EVMFunctionSignature(t.name,t.type,t.inputs.map(((e,t)=>new i.EVMFunctionParameter(e.name,e.type,r[t])))),y=new Set([...y,...this._getDescendants(this.functionSignature)])}catch(m){console.warn("error decoding transaction input",m)}h&&(y=new Set([...y,...this._getDescendants(h)])),this.accountAddresses=Array.from(y)}_getDescendants(e){let t=new Set;for(const[r,n]of Object.entries(e))n&&"object"===typeof n?t=new Set([...t,...this._getDescendants(n)]):"string"===typeof n&&n.match(o.EVMAccountAddressRegex)&&t.add((0,o.SuiAccountAddress)(n));return t}}t.SuiTransaction=s},51905:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenInfoMigrator=t.TokenInfo=void 0;const n=r(1083);class i extends n.VersionedObject{constructor(e,t,r,n,i,a){super(),this.id=e,this.symbol=t,this.name=r,this.chain=n,this.address=i,this.decimals=a}getVersion(){return i.CURRENT_VERSION}}t.TokenInfo=i,i.CURRENT_VERSION=1;class a extends n.VersionedObjectMigrator{getCurrentVersion(){return i.CURRENT_VERSION}factory(e){return new i(e.id,e.symbol,e.name,e.chain,e.address,e.decimals)}getUpgradeFunctions(){return new Map}}t.TokenInfoMigrator=a},1083:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VersionedObjectMigrator=t.VersionedObject=void 0;t.VersionedObject=class{};t.VersionedObjectMigrator=class{getCurrent(e,t){const r=this.getUpgradeFunctions();for(;t!=this.getCurrentVersion();){const n=r.get(t);null!=n&&(e=n(e,t)),t+=1}return this.factory(e)}}},5445:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(92980),t),i(r(49268),t),i(r(44946),t),i(r(81794),t),i(r(6620),t),i(r(78731),t),i(r(1180),t),i(r(52819),t),i(r(90442),t),i(r(99877),t),i(r(39569),t),i(r(94231),t),i(r(30743),t),i(r(83393),t),i(r(87079),t),i(r(49794),t),i(r(63791),t),i(r(22698),t),i(r(51905),t),i(r(1083),t)},221:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEtherscanBaseURLForChain=t.isAccountValidForChain=t.isAccountValidForChainId=t.getChainInfoByChainId=t.getChainInfoByChain=t.chainConfig=void 0;const n=r(30247),i=r(68678),a=r(58610),o=r(12692),s=r(11594),c=function(e){return this.explorerURL+e};function u(e){const r=t.chainConfig.get(e);if(null==r)throw new Error("Unknown chain ".concat(e));return r}function l(e){const r=t.chainConfig.get(e);if(null==r)throw new Error("Unknown chain id ".concat(e));return r}t.chainConfig=new Map([[a.EChain.DevDoodle,new i.ControlChainInformation("Dev Env Doodle Chain",(0,s.ChainId)(a.EChain.DevDoodle),a.EChain.DevDoodle,a.EChainTechnology.EVM,!0,"doodlechain",4e3,new i.NativeCurrencyInformation("DOODLE",18,"DOODLE"),a.EChainType.Hardhat,"",(0,s.EVMContractAddress)("0x5FC8d32690cc91D4c39d9d3abcBD16989F875707"),(0,s.EVMContractAddress)("0x610178dA211FEF7D417bC0e6FeD39F05609AD788"),(0,s.EVMContractAddress)("0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0"))],[a.EChain.EthereumMainnet,new i.ChainInformation("Ethereum",(0,s.ChainId)(a.EChain.EthereumMainnet),a.EChain.EthereumMainnet,a.EChainTechnology.EVM,!0,"mainnet",1e4,new i.NativeCurrencyInformation("ETH",18,"ETH","ethereum"),a.EChainType.Mainnet,"https://etherscan.io/tx/",c,(0,s.URLString)("https://api.etherscan.io/"))],[a.EChain.Sepolia,new i.ChainInformation("Sepolia",(0,s.ChainId)(a.EChain.Sepolia),a.EChain.Sepolia,a.EChainTechnology.EVM,!0,"sepolia",1e4,new i.NativeCurrencyInformation("ETH",18,"ETH","ethereum"),a.EChainType.Testnet,"https://sepolia.etherscan.io/tx/",c,(0,s.URLString)("https://api-sepolia.etherscan.io/"))],[a.EChain.Mumbai,new i.ChainInformation("Mumbai",(0,s.ChainId)(a.EChain.Mumbai),a.EChain.Mumbai,a.EChainTechnology.EVM,!0,"polygon-mumbai",1e4,new i.NativeCurrencyInformation("MATIC",18,"MATIC","matic-network"),a.EChainType.Testnet,"https://mumbai.polygonscan.com/tx/",c,(0,s.URLString)("https://api-testnet.polygonscan.com/"))],[a.EChain.Polygon,new i.ChainInformation("Polygon",(0,s.ChainId)(a.EChain.Polygon),a.EChain.Polygon,a.EChainTechnology.EVM,!0,"polygon-mainnet",1e4,new i.NativeCurrencyInformation("MATIC",18,"MATIC","matic-network"),a.EChainType.Mainnet,"https=//polygonscan.com/tx/",c,(0,s.URLString)("https://api.polygonscan.com/"))],[a.EChain.Avalanche,new i.ChainInformation("Avalanche",(0,s.ChainId)(a.EChain.Avalanche),a.EChain.Avalanche,a.EChainTechnology.EVM,!0,"avalanche-mainnet",4e3,new i.NativeCurrencyInformation("AVAX",18,"AVAX","avalanche-2"),a.EChainType.Mainnet,"https=//snowtrace.io/block/",c,(0,s.URLString)("https://api.snowtrace.io/"))],[a.EChain.Fuji,new i.ControlChainInformation("Fuji",(0,s.ChainId)(a.EChain.Fuji),a.EChain.Fuji,a.EChainTechnology.EVM,!0,"avalanche-fuji",4e3,new i.NativeCurrencyInformation("AVAX",18,"AVAX","avalanche-2"),a.EChainType.Testnet,"https://testnet.snowtrace.io/tx/",(0,s.EVMContractAddress)("0x5540122e78241679Da8d07A04A74D3a7f52aED97"),(0,s.EVMContractAddress)("0x49a04d6545b1511742033b0ddF6a2Ba880A69287"),(0,s.EVMContractAddress)("0xdB5c885944d903Ac5c146eef400D2ee20572d357"),(0,s.URLString)("https://api-testnet.snowtrace.io/"))],[a.EChain.Solana,new i.ChainInformation("Solana",(0,s.ChainId)(a.EChain.Solana),a.EChain.Solana,a.EChainTechnology.Solana,!0,"solana",400,new i.NativeCurrencyInformation("Sol",9,"SOL","solana"),a.EChainType.Mainnet,"https://explorer.solana.com/tx/",c,void 0,(0,s.CoinGeckoAssetPlatformID)("solana"))],[a.EChain.SolanaTestnet,new i.ChainInformation("Solana Testnet",(0,s.ChainId)(a.EChain.SolanaTestnet),a.EChain.SolanaTestnet,a.EChainTechnology.Solana,!0,"solana",400,new i.NativeCurrencyInformation("Sol",9,"SOL","solana"),a.EChainType.Testnet,"https://explorer.solana.com/tx/",c,void 0,void 0)],[a.EChain.Gnosis,new i.ChainInformation("Gnosis",(0,s.ChainId)(a.EChain.Gnosis),a.EChain.Gnosis,a.EChainTechnology.EVM,!0,"Gnosis",1e4,new i.NativeCurrencyInformation("xDAI",18,"xDAI","xdai"),a.EChainType.Mainnet,"https://gnosisscan.io/tx/",c,(0,s.URLString)("https://api.gnosisscan.io/"))],[a.EChain.Binance,new i.ChainInformation("Binance",(0,s.ChainId)(a.EChain.Binance),a.EChain.Binance,a.EChainTechnology.EVM,!0,"binance",1e4,new i.NativeCurrencyInformation("BNB",18,"BNB","binancecoin"),a.EChainType.Mainnet,"https://bscscan.com/tx/",c,(0,s.URLString)("https://bscscan.com/"))],[a.EChain.BinanceTestnet,new i.ChainInformation("BinanceTestnet",(0,s.ChainId)(a.EChain.BinanceTestnet),a.EChain.BinanceTestnet,a.EChainTechnology.EVM,!0,"binance",1e4,new i.NativeCurrencyInformation("BNB",18,"BNB","binancecoin"),a.EChainType.Testnet,"https://testnet.bscscan.com/tx/",c,(0,s.URLString)("https://testnet.bscscan.com/"))],[a.EChain.Moonbeam,new i.ChainInformation("Moonbeam",(0,s.ChainId)(a.EChain.Moonbeam),a.EChain.Moonbeam,a.EChainTechnology.EVM,!0,"moonbeam",1e4,new i.NativeCurrencyInformation("GLMR",18,"GLMR","moonbeam"),a.EChainType.Mainnet,"https://moonscan.io/tx/",c,(0,s.URLString)("https://api-moonbeam.moonscan.io/"))],[a.EChain.Arbitrum,new i.ChainInformation("Arbitrum",(0,s.ChainId)(a.EChain.Arbitrum),a.EChain.Arbitrum,a.EChainTechnology.EVM,!0,"arbitrum",1e4,new i.NativeCurrencyInformation("ETH",18,"ETH","ethereum"),a.EChainType.Mainnet,"https://arbiscan.io/tx/",c,(0,s.URLString)("https://arbiscan.io/"))],[a.EChain.Optimism,new i.ChainInformation("Optimism",(0,s.ChainId)(a.EChain.Optimism),a.EChain.Optimism,a.EChainTechnology.EVM,!0,"optimism",1e4,new i.NativeCurrencyInformation("ETH",18,"ETH","ethereum"),a.EChainType.Mainnet,"https://optimistic.etherscan.io/tx/",c,(0,s.URLString)("https://api-optimistic.etherscan.io/"))],[a.EChain.Astar,new i.ChainInformation("Astar",(0,s.ChainId)(a.EChain.Astar),a.EChain.Astar,a.EChainTechnology.EVM,!0,"astar",1e4,new i.NativeCurrencyInformation("ASTR",18,"ASTR","astar"),a.EChainType.Mainnet,"https://astar.subscan.io/extrinsic/",c,(0,s.URLString)("https://astar.subscan.io/"))],[a.EChain.Sui,new i.ChainInformation("Sui",(0,s.ChainId)(a.EChain.Sui),a.EChain.Sui,a.EChainTechnology.Sui,!0,"sui",1e4,new i.NativeCurrencyInformation("SUI",9,"SUI","sui"),a.EChainType.Mainnet,"https://suiexplorer.com/",c,(0,s.URLString)("https://suiscan.xyz/"))],[a.EChain.Shibuya,new i.ChainInformation("Shibuya",(0,s.ChainId)(a.EChain.Shibuya),a.EChain.Shibuya,a.EChainTechnology.EVM,!0,"shibuya",1e4,new i.NativeCurrencyInformation("SBY",18,"SBY","shibuya"),a.EChainType.Testnet,"https://shibuya.subscan.io/extrinsic/",c,(0,s.URLString)("https://shibya.subscan.io/"))]]),t.getChainInfoByChain=u,t.getChainInfoByChainId=l,t.isAccountValidForChainId=function(e,t){if(5===e)return!1;const r=l(e),n=u(t.sourceChain);return r.chainTechnology==n.chainTechnology},t.isAccountValidForChain=function(e,t){const r=u(e),n=u(t.sourceChain);return r.chainTechnology==n.chainTechnology},t.getEtherscanBaseURLForChain=function(e){try{const t=u(e);return void 0==t.etherscanEndpointURL?(0,n.errAsync)(new o.AccountIndexingError("no etherscan endpoint for chainID",e)):(0,n.okAsync)(t.etherscanEndpointURL)}catch(t){return(0,n.errAsync)(new o.AccountIndexingError("error fetching chain information",t))}}},93763:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(221),t)},56175:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EAdContentType=void 0,function(e){e.IMAGE="image",e.VIDEO="video"}(r||(t.EAdContentType=r={}))},12598:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EAdDisplayType=void 0,function(e){e.BANNER="banner",e.POPUP="popup"}(r||(t.EAdDisplayType=r={}))},67721:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EBackupPriority=void 0,function(e){e[e.DISABLED=-1]="DISABLED",e[e.NORMAL=0]="NORMAL",e[e.HIGH=1]="HIGH"}(r||(t.EBackupPriority=r={}))},46150:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EBoolean=void 0,function(e){e[e.FALSE=0]="FALSE",e[e.TRUE=1]="TRUE"}(r||(t.EBoolean=r={}))},95786:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EChain=void 0,function(e){e[e.EthereumMainnet=1]="EthereumMainnet",e[e.Sepolia=11155111]="Sepolia",e[e.Kovan=42]="Kovan",e[e.Polygon=137]="Polygon",e[e.DevDoodle=31337]="DevDoodle",e[e.Avalanche=43114]="Avalanche",e[e.Fuji=43113]="Fuji",e[e.Mumbai=80001]="Mumbai",e[e.Solana=-1]="Solana",e[e.SolanaTestnet=-2]="SolanaTestnet",e[e.Gnosis=100]="Gnosis",e[e.Binance=56]="Binance",e[e.Moonbeam=1284]="Moonbeam",e[e.Arbitrum=42161]="Arbitrum",e[e.Optimism=10]="Optimism",e[e.Astar=592]="Astar",e[e.Shibuya=81]="Shibuya",e[e.BinanceTestnet=97]="BinanceTestnet",e[e.Sui=101]="Sui"}(r||(t.EChain=r={}))},31435:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EChainTechnology=void 0,function(e){e[e.EVM=0]="EVM",e[e.Solana=1]="Solana",e[e.Sui=2]="Sui"}(r||(t.EChainTechnology=r={}))},65830:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EChainType=void 0,function(e){e[e.Mainnet=0]="Mainnet",e[e.Testnet=1]="Testnet",e[e.Hardhat=2]="Hardhat"}(r||(t.EChainType=r={}))},76166:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ECloudStorageType=void 0,function(e){e.Dropbox="Dropbox",e.Local="Local"}(r||(t.ECloudStorageType=r={}))},64524:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EColorMode=void 0,function(e){e.dark="dark",e.light="light"}(r||(t.EColorMode=r={}))},3868:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.compareComponentStatus=t.EComponentStatus=void 0,function(e){e.InUse="In Use",e.Available="Available",e.TemporarilyDisabled="Temporarily Disabled",e.Disabled="Disabled",e.Error="Error",e.NoKeyProvided="NoKeyProvided"}(r||(t.EComponentStatus=r={})),t.compareComponentStatus=function(e,t){return e==r.InUse||e==r.Available&&[r.TemporarilyDisabled,r.Disabled,r.Error,r.NoKeyProvided].includes(t)||e==r.TemporarilyDisabled&&[r.Disabled,r.Error,r.NoKeyProvided].includes(t)?e:e==r.Disabled&&[r.Error,r.NoKeyProvided].includes(t)?t:e==r.Error&&[r.NoKeyProvided].includes(t)?e:t}},43714:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ECoreProxyType=void 0,function(e){e.EXTENSION_INJECTED="extension_injected",e.IFRAME_INJECTED="iframe_injected"}(r||(t.ECoreProxyType=r={}))},39389:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ECreatedRewardType=void 0,function(e){e.Existing="Existing",e.ERC721="ERC721",e.ERC20="ERC20"}(r||(t.ECreatedRewardType=r={}))},18721:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ECredentialType=void 0,function(e){e.UsernamePassword="UsernamePassword",e.OAuthBearerToken="OAuthBearerToken",e.RedemptionCode="RedemptionCode",e.None="None"}(r||(t.ECredentialType=r={}))},84908:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ECurrencyCode=void 0,function(e){e.USD="USD"}(r||(t.ECurrencyCode=r={}))},72151:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EDataProvider=void 0,function(e){e.Etherscan="Etherscan",e.Ankr="Ankr",e.Blockvision="Blockvision",e.Bluez="Bluez",e.Poap="Poap",e.EtherscanNative="EtherscanNative",e.Covalent="Covalent",e.Alchemy="Alchemy",e.Oklink="Oklink",e.Solana="Solana",e.Sui="Sui",e.NftScan="NftScan",e.Moralis="Moralis",e.Matic="Matic",e.Sim="Sim",e.Polygon="Polygon",e.DummySolana="DummySolana"}(r||(t.EDataProvider=r={}))},67015:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EDataStorageType=void 0,function(e){e[e.Field=0]="Field",e[e.Record=1]="Record"}(r||(t.EDataStorageType=r={}))},55523:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EDataUpdateOpCode=void 0,function(e){e[e.UPDATE=0]="UPDATE",e[e.REMOVE=1]="REMOVE"}(r||(t.EDataUpdateOpCode=r={}))},45317:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EDataWalletPermission=void 0,function(e){e[e.ReadLinkedAccounts=1]="ReadLinkedAccounts",e[e.ReadLocationHistory=2]="ReadLocationHistory",e[e.ReadBrowserHistory=3]="ReadBrowserHistory",e[e.ReadWeb3Data=4]="ReadWeb3Data",e[e.ReadDemographicData=5]="ReadDemographicData",e[e.UpdateDemographicData=6]="UpdateDemographicData",e[e.AddLinkedAccount=7]="AddLinkedAccount",e[e.OptInToConsentContract=8]="OptInToConsentContract"}(r||(t.EDataWalletPermission=r={}))},93362:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EExtensionEvent=void 0,r||(t.EExtensionEvent=r={})},17579:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EExternalApi=void 0,function(e){e.PrimaryControl="Primary Control Chain",e.SecondaryControl="Secondary Control Chain",e.AlchemyArbitrum="Alchemy Arbitrum",e.AlchemyAstar="Alechemy Astar",e.AlchemyMumbai="Alchemy Mumbai",e.AlchemyOptimism="Alchemy Optimism",e.AlchemyPolygon="Alchemy Polygon",e.AlchemySolana="Alchemy Solana",e.Ankr="Ankr",e.Blockvision="Blockvision",e.Bluez="Bluez",e.CoinGecko="Coin Gecko",e.Covalent="Covalent",e.EtherscanEthereum="Etherscan Ethereum",e.EtherscanPolygon="Etherscan Polygon",e.EtherscanAvalanche="Etherscan Avalanche",e.EtherscanBinance="Etherscan Binance",e.EtherscanMoonbeam="Etherscan Moonbeam",e.Moralis="Moralis",e.NftScan="NftScan",e.Oklink="Oklink",e.POAP="POAP",e.Polygon="Polygon",e.Solana="Solana",e.Sui="Sui",e.Dropbox="Dropbox",e.Unknown="Unknown"}(r||(t.EExternalApi=r={}))},26582:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EHashAlgorithm=void 0,function(e){e.SHA1="sha1",e.SHA256="sha256",e.SHA512="sha512"}(r||(t.EHashAlgorithm=r={}))},56147:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EIndexer=void 0,function(e){e.EVM="Avalanche/Fuji",e.Solana="Solana",e.Monero="Monero",e.Simulator="Simulator",e.Ethereum="Ethereum Mainnet",e.Polygon="Polygon",e.Gnosis="Gnosis",e.Binance="Binance",e.Moonbeam="Moonbean",e.Arbitrum="Arbitrum",e.Optimism="Optimism",e.Astar="Astar"}(r||(t.EIndexer=r={}))},9905:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EIndexerMethod=void 0,function(e){e.Balances="Balances",e.Transactions="Transactions",e.NFTs="NFTs"}(r||(t.EIndexerMethod=r={}))},68857:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EInvitationStatus=void 0,function(e){e[e.New=0]="New",e[e.Rejected=1]="Rejected",e[e.Accepted=2]="Accepted",e[e.Invalid=3]="Invalid",e[e.OutOfCapacity=4]="OutOfCapacity",e[e.Occupied=5]="Occupied"}(r||(t.EInvitationStatus=r={}))},21436:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ELanguageCode=void 0,function(e){e.English="en",e.Spanish="es",e.Turkish="tr"}(r||(t.ELanguageCode=r={}))},65453:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EOAuthProvider=void 0,function(e){e.DISCORD="discord",e.DROPBOX="dropbox"}(r||(t.EOAuthProvider=r={}))},94494:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EQueryEvents=void 0,function(e){e.OnQueryPostedEvaluationProcesses="ProcessesBeforeQueryEvaluation",e.ProcessesBeforeReturningQueryEvaluation="ProcessesBeforeQueryEvaluation",e.QueryParsing="QueryParsing",e.QueryEvaluation="QueryEvaluation",e.AgeEvaluation="AgeEvaluation",e.GenderEvaluation="GenderEvaluation",e.LocationEvaluation="LocationEvaluation",e.BrowserActivityEvaluation="BrowserActivityEvaluation",e.ChainTransactionEvaluation="ChainTransactionEvaluation",e.BalanceEvaluation="BalanceEvaluation",e.NftDataEvaluation="NftDataEvaluation",e.DiscordEvaluation="DiscordEvaluation",e.AgeDataAccess="AgeDataAccess",e.GenderDataAccess="GenderDataAccess",e.LocationDataAccess="LocationDataAccess",e.BrowserActivityDataAccess="BrowserActivityDataAccess",e.ChainTransactionDataAccess="ChainTransactionDataAccess",e.TransactionDataAccess="TransactionDataAccess",e.BalanceDataAccess="BalanceDataAccess",e.NftDataAccess="NftDataAccess",e.DiscordDataAccess="DiscordDataAccess",e.DappEvaluation="DappEvaluation"}(r||(t.EQueryEvents=r={}))},93837:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EQueryProcessingStatus=void 0,function(e){e[e.Received=0]="Received",e[e.WaitingForAds=1]="WaitingForAds",e[e.AdsCompleted=2]="AdsCompleted",e[e.InsightsPosted=3]="InsightsPosted",e[e.RewardsReceived=4]="RewardsReceived",e[e.NoConsentToken=5]="NoConsentToken",e[e.NoRewardsParams=6]="NoRewardsParams"}(r||(t.EQueryProcessingStatus=r={}))},45282:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ERewardType=void 0,function(e){e.Direct="Direct",e.Lazy="Lazy",e.Web2="Web2"}(r||(t.ERewardType=r={}))},19894:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ESDQLQueryReturn=void 0,function(e){e.String="string",e.Boolean="boolean",e.Integer="integer",e.Number="number",e.List="list",e.Array="array",e.Object="object",e.Enum="enum"}(r||(t.ESDQLQueryReturn=r={}))},28:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ESignatureAlgorithm=void 0,function(e){e.HMAC="hmac"}(r||(t.ESignatureAlgorithm=r={}))},39996:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ESocialType=void 0,function(e){e.DISCORD="Discord",e.TWITTER="Twitter"}(r||(t.ESocialType=r={}))},93708:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ESolidityAbiParameterType=void 0,function(e){e.address="address",e.bool="bool",e.bytes="bytes",e.int="int",e.string="string",e.uint="uint"}(r||(t.ESolidityAbiParameterType=r={}))},71406:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EStatus=void 0,function(e){e.Start="Start",e.End="End"}(r||(t.EStatus=r={}))},33204:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ETag=void 0,function(e){e.DeFi="defi",e.Web3_Gaming="web3-gaming",e.Play_To_Earn_Games="play-to-earn-games",e.NFT_Collectibles="nft-collectibles",e.Art="art",e.Music="music",e.Food_and_Beverage="food-and-beverage",e.Social_Dapps="social-dapps",e.Investing_Trading="investing-trading",e.Virtual_Fashion="virtual-fashion",e.Virtual_Real_Estate="virtual-real-estate",e.DAOs="daos",e.Event_Tickets="event-tickets",e.Metaverse="metaverse",e.Gambling="gambling",e.Sports="sports",e.PFPs="pfps",e.Featured_Rewards_Program="featured-rewards-program"}(r||(t.ETag=r={}))},46715:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ETimePeriods=void 0,function(e){e.Day="day",e.Week="week",e.Month="month",e.Year="year"}(r||(t.ETimePeriods=r={}))},33217:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EWalletDataType=void 0,function(e){e[e.Age=0]="Age",e[e.Gender=1]="Gender",e[e.GivenName=2]="GivenName",e[e.FamilyName=3]="FamilyName",e[e.Birthday=4]="Birthday",e[e.Email=5]="Email",e[e.Location=6]="Location",e[e.SiteVisits=7]="SiteVisits",e[e.EVMTransactions=8]="EVMTransactions",e[e.AccountBalances=9]="AccountBalances",e[e.AccountNFTs=10]="AccountNFTs",e[e.LatestBlockNumber=11]="LatestBlockNumber",e[e.Discord=12]="Discord",e[e.Twitter=13]="Twitter"}(r||(t.EWalletDataType=r={}))},29910:(e,t)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.EFieldKey=t.ERecordKey=void 0,function(e){e.ACCOUNT="SD_Accounts",e.SITE_VISITS="SD_SiteVisits",e.TRANSACTIONS="SD_Transactions",e.BALANCES="SD_Balances",e.BALANCES_LAST_UPDATE="SD_Balances_lastUpdate",e.NFTS="SD_NFTs",e.NFTS_LAST_UPDATE="SD_NFTs_lastUpdate",e.URLs="SD_URLs",e.CLICKS="SD_CLICKS",e.EARNED_REWARDS="SD_EarnedRewards",e.COIN_INFO="SD_CoinInfo",e.RESTORED_BACKUPS="SD_RestoredBackups",e.ELIGIBLE_ADS="SD_EligibleAds",e.AD_SIGNATURES="SD_AdSignatures",e.RECEIVING_ADDRESSES="SD_ReceivingAddresses",e.SOCIAL_PROFILE="SD_SocialProfile",e.SOCIAL_GROUP="SD_SocialGroup",e.QUERY_STATUS="SD_QueryStatus",e.DOMAIN_CREDENTIALS="SD_DomainCredentials",e.REJECTED_INVITATIONS="SD_RejectedInvitations"}(r||(t.ERecordKey=r={})),function(e){e.AUTHENTICATED_STORAGE_SETTINGS="SD_AuthenticatedStorageSettings",e.DATA_WALLET_PRIVATE_KEY="SD_DataWalletPrivateKey",e.FIRST_NAME="SD_GivenName",e.LAST_NAME="SD_FamilyName",e.BIRTHDAY="SD_Birthday",e.GENDER="SD_Gender",e.EMAIL="SD_Email",e.LOCATION="SD_Location",e.DEFAULT_RECEIVING_ADDRESS="SD_DefaultReceivingAddress",e.ACCEPTED_INVITATIONS="SD_OptedInAccounts",e.REJECTED_COHORTS="SD_RejectedCohorts",e.DOMAIN_PERMISSIONS="SD_DomainPermissions"}(n||(t.EFieldKey=n={}))},58610:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(56175),t),i(r(12598),t),i(r(67721),t),i(r(46150),t),i(r(95786),t),i(r(31435),t),i(r(65830),t),i(r(76166),t),i(r(64524),t),i(r(3868),t),i(r(43714),t),i(r(39389),t),i(r(18721),t),i(r(84908),t),i(r(72151),t),i(r(67015),t),i(r(55523),t),i(r(45317),t),i(r(93362),t),i(r(17579),t),i(r(26582),t),i(r(93708),t),i(r(56147),t),i(r(9905),t),i(r(68857),t),i(r(65453),t),i(r(21436),t),i(r(94494),t),i(r(93837),t),i(r(45282),t),i(r(19894),t),i(r(28),t),i(r(39996),t),i(r(71406),t),i(r(33204),t),i(r(46715),t),i(r(33217),t),i(r(29910),t)},19286:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AccountIndexingError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.AccountIndexingError=o},26982:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AjaxError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t,r){super(e,500,a.default[o.name],r,!1),this.statusCode=t,this.src=r,this.errorCode=a.default[o.name]}}t.AjaxError=o},82883:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AuthenticationError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default.AuthenticationError,t,!1),this.src=t,this.errorCode=a.default.AuthenticationError}}t.AuthenticationError=o},85486:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BackupError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.BackupError=o},75195:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseError=void 0;class r extends Error{constructor(e,t,r,n,i){super(e),this.signature=null,this.code=t||500,this.type=r,this.data=n,this.retryable=i}}t.BaseError=r},38732:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockchainErrorMapper=void 0;const n=r(12692);class i{static buildBlockchainError(e,t){try{let r;"ProviderError"==(null===e||void 0===e?void 0:e.name)&&(r=this.getSpecificProviderError(e));const i=null===e||void 0===e?void 0:e.reason,a=(null===e||void 0===e?void 0:e.message)||(null===e||void 0===e?void 0:e.msg),o=this.blockchainErrorMapping.get(this.getErrorKey(r)),s=this.blockchainErrorMapping.get(this.getErrorKey(i)),c=this.blockchainErrorMapping.get(this.getErrorKey(a));return null!=o?null===o||void 0===o?void 0:o(e):null!=s?null===s||void 0===s?void 0:s(e):null!=c?null===c||void 0===c?void 0:c(e):null!=t?t(a,i,e):new n.UnknownBlockchainError(i||a,e)}catch(r){return new n.UnknownBlockchainError("Error occurred while running buildBlockchainError ".concat(r),r)}}static getErrorKey(e){return e=(null===e||void 0===e?void 0:e.toLowerCase())||"",Array.from(this.blockchainErrorMapping.keys()).forEach((t=>{(null===e||void 0===e?void 0:e.includes(t.toLowerCase()))&&(e=t)})),e}static getSpecificProviderError(e){return e._stack.includes("intrinsic gas too low")?"intrinsic gas too low":null}}t.BlockchainErrorMapper=i,i.blockchainErrorMapping=new Map([["could not detect network",e=>new n.NetworkUnreachableError("Could not detect network",e)],["insufficient funds for intrinsic transaction cost",e=>new n.InsufficientFundsError("Insufficient funds to send transaction",e)],["sender doesn't have enough funds to send tx",e=>new n.InsufficientFundsError("Insufficient funds to send transaction",e)],["resolver or addr is not configured for ENS name",e=>new n.InvalidArgumentError("Address argument is invalid (format or type)",e)],["missing argument: passed to contract",e=>new n.MissingArgumentError("Missing arguments for contract function call",e)],["too many arguments: passed to contract",e=>new n.UnexpectedArgumentError("Too many arguments for contract function call",e)],["intrinsic gas too low",e=>new n.GasTooLowError("Insufficient gas provided to function call",e)],["invalid address",e=>new n.InvalidAddressError("Invalid address provided as argument to create contract instance",e)],["execution reverted",e=>new n.ExecutionRevertedError("Function hits a revert message on the contract",e)]])},91598:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BlockchainProviderError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t,r){super(t,500,a.default[o.name],r,!1),this.chain=e,this.src=r,this.errorCode=a.default[o.name]}}t.BlockchainProviderError=o},74961:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CloudStorageError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.CloudStorageError=o},24238:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConsentContractError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t,r){super("".concat(e," ").concat((null===r||void 0===r?void 0:r.reason)?": ".concat(null===r||void 0===r?void 0:r.reason):""),500,a.default[o.name],r,!1),this.reason=t,this.src=r,this.errorCode=a.default[o.name]}}t.ConsentContractError=o},62486:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConsentContractRepositoryError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.ConsentContractRepositoryError=o},50617:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConsentError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.ConsentError=o},23110:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConsentFactoryContractError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t,r){super("".concat(e," ").concat((null===r||void 0===r?void 0:r.reason)?": ".concat(null===r||void 0===r?void 0:r.reason):""),500,a.default[o.name],r,!1),this.reason=t,this.src=r,this.errorCode=a.default[o.name]}}t.ConsentFactoryContractError=o},16599:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CrumbsContractError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t,r){super("".concat(e," ").concat((null===r||void 0===r?void 0:r.reason)?": ".concat(null===r||void 0===r?void 0:r.reason):""),500,a.default[o.name],r,!1),this.reason=t,this.src=r,this.errorCode=a.default[o.name]}}t.CrumbsContractError=o},25189:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DataWalletLockedError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.DataWalletLockedError=o},99497:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DiscordError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.DiscordError=o},14963:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ERC721RewardContractError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t,r){super("".concat(e," ").concat((null===r||void 0===r?void 0:r.reason)?": ".concat(null===r||void 0===r?void 0:r.reason):""),500,a.default[o.name],r,!1),this.reason=t,this.src=r,this.errorCode=a.default[o.name]}}t.ERC721RewardContractError=o},5683:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ERC7529ContractError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t,r){super("".concat(e," ").concat((null===r||void 0===r?void 0:r.reason)?": ".concat(null===r||void 0===r?void 0:r.reason):""),500,a.default[o.name],r,!1),this.reason=t,this.src=r,this.errorCode=a.default[o.name]}}t.ERC7529ContractError=o},8020:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ExecutionRevertedError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.ExecutionRevertedError=o},98981:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GasPriceError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.GasPriceError=o},5376:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GasTooLowError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.GasTooLowError=o},56079:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},73535:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.IPFSError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.IPFSError=o},34830:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InsufficientFundsError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.InsufficientFundsError=o},87230:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidAddressError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.InvalidAddressError=o},6150:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidArgumentError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.InvalidArgumentError=o},1021:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidParametersError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.InvalidParametersError=o},27996:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidSignatureError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.InvalidSignatureError=o},9726:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.KeyGenerationError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.KeyGenerationError=o},81764:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MethodSupportError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t,r){super(e,500,a.default[o.name],r,!1),this.statusCode=t,this.src=r,this.errorCode=a.default[o.name]}}t.MethodSupportError=o},42036:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MinimalForwarderContractError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t,r){super("".concat(e," ").concat((null===r||void 0===r?void 0:r.reason)?": ".concat(null===r||void 0===r?void 0:r.reason):""),500,a.default[o.name],r,!1),this.reason=t,this.src=r,this.errorCode=a.default[o.name]}}t.MinimalForwarderContractError=o},83283:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MissingASTError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.MissingASTError=o},69886:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MissingArgumentError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.MissingArgumentError=o},27161:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MissingWalletDataTypeError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super("no wallet data type defined for ".concat(e),500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.MissingWalletDataTypeError=o},13646:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkUnreachableError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.NetworkUnreachableError=o},6122:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.OAuthError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.OAuthError=o},85885:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ParserTypeNotImplementedError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.ParserTypeNotImplementedError=o},93966:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PermissionError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.PermissionError=o},47637:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PersistenceError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.PersistenceError=o},69754:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ProofError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.ProofError=o},71931:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ProviderRpcError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.ProviderRpcError=o},30861:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ProxyError=void 0;const i=n(r(91662));class a extends Error{constructor(e,t){super(e),this.src=t,this.errorCode=i.default[a.name]}}t.ProxyError=a},11717:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QueryExpiredError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.QueryExpiredError=o},44562:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.QueryFormatError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.QueryFormatError=o},79267:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RewardsFactoryError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t,r){super("".concat(e," ").concat((null===r||void 0===r?void 0:r.reason)?": ".concat(null===r||void 0===r?void 0:r.reason):""),500,a.default[o.name],r,!1),this.reason=t,this.src=r,this.errorCode=a.default[o.name]}}t.RewardsFactoryError=o},4282:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ServerRewardError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.ServerRewardError=o},68279:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SiftContractError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t,r){super("".concat(e," ").concat((null===r||void 0===r?void 0:r.reason)?": ".concat(null===r||void 0===r?void 0:r.reason):""),500,a.default[o.name],r,!1),this.reason=t,this.src=r,this.errorCode=a.default[o.name]}}t.SiftContractError=o},77601:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SignerUnavailableError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.SignerUnavailableError=o},89660:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionResponseError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.TransactionResponseError=o},3246:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TwitterError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.TwitterError=o},60853:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.UnauthorizedError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e||"Insufficient permissions for operation",500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.UnauthorizedError=o},9825:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.UnexpectedArgumentError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.UnexpectedArgumentError=o},2076:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.UninitializedError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.UninitializedError=o},73015:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.UnknownBlockchainError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.UnknownBlockchainError=o},7309:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.UnsupportedLanguageError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t,r){super(t||e,500,a.default[o.name],r,!1),this.language=e,this.src=r,this.errorCode=a.default[o.name]}}t.UnsupportedLanguageError=o},91662:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={AccountIndexingError:"ERR_ACCOUNT_INDEXER",AjaxError:"ERR_AJAX",BackupError:"ERR_BACKUP",BlockchainProviderError:"ERR_BLOCKCHAIN_PROVIDER",CloudStorageError:"ERR_CLOUD_STORAGE",ConsentContractRepositoryError:"CONSENT_CONTRACT_REPOSITORY_ERROR",ConsentContractError:"CONSENT_CONTRACT_ERROR",ConsentError:"ERR_NO_CONSENT_GIVEN",ConsentFactoryContractError:"CONSENT_FACTORY_CONTRACT_ERROR",CrumbsContractError:"CRUMBS_CONTRACT_ERROR",DatabaseError:"ERR_DATABASE",DataWalletLockedError:"ERR_DATA_WALLET_LOCKED",InvalidParametersError:"INVALID_PARAMETERS_ERROR",InvalidSignatureError:"ERR_INVALID_SIGNATURE",IPFSError:"ERR_IPFS",KeyGenerationError:"ERR_CRYPTO_KEY_GENERATION",MinimalForwarderContractError:"ERR_MINIMAL_FORWARDER_CONTRACT",JWKSError:"ERR_JWKS",PersistenceError:"ERR_PERSISTENCE",ProviderRpcError:"PROVIDER_RPC_ERROR",ProxyError:"ERR_PROXY",MissingWalletDataTypeError:"ERR_MISSING_WALLET_DATA_TYPE",PermissionError:"ERR_PERMISSION",QueryExpiredError:"ERR_QUERY_EXPIRED",MissingASTError:"ERR_MISSING_AST",ParserTypeNotImplementedError:"ERR_PARSER_TYPE_NOT_IMPLEMENTED",RewardsFactoryError:"ERR_REWARDS_FACTORY",ServerRewardError:"ERR_SERVER_REWARD",TransactionResponseError:"ERR_TRANSACTION_RESPONSE",DiscordError:"ERR_DISCORD",OAuthError:"ERR_OAuth",SiftContractError:"ERR_SIFT_CONTRACT",UnauthorizedError:"ERR_UNAUTHORIZED",UninitializedError:"ERR_UNINITIALIZED",UnsupportedLanguageError:"ERR_UNSUPPORTED_LANGUAGE",GasPriceError:"ERR_GAS_PRICE",InsufficientFundsError:"ERR_INSUFFICIENT_FUNDS",NetworkUnreachableError:"ERR_NETWORK_UNREACHABLE",InvalidArgumentError:"ERR_INVALID_ARGUMENT",MissingArgumentError:"ERR_MISSING_ARGUMENT",UnexpectedArgumentError:"ERR_UNEXPECTED_ARGUMENT",UnknownBlockchainError:"ERR_UNKNOWN_BLOCKCHAIN",GasTooLowError:"ERR_GAS_TOO_LOW",InvalidAddressError:"ERR_INVALID_ADDRESS",ExecutionRevertedError:"ERR_EXECUTION_REVERTED",ProofError:"ERR_PROOF",SingerUnavailableError:"ERR_SIGNER_UNAVAILABLE",OperandTypeError:"ER_SDQL_OPERAND_TYPE",ConditionOperandTypeError:"ERR_SDQL_CONDITION_OPERAND_TYPE",BooleanExpectedError:"ERR_SDQL_BOOLEAN_EXPECTED",NumberExpectedError:"ERR_SDQL_NUMBER_EXPECTED",StringExpectedError:"ERR_SDQL_STRING_EXPECTED",ListExpectedError:"ERR_SDQL_LIST_EXPECTED",URLExpectedError:"ERR_SDQL_URL_EXPECTED",EvaluationError:"ERR_SDQL_EVALUATION",SimulationError:"ERR_SDQL_SIMULATION",ParserError:"ERR_SDQL_PARSER",MissingTokenConstructorError:"ERR_SDQL_MISSING_TOKEN_CONSTRUCTOR",MissingRequiredFieldError:"ERR_SDQL_MISSING_REQUIRED_FIELD",DuplicateIdInSchema:"ERR_SDQL_DUPLICATE_ID_IN_SCHEMA",EvalNotImplementedError:"ERR_SDQL_EVAL_NOT_IMPLEMENTED",ReturnNotImplementedError:"ERR_SDQL_RETURN_NOT_IMPLEMENTED",ParsingError:"ERR_SDQL_PARSING",InvalidRegularExpression:"ERR_SDQL_INVALID_REGULAR_EXPRESSION",AuthenticationError:"ERR_AUTHENTICATION"}},12692:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(17463),t),i(r(19286),t),i(r(26982),t),i(r(82883),t),i(r(85486),t),i(r(75195),t),i(r(38732),t),i(r(91598),t),i(r(74961),t),i(r(24238),t),i(r(62486),t),i(r(50617),t),i(r(23110),t),i(r(16599),t),i(r(25189),t),i(r(99497),t),i(r(14963),t),i(r(5683),t),i(r(98981),t),i(r(56079),t),i(r(1021),t),i(r(27996),t),i(r(73535),t),i(r(9726),t),i(r(81764),t),i(r(42036),t),i(r(83283),t),i(r(27161),t),i(r(6122),t),i(r(85885),t),i(r(93966),t),i(r(47637),t),i(r(69754),t),i(r(71931),t),i(r(30861),t),i(r(11717),t),i(r(44562),t),i(r(79267),t),i(r(4282),t),i(r(68279),t),i(r(77601),t),i(r(89660),t),i(r(3246),t),i(r(60853),t),i(r(2076),t),i(r(7309),t),i(r(34830),t),i(r(13646),t),i(r(6150),t),i(r(69886),t),i(r(73015),t),i(r(9825),t),i(r(5376),t),i(r(87230),t),i(r(8020),t)},33851:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BooleanExpectedError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.BooleanExpectedError=o},26394:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ConditionOperandTypeError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.ConditionOperandTypeError=o},52447:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DuplicateIdInSchema=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.DuplicateIdInSchema=o},49052:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EvalNotImplementedError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.EvalNotImplementedError=o},93776:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.EvaluationError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.EvaluationError=o},41160:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidRegularExpression=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.InvalidRegularExpression=o},15538:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ListExpectedError=void 0;const i=n(r(91662)),a=r(13844);class o extends a.OperandTypeError{constructor(){super(...arguments),this.errorCode=i.default[o.name]}}t.ListExpectedError=o},44229:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRequiredFieldError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.MissingRequiredFieldError=o},89214:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.MissingTokenConstructorError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.MissingTokenConstructorError=o},4320:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NumberExpectedError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.NumberExpectedError=o},13844:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.OperandTypeError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.OperandTypeError=o},92534:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ParserError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.ParserError=o},21737:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ParsingError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.ParsingError=o},50084:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SimulationError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.SimulationError=o},63779:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.StringExpectedError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.StringExpectedError=o},74733:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.URLExpectedError=void 0;const i=r(75195),a=n(r(91662));class o extends i.BaseError{constructor(e,t){super(e,500,a.default[o.name],t,!1),this.src=t,this.errorCode=a.default[o.name]}}t.URLExpectedError=o},17463:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(33851),t),i(r(26394),t),i(r(52447),t),i(r(49052),t),i(r(93776),t),i(r(41160),t),i(r(15538),t),i(r(44229),t),i(r(89214),t),i(r(4320),t),i(r(13844),t),i(r(92534),t),i(r(21737),t),i(r(50084),t),i(r(63779),t),i(r(74733),t)},79365:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountAddedNotification=void 0;const n=r(76580),i=r(57120);class a extends n.BaseNotification{constructor(e){super(i.ENotificationTypes.ACCOUNT_ADDED,e),this.linkedAccount=e}}t.AccountAddedNotification=a},70386:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountInitializedNotification=void 0;const n=r(76580),i=r(57120);class a extends n.BaseNotification{constructor(e){super(i.ENotificationTypes.WALLET_INITIALIZED,e),this.dataWalletAddress=e}}t.AccountInitializedNotification=a},15808:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccountRemovedNotification=void 0;const n=r(76580),i=r(57120);class a extends n.BaseNotification{constructor(e){super(i.ENotificationTypes.ACCOUNT_REMOVED,e),this.linkedAccount=e}}t.AccountRemovedNotification=a},76580:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseNotification=void 0;const n=r(75658),i=r(91192);t.BaseNotification=class{constructor(e,t){this.type=e,this.data=t,this.key=(0,i.UUID)((0,n.v4)())}}},80142:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CloudProviderActivatedNotification=void 0;const n=r(76580),i=r(57120);class a extends n.BaseNotification{constructor(e){super(i.ENotificationTypes.CLOUD_STORAGE_ACTIVATED,e),this.event=e}}t.CloudProviderActivatedNotification=a},11382:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CohortJoinedNotification=void 0;const n=r(76580),i=r(57120);class a extends n.BaseNotification{constructor(e){super(i.ENotificationTypes.COHORT_JOINED,e),this.consentContractAddress=e}}t.CohortJoinedNotification=a},12759:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EarnedRewardsAddedNotification=void 0;const n=r(76580),i=r(57120);class a extends n.BaseNotification{constructor(e){super(i.ENotificationTypes.EARNED_REWARDS_ADDED,e),this.rewards=e}}t.EarnedRewardsAddedNotification=a},72949:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProfileFieldUpdate=t.ProfileFieldChangedNotification=void 0;const n=r(76580),i=r(57120);class a extends n.BaseNotification{constructor(e){super(i.ENotificationTypes.PROFILE_FIELD_CHANGED,e),this.update=e}}t.ProfileFieldChangedNotification=a;t.ProfileFieldUpdate=class{constructor(e,t){this.profileField=e,this.value=t}}},35394:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SocialProfileLinkedNotification=void 0;const n=r(76580),i=r(57120);class a extends n.BaseNotification{constructor(e){super(i.ENotificationTypes.SOCIAL_PROFILE_LINKED,e),this.event=e}}t.SocialProfileLinkedNotification=a},65921:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(79365),t),i(r(70386),t),i(r(15808),t),i(r(76580),t),i(r(80142),t),i(r(12759),t),i(r(11382),t),i(r(72949),t),i(r(35394),t)},48987:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EProfileFieldType=void 0,function(e){e[e.GENDER=0]="GENDER",e[e.LOCATION=1]="LOCATION",e[e.DOB=2]="DOB"}(r||(t.EProfileFieldType=r={}))},11681:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(48987),t),i(r(57120),t)},57120:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.ENotificationTypes=void 0,function(e){e.INCOMING_METATRANSACTION_SIGNATURE_REQUEST="onMetatransactionSignatureRequested",e.WALLET_INITIALIZED="onInitialized",e.ACCOUNT_ADDED="onAccountAdded",e.ACCOUNT_REMOVED="onAccountRemoved",e.EARNED_REWARDS_ADDED="onEarnedRewardsAdded",e.SOCIAL_PROFILE_LINKED="onSocialProfileLinked",e.COHORT_JOINED="onCohortJoined",e.PROFILE_FIELD_CHANGED="onProfileFieldChanged",e.CLOUD_STORAGE_ACTIVATED="onCloudStorageActivated",e.CLOUD_STORAGE_DEACTIVATED="onCloudStorageDeactivated"}(r||(t.ENotificationTypes=r={}))},73093:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(65921),t),i(r(11681),t)},1385:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(95495),t),i(r(68678),t),i(r(93763),t),i(r(58610),t),i(r(12692),t),i(r(28105),t),i(r(11594),t),i(r(73093),t)},6595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},65669:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},73939:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},19173:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},82404:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},72981:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4944:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},52767:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},30672:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},42151:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},35621:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},75137:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},60169:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},97092:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},58264:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},11200:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},47448:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3093:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},17597:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},20023:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},47774:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},67139:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},72444:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},4069:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},12269:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},24661:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},10890:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},25245:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},95504:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultLanguageCode=void 0;const n=r(11594);t.defaultLanguageCode=(0,n.LanguageCode)("en")},24951:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ISnickerdoodleCoreType=void 0,t.ISnickerdoodleCoreType=Symbol.for("ISnickerdoodleCore")},5844:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},67655:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ITokenPriceRepositoryType=void 0,t.ITokenPriceRepositoryType=Symbol.for("ITokenPriceRepository")},6699:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},34956:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},28105:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(6595),t),i(r(65669),t),i(r(73939),t),i(r(19173),t),i(r(82404),t),i(r(72981),t),i(r(4944),t),i(r(52767),t),i(r(30672),t),i(r(42151),t),i(r(35621),t),i(r(75137),t),i(r(95504),t),i(r(60169),t),i(r(97092),t),i(r(58264),t),i(r(11200),t),i(r(47448),t),i(r(3093),t),i(r(17597),t),i(r(20023),t),i(r(47774),t),i(r(67139),t),i(r(72444),t),i(r(4069),t),i(r(12269),t),i(r(24661),t),i(r(10890),t),i(r(25245),t),i(r(24951),t),i(r(5844),t),i(r(6699),t),i(r(67655),t),i(r(34956),t)},14522:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AESKey=void 0;const n=r(99792);t.AESKey=(0,n.make)()},77376:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccessCode=void 0;const n=r(99792);t.AccessCode=(0,n.make)()},75548:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},65972:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},76872:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdKey=void 0;const n=r(99792);t.AdKey=(0,n.make)()},1049:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AdSurfaceId=void 0;const n=r(99792);t.AdSurfaceId=(0,n.make)()},51307:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Age=void 0;const n=r(99792);t.Age=(0,n.make)()},28858:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Argon2Hash=void 0;const n=r(99792);t.Argon2Hash=(0,n.make)()},44795:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackupFileName=void 0;const n=r(99792);t.BackupFileName=(0,n.make)()},76654:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Base64String=void 0;const n=r(99792);t.Base64String=(0,n.make)()},68868:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseURI=void 0;const n=r(99792);t.BaseURI=(0,n.make)()},10139:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BearerToken=void 0;const n=r(99792);t.BearerToken=(0,n.make)()},16375:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.multiplyBigNumberString=t.addBigNumberString=t.BigNumberString=void 0;const n=r(37708),i=r(99792);t.BigNumberString=(0,i.make)(),t.addBigNumberString=function(e,r){return(0,t.BigNumberString)(n.BigNumber.from(e).add(n.BigNumber.from(r)).toString())},t.multiplyBigNumberString=function(e,r){return(0,t.BigNumberString)(n.BigNumber.from(e).mul(n.BigNumber.from(r)).toString())}},89088:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockNumber=void 0;const n=r(99792);t.BlockNumber=(0,n.make)()},45568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CeramicStreamID=void 0;const n=r(99792);t.CeramicStreamID=(0,n.make)()},63666:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChainId=void 0;const n=r(99792);t.ChainId=(0,n.make)()},26540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CoinGeckoAssetPlatformID=void 0;const n=r(99792);t.CoinGeckoAssetPlatformID=(0,n.make)()},22211:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CompensationKey=void 0;const n=r(99792);t.CompensationKey=(0,n.make)()},62205:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConsentName=void 0;const n=r(99792);t.ConsentName=(0,n.make)()},45341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CountryCode=void 0;const n=r(99792);t.CountryCode=(0,n.make)()},42822:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CryptoTokenSymbol=void 0;const n=r(99792);t.CryptoTokenSymbol=(0,n.make)()},10289:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CurrencyAlphabeticCode=void 0;const n=r(99792);t.CurrencyAlphabeticCode=(0,n.make)()},58649:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataWalletAddress=void 0;const n=r(99792);t.DataWalletAddress=(0,n.make)()},78057:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DataWalletBackupID=void 0;const n=r(99792);t.DataWalletBackupID=(0,n.make)()},48403:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DecimalString=void 0;const n=r(99792);t.DecimalString=(0,n.make)()},1118:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DomainName=void 0;const n=r(99792);t.DomainName=(0,n.make)()},81461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVMAccountAddressRegex=t.EVMAccountAddress=void 0;const n=r(99792);t.EVMAccountAddress=(0,n.make)(),t.EVMAccountAddressRegex=/^0x[a-fA-F0-9]{40}$/},21768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVMBlockNumber=void 0;const n=r(99792);t.EVMBlockNumber=(0,n.make)()},60510:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVMChainCode=void 0;const n=r(99792);t.EVMChainCode=(0,n.make)()},13915:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVMContractAddress=void 0;const n=r(99792);t.EVMContractAddress=(0,n.make)()},61946:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EVMContractDirection=void 0,function(e){e.To="to",e.From="from"}(r||(t.EVMContractDirection=r={}))},79370:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVMContractFunction=void 0;const n=r(99792);t.EVMContractFunction=(0,n.make)()},89446:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVMPrivateKey=void 0;const n=r(99792);t.EVMPrivateKey=(0,n.make)()},18149:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVMToken=void 0;const n=r(99792);t.EVMToken=(0,n.make)()},74693:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EVMTransactionHash=void 0;const n=r(99792);t.EVMTransactionHash=(0,n.make)()},57534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmailAddressString=void 0;const n=r(99792);t.EmailAddressString=(0,n.make)()},49876:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EncryptedString=void 0;const n=r(99792);t.EncryptedString=(0,n.make)()},54594:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FamilyName=void 0;const n=r(99792);t.FamilyName=(0,n.make)()},45039:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Gender=void 0;const n=r(99792);t.Gender=(0,n.make)()},45469:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GivenName=void 0;const n=r(99792);t.GivenName=(0,n.make)()},98827:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HexColorString=void 0;const n=r(99792);t.HexColorString=(0,n.make)()},76437:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HexString=void 0;const n=r(99792);t.HexString=(0,n.make)()},26646:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HexString32=void 0;const n=r(99792);t.HexString32=(0,n.make)()},56981:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HostName=void 0;const n=r(99792);t.HostName=(0,n.make)()},7264:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},11806:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ISDQLConditionString=void 0;const n=r(99792);t.ISDQLConditionString=(0,n.make)()},90568:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ISDQLExpressionString=void 0;const n=r(99792);t.ISDQLExpressionString=(0,n.make)()},62936:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ISO8601DateString=void 0;const n=r(99792);t.ISO8601DateString=(0,n.make)()},5370:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InitializationVector=void 0;const n=r(99792);t.InitializationVector=(0,n.make)()},8811:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InsightKey=void 0;const n=r(99792);t.InsightKey=(0,n.make)()},11196:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InsightString=void 0;const n=r(99792);t.InsightString=(0,n.make)()},83163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Integer=void 0;const n=r(99792);t.Integer=(0,n.make)()},26530:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IpfsCID=void 0;const n=r(99792);t.IpfsCID=(0,n.make)()},55274:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JSONString=void 0;const n=r(99792);t.JSONString=(0,n.make)()},11829:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.JsonWebToken=void 0;const n=r(99792);t.JsonWebToken=(0,n.make)()},75473:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LanguageCode=void 0;const n=r(99792);t.LanguageCode=(0,n.make)()},32822:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarketplaceTag=void 0;const n=r(99792);t.MarketplaceTag=(0,n.make)()},3109:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MillisecondTimestamp=void 0;const n=r(99792);t.MillisecondTimestamp=(0,n.make)()},34723:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OAuthAuthorizationCode=void 0;const n=r(99792);t.OAuthAuthorizationCode=(0,n.make)()},72209:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OAuth1RequstToken=t.OAuth2RefreshToken=t.OAuth2AccessToken=t.OAuthVerifier=void 0;const n=r(99792);t.OAuthVerifier=(0,n.make)(),t.OAuth2AccessToken=(0,n.make)(),t.OAuth2RefreshToken=(0,n.make)(),t.OAuth1RequstToken=(0,n.make)()},87678:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PEMEncodedRSAPrivateKey=void 0;const n=r(99792);t.PEMEncodedRSAPrivateKey=(0,n.make)()},62338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PEMEncodedRSAPublicKey=void 0;const n=r(99792);t.PEMEncodedRSAPublicKey=(0,n.make)()},22153:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PasswordString=void 0;const n=r(99792);t.PasswordString=(0,n.make)()},14510:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProofString=void 0;const n=r(99792);t.ProofString=(0,n.make)()},72842:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProviderUrl=void 0;const n=r(99792);t.ProviderUrl=(0,n.make)()},23825:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PublicKey=void 0;const n=r(99792);t.PublicKey=(0,n.make)()},70326:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QueryTypePermissionMap=void 0;const n=r(58610);t.QueryTypePermissionMap=new Map([["age",n.EWalletDataType.Age],["birthday",n.EWalletDataType.Birthday],["chain_transactions",n.EWalletDataType.EVMTransactions],["email",n.EWalletDataType.Email],["familyName",n.EWalletDataType.FamilyName],["gender",n.EWalletDataType.Gender],["givenName",n.EWalletDataType.GivenName],["location",n.EWalletDataType.Location],["url_visited_count",n.EWalletDataType.SiteVisits],["social_discord",n.EWalletDataType.Discord],["social_twitter",n.EWalletDataType.Twitter],["balance",n.EWalletDataType.AccountBalances],["nft",n.EWalletDataType.AccountNFTs],["network",n.EWalletDataType.EVMTransactions]])},60175:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.web3QueryTypes=t.web2QueryTypes=void 0,t.web2QueryTypes=["age","gender","givenName","familyName","birthday","email","location","url_visited_count","social_discord","social_twitter"],t.web3QueryTypes=["nft","network","balance","chain_transactions"]},30405:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},16396:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RewardFunctionParam=void 0;const n=r(99792);t.RewardFunctionParam=(0,n.make)()},2225:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SDQL_Returns=t.SDQL_Callback=t.SDQL_Description=t.SDQL_Query=t.SDQL_Message=t.SDQL_Conditions=t.SDQL_OperatorName=t.SDQL_Return=t.SDQL_Name=void 0;const n=r(99792);t.SDQL_Name=(0,n.make)(),t.SDQL_Return=(0,n.make)(),t.SDQL_OperatorName=(0,n.make)(),t.SDQL_Conditions=(0,n.make)(),t.SDQL_Message=(0,n.make)(),t.SDQL_Query=(0,n.make)(),t.SDQL_Description=(0,n.make)(),t.SDQL_Callback=(0,n.make)(),t.SDQL_Returns=(0,n.make)()},80067:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SDQLString=void 0;const n=r(99792);t.SDQLString=(0,n.make)()},63428:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHA256Hash=void 0;const n=r(99792);t.SHA256Hash=(0,n.make)()},47648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Signature=void 0;const n=r(99792);t.Signature=(0,n.make)()},49217:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TwitterID=t.DiscordID=void 0;const n=r(99792);t.DiscordID=(0,n.make)(),t.TwitterID=(0,n.make)()},66923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SocialPrimaryKey=void 0;const n=r(99792);t.SocialPrimaryKey=(0,n.make)()},87013:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SolanaAccountAddress=void 0;const n=r(99792);t.SolanaAccountAddress=(0,n.make)()},55748:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SolanaPrivateKey=void 0;const n=r(99792);t.SolanaPrivateKey=(0,n.make)()},2367:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SolanaTokenAddress=void 0;const n=r(99792);t.SolanaTokenAddress=(0,n.make)()},80824:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SolanaTransactionSignature=void 0;const n=r(99792);t.SolanaTransactionSignature=(0,n.make)()},89634:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SubQueryKey=void 0;const n=r(99792);t.SubQueryKey=(0,n.make)()},13243:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SuiAccountAddressRegex=t.SuiAccountAddress=void 0;const n=r(99792);t.SuiAccountAddress=(0,n.make)(),t.SuiAccountAddressRegex=/^0x[a-fA-F0-9]{40}$/},25651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SuiContractAddress=void 0;const n=r(99792);t.SuiContractAddress=(0,n.make)()},91890:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SuiPrivateKey=void 0;const n=r(99792);t.SuiPrivateKey=(0,n.make)()},83054:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SuiTokenAddress=void 0;const n=r(99792);t.SuiTokenAddress=(0,n.make)()},95432:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SuiTransactionHash=void 0;const n=r(99792);t.SuiTransactionHash=(0,n.make)()},61780:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TickerSymbol=void 0;const n=r(99792);t.TickerSymbol=(0,n.make)()},62015:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},88571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenId=void 0;const n=r(99792);t.TokenId=(0,n.make)()},86521:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenSecret=void 0;const n=r(99792);t.TokenSecret=(0,n.make)()},61475:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TokenUri=void 0;const n=r(99792);t.TokenUri=(0,n.make)()},27419:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},25162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransactionReceipt=void 0;const n=r(99792);t.TransactionReceipt=(0,n.make)()},54681:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URLString=void 0;const n=r(99792);t.URLString=(0,n.make)()},91192:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UUID=void 0;const n=r(99792);t.UUID=(0,n.make)()},13800:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnixTimestamp=void 0;const n=r(99792);t.UnixTimestamp=(0,n.make)()},88553:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Username=void 0;const n=r(99792);t.Username=(0,n.make)()},1331:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Version=void 0;const n=r(99792);t.Version=(0,n.make)()},86259:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},53259:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Web2Credential=void 0;const n=r(99792);t.Web2Credential=(0,n.make)()},11594:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(14522),t),i(r(77376),t),i(r(75548),t),i(r(30405),t),i(r(65972),t),i(r(76872),t),i(r(1049),t),i(r(51307),t),i(r(28858),t),i(r(44795),t),i(r(76654),t),i(r(68868),t),i(r(10139),t),i(r(16375),t),i(r(89088),t),i(r(45568),t),i(r(63666),t),i(r(26540),t),i(r(22211),t),i(r(62205),t),i(r(45341),t),i(r(42822),t),i(r(10289),t),i(r(58649),t),i(r(78057),t),i(r(48403),t),i(r(1118),t),i(r(57534),t),i(r(49876),t),i(r(81461),t),i(r(21768),t),i(r(60510),t),i(r(13915),t),i(r(61946),t),i(r(79370),t),i(r(89446),t),i(r(18149),t),i(r(74693),t),i(r(54594),t),i(r(45039),t),i(r(45469),t),i(r(56981),t),i(r(98827),t),i(r(76437),t),i(r(26646),t),i(r(7264),t),i(r(11806),t),i(r(90568),t),i(r(62936),t),i(r(5370),t),i(r(8811),t),i(r(11196),t),i(r(83163),t),i(r(26530),t),i(r(55274),t),i(r(11829),t),i(r(75473),t),i(r(32822),t),i(r(3109),t),i(r(34723),t),i(r(72209),t),i(r(22153),t),i(r(87678),t),i(r(62338),t),i(r(14510),t),i(r(72842),t),i(r(23825),t),i(r(70326),t),i(r(60175),t),i(r(16396),t),i(r(2225),t),i(r(80067),t),i(r(63428),t),i(r(47648),t),i(r(49217),t),i(r(66923),t),i(r(87013),t),i(r(55748),t),i(r(2367),t),i(r(80824),t),i(r(89634),t),i(r(13243),t),i(r(25651),t),i(r(91890),t),i(r(83054),t),i(r(95432),t),i(r(61780),t),i(r(62015),t),i(r(88571),t),i(r(86521),t),i(r(61475),t),i(r(27419),t),i(r(25162),t),i(r(54681),t),i(r(91192),t),i(r(13800),t),i(r(88553),t),i(r(1331),t),i(r(86259),t),i(r(53259),t)},95495:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},30468:function(e){"use strict";!function(t){function r(e){return parseInt(e)===e}function n(e){if(!r(e.length))return!1;for(var t=0;t255)return!1;return!0}function i(e,t){if(e.buffer&&ArrayBuffer.isView(e)&&"Uint8Array"===e.name)return t&&(e=e.slice?e.slice():Array.prototype.slice.call(e)),e;if(Array.isArray(e)){if(!n(e))throw new Error("Array contains invalid value: "+e);return new Uint8Array(e)}if(r(e.length)&&n(e))return new Uint8Array(e);throw new Error("unsupported array-like object")}function a(e){return new Uint8Array(e)}function o(e,t,r,n,i){null==n&&null==i||(e=e.slice?e.slice(n,i):Array.prototype.slice.call(e,n,i)),t.set(e,r)}var s={toBytes:function(e){var t=[],r=0;for(e=encodeURI(e);r191&&n<224?(t.push(String.fromCharCode((31&n)<<6|63&e[r+1])),r+=2):(t.push(String.fromCharCode((15&n)<<12|(63&e[r+1])<<6|63&e[r+2])),r+=3)}return t.join("")}},c=function(){var e="0123456789abcdef";return{toBytes:function(e){for(var t=[],r=0;r>4]+e[15&i])}return r.join("")}}}(),u={16:10,24:12,32:14},l=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],f=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],d=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],b=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],h=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],p=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],y=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],m=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],g=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],v=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],w=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],_=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],E=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],A=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],S=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function O(e){for(var t=[],r=0;r>2,this._Ke[r][t%4]=a[t],this._Kd[e-r][t%4]=a[t];for(var o,s=0,c=i;c>16&255]<<24^f[o>>8&255]<<16^f[255&o]<<8^f[o>>24&255]^l[s]<<24,s+=1,8!=i)for(t=1;t>8&255]<<8^f[o>>16&255]<<16^f[o>>24&255]<<24;for(t=i/2+1;t>2,b=c%4,this._Ke[d][b]=a[t],this._Kd[e-d][b]=a[t++],c++}for(var d=1;d>24&255]^E[o>>16&255]^A[o>>8&255]^S[255&o]},P.prototype.encrypt=function(e){if(16!=e.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var t=this._Ke.length-1,r=[0,0,0,0],n=O(e),i=0;i<4;i++)n[i]^=this._Ke[0][i];for(var o=1;o>24&255]^h[n[(i+1)%4]>>16&255]^p[n[(i+2)%4]>>8&255]^y[255&n[(i+3)%4]]^this._Ke[o][i];n=r.slice()}var s,c=a(16);for(i=0;i<4;i++)s=this._Ke[t][i],c[4*i]=255&(f[n[i]>>24&255]^s>>24),c[4*i+1]=255&(f[n[(i+1)%4]>>16&255]^s>>16),c[4*i+2]=255&(f[n[(i+2)%4]>>8&255]^s>>8),c[4*i+3]=255&(f[255&n[(i+3)%4]]^s);return c},P.prototype.decrypt=function(e){if(16!=e.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var t=this._Kd.length-1,r=[0,0,0,0],n=O(e),i=0;i<4;i++)n[i]^=this._Kd[0][i];for(var o=1;o>24&255]^g[n[(i+3)%4]>>16&255]^v[n[(i+2)%4]>>8&255]^w[255&n[(i+1)%4]]^this._Kd[o][i];n=r.slice()}var s,c=a(16);for(i=0;i<4;i++)s=this._Kd[t][i],c[4*i]=255&(d[n[i]>>24&255]^s>>24),c[4*i+1]=255&(d[n[(i+3)%4]>>16&255]^s>>16),c[4*i+2]=255&(d[n[(i+2)%4]>>8&255]^s>>8),c[4*i+3]=255&(d[255&n[(i+1)%4]]^s);return c};var T=function(e){if(!(this instanceof T))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new P(e)};T.prototype.encrypt=function(e){if((e=i(e)).length%16!==0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var t=a(e.length),r=a(16),n=0;n=0;--t)this._counter[t]=e%256,e>>=8},R.prototype.setBytes=function(e){if(16!=(e=i(e,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=e},R.prototype.increment=function(){for(var e=15;e>=0;e--){if(255!==this._counter[e]){this._counter[e]++;break}this._counter[e]=0}};var x=function(e,t){if(!(this instanceof x))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",t instanceof R||(t=new R(t)),this._counter=t,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new P(e)};x.prototype.encrypt=function(e){for(var t=i(e,!0),r=0;r16)throw new Error("PKCS#7 padding byte out of range");for(var r=e.length-t,n=0;n{e.exports=r(28036)},73381:(e,t,r)=>{"use strict";var n=r(33589),i=r(47297),a=r(29301),o=r(39774),s=r(81804),c=r(59145),u=r(95411),l=r(46789),f=r(54531),d=r(16569),b=r(36261);e.exports=function(e){return new Promise((function(t,r){var h,p=e.data,y=e.headers,m=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}n.isFormData(p)&&n.isStandardBrowserEnv()&&delete y["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",_=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";y.Authorization="Basic "+btoa(w+":"+_)}var E=s(e.baseURL,e.url);function A(){if(v){var n="getAllResponseHeaders"in v?c(v.getAllResponseHeaders()):null,a={data:m&&"text"!==m&&"json"!==m?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:n,config:e,request:v};i((function(e){t(e),g()}),(function(e){r(e),g()}),a),v=null}}if(v.open(e.method.toUpperCase(),o(E,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=A:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(A)},v.onabort=function(){v&&(r(new f("Request aborted",f.ECONNABORTED,e,v)),v=null)},v.onerror=function(){r(new f("Network Error",f.ERR_NETWORK,e,v,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||l;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new f(t,n.clarifyTimeoutError?f.ETIMEDOUT:f.ECONNABORTED,e,v)),v=null},n.isStandardBrowserEnv()){var S=(e.withCredentials||u(E))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;S&&(y[e.xsrfHeaderName]=S)}"setRequestHeader"in v&&n.forEach(y,(function(e,t){"undefined"===typeof p&&"content-type"===t.toLowerCase()?delete y[t]:v.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),m&&"json"!==m&&(v.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){v&&(r(!e||e&&e.type?new d:e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),p||(p=null);var O=b(E);O&&-1===["http","https","file"].indexOf(O)?r(new f("Unsupported protocol "+O+":",f.ERR_BAD_REQUEST,e)):v.send(p)}))}},28036:(e,t,r)=>{"use strict";var n=r(33589),i=r(44049),a=r(23773),o=r(40777);var s=function e(t){var r=new a(t),s=i(a.prototype.request,r);return n.extend(s,a.prototype,r),n.extend(s,r),s.create=function(r){return e(o(t,r))},s}(r(1709));s.Axios=a,s.CanceledError=r(16569),s.CancelToken=r(6857),s.isCancel=r(35517),s.VERSION=r(67600).version,s.toFormData=r(71397),s.AxiosError=r(54531),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=r(98089),s.isAxiosError=r(49580),e.exports=s,e.exports.default=s},6857:(e,t,r)=>{"use strict";var n=r(16569);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t{"use strict";var n=r(54531);function i(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}r(33589).inherits(i,n,{__CANCEL__:!0}),e.exports=i},35517:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},23773:(e,t,r)=>{"use strict";var n=r(33589),i=r(39774),a=r(37470),o=r(72733),s=r(40777),c=r(81804),u=r(47835),l=u.validators;function f(e){this.defaults=e,this.interceptors={request:new a,response:new a}}f.prototype.request=function(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&u.assertOptions(r,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var a,c=[];if(this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)})),!i){var f=[o,void 0];for(Array.prototype.unshift.apply(f,n),f=f.concat(c),a=Promise.resolve(t);f.length;)a=a.then(f.shift(),f.shift());return a}for(var d=t;n.length;){var b=n.shift(),h=n.shift();try{d=b(d)}catch(p){h(p);break}}try{a=o(d)}catch(p){return Promise.reject(p)}for(;c.length;)a=a.then(c.shift(),c.shift());return a},f.prototype.getUri=function(e){e=s(this.defaults,e);var t=c(e.baseURL,e.url);return i(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,i){return this.request(s(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}f.prototype[e]=t(),f.prototype[e+"Form"]=t(!0)})),e.exports=f},54531:(e,t,r)=>{"use strict";var n=r(33589);function i(e,t,r,n,i){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i)}n.inherits(i,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var a=i.prototype,o={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){o[e]={value:e}})),Object.defineProperties(i,o),Object.defineProperty(a,"isAxiosError",{value:!0}),i.from=function(e,t,r,o,s,c){var u=Object.create(a);return n.toFlatObject(e,u,(function(e){return e!==Error.prototype})),i.call(u,e.message,t,r,o,s),u.name=e.name,c&&Object.assign(u,c),u},e.exports=i},37470:(e,t,r)=>{"use strict";var n=r(33589);function i(){this.handlers=[]}i.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},81804:(e,t,r)=>{"use strict";var n=r(84044),i=r(79549);e.exports=function(e,t){return e&&!n(t)?i(e,t):t}},72733:(e,t,r)=>{"use strict";var n=r(33589),i=r(52693),a=r(35517),o=r(1709),s=r(16569);function c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||o.adapter)(e).then((function(t){return c(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(c(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},40777:(e,t,r)=>{"use strict";var n=r(33589);e.exports=function(e,t){t=t||{};var r={};function i(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function a(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(e[r],t[r])}function o(e){if(!n.isUndefined(t[e]))return i(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(void 0,t[r])}function c(r){return r in t?i(e[r],t[r]):r in e?i(void 0,e[r]):void 0}var u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||a,i=t(e);n.isUndefined(i)&&t!==c||(r[e]=i)})),r}},47297:(e,t,r)=>{"use strict";var n=r(54531);e.exports=function(e,t,r){var i=r.config.validateStatus;r.status&&i&&!i(r.status)?t(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}},52693:(e,t,r)=>{"use strict";var n=r(33589),i=r(1709);e.exports=function(e,t,r){var a=this||i;return n.forEach(r,(function(r){e=r.call(a,e,t)})),e}},1709:(e,t,r)=>{"use strict";var n=r(33589),i=r(64341),a=r(54531),o=r(46789),s=r(71397),c={"Content-Type":"application/x-www-form-urlencoded"};function u(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l={transitional:o,adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=r(73381)),e}(),transformRequest:[function(e,t){if(i(t,"Accept"),i(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e))return e;if(n.isArrayBufferView(e))return e.buffer;if(n.isURLSearchParams(e))return u(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r,a=n.isObject(e),o=t&&t["Content-Type"];if((r=n.isFileList(e))||a&&"multipart/form-data"===o){var c=this.env&&this.env.FormData;return s(r?{"files[]":e}:e,c&&new c)}return a||"application/json"===o?(u(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(t||JSON.parse)(e),n.trim(e)}catch(i){if("SyntaxError"!==i.name)throw i}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||l.transitional,r=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,o=!r&&"json"===this.responseType;if(o||i&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(o){if("SyntaxError"===s.name)throw a.from(s,a.ERR_BAD_RESPONSE,this,null,this.response);throw s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:r(3035)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){l.headers[e]=n.merge(c)})),e.exports=l},46789:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},67600:e=>{e.exports={version:"0.27.2"}},44049:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(33589);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var a;if(r)a=r(t);else if(n.isURLSearchParams(t))a=t.toString();else{var o=[];n.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),o.push(i(t)+"="+i(e))})))})),a=o.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},79549:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},29301:(e,t,r)=>{"use strict";var n=r(33589);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,a,o){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(a)&&s.push("domain="+a),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},84044:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},49580:(e,t,r)=>{"use strict";var n=r(33589);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},95411:(e,t,r)=>{"use strict";var n=r(33589);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},64341:(e,t,r)=>{"use strict";var n=r(33589);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},3035:e=>{e.exports=null},59145:(e,t,r)=>{"use strict";var n=r(33589),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,a,o={};return e?(n.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=n.trim(e.substr(0,a)).toLowerCase(),r=n.trim(e.substr(a+1)),t){if(o[t]&&i.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([r]):o[t]?o[t]+", "+r:r}})),o):o}},36261:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},98089:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},71397:(e,t,r)=>{"use strict";var n=r(33589);e.exports=function(e,t){t=t||new FormData;var r=[];function i(e){return null===e?"":n.isDate(e)?e.toISOString():n.isArrayBuffer(e)||n.isTypedArray(e)?"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(a,o){if(n.isPlainObject(a)||n.isArray(a)){if(-1!==r.indexOf(a))throw Error("Circular reference detected in "+o);r.push(a),n.forEach(a,(function(r,a){if(!n.isUndefined(r)){var s,c=o?o+"."+a:a;if(r&&!o&&"object"===typeof r)if(n.endsWith(a,"{}"))r=JSON.stringify(r);else if(n.endsWith(a,"[]")&&(s=n.toArray(r)))return void s.forEach((function(e){!n.isUndefined(e)&&t.append(c,i(e))}));e(r,c)}})),r.pop()}else t.append(o,i(a))}(e),t}},47835:(e,t,r)=>{"use strict";var n=r(67600).version,i=r(54531),a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var o={};a.transitional=function(e,t,r){function a(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new i(a(n," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!o[n]&&(o[n]=!0,console.warn(a(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:function(e,t,r){if("object"!==typeof e)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),a=n.length;a-- >0;){var o=n[a],s=t[o];if(s){var c=e[o],u=void 0===c||s(c,o,e);if(!0!==u)throw new i("option "+o+" must be "+u,i.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new i("Unknown option "+o,i.ERR_BAD_OPTION)}},validators:a}},33589:(e,t,r)=>{"use strict";var n,i=r(44049),a=Object.prototype.toString,o=(n=Object.create(null),function(e){var t=a.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return o(t)===e}}function c(e){return Array.isArray(e)}function u(e){return"undefined"===typeof e}var l=s("ArrayBuffer");function f(e){return null!==e&&"object"===typeof e}function d(e){if("object"!==o(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var b=s("Date"),h=s("File"),p=s("Blob"),y=s("FileList");function m(e){return"[object Function]"===a.call(e)}var g=s("URLSearchParams");function v(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),c(e))for(var r=0,n=e.length;r0;)o[a=n[i]]||(t[a]=e[a],o[a]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:o,kindOfTest:s,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;var t=e.length;if(u(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:_,isFileList:y}},31360:e=>{"use strict";for(var t="qpzry9x8gf2tvdw0s3jn54khce6mua7l",r={},n=0;n<32;n++){var i=t.charAt(n);if(void 0!==r[i])throw new TypeError(i+" is ambiguous");r[i]=n}function a(e){var t=e>>25;return(33554431&e)<<5^996825010&-(t>>0&1)^642813549&-(t>>1&1)^513874426&-(t>>2&1)^1027748829&-(t>>3&1)^705979059&-(t>>4&1)}function o(e){for(var t=1,r=0;r126)return"Invalid prefix ("+e+")";t=a(t)^n>>5}for(t=a(t),r=0;rt)return"Exceeds length limit";var n=e.toLowerCase(),i=e.toUpperCase();if(e!==n&&e!==i)return"Mixed-case string "+e;var s=(e=n).lastIndexOf("1");if(-1===s)return"No separator character for "+e;if(0===s)return"Missing prefix for "+e;var c=e.slice(0,s),u=e.slice(s+1);if(u.length<6)return"Data too short";var l=o(c);if("string"===typeof l)return l;for(var f=[],d=0;d=u.length||f.push(h)}return 1!==l?"Invalid checksum for "+e:{prefix:c,words:f}}function c(e,t,r,n){for(var i=0,a=0,o=(1<=r;)a-=r,s.push(i>>a&o);if(n)a>0&&s.push(i<=t)return"Excess padding";if(i<n)throw new TypeError("Exceeds length limit");var i=o(e=e.toLowerCase());if("string"===typeof i)throw new Error(i);for(var s=e+"1",c=0;c>5!==0)throw new Error("Non 5-bit word");i=a(i)^u,s+=t.charAt(u)}for(c=0;c<6;++c)i=a(i);for(i^=1,c=0;c<6;++c){s+=t.charAt(i>>5*(5-c)&31)}return s},toWordsUnsafe:function(e){var t=c(e,8,5,!0);if(Array.isArray(t))return t},toWords:function(e){var t=c(e,8,5,!0);if(Array.isArray(t))return t;throw new Error(t)},fromWordsUnsafe:function(e){var t=c(e,5,8,!1);if(Array.isArray(t))return t},fromWords:function(e){var t=c(e,5,8,!1);if(Array.isArray(t))return t;throw new Error(t)}}},80518:function(e,t,r){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function a(e,t,r){if(a.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var o;"object"===typeof e?e.exports=a:t.BN=a,a.BN=a,a.wordSize=26;try{o="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:r(46601).Buffer}catch(k){}function s(e,t){var r=e.charCodeAt(t);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+e)}function c(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function u(e,t,r,i){for(var a=0,o=0,s=Math.min(e.length,r),c=t;c=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&o0?e:t},a.min=function(e,t){return e.cmp(t)<0?e:t},a.prototype._init=function(e,t,r){if("number"===typeof e)return this._initNumber(e,t,r);if("object"===typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)o=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[a]|=o<>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);else if("le"===r)for(i=0,a=0;i>>26-s&67108863,(s+=24)>=26&&(s-=26,a++);return this._strip()},a.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n=t;n-=2)i=c(e,t,n)<=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;else for(n=(e.length-t)%2===0?t+1:t;n=18?(a-=18,o+=1,this.words[o]|=i>>>26):a+=8;this._strip()},a.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var a=e.length-r,o=a%n,s=Math.min(a,a-o)+r,c=0,l=r;l1&&0===this.words[this.length-1];)this.length--;return this._normSign()},a.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!==typeof Symbol&&"function"===typeof Symbol.for)try{a.prototype[Symbol.for("nodejs.util.inspect.custom")]=f}catch(k){a.prototype.inspect=f}else a.prototype.inspect=f;function f(){return(this.red?""}var d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],b=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];a.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,a=0,o=0;o>>24-i&16777215,(i+=2)>=26&&(i-=26,o--),r=0!==a||o!==this.length-1?d[6-c.length]+c+r:c+r}for(0!==a&&(r=a.toString(16)+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=b[e],l=h[e];r="";var f=this.clone();for(f.negative=0;!f.isZero();){var p=f.modrn(l).toString(e);r=(f=f.idivn(l)).isZero()?p+r:d[u-p.length]+p+r}for(this.isZero()&&(r="0"+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},a.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},a.prototype.toJSON=function(){return this.toString(16,2)},o&&(a.prototype.toBuffer=function(e,t){return this.toArrayLike(o,e,t)}),a.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function p(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],a=0|t.words[0],o=i*a,s=67108863&o,c=o/67108864|0;r.words[0]=s;for(var u=1;u>>26,f=67108863&c,d=Math.min(u,t.length-1),b=Math.max(0,u-e.length+1);b<=d;b++){var h=u-b|0;l+=(o=(i=0|e.words[h])*(a=0|t.words[b])+f)/67108864|0,f=67108863&o}r.words[u]=0|f,c=0|l}return 0!==c?r.words[u]=0|c:r.length--,r._strip()}a.prototype.toArrayLike=function(e,t,r){this._strip();var i=this.byteLength(),a=r||Math.max(1,i);n(i<=a,"byte array longer than desired length"),n(a>0,"Requested array length <= 0");var o=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,a);return this["_toArrayLike"+("le"===t?"LE":"BE")](o,i),o},a.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,i=0,a=0;i>8&255),r>16&255),6===a?(r>24&255),n=0,a=0):(n=o>>>24,a+=2)}if(r=0&&(e[r--]=o>>8&255),r>=0&&(e[r--]=o>>16&255),6===a?(r>=0&&(e[r--]=o>>24&255),n=0,a=0):(n=o>>>24,a+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?a.prototype._countBits=function(e){return 32-Math.clz32(e)}:a.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},a.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0===(8191&t)&&(r+=13,t>>>=13),0===(127&t)&&(r+=7,t>>>=7),0===(15&t)&&(r+=4,t>>>=4),0===(3&t)&&(r+=2,t>>>=2),0===(1&t)&&r++,r},a.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},a.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},a.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},a.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;re.length?this.clone().iand(e):e.clone().iand(this)},a.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},a.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},a.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},a.prototype.inotn=function(e){n("number"===typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},a.prototype.notn=function(e){return this.clone().inotn(e)},a.prototype.setn=function(e,t){n("number"===typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<e.length?(r=this,n=e):(r=e,n=this);for(var i=0,a=0;a>>26;for(;0!==i&&a>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;ae.length?this.clone().iadd(e):e.clone().iadd(this)},a.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var a=0,o=0;o>26,this.words[o]=67108863&t;for(;0!==a&&o>26,this.words[o]=67108863&t;if(0===a&&o>>13,b=0|o[1],h=8191&b,p=b>>>13,y=0|o[2],m=8191&y,g=y>>>13,v=0|o[3],w=8191&v,_=v>>>13,E=0|o[4],A=8191&E,S=E>>>13,O=0|o[5],P=8191&O,T=O>>>13,k=0|o[6],M=8191&k,C=k>>>13,R=0|o[7],x=8191&R,I=R>>>13,N=0|o[8],j=8191&N,D=N>>>13,L=0|o[9],F=8191&L,B=L>>>13,U=0|s[0],z=8191&U,V=U>>>13,G=0|s[1],H=8191&G,W=G>>>13,q=0|s[2],K=8191&q,Q=q>>>13,J=0|s[3],Y=8191&J,X=J>>>13,Z=0|s[4],$=8191&Z,ee=Z>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],ae=8191&ie,oe=ie>>>13,se=0|s[7],ce=8191&se,ue=se>>>13,le=0|s[8],fe=8191&le,de=le>>>13,be=0|s[9],he=8191&be,pe=be>>>13;r.negative=e.negative^t.negative,r.length=19;var ye=(u+(n=Math.imul(f,z))|0)+((8191&(i=(i=Math.imul(f,V))+Math.imul(d,z)|0))<<13)|0;u=((a=Math.imul(d,V))+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(h,z),i=(i=Math.imul(h,V))+Math.imul(p,z)|0,a=Math.imul(p,V);var me=(u+(n=n+Math.imul(f,H)|0)|0)+((8191&(i=(i=i+Math.imul(f,W)|0)+Math.imul(d,H)|0))<<13)|0;u=((a=a+Math.imul(d,W)|0)+(i>>>13)|0)+(me>>>26)|0,me&=67108863,n=Math.imul(m,z),i=(i=Math.imul(m,V))+Math.imul(g,z)|0,a=Math.imul(g,V),n=n+Math.imul(h,H)|0,i=(i=i+Math.imul(h,W)|0)+Math.imul(p,H)|0,a=a+Math.imul(p,W)|0;var ge=(u+(n=n+Math.imul(f,K)|0)|0)+((8191&(i=(i=i+Math.imul(f,Q)|0)+Math.imul(d,K)|0))<<13)|0;u=((a=a+Math.imul(d,Q)|0)+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(w,z),i=(i=Math.imul(w,V))+Math.imul(_,z)|0,a=Math.imul(_,V),n=n+Math.imul(m,H)|0,i=(i=i+Math.imul(m,W)|0)+Math.imul(g,H)|0,a=a+Math.imul(g,W)|0,n=n+Math.imul(h,K)|0,i=(i=i+Math.imul(h,Q)|0)+Math.imul(p,K)|0,a=a+Math.imul(p,Q)|0;var ve=(u+(n=n+Math.imul(f,Y)|0)|0)+((8191&(i=(i=i+Math.imul(f,X)|0)+Math.imul(d,Y)|0))<<13)|0;u=((a=a+Math.imul(d,X)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(A,z),i=(i=Math.imul(A,V))+Math.imul(S,z)|0,a=Math.imul(S,V),n=n+Math.imul(w,H)|0,i=(i=i+Math.imul(w,W)|0)+Math.imul(_,H)|0,a=a+Math.imul(_,W)|0,n=n+Math.imul(m,K)|0,i=(i=i+Math.imul(m,Q)|0)+Math.imul(g,K)|0,a=a+Math.imul(g,Q)|0,n=n+Math.imul(h,Y)|0,i=(i=i+Math.imul(h,X)|0)+Math.imul(p,Y)|0,a=a+Math.imul(p,X)|0;var we=(u+(n=n+Math.imul(f,$)|0)|0)+((8191&(i=(i=i+Math.imul(f,ee)|0)+Math.imul(d,$)|0))<<13)|0;u=((a=a+Math.imul(d,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(P,z),i=(i=Math.imul(P,V))+Math.imul(T,z)|0,a=Math.imul(T,V),n=n+Math.imul(A,H)|0,i=(i=i+Math.imul(A,W)|0)+Math.imul(S,H)|0,a=a+Math.imul(S,W)|0,n=n+Math.imul(w,K)|0,i=(i=i+Math.imul(w,Q)|0)+Math.imul(_,K)|0,a=a+Math.imul(_,Q)|0,n=n+Math.imul(m,Y)|0,i=(i=i+Math.imul(m,X)|0)+Math.imul(g,Y)|0,a=a+Math.imul(g,X)|0,n=n+Math.imul(h,$)|0,i=(i=i+Math.imul(h,ee)|0)+Math.imul(p,$)|0,a=a+Math.imul(p,ee)|0;var _e=(u+(n=n+Math.imul(f,re)|0)|0)+((8191&(i=(i=i+Math.imul(f,ne)|0)+Math.imul(d,re)|0))<<13)|0;u=((a=a+Math.imul(d,ne)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(M,z),i=(i=Math.imul(M,V))+Math.imul(C,z)|0,a=Math.imul(C,V),n=n+Math.imul(P,H)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(T,H)|0,a=a+Math.imul(T,W)|0,n=n+Math.imul(A,K)|0,i=(i=i+Math.imul(A,Q)|0)+Math.imul(S,K)|0,a=a+Math.imul(S,Q)|0,n=n+Math.imul(w,Y)|0,i=(i=i+Math.imul(w,X)|0)+Math.imul(_,Y)|0,a=a+Math.imul(_,X)|0,n=n+Math.imul(m,$)|0,i=(i=i+Math.imul(m,ee)|0)+Math.imul(g,$)|0,a=a+Math.imul(g,ee)|0,n=n+Math.imul(h,re)|0,i=(i=i+Math.imul(h,ne)|0)+Math.imul(p,re)|0,a=a+Math.imul(p,ne)|0;var Ee=(u+(n=n+Math.imul(f,ae)|0)|0)+((8191&(i=(i=i+Math.imul(f,oe)|0)+Math.imul(d,ae)|0))<<13)|0;u=((a=a+Math.imul(d,oe)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(x,z),i=(i=Math.imul(x,V))+Math.imul(I,z)|0,a=Math.imul(I,V),n=n+Math.imul(M,H)|0,i=(i=i+Math.imul(M,W)|0)+Math.imul(C,H)|0,a=a+Math.imul(C,W)|0,n=n+Math.imul(P,K)|0,i=(i=i+Math.imul(P,Q)|0)+Math.imul(T,K)|0,a=a+Math.imul(T,Q)|0,n=n+Math.imul(A,Y)|0,i=(i=i+Math.imul(A,X)|0)+Math.imul(S,Y)|0,a=a+Math.imul(S,X)|0,n=n+Math.imul(w,$)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(_,$)|0,a=a+Math.imul(_,ee)|0,n=n+Math.imul(m,re)|0,i=(i=i+Math.imul(m,ne)|0)+Math.imul(g,re)|0,a=a+Math.imul(g,ne)|0,n=n+Math.imul(h,ae)|0,i=(i=i+Math.imul(h,oe)|0)+Math.imul(p,ae)|0,a=a+Math.imul(p,oe)|0;var Ae=(u+(n=n+Math.imul(f,ce)|0)|0)+((8191&(i=(i=i+Math.imul(f,ue)|0)+Math.imul(d,ce)|0))<<13)|0;u=((a=a+Math.imul(d,ue)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(j,z),i=(i=Math.imul(j,V))+Math.imul(D,z)|0,a=Math.imul(D,V),n=n+Math.imul(x,H)|0,i=(i=i+Math.imul(x,W)|0)+Math.imul(I,H)|0,a=a+Math.imul(I,W)|0,n=n+Math.imul(M,K)|0,i=(i=i+Math.imul(M,Q)|0)+Math.imul(C,K)|0,a=a+Math.imul(C,Q)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(T,Y)|0,a=a+Math.imul(T,X)|0,n=n+Math.imul(A,$)|0,i=(i=i+Math.imul(A,ee)|0)+Math.imul(S,$)|0,a=a+Math.imul(S,ee)|0,n=n+Math.imul(w,re)|0,i=(i=i+Math.imul(w,ne)|0)+Math.imul(_,re)|0,a=a+Math.imul(_,ne)|0,n=n+Math.imul(m,ae)|0,i=(i=i+Math.imul(m,oe)|0)+Math.imul(g,ae)|0,a=a+Math.imul(g,oe)|0,n=n+Math.imul(h,ce)|0,i=(i=i+Math.imul(h,ue)|0)+Math.imul(p,ce)|0,a=a+Math.imul(p,ue)|0;var Se=(u+(n=n+Math.imul(f,fe)|0)|0)+((8191&(i=(i=i+Math.imul(f,de)|0)+Math.imul(d,fe)|0))<<13)|0;u=((a=a+Math.imul(d,de)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(F,z),i=(i=Math.imul(F,V))+Math.imul(B,z)|0,a=Math.imul(B,V),n=n+Math.imul(j,H)|0,i=(i=i+Math.imul(j,W)|0)+Math.imul(D,H)|0,a=a+Math.imul(D,W)|0,n=n+Math.imul(x,K)|0,i=(i=i+Math.imul(x,Q)|0)+Math.imul(I,K)|0,a=a+Math.imul(I,Q)|0,n=n+Math.imul(M,Y)|0,i=(i=i+Math.imul(M,X)|0)+Math.imul(C,Y)|0,a=a+Math.imul(C,X)|0,n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,ee)|0)+Math.imul(T,$)|0,a=a+Math.imul(T,ee)|0,n=n+Math.imul(A,re)|0,i=(i=i+Math.imul(A,ne)|0)+Math.imul(S,re)|0,a=a+Math.imul(S,ne)|0,n=n+Math.imul(w,ae)|0,i=(i=i+Math.imul(w,oe)|0)+Math.imul(_,ae)|0,a=a+Math.imul(_,oe)|0,n=n+Math.imul(m,ce)|0,i=(i=i+Math.imul(m,ue)|0)+Math.imul(g,ce)|0,a=a+Math.imul(g,ue)|0,n=n+Math.imul(h,fe)|0,i=(i=i+Math.imul(h,de)|0)+Math.imul(p,fe)|0,a=a+Math.imul(p,de)|0;var Oe=(u+(n=n+Math.imul(f,he)|0)|0)+((8191&(i=(i=i+Math.imul(f,pe)|0)+Math.imul(d,he)|0))<<13)|0;u=((a=a+Math.imul(d,pe)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(F,H),i=(i=Math.imul(F,W))+Math.imul(B,H)|0,a=Math.imul(B,W),n=n+Math.imul(j,K)|0,i=(i=i+Math.imul(j,Q)|0)+Math.imul(D,K)|0,a=a+Math.imul(D,Q)|0,n=n+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,X)|0)+Math.imul(I,Y)|0,a=a+Math.imul(I,X)|0,n=n+Math.imul(M,$)|0,i=(i=i+Math.imul(M,ee)|0)+Math.imul(C,$)|0,a=a+Math.imul(C,ee)|0,n=n+Math.imul(P,re)|0,i=(i=i+Math.imul(P,ne)|0)+Math.imul(T,re)|0,a=a+Math.imul(T,ne)|0,n=n+Math.imul(A,ae)|0,i=(i=i+Math.imul(A,oe)|0)+Math.imul(S,ae)|0,a=a+Math.imul(S,oe)|0,n=n+Math.imul(w,ce)|0,i=(i=i+Math.imul(w,ue)|0)+Math.imul(_,ce)|0,a=a+Math.imul(_,ue)|0,n=n+Math.imul(m,fe)|0,i=(i=i+Math.imul(m,de)|0)+Math.imul(g,fe)|0,a=a+Math.imul(g,de)|0;var Pe=(u+(n=n+Math.imul(h,he)|0)|0)+((8191&(i=(i=i+Math.imul(h,pe)|0)+Math.imul(p,he)|0))<<13)|0;u=((a=a+Math.imul(p,pe)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(F,K),i=(i=Math.imul(F,Q))+Math.imul(B,K)|0,a=Math.imul(B,Q),n=n+Math.imul(j,Y)|0,i=(i=i+Math.imul(j,X)|0)+Math.imul(D,Y)|0,a=a+Math.imul(D,X)|0,n=n+Math.imul(x,$)|0,i=(i=i+Math.imul(x,ee)|0)+Math.imul(I,$)|0,a=a+Math.imul(I,ee)|0,n=n+Math.imul(M,re)|0,i=(i=i+Math.imul(M,ne)|0)+Math.imul(C,re)|0,a=a+Math.imul(C,ne)|0,n=n+Math.imul(P,ae)|0,i=(i=i+Math.imul(P,oe)|0)+Math.imul(T,ae)|0,a=a+Math.imul(T,oe)|0,n=n+Math.imul(A,ce)|0,i=(i=i+Math.imul(A,ue)|0)+Math.imul(S,ce)|0,a=a+Math.imul(S,ue)|0,n=n+Math.imul(w,fe)|0,i=(i=i+Math.imul(w,de)|0)+Math.imul(_,fe)|0,a=a+Math.imul(_,de)|0;var Te=(u+(n=n+Math.imul(m,he)|0)|0)+((8191&(i=(i=i+Math.imul(m,pe)|0)+Math.imul(g,he)|0))<<13)|0;u=((a=a+Math.imul(g,pe)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(F,Y),i=(i=Math.imul(F,X))+Math.imul(B,Y)|0,a=Math.imul(B,X),n=n+Math.imul(j,$)|0,i=(i=i+Math.imul(j,ee)|0)+Math.imul(D,$)|0,a=a+Math.imul(D,ee)|0,n=n+Math.imul(x,re)|0,i=(i=i+Math.imul(x,ne)|0)+Math.imul(I,re)|0,a=a+Math.imul(I,ne)|0,n=n+Math.imul(M,ae)|0,i=(i=i+Math.imul(M,oe)|0)+Math.imul(C,ae)|0,a=a+Math.imul(C,oe)|0,n=n+Math.imul(P,ce)|0,i=(i=i+Math.imul(P,ue)|0)+Math.imul(T,ce)|0,a=a+Math.imul(T,ue)|0,n=n+Math.imul(A,fe)|0,i=(i=i+Math.imul(A,de)|0)+Math.imul(S,fe)|0,a=a+Math.imul(S,de)|0;var ke=(u+(n=n+Math.imul(w,he)|0)|0)+((8191&(i=(i=i+Math.imul(w,pe)|0)+Math.imul(_,he)|0))<<13)|0;u=((a=a+Math.imul(_,pe)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(F,$),i=(i=Math.imul(F,ee))+Math.imul(B,$)|0,a=Math.imul(B,ee),n=n+Math.imul(j,re)|0,i=(i=i+Math.imul(j,ne)|0)+Math.imul(D,re)|0,a=a+Math.imul(D,ne)|0,n=n+Math.imul(x,ae)|0,i=(i=i+Math.imul(x,oe)|0)+Math.imul(I,ae)|0,a=a+Math.imul(I,oe)|0,n=n+Math.imul(M,ce)|0,i=(i=i+Math.imul(M,ue)|0)+Math.imul(C,ce)|0,a=a+Math.imul(C,ue)|0,n=n+Math.imul(P,fe)|0,i=(i=i+Math.imul(P,de)|0)+Math.imul(T,fe)|0,a=a+Math.imul(T,de)|0;var Me=(u+(n=n+Math.imul(A,he)|0)|0)+((8191&(i=(i=i+Math.imul(A,pe)|0)+Math.imul(S,he)|0))<<13)|0;u=((a=a+Math.imul(S,pe)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(F,re),i=(i=Math.imul(F,ne))+Math.imul(B,re)|0,a=Math.imul(B,ne),n=n+Math.imul(j,ae)|0,i=(i=i+Math.imul(j,oe)|0)+Math.imul(D,ae)|0,a=a+Math.imul(D,oe)|0,n=n+Math.imul(x,ce)|0,i=(i=i+Math.imul(x,ue)|0)+Math.imul(I,ce)|0,a=a+Math.imul(I,ue)|0,n=n+Math.imul(M,fe)|0,i=(i=i+Math.imul(M,de)|0)+Math.imul(C,fe)|0,a=a+Math.imul(C,de)|0;var Ce=(u+(n=n+Math.imul(P,he)|0)|0)+((8191&(i=(i=i+Math.imul(P,pe)|0)+Math.imul(T,he)|0))<<13)|0;u=((a=a+Math.imul(T,pe)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(F,ae),i=(i=Math.imul(F,oe))+Math.imul(B,ae)|0,a=Math.imul(B,oe),n=n+Math.imul(j,ce)|0,i=(i=i+Math.imul(j,ue)|0)+Math.imul(D,ce)|0,a=a+Math.imul(D,ue)|0,n=n+Math.imul(x,fe)|0,i=(i=i+Math.imul(x,de)|0)+Math.imul(I,fe)|0,a=a+Math.imul(I,de)|0;var Re=(u+(n=n+Math.imul(M,he)|0)|0)+((8191&(i=(i=i+Math.imul(M,pe)|0)+Math.imul(C,he)|0))<<13)|0;u=((a=a+Math.imul(C,pe)|0)+(i>>>13)|0)+(Re>>>26)|0,Re&=67108863,n=Math.imul(F,ce),i=(i=Math.imul(F,ue))+Math.imul(B,ce)|0,a=Math.imul(B,ue),n=n+Math.imul(j,fe)|0,i=(i=i+Math.imul(j,de)|0)+Math.imul(D,fe)|0,a=a+Math.imul(D,de)|0;var xe=(u+(n=n+Math.imul(x,he)|0)|0)+((8191&(i=(i=i+Math.imul(x,pe)|0)+Math.imul(I,he)|0))<<13)|0;u=((a=a+Math.imul(I,pe)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(F,fe),i=(i=Math.imul(F,de))+Math.imul(B,fe)|0,a=Math.imul(B,de);var Ie=(u+(n=n+Math.imul(j,he)|0)|0)+((8191&(i=(i=i+Math.imul(j,pe)|0)+Math.imul(D,he)|0))<<13)|0;u=((a=a+Math.imul(D,pe)|0)+(i>>>13)|0)+(Ie>>>26)|0,Ie&=67108863;var Ne=(u+(n=Math.imul(F,he))|0)+((8191&(i=(i=Math.imul(F,pe))+Math.imul(B,he)|0))<<13)|0;return u=((a=Math.imul(B,pe))+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,c[0]=ye,c[1]=me,c[2]=ge,c[3]=ve,c[4]=we,c[5]=_e,c[6]=Ee,c[7]=Ae,c[8]=Se,c[9]=Oe,c[10]=Pe,c[11]=Te,c[12]=ke,c[13]=Me,c[14]=Ce,c[15]=Re,c[16]=xe,c[17]=Ie,c[18]=Ne,0!==u&&(c[19]=u,r.length++),r};function m(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,a=0;a>>26)|0)>>>26,o&=67108863}r.words[a]=s,n=o,o=i}return 0!==n?r.words[a]=n:r.length--,r._strip()}function g(e,t,r){return m(e,t,r)}function v(e,t){this.x=e,this.y=t}Math.imul||(y=p),a.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?y(this,e,t):r<63?p(this,e,t):r<1024?m(this,e,t):g(this,e,t)},v.prototype.makeRBT=function(e){for(var t=new Array(e),r=a.prototype._countBits(e)-1,n=0;n>=1;return n},v.prototype.permute=function(e,t,r,n,i,a){for(var o=0;o>>=1)i++;return 1<>>=13,r[2*o+1]=8191&a,a>>>=13;for(o=2*t;o>=26,r+=a/67108864|0,r+=o>>>26,this.words[i]=67108863&o}return 0!==r&&(this.words[i]=r,this.length++),t?this.ineg():this},a.prototype.muln=function(e){return this.clone().imuln(e)},a.prototype.sqr=function(){return this.mul(this)},a.prototype.isqr=function(){return this.imul(this.clone())},a.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r>>i&1}return t}(e);if(0===t.length)return new a(1);for(var r=this,n=0;n=0);var t,r=e%26,i=(e-r)/26,a=67108863>>>26-r<<26-r;if(0!==r){var o=0;for(t=0;t>>26-r}o&&(this.words[t]=o,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t=0),i=t?(t-t%26)/26:0;var a=e%26,o=Math.min((e-a)/26,this.length),s=67108863^67108863>>>a<o)for(this.length-=o,u=0;u=0&&(0!==l||u>=i);u--){var f=0|this.words[u];this.words[u]=l<<26-a|f>>>a,l=f&s}return c&&0!==l&&(c.words[c.length++]=l),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},a.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},a.prototype.shln=function(e){return this.clone().ishln(e)},a.prototype.ushln=function(e){return this.clone().iushln(e)},a.prototype.shrn=function(e){return this.clone().ishrn(e)},a.prototype.ushrn=function(e){return this.clone().iushrn(e)},a.prototype.testn=function(e){n("number"===typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},a.prototype.isubn=function(e){if(n("number"===typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(c/67108864|0),this.words[i+r]=67108863&a}for(;i>26,this.words[i+r]=67108863&a;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i>26,this.words[i]=67108863&a;return this.negative=1,this._strip()},a.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,o=0|i.words[i.length-1];0!==(r=26-this._countBits(o))&&(i=i.ushln(r),n.iushln(r),o=0|i.words[i.length-1]);var s,c=n.length-i.length;if("mod"!==t){(s=new a(null)).length=c+1,s.words=new Array(s.length);for(var u=0;u=0;f--){var d=67108864*(0|n.words[i.length+f])+(0|n.words[i.length+f-1]);for(d=Math.min(d/o|0,67108863),n._ishlnsubmul(i,d,f);0!==n.negative;)d--,n.negative=0,n._ishlnsubmul(i,1,f),n.isZero()||(n.negative^=1);s&&(s.words[f]=d)}return s&&s._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},a.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new a(0),mod:new a(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.iadd(e)),{div:i,mod:o}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(o=s.mod.neg(),r&&0!==o.negative&&o.isub(e)),{div:s.div,mod:o}):e.length>this.length||this.cmp(e)<0?{div:new a(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new a(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new a(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,o,s},a.prototype.div=function(e){return this.divmod(e,"div",!1).div},a.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},a.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},a.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),i=e.andln(1),a=r.cmp(n);return a<0||1===i&&0===a?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},a.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,i=0,a=this.length-1;a>=0;a--)i=(r*i+(0|this.words[a]))%e;return t?-i:i},a.prototype.modn=function(e){return this.modrn(e)},a.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var a=(0|this.words[i])+67108864*r;this.words[i]=a/e|0,r=a%e}return this._strip(),t?this.ineg():this},a.prototype.divn=function(e){return this.clone().idivn(e)},a.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new a(1),o=new a(0),s=new a(0),c=new a(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var l=r.clone(),f=t.clone();!t.isZero();){for(var d=0,b=1;0===(t.words[0]&b)&&d<26;++d,b<<=1);if(d>0)for(t.iushrn(d);d-- >0;)(i.isOdd()||o.isOdd())&&(i.iadd(l),o.isub(f)),i.iushrn(1),o.iushrn(1);for(var h=0,p=1;0===(r.words[0]&p)&&h<26;++h,p<<=1);if(h>0)for(r.iushrn(h);h-- >0;)(s.isOdd()||c.isOdd())&&(s.iadd(l),c.isub(f)),s.iushrn(1),c.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),o.isub(c)):(r.isub(t),s.isub(i),c.isub(o))}return{a:s,b:c,gcd:r.iushln(u)}},a.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,o=new a(1),s=new a(0),c=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,l=1;0===(t.words[0]&l)&&u<26;++u,l<<=1);if(u>0)for(t.iushrn(u);u-- >0;)o.isOdd()&&o.iadd(c),o.iushrn(1);for(var f=0,d=1;0===(r.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(r.iushrn(f);f-- >0;)s.isOdd()&&s.iadd(c),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),o.isub(s)):(r.isub(t),s.isub(o))}return(i=0===t.cmpn(1)?o:s).cmpn(0)<0&&i.iadd(e),i},a.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var a=t;t=r,r=a}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},a.prototype.invm=function(e){return this.egcd(e).a.umod(e)},a.prototype.isEven=function(){return 0===(1&this.words[0])},a.prototype.isOdd=function(){return 1===(1&this.words[0])},a.prototype.andln=function(e){return this.words[0]&e},a.prototype.bincn=function(e){n("number"===typeof e);var t=e%26,r=(e-t)/26,i=1<>>26,s&=67108863,this.words[o]=s}return 0!==a&&(this.words[o]=a,this.length++),this},a.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},a.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:ie.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){ni&&(t=1);break}}return t},a.prototype.gtn=function(e){return 1===this.cmpn(e)},a.prototype.gt=function(e){return 1===this.cmp(e)},a.prototype.gten=function(e){return this.cmpn(e)>=0},a.prototype.gte=function(e){return this.cmp(e)>=0},a.prototype.ltn=function(e){return-1===this.cmpn(e)},a.prototype.lt=function(e){return-1===this.cmp(e)},a.prototype.lten=function(e){return this.cmpn(e)<=0},a.prototype.lte=function(e){return this.cmp(e)<=0},a.prototype.eqn=function(e){return 0===this.cmpn(e)},a.prototype.eq=function(e){return 0===this.cmp(e)},a.red=function(e){return new P(e)},a.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},a.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},a.prototype._forceRed=function(e){return this.red=e,this},a.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},a.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},a.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},a.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},a.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},a.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},a.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},a.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},a.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},a.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},a.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},a.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},a.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},a.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var w={k256:null,p224:null,p192:null,p25519:null};function _(e,t){this.name=e,this.p=new a(t,16),this.n=this.p.bitLength(),this.k=new a(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function E(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function A(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function O(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function P(e){if("string"===typeof e){var t=a._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function T(e){P.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new a(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}_.prototype._tmp=function(){var e=new a(null);return e.words=new Array(Math.ceil(this.n/13)),e},_.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},_.prototype.split=function(e,t){e.iushrn(this.n,0,t)},_.prototype.imulK=function(e){return e.imul(this.k)},i(E,_),E.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i>>22,a=o}a>>>=22,e.words[i-10]=a,0===a&&e.length>10?e.length-=10:e.length-=9},E.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},a._prime=function(e){if(w[e])return w[e];var t;if("k256"===e)t=new E;else if("p224"===e)t=new A;else if("p192"===e)t=new S;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new O}return w[e]=t,t},P.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},P.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},P.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(l(e,e.umod(this.m)._forceRed(this)),e)},P.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},P.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},P.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},P.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},P.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},P.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},P.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},P.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},P.prototype.isqr=function(e){return this.imul(e,e.clone())},P.prototype.sqr=function(e){return this.mul(e,e)},P.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2===1),3===t){var r=this.m.add(new a(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),o=0;!i.isZero()&&0===i.andln(1);)o++,i.iushrn(1);n(!i.isZero());var s=new a(1).toRed(this),c=s.redNeg(),u=this.m.subn(1).iushrn(1),l=this.m.bitLength();for(l=new a(2*l*l).toRed(this);0!==this.pow(l,u).cmp(c);)l.redIAdd(c);for(var f=this.pow(l,i),d=this.pow(e,i.addn(1).iushrn(1)),b=this.pow(e,i),h=o;0!==b.cmp(s);){for(var p=b,y=0;0!==p.cmp(s);y++)p=p.redSqr();n(y=0;n--){for(var u=t.words[n],l=c-1;l>=0;l--){var f=u>>l&1;i!==r[0]&&(i=this.sqr(i)),0!==f||0!==o?(o<<=1,o|=f,(4===++s||0===n&&0===l)&&(i=this.mul(i,r[o]),s=0,o=0)):s=0}c=26}return i},P.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},P.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},a.mont=function(e){return new T(e)},i(T,P),T.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},T.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},T.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},T.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new a(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},T.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=r.nmd(e),this)},62096:e=>{"use strict";const t=()=>{const e=new Error("Delay aborted");return e.name="AbortError",e},r=e=>{let{clearTimeout:r,setTimeout:n,willResolve:i}=e;return function(e){let a,o,s,{value:c,signal:u}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(u&&u.aborted)return Promise.reject(t());const l=r||clearTimeout,f=()=>{l(a),s(t())},d=new Promise(((t,r)=>{o=()=>{u&&u.removeEventListener("abort",f),i?t(c):r(c)},s=r,a=(n||setTimeout)(o,e)}));return u&&u.addEventListener("abort",f,{once:!0}),d.clear=()=>{l(a),a=null,o()},d}},n=e=>{const t=r({...e,willResolve:!0});return t.reject=r({...e,willResolve:!1}),t.range=(e,r,n)=>t(((e,t)=>Math.floor(Math.random()*(t-e+1)+e))(e,r),n),t},i=n();i.createWithTimers=n,e.exports=i,e.exports.default=i},37708:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BaseContract:()=>R,BigNumber:()=>d.O$,Contract:()=>x,ContractFactory:()=>I,FixedNumber:()=>N.xs,Signer:()=>l.E,VoidSigner:()=>l.b,Wallet:()=>j.Wallet,Wordlist:()=>Xe.D,constants:()=>n,errors:()=>y.ErrorCode,ethers:()=>o,getDefaultProvider:()=>Je,logger:()=>wt,providers:()=>i,utils:()=>a,version:()=>vt,wordlists:()=>Ye.E});var n={};r.r(n),r.d(n,{AddressZero:()=>D.d,EtherSymbol:()=>B,HashZero:()=>F.R,MaxInt256:()=>L.PS,MaxUint256:()=>L.Bz,MinInt256:()=>L.$B,NegativeOne:()=>L.tL,One:()=>L.fh,Two:()=>L.Py,WeiPerEther:()=>L.Ce,Zero:()=>L._Y});var i={};r.r(i),r.d(i,{AlchemyProvider:()=>ne,AlchemyWebSocketProvider:()=>re,AnkrProvider:()=>se,BaseProvider:()=>z.Zk,CloudflareProvider:()=>le,EtherscanProvider:()=>ve,FallbackProvider:()=>je,Formatter:()=>V.Mb,InfuraProvider:()=>Ue,InfuraWebSocketProvider:()=>Be,IpcProvider:()=>De,JsonRpcBatchProvider:()=>ze,JsonRpcProvider:()=>G.r,JsonRpcSigner:()=>G.C,NodesmithProvider:()=>Ge,PocketProvider:()=>qe,Provider:()=>u.zt,Resolver:()=>z.H2,StaticJsonRpcProvider:()=>Z,UrlJsonRpcProvider:()=>$,Web3Provider:()=>Ke.Q,WebSocketProvider:()=>J,getDefaultProvider:()=>Je,getNetwork:()=>U.H,isCommunityResourcable:()=>V.Ed,isCommunityResource:()=>V.Gp,showThrottleMessage:()=>V.vh});var a={};r.r(a),r.d(a,{AbiCoder:()=>Ze.R,ConstructorFragment:()=>$e.Xg,ErrorFragment:()=>$e.IC,EventFragment:()=>$e.QV,FormatTypes:()=>$e.pc,Fragment:()=>$e.HY,FunctionFragment:()=>$e.YW,HDNode:()=>ot.HDNode,Indexed:()=>c.Hk,Interface:()=>c.vU,LogDescription:()=>c.CC,Logger:()=>y.Logger,ParamType:()=>$e._R,RLP:()=>dt,SigningKey:()=>bt.SigningKey,SupportedAlgorithm:()=>gt.p,TransactionDescription:()=>c.vk,TransactionTypes:()=>p.TransactionTypes,UnicodeNormalizationForm:()=>pt.Uj,Utf8ErrorFuncs:()=>pt.te,Utf8ErrorReason:()=>pt.Uw,_TypedDataEncoder:()=>at.E,_fetchData:()=>fe._fetchData,_toEscapedUtf8String:()=>pt.U$,accessListify:()=>p.accessListify,arrayify:()=>b.arrayify,base58:()=>tt.Base58,base64:()=>et,checkProperties:()=>h.checkProperties,checkResultErrors:()=>s.BR,commify:()=>mt.commify,computeAddress:()=>p.computeAddress,computeHmac:()=>ut.Gy,computePublicKey:()=>bt.computePublicKey,concat:()=>b.concat,deepCopy:()=>h.deepCopy,defaultAbiCoder:()=>Ze.$,defaultPath:()=>ot.defaultPath,defineReadOnly:()=>h.defineReadOnly,dnsEncode:()=>rt.Kn,entropyToMnemonic:()=>ot.entropyToMnemonic,fetchJson:()=>fe.fetchJson,formatBytes32String:()=>yt.s,formatEther:()=>mt.formatEther,formatUnits:()=>mt.formatUnits,getAccountPath:()=>ot.getAccountPath,getAddress:()=>f.getAddress,getContractAddress:()=>f.getContractAddress,getCreate2Address:()=>f.getCreate2Address,getIcapAddress:()=>f.getIcapAddress,getJsonWalletAddress:()=>st.Rb,getStatic:()=>h.getStatic,hashMessage:()=>nt.r,hexConcat:()=>b.hexConcat,hexDataLength:()=>b.hexDataLength,hexDataSlice:()=>b.hexDataSlice,hexStripZeros:()=>b.hexStripZeros,hexValue:()=>b.hexValue,hexZeroPad:()=>b.hexZeroPad,hexlify:()=>b.hexlify,id:()=>it.id,isAddress:()=>f.isAddress,isBytes:()=>b.isBytes,isBytesLike:()=>b.isBytesLike,isHexString:()=>b.isHexString,isValidMnemonic:()=>ot.isValidMnemonic,isValidName:()=>rt.r1,joinSignature:()=>b.joinSignature,keccak256:()=>ct.keccak256,mnemonicToEntropy:()=>ot.mnemonicToEntropy,mnemonicToSeed:()=>ot.mnemonicToSeed,namehash:()=>rt.VM,nameprep:()=>ht.Ll,parseBytes32String:()=>yt.F,parseEther:()=>mt.parseEther,parseTransaction:()=>p.parse,parseUnits:()=>mt.parseUnits,poll:()=>fe.poll,randomBytes:()=>ft.O,recoverAddress:()=>p.recoverAddress,recoverPublicKey:()=>bt.recoverPublicKey,resolveProperties:()=>h.resolveProperties,ripemd160:()=>ut.bP,serializeTransaction:()=>p.serialize,sha256:()=>ut.JQ,sha512:()=>ut.o,shallowCopy:()=>h.shallowCopy,shuffled:()=>we.y,solidityKeccak256:()=>lt.keccak256,solidityPack:()=>lt.pack,soliditySha256:()=>lt.sha256,splitSignature:()=>b.splitSignature,stripZeros:()=>b.stripZeros,toUtf8Bytes:()=>pt.Y0,toUtf8CodePoints:()=>pt.XL,toUtf8String:()=>pt.ZN,verifyMessage:()=>j.verifyMessage,verifyTypedData:()=>j.verifyTypedData,zeroPad:()=>b.zeroPad});var o={};r.r(o),r.d(o,{BaseContract:()=>R,BigNumber:()=>d.O$,Contract:()=>x,ContractFactory:()=>I,FixedNumber:()=>N.xs,Signer:()=>l.E,VoidSigner:()=>l.b,Wallet:()=>j.Wallet,Wordlist:()=>Xe.D,constants:()=>n,errors:()=>y.ErrorCode,getDefaultProvider:()=>Je,logger:()=>wt,providers:()=>i,utils:()=>a,version:()=>vt,wordlists:()=>Ye.E});var s=r(73198),c=r(17303),u=r(69745),l=r(68408),f=r(97419),d=r(2257),b=r(49716),h=r(30520),p=r(25452),y=r(39502);var m=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))};const g=new y.Logger("contracts/5.7.0"),v={chainId:!0,data:!0,from:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0,customData:!0,ccipReadEnabled:!0};function w(e,t){return m(this,void 0,void 0,(function*(){const r=yield t;"string"!==typeof r&&g.throwArgumentError("invalid address or ENS name","name",r);try{return(0,f.getAddress)(r)}catch(i){}e||g.throwError("a provider or signer is needed to resolve ENS names",y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"resolveName"});const n=yield e.resolveName(r);return null==n&&g.throwArgumentError("resolver or addr is not configured for ENS name","name",r),n}))}function _(e,t,r){return m(this,void 0,void 0,(function*(){return Array.isArray(r)?yield Promise.all(r.map(((r,n)=>_(e,Array.isArray(t)?t[n]:t[r.name],r)))):"address"===r.type?yield w(e,t):"tuple"===r.type?yield _(e,t,r.components):"array"===r.baseType?Array.isArray(t)?yield Promise.all(t.map((t=>_(e,t,r.arrayChildren)))):Promise.reject(g.makeError("invalid value for array",y.Logger.errors.INVALID_ARGUMENT,{argument:"value",value:t})):t}))}function E(e,t,r){return m(this,void 0,void 0,(function*(){let n={};r.length===t.inputs.length+1&&"object"===typeof r[r.length-1]&&(n=(0,h.shallowCopy)(r.pop())),g.checkArgumentCount(r.length,t.inputs.length,"passed to contract"),e.signer?n.from?n.from=(0,h.resolveProperties)({override:w(e.signer,n.from),signer:e.signer.getAddress()}).then((e=>m(this,void 0,void 0,(function*(){return(0,f.getAddress)(e.signer)!==e.override&&g.throwError("Contract with a Signer cannot override from",y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"overrides.from"}),e.override})))):n.from=e.signer.getAddress():n.from&&(n.from=w(e.provider,n.from));const i=yield(0,h.resolveProperties)({args:_(e.signer||e.provider,r,t.inputs),address:e.resolvedAddress,overrides:(0,h.resolveProperties)(n)||{}}),a=e.interface.encodeFunctionData(t,i.args),o={data:a,to:i.address},s=i.overrides;if(null!=s.nonce&&(o.nonce=d.O$.from(s.nonce).toNumber()),null!=s.gasLimit&&(o.gasLimit=d.O$.from(s.gasLimit)),null!=s.gasPrice&&(o.gasPrice=d.O$.from(s.gasPrice)),null!=s.maxFeePerGas&&(o.maxFeePerGas=d.O$.from(s.maxFeePerGas)),null!=s.maxPriorityFeePerGas&&(o.maxPriorityFeePerGas=d.O$.from(s.maxPriorityFeePerGas)),null!=s.from&&(o.from=s.from),null!=s.type&&(o.type=s.type),null!=s.accessList&&(o.accessList=(0,p.accessListify)(s.accessList)),null==o.gasLimit&&null!=t.gas){let e=21e3;const r=(0,b.arrayify)(a);for(let t=0;tnull!=n[e]));return c.length&&g.throwError("cannot override ".concat(c.map((e=>JSON.stringify(e))).join(",")),y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"overrides",overrides:c}),o}))}function A(e,t){const r=t.wait.bind(t);t.wait=t=>r(t).then((t=>(t.events=t.logs.map((r=>{let n=(0,h.deepCopy)(r),i=null;try{i=e.interface.parseLog(r)}catch(a){}return i&&(n.args=i.args,n.decode=(t,r)=>e.interface.decodeEventLog(i.eventFragment,t,r),n.event=i.name,n.eventSignature=i.signature),n.removeListener=()=>e.provider,n.getBlock=()=>e.provider.getBlock(t.blockHash),n.getTransaction=()=>e.provider.getTransaction(t.transactionHash),n.getTransactionReceipt=()=>Promise.resolve(t),n})),t)))}function S(e,t,r){const n=e.signer||e.provider;return function(){for(var i=arguments.length,a=new Array(i),o=0;oArray.isArray(e)?e.join("|"):e)).join(":"):""):"*"}class T{constructor(e,t){(0,h.defineReadOnly)(this,"tag",e),(0,h.defineReadOnly)(this,"filter",t),this._listeners=[]}addListener(e,t){this._listeners.push({listener:e,once:t})}removeListener(e){let t=!1;this._listeners=this._listeners.filter((r=>!(!t&&r.listener===e)||(t=!0,!1)))}removeAllListeners(){this._listeners=[]}listeners(){return this._listeners.map((e=>e.listener))}listenerCount(){return this._listeners.length}run(e){const t=this.listenerCount();return this._listeners=this._listeners.filter((t=>{const r=e.slice();return setTimeout((()=>{t.listener.apply(this,r)}),0),!t.once})),t}prepareEvent(e){}getEmit(e){return[e]}}class k extends T{constructor(){super("error",null)}}class M extends T{constructor(e,t,r,n){const i={address:e};let a=t.getEventTopic(r);n?(a!==n[0]&&g.throwArgumentError("topic mismatch","topics",n),i.topics=n.slice()):i.topics=[a],super(P(i),i),(0,h.defineReadOnly)(this,"address",e),(0,h.defineReadOnly)(this,"interface",t),(0,h.defineReadOnly)(this,"fragment",r)}prepareEvent(e){super.prepareEvent(e),e.event=this.fragment.name,e.eventSignature=this.fragment.format(),e.decode=(e,t)=>this.interface.decodeEventLog(this.fragment,e,t);try{e.args=this.interface.decodeEventLog(this.fragment,e.data,e.topics)}catch(t){e.args=null,e.decodeError=t}}getEmit(e){const t=(0,s.BR)(e.args);if(t.length)throw t[0].error;const r=(e.args||[]).slice();return r.push(e),r}}class C extends T{constructor(e,t){super("*",{address:e}),(0,h.defineReadOnly)(this,"address",e),(0,h.defineReadOnly)(this,"interface",t)}prepareEvent(e){super.prepareEvent(e);try{const t=this.interface.parseLog(e);e.event=t.name,e.eventSignature=t.signature,e.decode=(e,r)=>this.interface.decodeEventLog(t.eventFragment,e,r),e.args=t.args}catch(t){}}}class R{constructor(e,t,r){var n=this;(0,h.defineReadOnly)(this,"interface",(0,h.getStatic)(new.target,"getInterface")(t)),null==r?((0,h.defineReadOnly)(this,"provider",null),(0,h.defineReadOnly)(this,"signer",null)):l.E.isSigner(r)?((0,h.defineReadOnly)(this,"provider",r.provider||null),(0,h.defineReadOnly)(this,"signer",r)):u.zt.isProvider(r)?((0,h.defineReadOnly)(this,"provider",r),(0,h.defineReadOnly)(this,"signer",null)):g.throwArgumentError("invalid signer or provider","signerOrProvider",r),(0,h.defineReadOnly)(this,"callStatic",{}),(0,h.defineReadOnly)(this,"estimateGas",{}),(0,h.defineReadOnly)(this,"functions",{}),(0,h.defineReadOnly)(this,"populateTransaction",{}),(0,h.defineReadOnly)(this,"filters",{});{const e={};Object.keys(this.interface.events).forEach((t=>{const r=this.interface.events[t];(0,h.defineReadOnly)(this.filters,t,(function(){for(var e=arguments.length,t=new Array(e),i=0;i{const r=e[t];1===r.length?(0,h.defineReadOnly)(this.filters,t,this.filters[r[0]]):g.warn("Duplicate definition of ".concat(t," (").concat(r.join(", "),")"))}))}if((0,h.defineReadOnly)(this,"_runningEvents",{}),(0,h.defineReadOnly)(this,"_wrappedEmits",{}),null==e&&g.throwArgumentError("invalid contract address or ENS name","addressOrName",e),(0,h.defineReadOnly)(this,"address",e),this.provider)(0,h.defineReadOnly)(this,"resolvedAddress",w(this.provider,e));else try{(0,h.defineReadOnly)(this,"resolvedAddress",Promise.resolve((0,f.getAddress)(e)))}catch(o){g.throwError("provider is required to use ENS name as contract address",y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"new Contract"})}this.resolvedAddress.catch((e=>{}));const i={},a={};Object.keys(this.interface.functions).forEach((e=>{const t=this.interface.functions[e];if(a[e])g.warn("Duplicate ABI entry for ".concat(JSON.stringify(e)));else{a[e]=!0;{const r=t.name;i["%".concat(r)]||(i["%".concat(r)]=[]),i["%".concat(r)].push(e)}null==this[e]&&(0,h.defineReadOnly)(this,e,O(this,t,!0)),null==this.functions[e]&&(0,h.defineReadOnly)(this.functions,e,O(this,t,!1)),null==this.callStatic[e]&&(0,h.defineReadOnly)(this.callStatic,e,S(this,t,!0)),null==this.populateTransaction[e]&&(0,h.defineReadOnly)(this.populateTransaction,e,function(e,t){return function(){for(var r=arguments.length,n=new Array(r),i=0;i{const t=i[e];if(t.length>1)return;e=e.substring(1);const r=t[0];try{null==this[e]&&(0,h.defineReadOnly)(this,e,this[r])}catch(n){}null==this.functions[e]&&(0,h.defineReadOnly)(this.functions,e,this.functions[r]),null==this.callStatic[e]&&(0,h.defineReadOnly)(this.callStatic,e,this.callStatic[r]),null==this.populateTransaction[e]&&(0,h.defineReadOnly)(this.populateTransaction,e,this.populateTransaction[r]),null==this.estimateGas[e]&&(0,h.defineReadOnly)(this.estimateGas,e,this.estimateGas[r])}))}static getContractAddress(e){return(0,f.getContractAddress)(e)}static getInterface(e){return c.vU.isInterface(e)?e:new c.vU(e)}deployed(){return this._deployed()}_deployed(e){return this._deployedPromise||(this.deployTransaction?this._deployedPromise=this.deployTransaction.wait().then((()=>this)):this._deployedPromise=this.provider.getCode(this.address,e).then((e=>("0x"===e&&g.throwError("contract not deployed",y.Logger.errors.UNSUPPORTED_OPERATION,{contractAddress:this.address,operation:"getDeployed"}),this)))),this._deployedPromise}fallback(e){this.signer||g.throwError("sending a transactions require a signer",y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction(fallback)"});const t=(0,h.shallowCopy)(e||{});return["from","to"].forEach((function(e){null!=t[e]&&g.throwError("cannot override "+e,y.Logger.errors.UNSUPPORTED_OPERATION,{operation:e})})),t.to=this.resolvedAddress,this.deployed().then((()=>this.signer.sendTransaction(t)))}connect(e){"string"===typeof e&&(e=new l.b(e,this.provider));const t=new this.constructor(this.address,this.interface,e);return this.deployTransaction&&(0,h.defineReadOnly)(t,"deployTransaction",this.deployTransaction),t}attach(e){return new this.constructor(e,this.interface,this.signer||this.provider)}static isIndexed(e){return c.Hk.isIndexed(e)}_normalizeRunningEvent(e){return this._runningEvents[e.tag]?this._runningEvents[e.tag]:e}_getRunningEvent(e){if("string"===typeof e){if("error"===e)return this._normalizeRunningEvent(new k);if("event"===e)return this._normalizeRunningEvent(new T("event",null));if("*"===e)return this._normalizeRunningEvent(new C(this.address,this.interface));const t=this.interface.getEvent(e);return this._normalizeRunningEvent(new M(this.address,this.interface,t))}if(e.topics&&e.topics.length>0){try{const t=e.topics[0];if("string"!==typeof t)throw new Error("invalid topic");const r=this.interface.getEvent(t);return this._normalizeRunningEvent(new M(this.address,this.interface,r,e.topics))}catch(t){}const r={address:this.address,topics:e.topics};return this._normalizeRunningEvent(new T(P(r),r))}return this._normalizeRunningEvent(new C(this.address,this.interface))}_checkRunningEvents(e){if(0===e.listenerCount()){delete this._runningEvents[e.tag];const t=this._wrappedEmits[e.tag];t&&e.filter&&(this.provider.off(e.filter,t),delete this._wrappedEmits[e.tag])}}_wrapEvent(e,t,r){const n=(0,h.deepCopy)(t);return n.removeListener=()=>{r&&(e.removeListener(r),this._checkRunningEvents(e))},n.getBlock=()=>this.provider.getBlock(t.blockHash),n.getTransaction=()=>this.provider.getTransaction(t.transactionHash),n.getTransactionReceipt=()=>this.provider.getTransactionReceipt(t.transactionHash),e.prepareEvent(n),n}_addEventListener(e,t,r){if(this.provider||g.throwError("events require a provider or a signer with a provider",y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"once"}),e.addListener(t,r),this._runningEvents[e.tag]=e,!this._wrappedEmits[e.tag]){const r=r=>{let n=this._wrapEvent(e,r,t);if(null==n.decodeError)try{const t=e.getEmit(n);this.emit(e.filter,...t)}catch(i){n.decodeError=i.error}null!=e.filter&&this.emit("event",n),null!=n.decodeError&&this.emit("error",n.decodeError,n)};this._wrappedEmits[e.tag]=r,null!=e.filter&&this.provider.on(e.filter,r)}}queryFilter(e,t,r){const n=this._getRunningEvent(e),i=(0,h.shallowCopy)(n.filter);return"string"===typeof t&&(0,b.isHexString)(t,32)?(null!=r&&g.throwArgumentError("cannot specify toBlock with blockhash","toBlock",r),i.blockHash=t):(i.fromBlock=null!=t?t:0,i.toBlock=null!=r?r:"latest"),this.provider.getLogs(i).then((e=>e.map((e=>this._wrapEvent(n,e,null)))))}on(e,t){return this._addEventListener(this._getRunningEvent(e),t,!1),this}once(e,t){return this._addEventListener(this._getRunningEvent(e),t,!0),this}emit(e){if(!this.provider)return!1;const t=this._getRunningEvent(e);for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i0;return this._checkRunningEvents(t),a}listenerCount(e){return this.provider?null==e?Object.keys(this._runningEvents).reduce(((e,t)=>e+this._runningEvents[t].listenerCount()),0):this._getRunningEvent(e).listenerCount():0}listeners(e){if(!this.provider)return[];if(null==e){const e=[];for(let t in this._runningEvents)this._runningEvents[t].listeners().forEach((t=>{e.push(t)}));return e}return this._getRunningEvent(e).listeners()}removeAllListeners(e){if(!this.provider)return this;if(null==e){for(const e in this._runningEvents){const t=this._runningEvents[e];t.removeAllListeners(),this._checkRunningEvents(t)}return this}const t=this._getRunningEvent(e);return t.removeAllListeners(),this._checkRunningEvents(t),this}off(e,t){if(!this.provider)return this;const r=this._getRunningEvent(e);return r.removeListener(t),this._checkRunningEvents(r),this}removeListener(e,t){return this.off(e,t)}}class x extends R{}class I{constructor(e,t,r){let n=null;n="string"===typeof t?t:(0,b.isBytes)(t)?(0,b.hexlify)(t):t&&"string"===typeof t.object?t.object:"!","0x"!==n.substring(0,2)&&(n="0x"+n),(!(0,b.isHexString)(n)||n.length%2)&&g.throwArgumentError("invalid bytecode","bytecode",t),r&&!l.E.isSigner(r)&&g.throwArgumentError("invalid signer","signer",r),(0,h.defineReadOnly)(this,"bytecode",n),(0,h.defineReadOnly)(this,"interface",(0,h.getStatic)(new.target,"getInterface")(e)),(0,h.defineReadOnly)(this,"signer",r||null)}getDeployTransaction(){let e={};for(var t=arguments.length,r=new Array(t),n=0;n{null!=e[t]&&g.throwError("cannot override "+t,y.Logger.errors.UNSUPPORTED_OPERATION,{operation:t})})),e.value){d.O$.from(e.value).isZero()||this.interface.deploy.payable||g.throwError("non-payable constructor cannot override value",y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"overrides.value",value:e.value})}return g.checkArgumentCount(r.length,this.interface.deploy.inputs.length," in Contract constructor"),e.data=(0,b.hexlify)((0,b.concat)([this.bytecode,this.interface.encodeDeploy(r)])),e}deploy(){for(var e=arguments.length,t=new Array(e),r=0;r{this._wsReady=!0,Object.keys(this._requests).forEach((e=>{this.websocket.send(this._requests[e].payload)}))},this.websocket.onmessage=e=>{const t=e.data,r=JSON.parse(t);if(null!=r.id){const e=String(r.id),n=this._requests[e];if(delete this._requests[e],void 0!==r.result)n.callback(null,r.result),this.emit("debug",{action:"response",request:JSON.parse(n.payload),response:r.result,provider:this});else{let e=null;r.error?(e=new Error(r.error.message||"unknown error"),(0,h.defineReadOnly)(e,"code",r.error.code||null),(0,h.defineReadOnly)(e,"response",t)):e=new Error("unknown error"),n.callback(e,void 0),this.emit("debug",{action:"response",error:e,request:JSON.parse(n.payload),provider:this})}}else if("eth_subscription"===r.method){const e=this._subs[r.params.subscription];e&&e.processFunc(r.params.result)}else console.warn("this should not happen")};const r=setInterval((()=>{this.emit("poll")}),1e3);r.unref&&r.unref()}get websocket(){return this._websocket}detectNetwork(){return this._detectNetwork}get pollingInterval(){return 0}resetEventsBlock(e){K.throwError("cannot reset events block on WebSocketProvider",y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"resetEventBlock"})}set pollingInterval(e){K.throwError("cannot set polling interval on WebSocketProvider",y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"setPollingInterval"})}poll(){return q(this,void 0,void 0,(function*(){return null}))}set polling(e){e&&K.throwError("cannot set polling on WebSocketProvider",y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"setPolling"})}send(e,t){const r=Q++;return new Promise(((n,i)=>{const a=JSON.stringify({method:e,params:t,id:r,jsonrpc:"2.0"});this.emit("debug",{action:"request",request:JSON.parse(a),provider:this}),this._requests[String(r)]={callback:function(e,t){return e?i(e):n(t)},payload:a},this._wsReady&&this.websocket.send(a)}))}static defaultUrl(){return"ws://localhost:8546"}_subscribe(e,t,r){return q(this,void 0,void 0,(function*(){let n=this._subIds[e];null==n&&(n=Promise.all(t).then((e=>this.send("eth_subscribe",e))),this._subIds[e]=n);const i=yield n;this._subs[i]={tag:e,processFunc:r}}))}_startEvent(e){switch(e.type){case"block":this._subscribe("block",["newHeads"],(e=>{const t=d.O$.from(e.number).toNumber();this._emitted.block=t,this.emit("block",t)}));break;case"pending":this._subscribe("pending",["newPendingTransactions"],(e=>{this.emit("pending",e)}));break;case"filter":this._subscribe(e.tag,["logs",this._getFilter(e.filter)],(t=>{null==t.removed&&(t.removed=!1),this.emit(e.filter,this.formatter.filterLog(t))}));break;case"tx":{const t=e=>{const t=e.hash;this.getTransactionReceipt(t).then((e=>{e&&this.emit(t,e)}))};t(e),this._subscribe("tx",["newHeads"],(e=>{this._events.filter((e=>"tx"===e.type)).forEach(t)}));break}case"debug":case"poll":case"willPoll":case"didPoll":case"error":break;default:console.log("unhandled:",e)}}_stopEvent(e){let t=e.tag;if("tx"===e.type){if(this._events.filter((e=>"tx"===e.type)).length)return;t="tx"}else if(this.listenerCount(e.event))return;const r=this._subIds[t];r&&(delete this._subIds[t],r.then((e=>{this._subs[e]&&(delete this._subs[e],this.send("eth_unsubscribe",[e]))})))}destroy(){return q(this,void 0,void 0,(function*(){this.websocket.readyState===W.CONNECTING&&(yield new Promise((e=>{this.websocket.onopen=function(){e(!0)},this.websocket.onerror=function(){e(!1)}}))),this.websocket.close(1e3)}))}}var Y=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))};const X=new y.Logger(H.i);class Z extends G.r{detectNetwork(){const e=Object.create(null,{detectNetwork:{get:()=>super.detectNetwork}});return Y(this,void 0,void 0,(function*(){let t=this.network;return null==t&&(t=yield e.detectNetwork.call(this),t||X.throwError("no network detected",y.Logger.errors.UNKNOWN_ERROR,{}),null==this._network&&((0,h.defineReadOnly)(this,"_network",t),this.emit("network",t,null))),t}))}}class $ extends Z{constructor(e,t){X.checkAbstract(new.target,$),e=(0,h.getStatic)(new.target,"getNetwork")(e),t=(0,h.getStatic)(new.target,"getApiKey")(t);super((0,h.getStatic)(new.target,"getUrl")(e,t),e),"string"===typeof t?(0,h.defineReadOnly)(this,"apiKey",t):null!=t&&Object.keys(t).forEach((e=>{(0,h.defineReadOnly)(this,e,t[e])}))}_startPending(){X.warn("WARNING: API provider does not support pending filters")}isCommunityResource(){return!1}getSigner(e){return X.throwError("API provider does not support signing",y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"getSigner"})}listAccounts(){return Promise.resolve([])}static getApiKey(e){return e}static getUrl(e,t){return X.throwError("not implemented; sub-classes must override getUrl",y.Logger.errors.NOT_IMPLEMENTED,{operation:"getUrl"})}}const ee=new y.Logger(H.i),te="_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC";class re extends J{constructor(e,t){const r=new ne(e,t);super(r.connection.url.replace(/^http/i,"ws").replace(".alchemyapi.",".ws.alchemyapi."),r.network),(0,h.defineReadOnly)(this,"apiKey",r.apiKey)}isCommunityResource(){return this.apiKey===te}}class ne extends ${static getWebSocketProvider(e,t){return new re(e,t)}static getApiKey(e){return null==e?te:(e&&"string"!==typeof e&&ee.throwArgumentError("invalid apiKey","apiKey",e),e)}static getUrl(e,t){let r=null;switch(e.name){case"homestead":r="eth-mainnet.alchemyapi.io/v2/";break;case"goerli":r="eth-goerli.g.alchemy.com/v2/";break;case"matic":r="polygon-mainnet.g.alchemy.com/v2/";break;case"maticmum":r="polygon-mumbai.g.alchemy.com/v2/";break;case"arbitrum":r="arb-mainnet.g.alchemy.com/v2/";break;case"arbitrum-goerli":r="arb-goerli.g.alchemy.com/v2/";break;case"optimism":r="opt-mainnet.g.alchemy.com/v2/";break;case"optimism-goerli":r="opt-goerli.g.alchemy.com/v2/";break;default:ee.throwArgumentError("unsupported network","network",arguments[0])}return{allowGzip:!0,url:"https://"+r+t,throttleCallback:(e,r)=>(t===te&&(0,V.vh)(),Promise.resolve(!0))}}isCommunityResource(){return this.apiKey===te}}const ie=new y.Logger(H.i),ae="9f7d929b018cdffb338517efa06f58359e86ff1ffd350bc889738523659e7972";function oe(e){switch(e){case"homestead":return"rpc.ankr.com/eth/";case"ropsten":return"rpc.ankr.com/eth_ropsten/";case"rinkeby":return"rpc.ankr.com/eth_rinkeby/";case"goerli":return"rpc.ankr.com/eth_goerli/";case"matic":return"rpc.ankr.com/polygon/";case"arbitrum":return"rpc.ankr.com/arbitrum/"}return ie.throwArgumentError("unsupported network","name",e)}class se extends ${isCommunityResource(){return this.apiKey===ae}static getApiKey(e){return null==e?ae:e}static getUrl(e,t){null==t&&(t=ae);const r={allowGzip:!0,url:"https://"+oe(e.name)+t,throttleCallback:(e,r)=>(t.apiKey===ae&&(0,V.vh)(),Promise.resolve(!0))};return null!=t.projectSecret&&(r.user="",r.password=t.projectSecret),r}}var ce=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))};const ue=new y.Logger(H.i);class le extends ${static getApiKey(e){return null!=e&&ue.throwArgumentError("apiKey not supported for cloudflare","apiKey",e),null}static getUrl(e,t){let r=null;if("homestead"===e.name)r="https://cloudflare-eth.com/";else ue.throwArgumentError("unsupported network","network",arguments[0]);return r}perform(e,t){const r=Object.create(null,{perform:{get:()=>super.perform}});return ce(this,void 0,void 0,(function*(){if("getBlockNumber"===e){return(yield r.perform.call(this,"getBlock",{blockTag:"latest"})).number}return r.perform.call(this,e,t)}))}}var fe=r(65889),de=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))};const be=new y.Logger(H.i);function he(e){const t={};for(let r in e){if(null==e[r])continue;let n=e[r];"type"===r&&0===n||(n={type:!0,gasLimit:!0,gasPrice:!0,maxFeePerGs:!0,maxPriorityFeePerGas:!0,nonce:!0,value:!0}[r]?(0,b.hexValue)((0,b.hexlify)(n)):"accessList"===r?"["+(0,p.accessListify)(n).map((e=>'{address:"'.concat(e.address,'",storageKeys:["').concat(e.storageKeys.join('","'),'"]}'))).join(",")+"]":(0,b.hexlify)(n),t[r]=n)}return t}function pe(e){if(0==e.status&&("No records found"===e.message||"No transactions found"===e.message))return e.result;if(1!=e.status||"string"!==typeof e.message||!e.message.match(/^OK/)){const t=new Error("invalid response");throw t.result=JSON.stringify(e),(e.result||"").toLowerCase().indexOf("rate limit")>=0&&(t.throttleRetry=!0),t}return e.result}function ye(e){if(e&&0==e.status&&"NOTOK"==e.message&&(e.result||"").toLowerCase().indexOf("rate limit")>=0){const t=new Error("throttled response");throw t.result=JSON.stringify(e),t.throttleRetry=!0,t}if("2.0"!=e.jsonrpc){const t=new Error("invalid response");throw t.result=JSON.stringify(e),t}if(e.error){const t=new Error(e.error.message||"unknown error");throw e.error.code&&(t.code=e.error.code),e.error.data&&(t.data=e.error.data),t}return e.result}function me(e){if("pending"===e)throw new Error("pending not supported");return"latest"===e?e:parseInt(e.substring(2),16)}function ge(e,t,r){if("call"===e&&t.code===y.Logger.errors.SERVER_ERROR){const e=t.error;if(e&&(e.message.match(/reverted/i)||e.message.match(/VM execution error/i))){let r=e.data;if(r&&(r="0x"+r.replace(/^.*0x/i,"")),(0,b.isHexString)(r))return r;be.throwError("missing revert data in call exception",y.Logger.errors.CALL_EXCEPTION,{error:t,data:"0x"})}}let n=t.message;throw t.code===y.Logger.errors.SERVER_ERROR&&(t.error&&"string"===typeof t.error.message?n=t.error.message:"string"===typeof t.body?n=t.body:"string"===typeof t.responseText&&(n=t.responseText)),n=(n||"").toLowerCase(),n.match(/insufficient funds/)&&be.throwError("insufficient funds for intrinsic transaction cost",y.Logger.errors.INSUFFICIENT_FUNDS,{error:t,method:e,transaction:r}),n.match(/same hash was already imported|transaction nonce is too low|nonce too low/)&&be.throwError("nonce has already been used",y.Logger.errors.NONCE_EXPIRED,{error:t,method:e,transaction:r}),n.match(/another transaction with same nonce/)&&be.throwError("replacement fee too low",y.Logger.errors.REPLACEMENT_UNDERPRICED,{error:t,method:e,transaction:r}),n.match(/execution failed due to an exception|execution reverted/)&&be.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",y.Logger.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,method:e,transaction:r}),t}class ve extends z.Zk{constructor(e,t){super(e),(0,h.defineReadOnly)(this,"baseUrl",this.getBaseUrl()),(0,h.defineReadOnly)(this,"apiKey",t||null)}getBaseUrl(){switch(this.network?this.network.name:"invalid"){case"homestead":return"https://api.etherscan.io";case"goerli":return"https://api-goerli.etherscan.io";case"sepolia":return"https://api-sepolia.etherscan.io";case"matic":return"https://api.polygonscan.com";case"maticmum":return"https://api-testnet.polygonscan.com";case"arbitrum":return"https://api.arbiscan.io";case"arbitrum-goerli":return"https://api-goerli.arbiscan.io";case"optimism":return"https://api-optimistic.etherscan.io";case"optimism-goerli":return"https://api-goerli-optimistic.etherscan.io"}return be.throwArgumentError("unsupported network","network",this.network.name)}getUrl(e,t){const r=Object.keys(t).reduce(((e,r)=>{const n=t[r];return null!=n&&(e+="&".concat(r,"=").concat(n)),e}),""),n=this.apiKey?"&apikey=".concat(this.apiKey):"";return"".concat(this.baseUrl,"/api?module=").concat(e).concat(r).concat(n)}getPostUrl(){return"".concat(this.baseUrl,"/api")}getPostData(e,t){return t.module=e,t.apikey=this.apiKey,t}fetch(e,t,r){return de(this,void 0,void 0,(function*(){const n=r?this.getPostUrl():this.getUrl(e,t),i=r?this.getPostData(e,t):null,a="proxy"===e?ye:pe;this.emit("debug",{action:"request",request:n,provider:this});const o={url:n,throttleSlotInterval:1e3,throttleCallback:(e,t)=>(this.isCommunityResource()&&(0,V.vh)(),Promise.resolve(!0))};let s=null;i&&(o.headers={"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},s=Object.keys(i).map((e=>"".concat(e,"=").concat(i[e]))).join("&"));const c=yield(0,fe.fetchJson)(o,s,a||ye);return this.emit("debug",{action:"response",request:n,response:(0,h.deepCopy)(c),provider:this}),c}))}detectNetwork(){return de(this,void 0,void 0,(function*(){return this.network}))}perform(e,t){const r=Object.create(null,{perform:{get:()=>super.perform}});return de(this,void 0,void 0,(function*(){switch(e){case"getBlockNumber":return this.fetch("proxy",{action:"eth_blockNumber"});case"getGasPrice":return this.fetch("proxy",{action:"eth_gasPrice"});case"getBalance":return this.fetch("account",{action:"balance",address:t.address,tag:t.blockTag});case"getTransactionCount":return this.fetch("proxy",{action:"eth_getTransactionCount",address:t.address,tag:t.blockTag});case"getCode":return this.fetch("proxy",{action:"eth_getCode",address:t.address,tag:t.blockTag});case"getStorageAt":return this.fetch("proxy",{action:"eth_getStorageAt",address:t.address,position:t.position,tag:t.blockTag});case"sendTransaction":return this.fetch("proxy",{action:"eth_sendRawTransaction",hex:t.signedTransaction},!0).catch((e=>ge("sendTransaction",e,t.signedTransaction)));case"getBlock":if(t.blockTag)return this.fetch("proxy",{action:"eth_getBlockByNumber",tag:t.blockTag,boolean:t.includeTransactions?"true":"false"});throw new Error("getBlock by blockHash not implemented");case"getTransaction":return this.fetch("proxy",{action:"eth_getTransactionByHash",txhash:t.transactionHash});case"getTransactionReceipt":return this.fetch("proxy",{action:"eth_getTransactionReceipt",txhash:t.transactionHash});case"call":{if("latest"!==t.blockTag)throw new Error("EtherscanProvider does not support blockTag for call");const e=he(t.transaction);e.module="proxy",e.action="eth_call";try{return yield this.fetch("proxy",e,!0)}catch(_t){return ge("call",_t,t.transaction)}}case"estimateGas":{const e=he(t.transaction);e.module="proxy",e.action="eth_estimateGas";try{return yield this.fetch("proxy",e,!0)}catch(_t){return ge("estimateGas",_t,t.transaction)}}case"getLogs":{const e={action:"getLogs"};if(t.filter.fromBlock&&(e.fromBlock=me(t.filter.fromBlock)),t.filter.toBlock&&(e.toBlock=me(t.filter.toBlock)),t.filter.address&&(e.address=t.filter.address),t.filter.topics&&t.filter.topics.length>0&&(t.filter.topics.length>1&&be.throwError("unsupported topic count",y.Logger.errors.UNSUPPORTED_OPERATION,{topics:t.filter.topics}),1===t.filter.topics.length)){const r=t.filter.topics[0];"string"===typeof r&&66===r.length||be.throwError("unsupported topic format",y.Logger.errors.UNSUPPORTED_OPERATION,{topic0:r}),e.topic0=r}const r=yield this.fetch("logs",e);let n={};for(let t=0;t{["contractAddress","to"].forEach((function(t){""==e[t]&&delete e[t]})),null==e.creates&&null!=e.contractAddress&&(e.creates=e.contractAddress);const t=this.formatter.transactionResponse(e);return e.timeStamp&&(t.timestamp=parseInt(e.timeStamp)),t}))}))}isCommunityResource(){return null==this.apiKey}}var we=r(22282),_e=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))};const Ee=new y.Logger(H.i);function Ae(){return(new Date).getTime()}function Se(e){let t=null;for(let r=0;rt?null:(n+i)/2}function Pe(e){if(null===e)return"null";if("number"===typeof e||"boolean"===typeof e)return JSON.stringify(e);if("string"===typeof e)return e;if(d.O$.isBigNumber(e))return e.toString();if(Array.isArray(e))return JSON.stringify(e.map((e=>Pe(e))));if("object"===typeof e){const t=Object.keys(e);return t.sort(),"{"+t.map((t=>{let r=e[t];return r="function"===typeof r?"[function]":Pe(r),JSON.stringify(t)+":"+r})).join(",")+"}"}throw new Error("unknown value type: "+typeof e)}let Te=1;function ke(e){let t=null,r=null,n=new Promise((n=>{t=function(){r&&(clearTimeout(r),r=null),n()},r=setTimeout(t,e)}));return{cancel:t,getPromise:function(){return n},wait:e=>(n=n.then(e),n)}}const Me=[y.Logger.errors.CALL_EXCEPTION,y.Logger.errors.INSUFFICIENT_FUNDS,y.Logger.errors.NONCE_EXPIRED,y.Logger.errors.REPLACEMENT_UNDERPRICED,y.Logger.errors.UNPREDICTABLE_GAS_LIMIT],Ce=["address","args","errorArgs","errorSignature","method","transaction"];function Re(e,t){const r={weight:e.weight};return Object.defineProperty(r,"provider",{get:()=>e.provider}),e.start&&(r.start=e.start),t&&(r.duration=t-e.start),e.done&&(e.error?r.error=e.error:r.result=e.result||null),r}function xe(e,t,r){let n=Pe;switch(t){case"getBlockNumber":return function(t){const r=t.map((e=>e.result));let n=Oe(t.map((e=>e.result)),2);if(null!=n)return n=Math.ceil(n),r.indexOf(n+1)>=0&&n++,n>=e._highestBlockNumber&&(e._highestBlockNumber=n),e._highestBlockNumber};case"getGasPrice":return function(e){const t=e.map((e=>e.result));return t.sort(),t[Math.floor(t.length/2)]};case"getEtherPrice":return function(e){return Oe(e.map((e=>e.result)))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":n=function(e){return null==e?null:((e=(0,h.shallowCopy)(e)).confirmations=-1,Pe(e))};break;case"getBlock":n=r.includeTransactions?function(e){return null==e?null:((e=(0,h.shallowCopy)(e)).transactions=e.transactions.map((e=>((e=(0,h.shallowCopy)(e)).confirmations=-1,e))),Pe(e))}:function(e){return null==e?null:Pe(e)};break;default:throw new Error("unknown method: "+t)}return function(e,t){return function(r){const n={};r.forEach((t=>{const r=e(t.result);n[r]||(n[r]={count:0,result:t.result}),n[r].count++}));const i=Object.keys(n);for(let e=0;e=t)return r.result}}}(n,e.quorum)}function Ie(e,t){return _e(this,void 0,void 0,(function*(){const r=e.provider;return null!=r.blockNumber&&r.blockNumber>=t||-1===t?r:(0,fe.poll)((()=>new Promise(((n,i)=>{setTimeout((function(){return r.blockNumber>=t?n(r):e.cancelled?n(null):n(void 0)}),0)}))),{oncePoll:r})}))}function Ne(e,t,r,n){return _e(this,void 0,void 0,(function*(){let i=e.provider;switch(r){case"getBlockNumber":case"getGasPrice":return i[r]();case"getEtherPrice":if(i.getEtherPrice)return i.getEtherPrice();break;case"getBalance":case"getTransactionCount":case"getCode":return n.blockTag&&(0,b.isHexString)(n.blockTag)&&(i=yield Ie(e,t)),i[r](n.address,n.blockTag||"latest");case"getStorageAt":return n.blockTag&&(0,b.isHexString)(n.blockTag)&&(i=yield Ie(e,t)),i.getStorageAt(n.address,n.position,n.blockTag||"latest");case"getBlock":return n.blockTag&&(0,b.isHexString)(n.blockTag)&&(i=yield Ie(e,t)),i[n.includeTransactions?"getBlockWithTransactions":"getBlock"](n.blockTag||n.blockHash);case"call":case"estimateGas":return n.blockTag&&(0,b.isHexString)(n.blockTag)&&(i=yield Ie(e,t)),"call"===r&&n.blockTag?i[r](n.transaction,n.blockTag):i[r](n.transaction);case"getTransaction":case"getTransactionReceipt":return i[r](n.transactionHash);case"getLogs":{let r=n.filter;return(r.fromBlock&&(0,b.isHexString)(r.fromBlock)||r.toBlock&&(0,b.isHexString)(r.toBlock))&&(i=yield Ie(e,t)),i.getLogs(r)}}return Ee.throwError("unknown method error",y.Logger.errors.UNKNOWN_ERROR,{method:r,params:n})}))}class je extends z.Zk{constructor(e,t){0===e.length&&Ee.throwArgumentError("missing providers","providers",e);const r=e.map(((e,t)=>{if(u.zt.isProvider(e)){const t=(0,V.Gp)(e)?2e3:750,r=1;return Object.freeze({provider:e,weight:1,stallTimeout:t,priority:r})}const r=(0,h.shallowCopy)(e);null==r.priority&&(r.priority=1),null==r.stallTimeout&&(r.stallTimeout=(0,V.Gp)(e)?2e3:750),null==r.weight&&(r.weight=1);const n=r.weight;return(n%1||n>512||n<1)&&Ee.throwArgumentError("invalid weight; must be integer in [1, 512]","providers[".concat(t,"].weight"),n),Object.freeze(r)})),n=r.reduce(((e,t)=>e+t.weight),0);null==t?t=n/2:t>n&&Ee.throwArgumentError("quorum will always fail; larger than total weight","quorum",t);let i=Se(r.map((e=>e.provider.network)));null==i&&(i=new Promise(((e,t)=>{setTimeout((()=>{this.detectNetwork().then(e,t)}),0)}))),super(i),(0,h.defineReadOnly)(this,"providerConfigs",Object.freeze(r)),(0,h.defineReadOnly)(this,"quorum",t),this._highestBlockNumber=-1}detectNetwork(){return _e(this,void 0,void 0,(function*(){return Se(yield Promise.all(this.providerConfigs.map((e=>e.provider.getNetwork()))))}))}perform(e,t){return _e(this,void 0,void 0,(function*(){if("sendTransaction"===e){const e=yield Promise.all(this.providerConfigs.map((e=>e.provider.sendTransaction(t.signedTransaction).then((e=>e.hash),(e=>e)))));for(let t=0;te.priority-t.priority));const i=this._highestBlockNumber;let a=0,o=!0;for(;;){const s=Ae();let c=n.filter((e=>e.runner&&s-e.starte+t.weight),0);for(;c{r.staller=null})),r.runner=Ne(r,i,e,t).then((n=>{r.done=!0,r.result=n,this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:o,backend:Re(r,Ae()),request:{method:e,params:(0,h.deepCopy)(t)},provider:this})}),(n=>{r.done=!0,r.error=n,this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:o,backend:Re(r,Ae()),request:{method:e,params:(0,h.deepCopy)(t)},provider:this})})),this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:o,backend:Re(r,null),request:{method:e,params:(0,h.deepCopy)(t)},provider:this}),c+=r.weight}const u=[];n.forEach((e=>{!e.done&&e.runner&&(u.push(e.runner),e.staller&&u.push(e.staller.getPromise()))})),u.length&&(yield Promise.race(u));const l=n.filter((e=>e.done&&null==e.error));if(l.length>=this.quorum){const e=r(l);if(void 0!==e)return n.forEach((e=>{e.staller&&e.staller.cancel(),e.cancelled=!0})),e;o||(yield ke(100).getPromise()),o=!1}const f=n.reduce(((e,t)=>{if(!t.done||null==t.error)return e;const r=t.error.code;return Me.indexOf(r)>=0&&(e[r]||(e[r]={error:t.error,weight:0}),e[r].weight+=t.weight),e}),{});if(Object.keys(f).forEach((e=>{const t=f[e];if(t.weight{e.staller&&e.staller.cancel(),e.cancelled=!0}));const r=t.error,i={};Ce.forEach((e=>{null!=r[e]&&(i[e]=r[e])})),Ee.throwError(r.reason||r.message,e,i)})),0===n.filter((e=>!e.done)).length)break}return n.forEach((e=>{e.staller&&e.staller.cancel(),e.cancelled=!0})),Ee.throwError("failed to meet quorum",y.Logger.errors.SERVER_ERROR,{method:e,params:t,results:n.map((e=>Re(e))),provider:this})}))}}const De=null,Le=new y.Logger(H.i),Fe="84842078b09946638c03157f83405213";class Be extends J{constructor(e,t){const r=new Ue(e,t),n=r.connection;n.password&&Le.throwError("INFURA WebSocket project secrets unsupported",y.Logger.errors.UNSUPPORTED_OPERATION,{operation:"InfuraProvider.getWebSocketProvider()"});super(n.url.replace(/^http/i,"ws").replace("/v3/","/ws/v3/"),e),(0,h.defineReadOnly)(this,"apiKey",r.projectId),(0,h.defineReadOnly)(this,"projectId",r.projectId),(0,h.defineReadOnly)(this,"projectSecret",r.projectSecret)}isCommunityResource(){return this.projectId===Fe}}class Ue extends ${static getWebSocketProvider(e,t){return new Be(e,t)}static getApiKey(e){const t={apiKey:Fe,projectId:Fe,projectSecret:null};return null==e||("string"===typeof e?t.projectId=e:null!=e.projectSecret?(Le.assertArgument("string"===typeof e.projectId,"projectSecret requires a projectId","projectId",e.projectId),Le.assertArgument("string"===typeof e.projectSecret,"invalid projectSecret","projectSecret","[REDACTED]"),t.projectId=e.projectId,t.projectSecret=e.projectSecret):e.projectId&&(t.projectId=e.projectId),t.apiKey=t.projectId),t}static getUrl(e,t){let r=null;switch(e?e.name:"unknown"){case"homestead":r="mainnet.infura.io";break;case"goerli":r="goerli.infura.io";break;case"sepolia":r="sepolia.infura.io";break;case"matic":r="polygon-mainnet.infura.io";break;case"maticmum":r="polygon-mumbai.infura.io";break;case"optimism":r="optimism-mainnet.infura.io";break;case"optimism-goerli":r="optimism-goerli.infura.io";break;case"arbitrum":r="arbitrum-mainnet.infura.io";break;case"arbitrum-goerli":r="arbitrum-goerli.infura.io";break;default:Le.throwError("unsupported network",y.Logger.errors.INVALID_ARGUMENT,{argument:"network",value:e})}const n={allowGzip:!0,url:"https://"+r+"/v3/"+t.projectId,throttleCallback:(e,r)=>(t.projectId===Fe&&(0,V.vh)(),Promise.resolve(!0))};return null!=t.projectSecret&&(n.user="",n.password=t.projectSecret),n}isCommunityResource(){return this.projectId===Fe}}class ze extends G.r{send(e,t){const r={method:e,params:t,id:this._nextId++,jsonrpc:"2.0"};null==this._pendingBatch&&(this._pendingBatch=[]);const n={request:r,resolve:null,reject:null},i=new Promise(((e,t)=>{n.resolve=e,n.reject=t}));return this._pendingBatch.push(n),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout((()=>{const e=this._pendingBatch;this._pendingBatch=null,this._pendingBatchAggregator=null;const t=e.map((e=>e.request));return this.emit("debug",{action:"requestBatch",request:(0,h.deepCopy)(t),provider:this}),(0,fe.fetchJson)(this.connection,JSON.stringify(t)).then((r=>{this.emit("debug",{action:"response",request:t,response:r,provider:this}),e.forEach(((e,t)=>{const n=r[t];if(n.error){const t=new Error(n.error.message);t.code=n.error.code,t.data=n.error.data,e.reject(t)}else e.resolve(n.result)}))}),(r=>{this.emit("debug",{action:"response",error:r,request:t,provider:this}),e.forEach((e=>{e.reject(r)}))}))}),10)),i}}const Ve=new y.Logger(H.i);class Ge extends ${static getApiKey(e){return e&&"string"!==typeof e&&Ve.throwArgumentError("invalid apiKey","apiKey",e),e||"ETHERS_JS_SHARED"}static getUrl(e,t){Ve.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");let r=null;switch(e.name){case"homestead":r="https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc";break;case"ropsten":r="https://ethereum.api.nodesmith.io/v1/ropsten/jsonrpc";break;case"rinkeby":r="https://ethereum.api.nodesmith.io/v1/rinkeby/jsonrpc";break;case"goerli":r="https://ethereum.api.nodesmith.io/v1/goerli/jsonrpc";break;case"kovan":r="https://ethereum.api.nodesmith.io/v1/kovan/jsonrpc";break;default:Ve.throwArgumentError("unsupported network","network",arguments[0])}return r+"?apiKey="+t}}const He=new y.Logger(H.i),We="62e1ad51b37b8e00394bda3b";class qe extends ${static getApiKey(e){const t={applicationId:null,loadBalancer:!0,applicationSecretKey:null};return null==e?t.applicationId=We:"string"===typeof e?t.applicationId=e:null!=e.applicationSecretKey?(t.applicationId=e.applicationId,t.applicationSecretKey=e.applicationSecretKey):e.applicationId?t.applicationId=e.applicationId:He.throwArgumentError("unsupported PocketProvider apiKey","apiKey",e),t}static getUrl(e,t){let r=null;switch(e?e.name:"unknown"){case"goerli":r="eth-goerli.gateway.pokt.network";break;case"homestead":r="eth-mainnet.gateway.pokt.network";break;case"kovan":r="poa-kovan.gateway.pokt.network";break;case"matic":r="poly-mainnet.gateway.pokt.network";break;case"maticmum":r="polygon-mumbai-rpc.gateway.pokt.network";break;case"rinkeby":r="eth-rinkeby.gateway.pokt.network";break;case"ropsten":r="eth-ropsten.gateway.pokt.network";break;default:He.throwError("unsupported network",y.Logger.errors.INVALID_ARGUMENT,{argument:"network",value:e})}const n={headers:{},url:"https://".concat(r,"/v1/lb/").concat(t.applicationId)};return null!=t.applicationSecretKey&&(n.user="",n.password=t.applicationSecretKey),n}isCommunityResource(){return this.applicationId===We}}var Ke=r(60723);const Qe=new y.Logger(H.i);function Je(e,t){if(null==e&&(e="homestead"),"string"===typeof e){const t=e.match(/^(ws|http)s?:/i);if(t)switch(t[1].toLowerCase()){case"http":case"https":return new G.r(e);case"ws":case"wss":return new J(e);default:Qe.throwArgumentError("unsupported URL scheme","network",e)}}const r=(0,U.H)(e);return r&&r._defaultProvider||Qe.throwError("unsupported getDefaultProvider network",y.Logger.errors.NETWORK_ERROR,{operation:"getDefaultProvider",network:e}),r._defaultProvider({FallbackProvider:je,AlchemyProvider:ne,AnkrProvider:se,CloudflareProvider:le,EtherscanProvider:ve,InfuraProvider:Ue,JsonRpcProvider:G.r,NodesmithProvider:Ge,PocketProvider:qe,Web3Provider:Ke.Q,IpcProvider:De},t)}var Ye=r(42646),Xe=r(75760),Ze=r(65054),$e=r(33165),et=r(21800),tt=r(3482),rt=r(95235),nt=r(2273),it=r(51583),at=r(35992),ot=r(50117),st=r(62622),ct=r(88062),ut=r(39598),lt=r(84530),ft=r(15244),dt=r(17986),bt=r(78865),ht=r(46651),pt=r(83374),yt=r(95847),mt=r(6222),gt=r(24667);const vt="ethers/5.7.2",wt=new y.Logger(vt);try{const e=window;null==e._ethers&&(e._ethers=o)}catch(_t){}},73580:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.formatBytes32String=t.Utf8ErrorFuncs=t.toUtf8String=t.toUtf8CodePoints=t.toUtf8Bytes=t._toEscapedUtf8String=t.nameprep=t.hexDataSlice=t.hexDataLength=t.hexZeroPad=t.hexValue=t.hexStripZeros=t.hexConcat=t.isHexString=t.hexlify=t.base64=t.base58=t.TransactionDescription=t.LogDescription=t.Interface=t.SigningKey=t.HDNode=t.defaultPath=t.isBytesLike=t.isBytes=t.zeroPad=t.stripZeros=t.concat=t.arrayify=t.shallowCopy=t.resolveProperties=t.getStatic=t.defineReadOnly=t.deepCopy=t.checkProperties=t.poll=t.fetchJson=t._fetchData=t.RLP=t.Logger=t.checkResultErrors=t.FormatTypes=t.ParamType=t.FunctionFragment=t.EventFragment=t.ErrorFragment=t.ConstructorFragment=t.Fragment=t.defaultAbiCoder=t.AbiCoder=void 0,t.Indexed=t.Utf8ErrorReason=t.UnicodeNormalizationForm=t.SupportedAlgorithm=t.mnemonicToSeed=t.isValidMnemonic=t.entropyToMnemonic=t.mnemonicToEntropy=t.getAccountPath=t.verifyTypedData=t.verifyMessage=t.recoverPublicKey=t.computePublicKey=t.recoverAddress=t.computeAddress=t.getJsonWalletAddress=t.TransactionTypes=t.serializeTransaction=t.parseTransaction=t.accessListify=t.joinSignature=t.splitSignature=t.soliditySha256=t.solidityKeccak256=t.solidityPack=t.shuffled=t.randomBytes=t.sha512=t.sha256=t.ripemd160=t.keccak256=t.computeHmac=t.commify=t.parseUnits=t.formatUnits=t.parseEther=t.formatEther=t.isAddress=t.getCreate2Address=t.getContractAddress=t.getIcapAddress=t.getAddress=t._TypedDataEncoder=t.id=t.isValidName=t.namehash=t.hashMessage=t.dnsEncode=t.parseBytes32String=void 0;var o=r(18334);Object.defineProperty(t,"AbiCoder",{enumerable:!0,get:function(){return o.AbiCoder}}),Object.defineProperty(t,"checkResultErrors",{enumerable:!0,get:function(){return o.checkResultErrors}}),Object.defineProperty(t,"ConstructorFragment",{enumerable:!0,get:function(){return o.ConstructorFragment}}),Object.defineProperty(t,"defaultAbiCoder",{enumerable:!0,get:function(){return o.defaultAbiCoder}}),Object.defineProperty(t,"ErrorFragment",{enumerable:!0,get:function(){return o.ErrorFragment}}),Object.defineProperty(t,"EventFragment",{enumerable:!0,get:function(){return o.EventFragment}}),Object.defineProperty(t,"FormatTypes",{enumerable:!0,get:function(){return o.FormatTypes}}),Object.defineProperty(t,"Fragment",{enumerable:!0,get:function(){return o.Fragment}}),Object.defineProperty(t,"FunctionFragment",{enumerable:!0,get:function(){return o.FunctionFragment}}),Object.defineProperty(t,"Indexed",{enumerable:!0,get:function(){return o.Indexed}}),Object.defineProperty(t,"Interface",{enumerable:!0,get:function(){return o.Interface}}),Object.defineProperty(t,"LogDescription",{enumerable:!0,get:function(){return o.LogDescription}}),Object.defineProperty(t,"ParamType",{enumerable:!0,get:function(){return o.ParamType}}),Object.defineProperty(t,"TransactionDescription",{enumerable:!0,get:function(){return o.TransactionDescription}});var s=r(97419);Object.defineProperty(t,"getAddress",{enumerable:!0,get:function(){return s.getAddress}}),Object.defineProperty(t,"getCreate2Address",{enumerable:!0,get:function(){return s.getCreate2Address}}),Object.defineProperty(t,"getContractAddress",{enumerable:!0,get:function(){return s.getContractAddress}}),Object.defineProperty(t,"getIcapAddress",{enumerable:!0,get:function(){return s.getIcapAddress}}),Object.defineProperty(t,"isAddress",{enumerable:!0,get:function(){return s.isAddress}});var c=a(r(21800));t.base64=c;var u=r(3482);Object.defineProperty(t,"base58",{enumerable:!0,get:function(){return u.Base58}});var l=r(49716);Object.defineProperty(t,"arrayify",{enumerable:!0,get:function(){return l.arrayify}}),Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return l.concat}}),Object.defineProperty(t,"hexConcat",{enumerable:!0,get:function(){return l.hexConcat}}),Object.defineProperty(t,"hexDataSlice",{enumerable:!0,get:function(){return l.hexDataSlice}}),Object.defineProperty(t,"hexDataLength",{enumerable:!0,get:function(){return l.hexDataLength}}),Object.defineProperty(t,"hexlify",{enumerable:!0,get:function(){return l.hexlify}}),Object.defineProperty(t,"hexStripZeros",{enumerable:!0,get:function(){return l.hexStripZeros}}),Object.defineProperty(t,"hexValue",{enumerable:!0,get:function(){return l.hexValue}}),Object.defineProperty(t,"hexZeroPad",{enumerable:!0,get:function(){return l.hexZeroPad}}),Object.defineProperty(t,"isBytes",{enumerable:!0,get:function(){return l.isBytes}}),Object.defineProperty(t,"isBytesLike",{enumerable:!0,get:function(){return l.isBytesLike}}),Object.defineProperty(t,"isHexString",{enumerable:!0,get:function(){return l.isHexString}}),Object.defineProperty(t,"joinSignature",{enumerable:!0,get:function(){return l.joinSignature}}),Object.defineProperty(t,"zeroPad",{enumerable:!0,get:function(){return l.zeroPad}}),Object.defineProperty(t,"splitSignature",{enumerable:!0,get:function(){return l.splitSignature}}),Object.defineProperty(t,"stripZeros",{enumerable:!0,get:function(){return l.stripZeros}});var f=r(81049);Object.defineProperty(t,"_TypedDataEncoder",{enumerable:!0,get:function(){return f._TypedDataEncoder}}),Object.defineProperty(t,"dnsEncode",{enumerable:!0,get:function(){return f.dnsEncode}}),Object.defineProperty(t,"hashMessage",{enumerable:!0,get:function(){return f.hashMessage}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return f.id}}),Object.defineProperty(t,"isValidName",{enumerable:!0,get:function(){return f.isValidName}}),Object.defineProperty(t,"namehash",{enumerable:!0,get:function(){return f.namehash}});var d=r(50117);Object.defineProperty(t,"defaultPath",{enumerable:!0,get:function(){return d.defaultPath}}),Object.defineProperty(t,"entropyToMnemonic",{enumerable:!0,get:function(){return d.entropyToMnemonic}}),Object.defineProperty(t,"getAccountPath",{enumerable:!0,get:function(){return d.getAccountPath}}),Object.defineProperty(t,"HDNode",{enumerable:!0,get:function(){return d.HDNode}}),Object.defineProperty(t,"isValidMnemonic",{enumerable:!0,get:function(){return d.isValidMnemonic}}),Object.defineProperty(t,"mnemonicToEntropy",{enumerable:!0,get:function(){return d.mnemonicToEntropy}}),Object.defineProperty(t,"mnemonicToSeed",{enumerable:!0,get:function(){return d.mnemonicToSeed}});var b=r(87623);Object.defineProperty(t,"getJsonWalletAddress",{enumerable:!0,get:function(){return b.getJsonWalletAddress}});var h=r(88062);Object.defineProperty(t,"keccak256",{enumerable:!0,get:function(){return h.keccak256}});var p=r(39502);Object.defineProperty(t,"Logger",{enumerable:!0,get:function(){return p.Logger}});var y=r(86620);Object.defineProperty(t,"computeHmac",{enumerable:!0,get:function(){return y.computeHmac}}),Object.defineProperty(t,"ripemd160",{enumerable:!0,get:function(){return y.ripemd160}}),Object.defineProperty(t,"sha256",{enumerable:!0,get:function(){return y.sha256}}),Object.defineProperty(t,"sha512",{enumerable:!0,get:function(){return y.sha512}});var m=r(84530);Object.defineProperty(t,"solidityKeccak256",{enumerable:!0,get:function(){return m.keccak256}}),Object.defineProperty(t,"solidityPack",{enumerable:!0,get:function(){return m.pack}}),Object.defineProperty(t,"soliditySha256",{enumerable:!0,get:function(){return m.sha256}});var g=r(53770);Object.defineProperty(t,"randomBytes",{enumerable:!0,get:function(){return g.randomBytes}}),Object.defineProperty(t,"shuffled",{enumerable:!0,get:function(){return g.shuffled}});var v=r(30520);Object.defineProperty(t,"checkProperties",{enumerable:!0,get:function(){return v.checkProperties}}),Object.defineProperty(t,"deepCopy",{enumerable:!0,get:function(){return v.deepCopy}}),Object.defineProperty(t,"defineReadOnly",{enumerable:!0,get:function(){return v.defineReadOnly}}),Object.defineProperty(t,"getStatic",{enumerable:!0,get:function(){return v.getStatic}}),Object.defineProperty(t,"resolveProperties",{enumerable:!0,get:function(){return v.resolveProperties}}),Object.defineProperty(t,"shallowCopy",{enumerable:!0,get:function(){return v.shallowCopy}});var w=a(r(17986));t.RLP=w;var _=r(78865);Object.defineProperty(t,"computePublicKey",{enumerable:!0,get:function(){return _.computePublicKey}}),Object.defineProperty(t,"recoverPublicKey",{enumerable:!0,get:function(){return _.recoverPublicKey}}),Object.defineProperty(t,"SigningKey",{enumerable:!0,get:function(){return _.SigningKey}});var E=r(27226);Object.defineProperty(t,"formatBytes32String",{enumerable:!0,get:function(){return E.formatBytes32String}}),Object.defineProperty(t,"nameprep",{enumerable:!0,get:function(){return E.nameprep}}),Object.defineProperty(t,"parseBytes32String",{enumerable:!0,get:function(){return E.parseBytes32String}}),Object.defineProperty(t,"_toEscapedUtf8String",{enumerable:!0,get:function(){return E._toEscapedUtf8String}}),Object.defineProperty(t,"toUtf8Bytes",{enumerable:!0,get:function(){return E.toUtf8Bytes}}),Object.defineProperty(t,"toUtf8CodePoints",{enumerable:!0,get:function(){return E.toUtf8CodePoints}}),Object.defineProperty(t,"toUtf8String",{enumerable:!0,get:function(){return E.toUtf8String}}),Object.defineProperty(t,"Utf8ErrorFuncs",{enumerable:!0,get:function(){return E.Utf8ErrorFuncs}});var A=r(25452);Object.defineProperty(t,"accessListify",{enumerable:!0,get:function(){return A.accessListify}}),Object.defineProperty(t,"computeAddress",{enumerable:!0,get:function(){return A.computeAddress}}),Object.defineProperty(t,"parseTransaction",{enumerable:!0,get:function(){return A.parse}}),Object.defineProperty(t,"recoverAddress",{enumerable:!0,get:function(){return A.recoverAddress}}),Object.defineProperty(t,"serializeTransaction",{enumerable:!0,get:function(){return A.serialize}}),Object.defineProperty(t,"TransactionTypes",{enumerable:!0,get:function(){return A.TransactionTypes}});var S=r(6222);Object.defineProperty(t,"commify",{enumerable:!0,get:function(){return S.commify}}),Object.defineProperty(t,"formatEther",{enumerable:!0,get:function(){return S.formatEther}}),Object.defineProperty(t,"parseEther",{enumerable:!0,get:function(){return S.parseEther}}),Object.defineProperty(t,"formatUnits",{enumerable:!0,get:function(){return S.formatUnits}}),Object.defineProperty(t,"parseUnits",{enumerable:!0,get:function(){return S.parseUnits}});var O=r(22876);Object.defineProperty(t,"verifyMessage",{enumerable:!0,get:function(){return O.verifyMessage}}),Object.defineProperty(t,"verifyTypedData",{enumerable:!0,get:function(){return O.verifyTypedData}});var P=r(65889);Object.defineProperty(t,"_fetchData",{enumerable:!0,get:function(){return P._fetchData}}),Object.defineProperty(t,"fetchJson",{enumerable:!0,get:function(){return P.fetchJson}}),Object.defineProperty(t,"poll",{enumerable:!0,get:function(){return P.poll}});var T=r(86620);Object.defineProperty(t,"SupportedAlgorithm",{enumerable:!0,get:function(){return T.SupportedAlgorithm}});var k=r(27226);Object.defineProperty(t,"UnicodeNormalizationForm",{enumerable:!0,get:function(){return k.UnicodeNormalizationForm}}),Object.defineProperty(t,"Utf8ErrorReason",{enumerable:!0,get:function(){return k.Utf8ErrorReason}})},33125:(e,t,r)=>{var n=t;n.utils=r(79046),n.common=r(79684),n.sha=r(39194),n.ripemd=r(56645),n.hmac=r(93609),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},79684:(e,t,r)=>{"use strict";var n=r(79046),i=r(72325);function a(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=a,a.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var i=0;i>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,a=8;a{"use strict";var n=r(79046),i=r(72325);function a(e,t,r){if(!(this instanceof a))return new a(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,r))}e.exports=a,a.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t{"use strict";var n=r(79046),i=r(79684),a=n.rotl32,o=n.sum32,s=n.sum32_3,c=n.sum32_4,u=i.BlockHash;function l(){if(!(this instanceof l))return new l;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function f(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function d(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function b(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(l,u),t.ripemd160=l,l.blockSize=512,l.outSize=160,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],i=this.h[2],u=this.h[3],l=this.h[4],g=r,v=n,w=i,_=u,E=l,A=0;A<80;A++){var S=o(a(c(r,f(A,n,i,u),e[h[A]+t],d(A)),y[A]),l);r=l,l=u,u=a(i,10),i=n,n=S,S=o(a(c(g,f(79-A,v,w,_),e[p[A]+t],b(A)),m[A]),E),g=E,E=_,_=a(w,10),w=v,v=S}S=s(this.h[1],i,_),this.h[1]=s(this.h[2],u,E),this.h[2]=s(this.h[3],l,g),this.h[3]=s(this.h[4],r,v),this.h[4]=s(this.h[0],n,w),this.h[0]=S},l.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var h=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],p=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],y=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],m=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},39194:(e,t,r)=>{"use strict";t.sha1=r(77361),t.sha224=r(77753),t.sha256=r(76966),t.sha384=r(51233),t.sha512=r(59063)},77361:(e,t,r)=>{"use strict";var n=r(79046),i=r(79684),a=r(34343),o=n.rotl32,s=n.sum32,c=n.sum32_5,u=a.ft_1,l=i.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function d(){if(!(this instanceof d))return new d;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(d,l),e.exports=d,d.blockSize=512,d.outSize=160,d.hmacStrength=80,d.padLength=64,d.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n{"use strict";var n=r(79046),i=r(76966);function a(){if(!(this instanceof a))return new a;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(a,i),e.exports=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},76966:(e,t,r)=>{"use strict";var n=r(79046),i=r(79684),a=r(34343),o=r(72325),s=n.sum32,c=n.sum32_4,u=n.sum32_5,l=a.ch32,f=a.maj32,d=a.s0_256,b=a.s1_256,h=a.g0_256,p=a.g1_256,y=i.BlockHash,m=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function g(){if(!(this instanceof g))return new g;y.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=m,this.W=new Array(64)}n.inherits(g,y),e.exports=g,g.blockSize=512,g.outSize=256,g.hmacStrength=192,g.padLength=64,g.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n{"use strict";var n=r(79046),i=r(59063);function a(){if(!(this instanceof a))return new a;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(a,i),e.exports=a,a.blockSize=1024,a.outSize=384,a.hmacStrength=192,a.padLength=128,a.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},59063:(e,t,r)=>{"use strict";var n=r(79046),i=r(79684),a=r(72325),o=n.rotr64_hi,s=n.rotr64_lo,c=n.shr64_hi,u=n.shr64_lo,l=n.sum64,f=n.sum64_hi,d=n.sum64_lo,b=n.sum64_4_hi,h=n.sum64_4_lo,p=n.sum64_5_hi,y=n.sum64_5_lo,m=i.BlockHash,g=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function v(){if(!(this instanceof v))return new v;m.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=g,this.W=new Array(160)}function w(e,t,r,n,i){var a=e&r^~e&i;return a<0&&(a+=4294967296),a}function _(e,t,r,n,i,a){var o=t&n^~t&a;return o<0&&(o+=4294967296),o}function E(e,t,r,n,i){var a=e&r^e&i^r&i;return a<0&&(a+=4294967296),a}function A(e,t,r,n,i,a){var o=t&n^t&a^n&a;return o<0&&(o+=4294967296),o}function S(e,t){var r=o(e,t,28)^o(t,e,2)^o(t,e,7);return r<0&&(r+=4294967296),r}function O(e,t){var r=s(e,t,28)^s(t,e,2)^s(t,e,7);return r<0&&(r+=4294967296),r}function P(e,t){var r=o(e,t,14)^o(e,t,18)^o(t,e,9);return r<0&&(r+=4294967296),r}function T(e,t){var r=s(e,t,14)^s(e,t,18)^s(t,e,9);return r<0&&(r+=4294967296),r}function k(e,t){var r=o(e,t,1)^o(e,t,8)^c(e,t,7);return r<0&&(r+=4294967296),r}function M(e,t){var r=s(e,t,1)^s(e,t,8)^u(e,t,7);return r<0&&(r+=4294967296),r}function C(e,t){var r=o(e,t,19)^o(t,e,29)^c(e,t,6);return r<0&&(r+=4294967296),r}function R(e,t){var r=s(e,t,19)^s(t,e,29)^u(e,t,6);return r<0&&(r+=4294967296),r}n.inherits(v,m),e.exports=v,v.blockSize=1024,v.outSize=512,v.hmacStrength=192,v.padLength=128,v.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n{"use strict";var n=r(79046).rotr32;function i(e,t,r){return e&t^~e&r}function a(e,t,r){return e&t^e&r^t&r}function o(e,t,r){return e^t^r}t.ft_1=function(e,t,r,n){return 0===e?i(t,r,n):1===e||3===e?o(t,r,n):2===e?a(t,r,n):void 0},t.ch32=i,t.maj32=a,t.p32=o,t.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},t.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},t.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},79046:(e,t,r)=>{"use strict";var n=r(72325),i=r(12534);function a(e,t){return 55296===(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320===(64512&e.charCodeAt(t+1)))}function o(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"===typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(e="0"+e),i=0;i>6|192,r[n++]=63&o|128):a(e,i)?(o=65536+((1023&o)<<10)+(1023&e.charCodeAt(++i)),r[n++]=o>>18|240,r[n++]=o>>12&63|128,r[n++]=o>>6&63|128,r[n++]=63&o|128):(r[n++]=o>>12|224,r[n++]=o>>6&63|128,r[n++]=63&o|128)}else for(i=0;i>>0}return o},t.split32=function(e,t){for(var r=new Array(4*e.length),n=0,i=0;n>>24,r[i+1]=a>>>16&255,r[i+2]=a>>>8&255,r[i+3]=255&a):(r[i+3]=a>>>24,r[i+2]=a>>>16&255,r[i+1]=a>>>8&255,r[i]=255&a)}return r},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,r){return e+t+r>>>0},t.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},t.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},t.sum64=function(e,t,r,n){var i=e[t],a=n+e[t+1]>>>0,o=(a>>0,e[t+1]=a},t.sum64_hi=function(e,t,r,n){return(t+n>>>0>>0},t.sum64_lo=function(e,t,r,n){return t+n>>>0},t.sum64_4_hi=function(e,t,r,n,i,a,o,s){var c=0,u=t;return c+=(u=u+n>>>0)>>0)>>0)>>0},t.sum64_4_lo=function(e,t,r,n,i,a,o,s){return t+n+a+s>>>0},t.sum64_5_hi=function(e,t,r,n,i,a,o,s,c,u){var l=0,f=t;return l+=(f=f+n>>>0)>>0)>>0)>>0)>>0},t.sum64_5_lo=function(e,t,r,n,i,a,o,s,c,u){return t+n+a+s+u>>>0},t.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},t.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},t.shr64_hi=function(e,t,r){return e>>>r},t.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},12534:e=>{"function"===typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},64774:(e,t,r)=>{"use strict";r.d(t,{fo:()=>c,GW:()=>f,D0:()=>a});var n=r(37294),i=r(63882);function a(e,t,r,a){!function(e){if(void 0!==e)throw new Error(n.Cl)}(t),s(i.TAGGED,e,r.toString(),a)}function o(e){var t=[];if(Array.isArray(e)){var r=function(e){for(var t=new Set,r=0,n=e;r{"use strict";r.d(t,{f:()=>i});var n=r(63882),i=(0,r(78466).v)(n.INJECT_TAG)},78466:(e,t,r)=>{"use strict";r.d(t,{v:()=>o});var n=r(37294),i=r(50280),a=r(64774);function o(e){return function(t){return function(r,o,s){if(void 0===t){var c="function"===typeof r?r.name:r.constructor.name;throw new Error((0,n.MS)(c))}return(0,a.fo)(new i.S(e,t))(r,o,s)}}}},23061:(e,t,r)=>{"use strict";r.d(t,{b:()=>a});var n=r(37294),i=r(63882);function a(){return function(e){if(Reflect.hasOwnMetadata(i.PARAM_TYPES,e))throw new Error(n.gf);var t=Reflect.getMetadata(i.DESIGN_PARAM_TYPES,e)||[];return Reflect.defineMetadata(i.PARAM_TYPES,t,e),e}}},37294:(e,t,r)=>{"use strict";r.d(t,{$z:()=>I,Cl:()=>w,DL:()=>P,FJ:()=>g,GF:()=>l,H1:()=>a,Kt:()=>s,MS:()=>d,NE:()=>p,O8:()=>i,QY:()=>b,VF:()=>c,YG:()=>R,aD:()=>x,cm:()=>u,d1:()=>m,eP:()=>f,gf:()=>n,gq:()=>M,iD:()=>k,iI:()=>_,jT:()=>h,k_:()=>A,pv:()=>y,rR:()=>S,tE:()=>T,vD:()=>O,wk:()=>v,xU:()=>E,xZ:()=>C,yu:()=>o});var n="Cannot apply @injectable decorator multiple times.",i="Metadata key was used more than once in a parameter:",a="NULL argument",o="Key Not Found",s="Ambiguous match found for serviceIdentifier:",c="Could not unbind serviceIdentifier:",u="No matching bindings found for serviceIdentifier:",l="Missing required @injectable annotation in:",f="Missing required @inject or @multiInject annotation in:",d=function(e){return"@inject called with undefined this could mean that the class "+e+" has a circular dependency problem. You can use a LazyServiceIdentifier to overcome this limitation."},b="Circular dependency found:",h="Invalid binding type:",p="No snapshot available to restore.",y="Invalid return type in middleware. Middleware must return!",m="Value provided to function binding must be a function!",g=function(e){return"You are attempting to construct '"+e+"' in a synchronous way\n but it has asynchronous dependencies."},v="The toSelf function can only be applied when a constructor is used as service identifier",w="The @inject @multiInject @tagged and @named decorators must be applied to the parameters of a class constructor or a class property.",_=function(){for(var e=[],t=0;t= than the number of constructor arguments of its base class."},E="Invalid Container constructor argument. Container options must be an object.",A='Invalid Container option. Default scope must be a string ("singleton" or "transient").',S="Invalid Container option. Auto bind injectable must be a boolean",O="Invalid Container option. Skip base check must be a boolean",P="Cannot apply @preDestroy decorator multiple times in the same class",T="Cannot apply @postConstruct decorator multiple times in the same class",k="Attempting to unbind dependency with asynchronous destruction (@preDestroy or onDeactivation)",M=function(e,t){return"@postConstruct error in class "+e+": "+t},C=function(e,t){return"@preDestroy error in class "+e+": "+t},R=function(e,t){return"onDeactivation() error in class "+e+": "+t},x=function(e,t){return"It looks like there is a circular dependency in one of the '"+e+"' bindings. Please investigate bindings with service identifier '"+t+"'."},I="Maximum call stack size exceeded"},63882:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DESIGN_PARAM_TYPES:()=>d,INJECT_TAG:()=>s,MULTI_INJECT_TAG:()=>c,NAMED_TAG:()=>n,NAME_TAG:()=>i,NON_CUSTOM_TAG_KEYS:()=>p,OPTIONAL_TAG:()=>o,PARAM_TYPES:()=>f,POST_CONSTRUCT:()=>b,PRE_DESTROY:()=>h,TAGGED:()=>u,TAGGED_PROP:()=>l,UNMANAGED_TAG:()=>a});var n="named",i="name",a="unmanaged",o="optional",s="inject",c="multi_inject",u="inversify:tagged",l="inversify:tagged_props",f="inversify:paramtypes",d="design:paramtypes",b="post_construct",h="pre_destroy";var p=[s,c,i,a,n,o]},76074:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AsyncContainerModule:()=>Ne,BindingScopeEnum:()=>i,BindingTypeEnum:()=>a,Container:()=>xe,ContainerModule:()=>Ie,LazyServiceIdentifer:()=>E,LazyServiceIdentifier:()=>E,METADATA_KEY:()=>Qe,MetadataReader:()=>f,TargetTypeEnum:()=>o,createTaggedDecorator:()=>je.fo,decorate:()=>je.GW,getServiceIdentifierAsString:()=>h,id:()=>c,inject:()=>Be.f,injectable:()=>De.b,interfaces:()=>We,multiBindToService:()=>q,multiInject:()=>Ve,named:()=>Fe,namedConstraint:()=>me,optional:()=>Ue,postConstruct:()=>qe,preDestroy:()=>Ke,tagged:()=>Le,taggedConstraint:()=>ye,targetName:()=>Ge,traverseAncerstors:()=>pe,typeConstraint:()=>ge,unmanaged:()=>ze});var n=r(63882),i={Request:"Request",Singleton:"Singleton",Transient:"Transient"},a={ConstantValue:"ConstantValue",Constructor:"Constructor",DynamicValue:"DynamicValue",Factory:"Factory",Function:"Function",Instance:"Instance",Invalid:"Invalid",Provider:"Provider"},o={ClassProperty:"ClassProperty",ConstructorArgument:"ConstructorArgument",Variable:"Variable"},s=0;function c(){return s++}var u=function(){function e(e,t){this.id=c(),this.activated=!1,this.serviceIdentifier=e,this.scope=t,this.type=a.Invalid,this.constraint=function(e){return!0},this.implementationType=null,this.cache=null,this.factory=null,this.provider=null,this.onActivation=null,this.onDeactivation=null,this.dynamicValue=null}return e.prototype.clone=function(){var t=new e(this.serviceIdentifier,this.scope);return t.activated=t.scope===i.Singleton&&this.activated,t.implementationType=this.implementationType,t.dynamicValue=this.dynamicValue,t.scope=this.scope,t.type=this.type,t.factory=this.factory,t.provider=this.provider,t.constraint=this.constraint,t.onActivation=this.onActivation,t.onDeactivation=this.onDeactivation,t.cache=this.cache,t},e}(),l=r(37294),f=function(){function e(){}return e.prototype.getConstructorMetadata=function(e){return{compilerGeneratedMetadata:Reflect.getMetadata(n.PARAM_TYPES,e),userGeneratedMetadata:Reflect.getMetadata(n.TAGGED,e)||{}}},e.prototype.getPropertiesMetadata=function(e){return Reflect.getMetadata(n.TAGGED_PROP,e)||[]},e}(),d={MultipleBindingsAvailable:2,NoBindingsAvailable:0,OnlyOneBindingAvailable:1};function b(e){return e instanceof RangeError||e.message===l.$z}function h(e){return"function"===typeof e?e.name:"symbol"===typeof e?e.toString():e}function p(e,t,r){var n="",i=r(e,t);return 0!==i.length&&(n="\nRegistered bindings:",i.forEach((function(e){var t="Object";null!==e.implementationType&&(t=g(e.implementationType)),n=n+"\n "+t,e.constraint.metaData&&(n=n+" - "+e.constraint.metaData)}))),n}function y(e,t){return null!==e.parentRequest&&(e.parentRequest.serviceIdentifier===t||y(e.parentRequest,t))}function m(e){e.childRequests.forEach((function(e){if(y(e,e.serviceIdentifier)){var t=function(e){var t=function e(t,r){void 0===r&&(r=[]);var n=h(t.serviceIdentifier);return r.push(n),null!==t.parentRequest?e(t.parentRequest,r):r}(e);return t.reverse().join(" --\x3e ")}(e);throw new Error(l.QY+" "+t)}m(e)}))}function g(e){if(e.name)return e.name;var t=e.toString(),r=t.match(/^function\s*([^\s(]+)/);return r?r[1]:"Anonymous function: "+t}var v=function(){function e(e){this.id=c(),this.container=e}return e.prototype.addPlan=function(e){this.plan=e},e.prototype.setCurrentRequest=function(e){this.currentRequest=e},e}(),w=r(50280),_=function(e,t){this.parentContext=e,this.rootRequest=t},E=function(){function e(e){this._cb=e}return e.prototype.unwrap=function(){return this._cb()},e}(),A=function(){function e(e){this.str=e}return e.prototype.startsWith=function(e){return 0===this.str.indexOf(e)},e.prototype.endsWith=function(e){var t,r=e.split("").reverse().join("");return t=this.str.split("").reverse().join(""),this.startsWith.call({str:t},r)},e.prototype.contains=function(e){return-1!==this.str.indexOf(e)},e.prototype.equals=function(e){return this.str===e},e.prototype.value=function(){return this.str},e}(),S=function(){function e(e,t,r,i){this.id=c(),this.type=e,this.serviceIdentifier=r;var a="symbol"===typeof t?t.toString().slice(7,-1):t;this.name=new A(a||""),this.identifier=t,this.metadata=new Array;var o=null;"string"===typeof i?o=new w.S(n.NAMED_TAG,i):i instanceof w.S&&(o=i),null!==o&&this.metadata.push(o)}return e.prototype.hasTag=function(e){for(var t=0,r=this.metadata;t0,f=c.length>r.length,d=function(e,t,r,n,i){for(var a=[],o=0;o0?s:C(e,r)}return 0}function R(e){var t={};return e.forEach((function(e){t[e.key.toString()]=e.value})),{inject:t[n.INJECT_TAG],multiInject:t[n.MULTI_INJECT_TAG],targetName:t[n.NAME_TAG],unmanaged:t[n.UNMANAGED_TAG]}}var x=function(){function e(e,t,r,n,i){this.id=c(),this.serviceIdentifier=e,this.parentContext=t,this.parentRequest=r,this.target=i,this.childRequests=[],this.bindings=Array.isArray(n)?n:[n],this.requestScope=null===r?new Map:null}return e.prototype.addChildRequest=function(t,r,n){var i=new e(t,this.parentContext,this,r,n);return this.childRequests.push(i),i},e}();function I(e){return e._bindingDictionary}function N(e,t,r,n,i){var a=D(r.container,i.serviceIdentifier),o=[];return a.length===d.NoBindingsAvailable&&r.container.options.autoBindInjectable&&"function"===typeof i.serviceIdentifier&&e.getConstructorMetadata(i.serviceIdentifier).compilerGeneratedMetadata&&(r.container.bind(i.serviceIdentifier).toSelf(),a=D(r.container,i.serviceIdentifier)),o=t?a:a.filter((function(e){var t=new x(e.serviceIdentifier,r,n,e,i);return e.constraint(t)})),function(e,t,r,n){switch(t.length){case d.NoBindingsAvailable:if(r.isOptional())return t;var i=h(e),a=l.cm;throw a+=function(e,t){if(t.isTagged()||t.isNamed()){var r="",n=t.getNamedTag(),i=t.getCustomTags();return null!==n&&(r+=n.toString()+"\n"),null!==i&&i.forEach((function(e){r+=e.toString()+"\n"}))," "+e+"\n "+e+" - "+r}return" "+e}(i,r),a+=p(n,i,D),new Error(a);case d.OnlyOneBindingAvailable:return t;case d.MultipleBindingsAvailable:default:if(r.isArray())return t;i=h(e),a=l.Kt+" "+i;throw a+=p(n,i,D),new Error(a)}}(i.serviceIdentifier,o,i,r.container),o}function j(e,t,r,n,i,o){var s,c;if(null===i){s=N(e,t,n,null,o),c=new x(r,n,null,s,o);var u=new _(n,c);n.addPlan(u)}else s=N(e,t,n,i,o),c=i.addChildRequest(o.serviceIdentifier,s,o);s.forEach((function(t){var r=null;if(o.isArray())r=c.addChildRequest(t.serviceIdentifier,t,o);else{if(t.cache)return;r=c}if(t.type===a.Instance&&null!==t.implementationType){var i=function(e,t){return P(e,g(t),t,!1)}(e,t.implementationType);if(!n.container.options.skipBaseClassChecks){var s=C(e,t.implementationType);if(i.length0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0){var i=function(e,t){return e.reduce((function(e,r){var n=t(r);return r.target.type===o.ConstructorArgument?e.constructorInjections.push(n):(e.propertyRequests.push(r),e.propertyInjections.push(n)),e.isAsync||(e.isAsync=B(n)),e}),{constructorInjections:[],propertyInjections:[],propertyRequests:[],isAsync:!1})}(t,r),a=K(K({},i),{constr:e});n=i.isAsync?function(e){return Q(this,void 0,void 0,(function(){var t,r;return J(this,(function(n){switch(n.label){case 0:return[4,$(e.constructorInjections)];case 1:return t=n.sent(),[4,$(e.propertyInjections)];case 2:return r=n.sent(),[2,Z(K(K({},e),{constructorInjections:t,propertyInjections:r}))]}}))}))}(a):Z(a)}else n=new e;return n}function Z(e){var t,r=new((t=e.constr).bind.apply(t,Y([void 0],e.constructorInjections,!1)));return e.propertyRequests.forEach((function(t,n){var i=t.target.identifier,a=e.propertyInjections[n];t.target.isOptional()&&void 0===a||(r[i]=a)})),r}function $(e){return Q(this,void 0,void 0,(function(){var t,r,n,i;return J(this,(function(a){for(t=[],r=0,n=e;r0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0?this._map.set(e,t):this._map.delete(e)},e}(),Te=function(){function e(){this._map=new Map}return e.prototype.remove=function(e){if(this._map.has(e)){var t=this._map.get(e);return this._map.delete(e),t}return this._getEmptyHandlersStore()},e.prototype.addDeactivation=function(e,t,r){this._getModuleActivationHandlers(e).onDeactivations.add(t,r)},e.prototype.addActivation=function(e,t,r){this._getModuleActivationHandlers(e).onActivations.add(t,r)},e.prototype.clone=function(){var t=new e;return this._map.forEach((function(e,r){t._map.set(r,{onActivations:e.onActivations.clone(),onDeactivations:e.onDeactivations.clone()})})),t},e.prototype._getModuleActivationHandlers=function(e){var t=this._map.get(e);return void 0===t&&(t=this._getEmptyHandlersStore(),this._map.set(e,t)),t},e.prototype._getEmptyHandlersStore=function(){return{onActivations:new Pe,onDeactivations:new Pe}},e}(),ke=function(){return ke=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]{"use strict";r.d(t,{S:()=>i});var n=r(63882),i=function(){function e(e,t){this.key=e,this.value=t}return e.prototype.toString=function(){return this.key===n.NAMED_TAG?"named: "+String(this.value).toString()+" ":"tagged: { key:"+this.key.toString()+", value: "+String(this.value)+" }"},e}()},27898:(e,t,r)=>{var n;!function(){"use strict";var i="input is invalid type",a="object"===typeof window,o=a?window:{};o.JS_SHA3_NO_WINDOW&&(a=!1);var s=!a&&"object"===typeof self;!o.JS_SHA3_NO_NODE_JS&&"object"===typeof process&&process.versions&&process.versions.node?o=r.g:s&&(o=self);var c=!o.JS_SHA3_NO_COMMON_JS&&e.exports,u=r.amdO,l=!o.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!==typeof ArrayBuffer,f="0123456789abcdef".split(""),d=[4,1024,262144,67108864],b=[0,8,16,24],h=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],p=[224,256,384,512],y=[128,256],m=["hex","buffer","arrayBuffer","array","digest"],g={128:168,256:136};!o.JS_SHA3_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!l||!o.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"===typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});for(var v=function(e,t,r){return function(n){return new N(e,t,e).update(n)[r]()}},w=function(e,t,r){return function(n,i){return new N(e,t,i).update(n)[r]()}},_=function(e,t,r){return function(t,n,i,a){return P["cshake"+e].update(t,n,i,a)[r]()}},E=function(e,t,r){return function(t,n,i,a){return P["kmac"+e].update(t,n,i,a)[r]()}},A=function(e,t,r,n){for(var i=0;i>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}function j(e,t,r){N.call(this,e,t,r)}N.prototype.update=function(e){if(this.finalized)throw new Error("finalize already called");var t,r=typeof e;if("string"!==r){if("object"!==r)throw new Error(i);if(null===e)throw new Error(i);if(l&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!l||!ArrayBuffer.isView(e)))throw new Error(i);t=!0}for(var n,a,o=this.blocks,s=this.byteCount,c=e.length,u=this.blockCount,f=0,d=this.s;f>2]|=e[f]<>2]|=a<>2]|=(192|a>>6)<>2]|=(128|63&a)<=57344?(o[n>>2]|=(224|a>>12)<>2]|=(128|a>>6&63)<>2]|=(128|63&a)<>2]|=(240|a>>18)<>2]|=(128|a>>12&63)<>2]|=(128|a>>6&63)<>2]|=(128|63&a)<=s){for(this.start=n-s,this.block=o[u],n=0;n>=8);r>0;)i.unshift(r),r=255&(e>>=8),++n;return t?i.push(n):i.unshift(n),this.update(i),i.length},N.prototype.encodeString=function(e){var t,r=typeof e;if("string"!==r){if("object"!==r)throw new Error(i);if(null===e)throw new Error(i);if(l&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!l||!ArrayBuffer.isView(e)))throw new Error(i);t=!0}var n=0,a=e.length;if(t)n=a;else for(var o=0;o=57344?n+=3:(s=65536+((1023&s)<<10|1023&e.charCodeAt(++o)),n+=4)}return n+=this.encode(8*n),this.update(e),n},N.prototype.bytepad=function(e,t){for(var r=this.encode(t),n=0;n>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(e[0]=e[r],t=1;t>4&15]+f[15&e]+f[e>>12&15]+f[e>>8&15]+f[e>>20&15]+f[e>>16&15]+f[e>>28&15]+f[e>>24&15];o%t===0&&(D(r),a=0)}return i&&(e=r[a],s+=f[e>>4&15]+f[15&e],i>1&&(s+=f[e>>12&15]+f[e>>8&15]),i>2&&(s+=f[e>>20&15]+f[e>>16&15])),s},N.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,r=this.s,n=this.outputBlocks,i=this.extraBytes,a=0,o=0,s=this.outputBits>>3;e=i?new ArrayBuffer(n+1<<2):new ArrayBuffer(s);for(var c=new Uint32Array(e);o>8&255,c[e+2]=t>>16&255,c[e+3]=t>>24&255;s%r===0&&D(n)}return a&&(e=s<<2,t=n[o],c[e]=255&t,a>1&&(c[e+1]=t>>8&255),a>2&&(c[e+2]=t>>16&255)),c},j.prototype=new N,j.prototype.finalize=function(){return this.encode(this.outputBits,!0),N.prototype.finalize.call(this)};var D=function(e){var t,r,n,i,a,o,s,c,u,l,f,d,b,p,y,m,g,v,w,_,E,A,S,O,P,T,k,M,C,R,x,I,N,j,D,L,F,B,U,z,V,G,H,W,q,K,Q,J,Y,X,Z,$,ee,te,re,ne,ie,ae,oe,se,ce,ue,le;for(n=0;n<48;n+=2)i=e[0]^e[10]^e[20]^e[30]^e[40],a=e[1]^e[11]^e[21]^e[31]^e[41],o=e[2]^e[12]^e[22]^e[32]^e[42],s=e[3]^e[13]^e[23]^e[33]^e[43],c=e[4]^e[14]^e[24]^e[34]^e[44],u=e[5]^e[15]^e[25]^e[35]^e[45],l=e[6]^e[16]^e[26]^e[36]^e[46],f=e[7]^e[17]^e[27]^e[37]^e[47],t=(d=e[8]^e[18]^e[28]^e[38]^e[48])^(o<<1|s>>>31),r=(b=e[9]^e[19]^e[29]^e[39]^e[49])^(s<<1|o>>>31),e[0]^=t,e[1]^=r,e[10]^=t,e[11]^=r,e[20]^=t,e[21]^=r,e[30]^=t,e[31]^=r,e[40]^=t,e[41]^=r,t=i^(c<<1|u>>>31),r=a^(u<<1|c>>>31),e[2]^=t,e[3]^=r,e[12]^=t,e[13]^=r,e[22]^=t,e[23]^=r,e[32]^=t,e[33]^=r,e[42]^=t,e[43]^=r,t=o^(l<<1|f>>>31),r=s^(f<<1|l>>>31),e[4]^=t,e[5]^=r,e[14]^=t,e[15]^=r,e[24]^=t,e[25]^=r,e[34]^=t,e[35]^=r,e[44]^=t,e[45]^=r,t=c^(d<<1|b>>>31),r=u^(b<<1|d>>>31),e[6]^=t,e[7]^=r,e[16]^=t,e[17]^=r,e[26]^=t,e[27]^=r,e[36]^=t,e[37]^=r,e[46]^=t,e[47]^=r,t=l^(i<<1|a>>>31),r=f^(a<<1|i>>>31),e[8]^=t,e[9]^=r,e[18]^=t,e[19]^=r,e[28]^=t,e[29]^=r,e[38]^=t,e[39]^=r,e[48]^=t,e[49]^=r,p=e[0],y=e[1],K=e[11]<<4|e[10]>>>28,Q=e[10]<<4|e[11]>>>28,M=e[20]<<3|e[21]>>>29,C=e[21]<<3|e[20]>>>29,se=e[31]<<9|e[30]>>>23,ce=e[30]<<9|e[31]>>>23,G=e[40]<<18|e[41]>>>14,H=e[41]<<18|e[40]>>>14,j=e[2]<<1|e[3]>>>31,D=e[3]<<1|e[2]>>>31,m=e[13]<<12|e[12]>>>20,g=e[12]<<12|e[13]>>>20,J=e[22]<<10|e[23]>>>22,Y=e[23]<<10|e[22]>>>22,R=e[33]<<13|e[32]>>>19,x=e[32]<<13|e[33]>>>19,ue=e[42]<<2|e[43]>>>30,le=e[43]<<2|e[42]>>>30,te=e[5]<<30|e[4]>>>2,re=e[4]<<30|e[5]>>>2,L=e[14]<<6|e[15]>>>26,F=e[15]<<6|e[14]>>>26,v=e[25]<<11|e[24]>>>21,w=e[24]<<11|e[25]>>>21,X=e[34]<<15|e[35]>>>17,Z=e[35]<<15|e[34]>>>17,I=e[45]<<29|e[44]>>>3,N=e[44]<<29|e[45]>>>3,O=e[6]<<28|e[7]>>>4,P=e[7]<<28|e[6]>>>4,ne=e[17]<<23|e[16]>>>9,ie=e[16]<<23|e[17]>>>9,B=e[26]<<25|e[27]>>>7,U=e[27]<<25|e[26]>>>7,_=e[36]<<21|e[37]>>>11,E=e[37]<<21|e[36]>>>11,$=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,W=e[8]<<27|e[9]>>>5,q=e[9]<<27|e[8]>>>5,T=e[18]<<20|e[19]>>>12,k=e[19]<<20|e[18]>>>12,ae=e[29]<<7|e[28]>>>25,oe=e[28]<<7|e[29]>>>25,z=e[38]<<8|e[39]>>>24,V=e[39]<<8|e[38]>>>24,A=e[48]<<14|e[49]>>>18,S=e[49]<<14|e[48]>>>18,e[0]=p^~m&v,e[1]=y^~g&w,e[10]=O^~T&M,e[11]=P^~k&C,e[20]=j^~L&B,e[21]=D^~F&U,e[30]=W^~K&J,e[31]=q^~Q&Y,e[40]=te^~ne&ae,e[41]=re^~ie&oe,e[2]=m^~v&_,e[3]=g^~w&E,e[12]=T^~M&R,e[13]=k^~C&x,e[22]=L^~B&z,e[23]=F^~U&V,e[32]=K^~J&X,e[33]=Q^~Y&Z,e[42]=ne^~ae&se,e[43]=ie^~oe&ce,e[4]=v^~_&A,e[5]=w^~E&S,e[14]=M^~R&I,e[15]=C^~x&N,e[24]=B^~z&G,e[25]=U^~V&H,e[34]=J^~X&$,e[35]=Y^~Z&ee,e[44]=ae^~se&ue,e[45]=oe^~ce&le,e[6]=_^~A&p,e[7]=E^~S&y,e[16]=R^~I&O,e[17]=x^~N&P,e[26]=z^~G&j,e[27]=V^~H&D,e[36]=X^~$&W,e[37]=Z^~ee&q,e[46]=se^~ue&te,e[47]=ce^~le&re,e[8]=A^~p&m,e[9]=S^~y&g,e[18]=I^~O&T,e[19]=N^~P&k,e[28]=G^~j&L,e[29]=H^~D&F,e[38]=$^~W&K,e[39]=ee^~q&Q,e[48]=ue^~te&ne,e[49]=le^~re&ie,e[0]^=h[n],e[1]^=h[n+1]};if(c)e.exports=P;else{for(k=0;k{function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},47071:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ResultUtils=void 0;const i=n(r(62096)),a=r(30247);class o{static combine(e){return a.ResultAsync.combine(e)}static race(e){return a.ResultAsync.fromPromise(Promise.race(e),(e=>e)).andThen((e=>e.isErr()?(0,a.err)(e.error):(0,a.ok)(e.value)))}static executeSerially(e){return a.ResultAsync.fromPromise((async()=>{const t=new Array;for(const r of e){const e=await r();if(e.isErr())throw e.error;t.push(e.value)}return t})(),(e=>e))}static backoffAndRetry(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5;if(null!=r&&r<1)throw new Error("maxAttempts must be 1 or more!");if(n<1)throw new Error("baseSeconds must be 1 or more!");const o=(n,s,c)=>{if(null!=r&&n>r){if(null==c)throw new Error("Error before first function run; logical error! maxAttempts must be 1 or more!");return(0,a.errAsync)(c)}return e().orElse((e=>{let r=!1;for(const n of t)if(e instanceof n){r=!0;break}return r?a.ResultAsync.fromSafePromise((0,i.default)(s)).andThen((()=>o(++n,2*s,e))):(0,a.errAsync)(e)}))};return o(1,n,null)}static filter(e,t){const r=new Array;return o.combine(e.map((e=>t(e).map((t=>{t&&r.push(e)}))))).map((()=>r))}static map(e,t){const r=new Array;return o.combine(e.map((e=>t(e).map((e=>{r.push(e)}))))).map((()=>r))}static delay(e){return a.ResultAsync.fromSafePromise(new Promise((t=>{setTimeout((()=>{t()}),e)})))}}t.ResultUtils=o},30247:(e,t,r)=>{"use strict";function n(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{c(n.next(e))}catch(t){a(t)}}function s(e){try{c(n.throw(e))}catch(t){a(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}c((n=n.apply(e,t||[])).next())}))}function i(e,t){var r,n,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]0)&&!(n=a.next()).done;)o.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}function o(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;iE,Ok:()=>_,Result:()=>s,ResultAsync:()=>l,err:()=>w,errAsync:()=>d,fromPromise:()=>b,fromSafePromise:()=>h,fromThrowable:()=>A,ok:()=>v,okAsync:()=>f});var s,c={withStackTrace:!1},u=function(e,t,r){return void 0===r&&(r=c),{data:t.isOk()?{type:"Ok",value:t.value}:{type:"Err",value:t.error},message:e,stack:r.withStackTrace?(new Error).stack:void 0}},l=function(){function e(e){this._promise=e}return e.fromSafePromise=function(t){return new e(t.then((function(e){return new _(e)})))},e.fromPromise=function(t,r){return new e(t.then((function(e){return new _(e)})).catch((function(e){return new E(r(e))})))},e.combine=function(e){return y(e)},e.combineWithAllErrors=function(e){return g(e)},e.prototype.map=function(t){var r=this;return new e(this._promise.then((function(e){return n(r,void 0,void 0,(function(){var r;return i(this,(function(n){switch(n.label){case 0:return e.isErr()?[2,new E(e.error)]:(r=_.bind,[4,t(e.value)]);case 1:return[2,new(r.apply(_,[void 0,n.sent()]))]}}))}))})))},e.prototype.mapErr=function(t){var r=this;return new e(this._promise.then((function(e){return n(r,void 0,void 0,(function(){var r;return i(this,(function(n){switch(n.label){case 0:return e.isOk()?[2,new _(e.value)]:(r=E.bind,[4,t(e.error)]);case 1:return[2,new(r.apply(E,[void 0,n.sent()]))]}}))}))})))},e.prototype.andThen=function(t){return new e(this._promise.then((function(r){if(r.isErr())return new E(r.error);var n=t(r.value);return n instanceof e?n._promise:n})))},e.prototype.orElse=function(t){var r=this;return new e(this._promise.then((function(e){return n(r,void 0,void 0,(function(){return i(this,(function(r){return e.isErr()?[2,t(e.error)]:[2,new _(e.value)]}))}))})))},e.prototype.match=function(e,t){return this._promise.then((function(r){return r.match(e,t)}))},e.prototype.unwrapOr=function(e){return this._promise.then((function(t){return t.unwrapOr(e)}))},e.prototype.then=function(e,t){return this._promise.then(e,t)},e}(),f=function(e){return new l(Promise.resolve(new _(e)))},d=function(e){return new l(Promise.resolve(new E(e)))},b=l.fromPromise,h=l.fromSafePromise,p=function(e){return e.reduce((function(e,t){return e.isOk()?t.isErr()?w(t.error):e.map((r=t.value,function(e){return o(o([],a(e),!1),[r],!1)})):e;var r}),v([]))},y=function(e){return l.fromSafePromise(Promise.all(e)).andThen(p)},m=function(e){return e.reduce((function(e,t){return t.isErr()?e.isErr()?w(o(o([],a(e.error),!1),[t.error],!1)):w([t.error]):e.isErr()?e:v(o(o([],a(e.value),!1),[t.value],!1))}),v([]))},g=function(e){return l.fromSafePromise(Promise.all(e)).andThen(m)};!function(e){e.fromThrowable=function(e,t){return function(){for(var r=[],n=0;n{"use strict";function t(e){try{return JSON.stringify(e)}catch(t){return'"[Circular]"'}}e.exports=function(e,r,n){var i=n&&n.stringify||t;if("object"===typeof e&&null!==e){var a=r.length+1;if(1===a)return e;var o=new Array(a);o[0]=i(e);for(var s=1;s-1?f:0,e.charCodeAt(b+1)){case 100:case 102:if(l>=c)break;if(null==r[l])break;f=c)break;if(null==r[l])break;f=c)break;if(void 0===r[l])break;f",f=b+2,b++;break}u+=i(r[l]),f=b+2,b++;break;case 115:if(l>=c)break;f{"use strict";var n=r(72791),i=r(45296);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r