From 0caad1359baeef8afc4720335c40adafde70a04a Mon Sep 17 00:00:00 2001 From: sshmatrix Date: Sun, 7 Jan 2024 19:02:12 +0530 Subject: [PATCH] update for new discord usernames without #1234 --- out/.nojekyll | 0 out/404.html | 4 ++-- out/404.html.html | 4 ++-- out/_next/static/4A2BbjZEJi9LM2PVD4GU0/_buildManifest.js | 1 - out/_next/static/4A2BbjZEJi9LM2PVD4GU0/_middlewareManifest.js | 1 - out/_next/static/4A2BbjZEJi9LM2PVD4GU0/_ssgManifest.js | 1 - out/_next/static/chunks/2174.f6baa39611ece47e.js | 2 +- out/_next/static/chunks/556.bab5f5b7ff8ff120.js | 2 +- out/_next/static/chunks/9361-aecff84a047b7ed5.js | 2 +- out/_next/static/chunks/main-235b4afd80b524a5.js | 2 +- out/_next/static/chunks/pages/account-d70b3d90e46efcc8.js | 2 +- out/_next/static/chunks/pages/index-747411878630625b.js | 2 +- out/_next/static/chunks/webpack-f3550438b5914a35.js | 2 +- out/_next/static/css/b355ced14f31177f.css | 2 +- out/account.html | 4 ++-- out/fallback.html | 2 +- out/index.html | 4 ++-- out/sw.js | 2 +- public/sw.js | 2 +- utils/constants.ts | 2 +- 20 files changed, 20 insertions(+), 23 deletions(-) delete mode 100644 out/.nojekyll delete mode 100644 out/_next/static/4A2BbjZEJi9LM2PVD4GU0/_buildManifest.js delete mode 100644 out/_next/static/4A2BbjZEJi9LM2PVD4GU0/_middlewareManifest.js delete mode 100644 out/_next/static/4A2BbjZEJi9LM2PVD4GU0/_ssgManifest.js diff --git a/out/.nojekyll b/out/.nojekyll deleted file mode 100644 index e69de29b..00000000 diff --git a/out/404.html b/out/404.html index 23a66094..799b8bc3 100644 --- a/out/404.html +++ b/out/404.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/out/404.html.html b/out/404.html.html index 23a66094..799b8bc3 100644 --- a/out/404.html.html +++ b/out/404.html.html @@ -1,4 +1,4 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file + }

404

This page could not be found.

\ No newline at end of file diff --git a/out/_next/static/4A2BbjZEJi9LM2PVD4GU0/_buildManifest.js b/out/_next/static/4A2BbjZEJi9LM2PVD4GU0/_buildManifest.js deleted file mode 100644 index 01fb49ae..00000000 --- a/out/_next/static/4A2BbjZEJi9LM2PVD4GU0/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST=function(c,s,a,t,f,e,n){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[c,s,a,t,f,e,n,"static/chunks/pages/index-747411878630625b.js"],"/_error":["static/chunks/pages/_error-4a934674346210d3.js"],"/account":[c,s,a,t,f,e,n,"static/chunks/pages/account-d70b3d90e46efcc8.js"],"/fallback":["static/chunks/pages/fallback-6fab776daa9ae5fc.js"],sortedPages:["/","/_app","/_error","/account","/fallback"]}}("static/chunks/de297ff1-64d4aa160ef531df.js","static/chunks/4d26f338-5dac0fea9b4cf3a3.js","static/chunks/8764-593a836a579a1569.js","static/chunks/6724-b954bf9a27972ff7.js","static/chunks/8109-b8b92f519975c722.js","static/chunks/6845-6a0d4129b644e95d.js","static/chunks/9361-aecff84a047b7ed5.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/out/_next/static/4A2BbjZEJi9LM2PVD4GU0/_middlewareManifest.js b/out/_next/static/4A2BbjZEJi9LM2PVD4GU0/_middlewareManifest.js deleted file mode 100644 index a17fc8bf..00000000 --- a/out/_next/static/4A2BbjZEJi9LM2PVD4GU0/_middlewareManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__MIDDLEWARE_MANIFEST=[];self.__MIDDLEWARE_MANIFEST_CB&&self.__MIDDLEWARE_MANIFEST_CB() \ No newline at end of file diff --git a/out/_next/static/4A2BbjZEJi9LM2PVD4GU0/_ssgManifest.js b/out/_next/static/4A2BbjZEJi9LM2PVD4GU0/_ssgManifest.js deleted file mode 100644 index 0511aa89..00000000 --- a/out/_next/static/4A2BbjZEJi9LM2PVD4GU0/_ssgManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__SSG_MANIFEST=new Set,self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB(); \ No newline at end of file diff --git a/out/_next/static/chunks/2174.f6baa39611ece47e.js b/out/_next/static/chunks/2174.f6baa39611ece47e.js index be3ea434..dfddb3f9 100644 --- a/out/_next/static/chunks/2174.f6baa39611ece47e.js +++ b/out/_next/static/chunks/2174.f6baa39611ece47e.js @@ -1 +1 @@ -!function(){var t={70512:function(t,n,e){"use strict";var r=e(50029),o=e(87794),u=e.n(o),c=e(24978),i=(e(35689),e(26894)),f=e(11606),a=(e(27760),e(21429));try{fetch}catch(l){}function s(t,n,e,r){return p.apply(this,arguments)}function p(){return(p=(0,r.Z)(u().mark((function t(n,e,r,o){var s,p,l,v,d,y;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r.length<64)){t.next=2;break}throw new Error("SIGNATURE TOO SHORT; LENGTH SHOULD BE 65 BYTES");case 2:return s=(0,f.J)(c.UG.hexToBytes(r.toLowerCase().startsWith("0x")?r.slice(2):r)),2048,p="".concat(e,":").concat(n),l=(0,f.J)("".concat(p,":").concat(o||"",":").concat(r.slice(-64))),v=(0,i.Di)(f.J,s,l,p,42),d=a.generateRSAKey(v,2048),y=a.publicKeyString(d),t.abrupt("return",[d,y]);case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}addEventListener("message",(function(t){var n=t.data,e=function(){var t=(0,r.Z)(u().mark((function t(){var e;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s(n._origin,n._caip10,n._sigRSA,n._salt);case 2:e=t.sent,postMessage(e);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();e()}))},95856:function(){},33397:function(){}},n={};function e(r){var o=n[r];if(void 0!==o)return o.exports;var u=n[r]={exports:{}},c=!0;try{t[r](u,u.exports,e),c=!1}finally{c&&delete n[r]}return u.exports}e.m=t,e.x=function(){var t=e.O(void 0,[6724,5660],(function(){return e(70512)}));return t=e.O(t)},function(){var t=[];e.O=function(n,r,o,u){if(!r){var c=1/0;for(s=0;s=u)&&Object.keys(e.O).every((function(t){return e.O[t](r[f])}))?r.splice(f--,1):(i=!1,u0&&t[s-1][2]>u;s--)t[s]=t[s-1];t[s]=[r,o,u]}}(),e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},function(){var t,n=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__};e.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var u=Object.create(null);e.r(u);var c={};t=t||[null,n({}),n([]),n(n)];for(var i=2&o&&r;"object"==typeof i&&!~t.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach((function(t){c[t]=function(){return r[t]}}));return c.default=function(){return r},e.d(u,c),u}}(),e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.f={},e.e=function(t){return Promise.all(Object.keys(e.f).reduce((function(n,r){return e.f[r](t,n),n}),[]))},e.u=function(t){return 6724===t?"static/chunks/6724-b954bf9a27972ff7.js":"static/chunks/"+t+".294b57e99702d064.js"},e.miniCssF=function(t){},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.p="/ccip2-eth-client/_next/",function(){var t={2174:1,556:1};e.f.i=function(n,r){t[n]||importScripts(e.p+e.u(n))};var n=self.webpackChunk_N_E=self.webpackChunk_N_E||[],r=n.push.bind(n);n.push=function(n){var o=n[0],u=n[1],c=n[2];for(var i in u)e.o(u,i)&&(e.m[i]=u[i]);for(c&&c(e);o.length;)t[o.pop()]=1;r(n)}}(),function(){var t=e.x;e.x=function(){return Promise.all([e.e(6724),e.e(5660)]).then(t)}}();var r=e.x();_N_E=r}(); \ No newline at end of file +!function(){var t={70512:function(t,n,e){"use strict";var r=e(50029),o=e(87794),u=e.n(o),c=e(24978),i=(e(35689),e(26894)),f=e(11606),a=(e(27760),e(21429));try{fetch}catch(l){}function s(t,n,e,r){return p.apply(this,arguments)}function p(){return(p=(0,r.Z)(u().mark((function t(n,e,r,o){var s,p,l,v,d,y;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r.length<64)){t.next=2;break}throw new Error("SIGNATURE TOO SHORT; LENGTH SHOULD BE 65 BYTES");case 2:return s=(0,f.J)(c.UG.hexToBytes(r.toLowerCase().startsWith("0x")?r.slice(2):r)),2048,p="".concat(e,":").concat(n),l=(0,f.J)("".concat(p,":").concat(o||"",":").concat(r.slice(-64))),v=(0,i.Di)(f.J,s,l,p,42),d=a.generateRSAKey(v,2048),y=a.publicKeyString(d),t.abrupt("return",[d,y]);case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}addEventListener("message",(function(t){var n=t.data,e=function(){var t=(0,r.Z)(u().mark((function t(){var e;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s(n._origin,n._caip10,n._sigRSA,n._salt);case 2:e=t.sent,postMessage(e);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();e()}))},95856:function(){},33397:function(){}},n={};function e(r){var o=n[r];if(void 0!==o)return o.exports;var u=n[r]={exports:{}},c=!0;try{t[r](u,u.exports,e),c=!1}finally{c&&delete n[r]}return u.exports}e.m=t,e.x=function(){var t=e.O(void 0,[6724,5660],(function(){return e(70512)}));return t=e.O(t)},function(){var t=[];e.O=function(n,r,o,u){if(!r){var c=1/0;for(s=0;s=u)&&Object.keys(e.O).every((function(t){return e.O[t](r[f])}))?r.splice(f--,1):(i=!1,u0&&t[s-1][2]>u;s--)t[s]=t[s-1];t[s]=[r,o,u]}}(),e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},function(){var t,n=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__};e.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var u=Object.create(null);e.r(u);var c={};t=t||[null,n({}),n([]),n(n)];for(var i=2&o&&r;"object"==typeof i&&!~t.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach((function(t){c[t]=function(){return r[t]}}));return c.default=function(){return r},e.d(u,c),u}}(),e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.f={},e.e=function(t){return Promise.all(Object.keys(e.f).reduce((function(n,r){return e.f[r](t,n),n}),[]))},e.u=function(t){return 6724===t?"static/chunks/6724-b954bf9a27972ff7.js":"static/chunks/"+t+".294b57e99702d064.js"},e.miniCssF=function(t){},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.p="/_next/",function(){var t={2174:1,556:1};e.f.i=function(n,r){t[n]||importScripts(e.p+e.u(n))};var n=self.webpackChunk_N_E=self.webpackChunk_N_E||[],r=n.push.bind(n);n.push=function(n){var o=n[0],u=n[1],c=n[2];for(var i in u)e.o(u,i)&&(e.m[i]=u[i]);for(c&&c(e);o.length;)t[o.pop()]=1;r(n)}}(),function(){var t=e.x;e.x=function(){return Promise.all([e.e(6724),e.e(5660)]).then(t)}}();var r=e.x();_N_E=r}(); \ No newline at end of file diff --git a/out/_next/static/chunks/556.bab5f5b7ff8ff120.js b/out/_next/static/chunks/556.bab5f5b7ff8ff120.js index f325b793..ca70d36d 100644 --- a/out/_next/static/chunks/556.bab5f5b7ff8ff120.js +++ b/out/_next/static/chunks/556.bab5f5b7ff8ff120.js @@ -1 +1 @@ -!function(){var t={70512:function(t,n,e){"use strict";var r=e(50029),o=e(87794),u=e.n(o),c=e(24978),i=(e(35689),e(26894)),f=e(11606),a=(e(27760),e(21429));try{fetch}catch(l){}function s(t,n,e,r){return p.apply(this,arguments)}function p(){return(p=(0,r.Z)(u().mark((function t(n,e,r,o){var s,p,l,v,d,y;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r.length<64)){t.next=2;break}throw new Error("SIGNATURE TOO SHORT; LENGTH SHOULD BE 65 BYTES");case 2:return s=(0,f.J)(c.UG.hexToBytes(r.toLowerCase().startsWith("0x")?r.slice(2):r)),2048,p="".concat(e,":").concat(n),l=(0,f.J)("".concat(p,":").concat(o||"",":").concat(r.slice(-64))),v=(0,i.Di)(f.J,s,l,p,42),d=a.generateRSAKey(v,2048),y=a.publicKeyString(d),t.abrupt("return",[d,y]);case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}addEventListener("message",(function(t){var n=t.data,e=function(){var t=(0,r.Z)(u().mark((function t(){var e;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s(n._origin,n._caip10,n._sigRSA,n._salt);case 2:e=t.sent,postMessage(e);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();e()}))},95856:function(){},33397:function(){}},n={};function e(r){var o=n[r];if(void 0!==o)return o.exports;var u=n[r]={exports:{}},c=!0;try{t[r](u,u.exports,e),c=!1}finally{c&&delete n[r]}return u.exports}e.m=t,e.x=function(){var t=e.O(void 0,[6724,5660],(function(){return e(70512)}));return t=e.O(t)},function(){var t=[];e.O=function(n,r,o,u){if(!r){var c=1/0;for(s=0;s=u)&&Object.keys(e.O).every((function(t){return e.O[t](r[f])}))?r.splice(f--,1):(i=!1,u0&&t[s-1][2]>u;s--)t[s]=t[s-1];t[s]=[r,o,u]}}(),e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},function(){var t,n=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__};e.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var u=Object.create(null);e.r(u);var c={};t=t||[null,n({}),n([]),n(n)];for(var i=2&o&&r;"object"==typeof i&&!~t.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach((function(t){c[t]=function(){return r[t]}}));return c.default=function(){return r},e.d(u,c),u}}(),e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.f={},e.e=function(t){return Promise.all(Object.keys(e.f).reduce((function(n,r){return e.f[r](t,n),n}),[]))},e.u=function(t){return 6724===t?"static/chunks/6724-b954bf9a27972ff7.js":"static/chunks/"+t+".294b57e99702d064.js"},e.miniCssF=function(t){},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.p="/ccip2-eth-client/_next/",function(){var t={556:1,2174:1};e.f.i=function(n,r){t[n]||importScripts(e.p+e.u(n))};var n=self.webpackChunk_N_E=self.webpackChunk_N_E||[],r=n.push.bind(n);n.push=function(n){var o=n[0],u=n[1],c=n[2];for(var i in u)e.o(u,i)&&(e.m[i]=u[i]);for(c&&c(e);o.length;)t[o.pop()]=1;r(n)}}(),function(){var t=e.x;e.x=function(){return Promise.all([e.e(6724),e.e(5660)]).then(t)}}();var r=e.x();_N_E=r}(); \ No newline at end of file +!function(){var t={70512:function(t,n,e){"use strict";var r=e(50029),o=e(87794),u=e.n(o),c=e(24978),i=(e(35689),e(26894)),f=e(11606),a=(e(27760),e(21429));try{fetch}catch(l){}function s(t,n,e,r){return p.apply(this,arguments)}function p(){return(p=(0,r.Z)(u().mark((function t(n,e,r,o){var s,p,l,v,d,y;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r.length<64)){t.next=2;break}throw new Error("SIGNATURE TOO SHORT; LENGTH SHOULD BE 65 BYTES");case 2:return s=(0,f.J)(c.UG.hexToBytes(r.toLowerCase().startsWith("0x")?r.slice(2):r)),2048,p="".concat(e,":").concat(n),l=(0,f.J)("".concat(p,":").concat(o||"",":").concat(r.slice(-64))),v=(0,i.Di)(f.J,s,l,p,42),d=a.generateRSAKey(v,2048),y=a.publicKeyString(d),t.abrupt("return",[d,y]);case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}addEventListener("message",(function(t){var n=t.data,e=function(){var t=(0,r.Z)(u().mark((function t(){var e;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s(n._origin,n._caip10,n._sigRSA,n._salt);case 2:e=t.sent,postMessage(e);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();e()}))},95856:function(){},33397:function(){}},n={};function e(r){var o=n[r];if(void 0!==o)return o.exports;var u=n[r]={exports:{}},c=!0;try{t[r](u,u.exports,e),c=!1}finally{c&&delete n[r]}return u.exports}e.m=t,e.x=function(){var t=e.O(void 0,[6724,5660],(function(){return e(70512)}));return t=e.O(t)},function(){var t=[];e.O=function(n,r,o,u){if(!r){var c=1/0;for(s=0;s=u)&&Object.keys(e.O).every((function(t){return e.O[t](r[f])}))?r.splice(f--,1):(i=!1,u0&&t[s-1][2]>u;s--)t[s]=t[s-1];t[s]=[r,o,u]}}(),e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},function(){var t,n=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__};e.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var u=Object.create(null);e.r(u);var c={};t=t||[null,n({}),n([]),n(n)];for(var i=2&o&&r;"object"==typeof i&&!~t.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach((function(t){c[t]=function(){return r[t]}}));return c.default=function(){return r},e.d(u,c),u}}(),e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.f={},e.e=function(t){return Promise.all(Object.keys(e.f).reduce((function(n,r){return e.f[r](t,n),n}),[]))},e.u=function(t){return 6724===t?"static/chunks/6724-b954bf9a27972ff7.js":"static/chunks/"+t+".294b57e99702d064.js"},e.miniCssF=function(t){},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.p="/_next/",function(){var t={556:1,2174:1};e.f.i=function(n,r){t[n]||importScripts(e.p+e.u(n))};var n=self.webpackChunk_N_E=self.webpackChunk_N_E||[],r=n.push.bind(n);n.push=function(n){var o=n[0],u=n[1],c=n[2];for(var i in u)e.o(u,i)&&(e.m[i]=u[i]);for(c&&c(e);o.length;)t[o.pop()]=1;r(n)}}(),function(){var t=e.x;e.x=function(){return Promise.all([e.e(6724),e.e(5660)]).then(t)}}();var r=e.x();_N_E=r}(); \ No newline at end of file diff --git a/out/_next/static/chunks/9361-aecff84a047b7ed5.js b/out/_next/static/chunks/9361-aecff84a047b7ed5.js index 6da935ad..4df9fe0e 100644 --- a/out/_next/static/chunks/9361-aecff84a047b7ed5.js +++ b/out/_next/static/chunks/9361-aecff84a047b7ed5.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9361],{88006:function(e,t,n){"use strict";var a,s,r,i,o,p=n(71383),l=n(16835),y=n(67294),u=n(73935),d=n(14141),c=n(22794),m=n(85893),f=d.ZP.div(a||(a=(0,p.Z)(["\n padding-top: 10px;\n padding-left: 20px;\n padding-right: 20px;\n padding-bottom: 15px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n"]))),b=d.ZP.div(s||(s=(0,p.Z)(["\n margin-top: -10px;\n font-size: 17px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n font-weight: 700;\n margin-bottom: 0px;\n color: white;\n padding-left: 20px;\n padding-right: 20px;\n color: cyan;\n"]))),h=d.ZP.div(r||(r=(0,p.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),g=d.ZP.div(i||(i=(0,p.Z)(["\n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: 450px;\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n padding: 5px;\n"]))),x=d.ZP.div(o||(o=(0,p.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100vh;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"])));t.Z=function(e){var t=e.show,n=e.onClose,a=e.children,s=e.handleModalData,r=e.handleTrigger,i=y.useState(!1),o=(0,l.Z)(i,2),p=o[0],d=o[1],v=y.useState(!1),T=(0,l.Z)(v,2),w=T[0],S=T[1],j=y.useState(""),k=(0,l.Z)(j,2),N=k[0],M=k[1];y.useEffect((function(){d(!0)}),[]);var Z=function(e){s(e),r(!0),n()},R=t?(0,m.jsxs)(x,{children:[(0,m.jsxs)(g,{children:[(0,m.jsx)(h,{children:(0,m.jsx)("a",{href:"#",onClick:function(e){s(void 0),r(!1),e.preventDefault(),n()},children:(0,m.jsx)("span",{className:"material-icons",children:"close"})})}),t&&(0,m.jsx)(b,{children:(0,m.jsx)("div",{className:"material-icons",style:{marginTop:"4px",fontSize:"66px"},children:"notification_important"})}),(0,m.jsx)(f,{children:(0,m.jsxs)("div",{className:"flex-column",style:{marginTop:"10px",marginBottom:"10px"},children:["1"===a&&(0,m.jsxs)("div",{style:{lineHeight:"16px",fontWeight:"700",fontSize:"15px"},children:[(0,m.jsx)("span",{style:{lineHeight:"20px"},children:"Beware that will set a new on-chain"}),"\xa0",(0,m.jsx)("span",{style:{color:"cyan",fontWeight:"700",lineHeight:"20px"},children:"Recordhash"}),"\xa0Or\xa0",(0,m.jsx)("span",{style:{color:"cyan",fontWeight:"700",lineHeight:"20px"},children:"Gateway"}),". If you intend to set a global\xa0",(0,m.jsx)("span",{style:{color:"cyan",fontWeight:"700",lineHeight:"20px"},children:"Ownerhash"}),",\xa0please update it in\xa0",(0,m.jsx)("span",{style:{color:"orange",fontWeight:"700",lineHeight:"20px"},children:"UTILS"}),"\xa0tab"]}),"0"===a&&(0,m.jsxs)("div",{style:{lineHeight:"16px",fontWeight:"700",fontSize:"15px"},children:[(0,m.jsx)("span",{style:{lineHeight:"20px"},children:"This will set a new on-chain"}),"\xa0",(0,m.jsx)("span",{style:{color:"cyan",fontWeight:"700",lineHeight:"20px"},children:"Ownerhash"}),"\xa0Or\xa0",(0,m.jsx)("span",{style:{color:"cyan",fontWeight:"700",lineHeight:"20px"},children:"HTTP Gateway"})]}),(0,m.jsxs)("div",{className:"flex-row",style:{marginLeft:"25px"},children:[(0,m.jsx)("button",{className:"button-option",style:{height:"35px",width:"175px",marginTop:"20px",fontSize:"15px",fontWeight:"700"},onClick:function(){Z("0")},"data-tooltip":"0"===a?"Continue With Ownerhash":"Continue With Recordhash",children:(0,m.jsxs)("div",{className:"flex-row",children:["0"===a?"Ownerhash":"Recordhash","\xa0",(0,m.jsx)("span",{className:"material-icons chonk",children:"hub"})]})}),(0,m.jsx)("button",{className:"button-tiny",onClick:function(){S(!0),M(''.concat("0"===a?"Ownerhash":"Recordhash"," is specific to one ").concat("0"===a?"wallet":"name",' and it is the permissionless and decentralised option'))},"data-tooltip":"Enlighten Me",children:(0,m.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px",marginTop:"16px"},children:"info_outline"})})]}),(0,m.jsxs)("div",{className:"flex-row",style:{marginLeft:"25px"},children:[(0,m.jsx)("button",{className:"button-option",style:{height:"35px",width:"175px",marginTop:"15px",fontSize:"15px",fontWeight:"700"},onClick:function(){Z("1")},"data-tooltip":"Continue With HTTP Gateway",disabled:!a,children:(0,m.jsxs)("div",{className:"flex-row",children:["HTTP Gateway","\xa0",(0,m.jsx)("span",{className:"material-icons chonk",children:"dns"})]})}),(0,m.jsx)("button",{className:"button-tiny",onClick:function(){S(!0),M('HTTP Gateway could point to a web2 gateway or L2 proxy')},"data-tooltip":"Continue With Gateway",children:(0,m.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px",marginTop:"16px"},children:"info_outline"})})]})]})})]}),(0,m.jsx)("div",{id:"modal-inner",children:(0,m.jsx)(c.Z,{color:"cyan",icon:"info",onClose:function(){return S(!1)},show:w,position:"",children:N})})]}):null;return p?u.createPortal(R,document.getElementById("modal")):null}},64637:function(e,t,n){"use strict";var a,s,r,i,o,p=n(71383),l=n(16835),y=n(67294),u=n(73935),d=n(14141),c=n(85893),m=d.ZP.div(a||(a=(0,p.Z)(["\n padding-top: 20px;\n padding-left: 20px;\n padding-right: 20px;\n padding-bottom: 10px;\n display: flex;\n height: auto;\n justify-content: center;\n overflow-y: auto;\n font-size: 18px;\n color: white;\n font-weight: 700;\n text-align: center;\n align-items: center;\n line-height: 20px;\n"]))),f=d.ZP.div(s||(s=(0,p.Z)(["\n font-size: 18px;\n display: flex;\n justify-content: center;\n font-weight: 700;\n color: white;\n margin-top: -20px;\n"]))),b=d.ZP.div(r||(r=(0,p.Z)(["\n display: flex;\n justify-content: flex-end;\n font-size: 20px;\n"]))),h=d.ZP.div(i||(i=(0,p.Z)(["\n position: fixed;\n background: red;\n width: 400px;\n height: auto;\n border-radius: 6px;\n padding: 15px;\n overflow-y: initial !important\n padding-bottom: 20px;\n justify-content: center;\n"]))),g=d.ZP.div(o||(o=(0,p.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"])));t.Z=function(e){var t=e.show,n=e.onClose,a=(e.color,e.title),s=e.children,r=y.useState(!1),i=(0,l.Z)(r,2),o=i[0],p=i[1];y.useEffect((function(){p(!0)}),[]);var d=t?(0,c.jsx)(g,{children:(0,c.jsxs)(h,{children:[(0,c.jsx)(b,{children:(0,c.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),n()},children:(0,c.jsx)("span",{className:"material-icons",children:"cancel"})})}),a&&(0,c.jsx)(f,{children:(0,c.jsx)("div",{className:"flex-column",children:(0,c.jsx)("div",{className:"material-icons miui-small",children:a})})}),(0,c.jsx)(m,{dangerouslySetInnerHTML:{__html:s}})]})}):null;return o?u.createPortal(d,document.getElementById("modal")):null}},92673:function(e,t,n){"use strict";var a,s,r,i,o,p=n(71383),l=n(16835),y=n(67294),u=n(73935),d=n(14141),c=n(85893),m=d.ZP.div(a||(a=(0,p.Z)(["\n padding-top: 10px;\n padding-left: 20px;\n padding-right: 40px;\n padding-bottom: 20px;\n display: flex;\n justify-content: center;\n height: 500px;\n overflow-y: auto;\n color: white;\n"]))),f=d.ZP.div(s||(s=(0,p.Z)(["\n padding-top: 0px;\n font-size: 22px;\n display: flex;\n justify-content: center;\n font-weight: 800;\n margin-bottom: 20px;\n color: white;\n"]))),b=d.ZP.div(r||(r=(0,p.Z)(["\n display: flex;\n justify-content: flex-end;\n font-size: 20px;\n"]))),h=d.ZP.div(i||(i=(0,p.Z)(["\n background: linear-gradient(112deg, rgba(66,46,40,1) 0%, rgba(0,0,0,1) 48%, rgba(70,63,55,1) 100%);\n background-size: 400% 400%;\n width: 500px;\n height: 600px;\n border-radius: 6px;\n padding: 15px;\n overflow-y: initial !important\n padding-bottom: 20px;\n"]))),g=d.ZP.div(o||(o=(0,p.Z)(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"])));t.Z=function(e){var t=e.show,n=e.onClose,a=y.useState(!1),s=(0,l.Z)(a,2),r=s[0],i=s[1];y.useEffect((function(){i(!0)}),[]);var o=t?(0,c.jsx)(g,{children:(0,c.jsxs)(h,{children:[(0,c.jsx)(b,{children:(0,c.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),n()},children:(0,c.jsx)("span",{className:"material-icons",style:{marginTop:"4px"},children:"close"})})}),(0,c.jsx)(f,{children:(0,c.jsx)("span",{className:"material-icons miui-small",style:{marginTop:"4px"},children:"info_outline"})}),(0,c.jsx)(m,{})]})}):null;return r?u.createPortal(o,document.getElementById("modal")):null}},27921:function(e,t,n){"use strict";var a,s,r,i,o,p=n(71383),l=n(16835),y=n(67294),u=n(85518),d=n(73935),c=n(14141),m=n(22794),f=n(62012),b=n(85893),h=c.ZP.div(a||(a=(0,p.Z)(["\n padding-top: 5px;\n padding-left: 20px;\n padding-right: 20px;\n padding-bottom: 25px;\n display: flex;_\n justify-content: center;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n margin-top: -15px;\n"]))),g=c.ZP.div(s||(s=(0,p.Z)(["\n margin-top: -15px;\n font-size: 14px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n font-weight: 700;\n margin-bottom: 15px;\n color: white;\n padding-left: 20px;\n padding-right: 20px;\n color: cyan;\n"]))),x=c.ZP.div(r||(r=(0,p.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),v=c.ZP.div(i||(i=(0,p.Z)(["\n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: 400px;\n max-width: ",";\n height: 220px;\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n padding: 3px;\n"])),u.tq?"90%":"60%"),T=c.ZP.div(o||(o=(0,p.Z)(["\n position: absolute;\n top: -60px;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"])));t.Z=function(e){var t=e.show,n=e.onClose,a=(e.children,e.handleModalData),s=e.handleTrigger,r=y.useState(f.U8),i=(0,l.Z)(r,2),o=i[0],p=i[1],u=y.useState(!1),c=(0,l.Z)(u,2),w=c[0],S=c[1],j=y.useState(!1),k=(0,l.Z)(j,2),N=k[0],M=k[1],Z=y.useState(""),R=(0,l.Z)(Z,2),C=R[0],P=R[1];y.useEffect((function(){S(!0)}),[]);var E=t?(0,b.jsxs)(T,{children:[(0,b.jsxs)(v,{children:[(0,b.jsx)(x,{children:(0,b.jsx)("a",{href:"#",onClick:function(e){a(void 0),s(!1),e.preventDefault(),n()},children:(0,b.jsx)("span",{className:"material-icons",children:"close"})})}),t&&(0,b.jsxs)(g,{children:[(0,b.jsx)("div",{className:"material-icons",style:{marginTop:"4px",fontSize:"46px"},children:"dns"}),(0,b.jsxs)("div",{style:{marginTop:"5px",marginBottom:"10px",fontSize:"18px"},children:[(0,b.jsx)("span",{style:{fontWeight:"700"},children:"Enter HTTP Gateway URL"}),(0,b.jsx)("button",{className:"button-tiny",style:{marginBottom:"-7.5px"},onClick:function(){M(!0),P('HTTP Gateway should be a HTTPS:// URL')},"data-tooltip":"Enlighten Me",children:(0,b.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px"},children:"info_outline"})})]})]}),(0,b.jsxs)(h,{children:[(0,b.jsx)("input",{id:"keyid",placeholder:o,type:"text",value:o,onChange:function(e){p(e.target.value)},style:{background:"black",outline:"none",border:"none",padding:"5px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"14px",width:"100%",wordWrap:"break-word",textAlign:"left",color:"rgb(255, 255, 255, 0.6)",cursor:"copy"}},"0"),(0,b.jsx)("button",{className:"button",style:{height:"30px",width:"120px",marginTop:"17px",fontSize:"15px"},onClick:function(e){a(o),s(!0),e.preventDefault(),n()},"data-tooltip":"Confirm",children:(0,b.jsxs)("div",{className:"flex-row",style:{fontSize:"15px",fontWeight:"700"},children:["Confirm","\xa0",(0,b.jsx)("span",{className:"material-icons smoller",children:"local_laundry_service"})]})})]})]}),(0,b.jsx)("div",{id:"modal-inner",children:(0,b.jsx)(m.Z,{color:"cyan",icon:"info",onClose:function(){return M(!1)},show:N,position:"",children:C})})]}):null;return w?d.createPortal(E,document.getElementById("modal")):null}},22794:function(e,t,n){"use strict";var a,s,r,i,o,p=n(71383),l=n(16835),y=n(67294),u=n(73935),d=n(14141),c=n(85518),m=n(85893),f=d.ZP.div(a||(a=(0,p.Z)(["\n padding-top: 0px;\n padding-left: 20px;\n padding-right: 20px;\n padding-bottom: 15px;\n display: flex;\n justify-content: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n line-height: 20px;\n max-width: 400px;\n"]))),b=d.ZP.div(s||(s=(0,p.Z)(["\n margin-top: -15px;\n font-size: 20px;\n display: flex;\n justify-content: center;\n font-weight: 700;\n margin-bottom: 15px;\n color: white;\n"]))),h=d.ZP.div(r||(r=(0,p.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),g=d.ZP.div(i||(i=(0,p.Z)(["\n position: fixed;\n top: ","; \n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: auto;\n max-width: ",";\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n padding: 5px;\n justify-content: center;\n text-align: center;\n"])),(function(e){return e.top}),c.tq?"90%":"60%"),x=d.ZP.div(o||(o=(0,p.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"])));t.Z=function(e){var t=e.icon,n=e.color,a=e.show,s=e.onClose,r=e.children,i=e.position,o=y.useState(!1),p=(0,l.Z)(o,2),d=p[0],c=p[1];y.useEffect((function(){c(!0)}),[]);var v=a?(0,m.jsx)(x,{children:(0,m.jsxs)(g,{top:i,children:[(0,m.jsx)(h,{children:(0,m.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),s()},children:(0,m.jsx)("span",{className:"material-icons",style:{margin:"4px"},children:"close"})})}),t&&(0,m.jsx)(b,{children:(0,m.jsx)("span",{className:"material-icons",style:{marginTop:"4px",fontSize:"36px",color:n},children:t})}),(0,m.jsx)(f,{dangerouslySetInnerHTML:{__html:r}})]})}):null;return d?u.createPortal(v,document.getElementById("modal")):null}},58595:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});for(var a=n(16835),s=n(67294),r=n(22794),i=["\u0660","\u0661","\u0662","\u0663","\u0664","\u0665","\u0666","\u0667","\u0668","\u0669"],o=["\u06f9","\u06f8","\u06f7","\u06f6","\u06f5","\u06f4","\u06f3","\u06f2","\u06f1","\u06f0"],p=["\u0966","\u0967","\u0968","\u0969","\u096a","\u096b","\u096c","\u096d","\u096e","\u096f"],l=["\uc601","\uc77c","\uc774","\uc0bc","\uc0ac","\uc624","\uc721","\uce60","\ud314","\uad6c"],y=["\u3007","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d"],u=n(85518),d=n(85893),c=[],m=65;m<=90;m++)"x"!==String.fromCharCode(m).toLocaleLowerCase()&&c.push(String.fromCharCode(m).toLocaleLowerCase());var f=function(e){var t=e.label,n=e.items,c=e.onItemClickStealth,m=e.onItemClickPreview,f=s.useState(""),b=(0,a.Z)(f,2),h=b[0],g=b[1],x=s.useState(""),v=(0,a.Z)(x,2),T=v[0],w=v[1],S=s.useState(""),j=(0,a.Z)(S,2),k=j[0],N=j[1],M=s.useState(!1),Z=(0,a.Z)(M,2),R=Z[0],C=Z[1];return(0,d.jsx)("ul",{className:"flex-column",style:{listStyle:"none",color:"white"},children:n.map((function(e){return(0,d.jsxs)("li",{style:{display:"flex",flexDirection:"column",width:"100%",marginLeft:u.tq?"-10.5%":"-9.5%"},children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,d.jsxs)("span",{style:{marginBottom:"-3px",color:"white"},children:[(0,d.jsxs)("div",{children:[e.name.split("").map((function(e,t){return(0,d.jsx)("span",{style:{fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"600",fontSize:i.includes(e)||p.includes(e)||o.includes(e)||y.includes(e)||l.includes(e)?"24px":"21px"},children:e.toLowerCase()},t)})),(0,d.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"15px",color:"cyan"},children:"."}),(0,d.jsx)("span",{style:{fontFamily:"Spotnik",fontSize:"11px",color:"cyan",fontWeight:"700",letterSpacing:"0px"},children:"ETH"}),"1"===e.migrated&&(0,d.jsx)("button",{className:"button-tiny",onClick:function(){C(!0),g("gpp_good"),N("lime"),w('Ready For Off-chain Use. Domain-specific Recordhash is Set')},"data-tooltip":"Ready With IPNS Recordhash",children:(0,d.jsx)("div",{className:"material-icons-round smol",style:{color:"lime"},children:"gpp_good"})}),"3/4"===e.migrated&&(0,d.jsx)("button",{className:"button-tiny",onClick:function(){C(!0),g("gpp_good"),N("cyan"),w('Ready For Off-chain Use. Global Ownerhash is Set')},"data-tooltip":"Ready With IPNS Ownerhash",children:(0,d.jsx)("div",{className:"material-icons-round smol",style:{color:"cyan"},children:"gpp_good"})}),"4/5"===e.migrated&&(0,d.jsx)("button",{className:"button-tiny",onClick:function(){C(!0),g("gpp_good"),N("yellow"),w('Ready For Off-chain Use. HTTP Gateway is Set')},"data-tooltip":"Ready With HTTP Gateway",children:(0,d.jsx)("div",{className:"material-icons-round smol",style:{color:"yellow"},children:"gpp_good"})}),"1/2"===e.migrated&&(0,d.jsx)("button",{className:"button-tiny",onClick:function(){C(!0),g("gpp_good"),N("orange"),w('Resolver is migrated but Storage is not Set')},"data-tooltip":"Using Default Gateway",children:(0,d.jsx)("div",{className:"material-icons-round smol",style:{color:"orange"},children:"gpp_good"})}),"0"===e.migrated&&(0,d.jsx)("button",{className:"button-tiny",onClick:function(){C(!0),g("gpp_maybe"),N("orangered"),w('Resolver is not migrated. Please MIGRATE to enable off-chain Records')},"data-tooltip":"Resolver Not Migrated",children:(0,d.jsx)("div",{className:"material-icons-round smol",style:{color:"orangered"},children:"gpp_maybe"})})]}),(0,d.jsx)(r.Z,{color:k,icon:h,onClose:function(){return C(!1)},show:R,position:"",children:T})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("a",{href:"https://app.ens.domains/name/".concat(e.name.toLowerCase(),".eth"),target:"_blank",rel:"noreferrer",children:(0,d.jsx)("img",{className:"icon-ens-small",alt:"ens-icon",src:"ens.png"})}),(0,d.jsx)("a",{href:"https://ens.vision/name/".concat(e.name),target:"_blank",rel:"noreferrer",children:(0,d.jsx)("img",{className:"icon-vision-small",alt:"ensvision-icon",src:"ens-vision.png"})}),(0,d.jsx)("a",{style:{marginRight:"15px"},href:"https://godid.io/items/".concat(e.name.toLowerCase(),".eth"),target:"_blank",rel:"noreferrer",children:(0,d.jsx)("img",{className:"icon-godid-small",alt:"godid-icon",src:"godid.svg"})}),(0,d.jsx)("button",{className:"button",style:{alignSelf:"flex-end",height:"40px",width:"40px"},onClick:function(){return c(e.name+".eth")},disabled:["0"].includes(e.migrated)||"view"===t,"data-tooltip":"Stealth Payments",children:(0,d.jsx)("div",{className:"flex-sans-direction",children:(0,d.jsx)("span",{className:"material-icons-round smoller",style:{fontSize:"25px",fontWeight:"700"},children:"account_balance_wallet"})})}),(0,d.jsx)("button",{className:"button",style:{alignSelf:"flex-end",height:"40px",width:"40px",marginLeft:"5px"},onClick:function(){return m(e.name+".eth")},"data-tooltip":"".concat(t," Your Records"),children:(0,d.jsx)("div",{className:"flex-sans-direction",children:(0,d.jsx)("span",{className:"material-icons-round smoller",style:{fontSize:"25px",fontWeight:"700"},children:"view"===t?"policy":"edit"})})})]})]}),(0,d.jsx)("hr",{})]},e.key)}))})}},89479:function(e,t,n){"use strict";n(67294);var a=n(85893);t.Z=function(e){var t=e.height,n=e.width,s='\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ');return(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:s}})}},6440:function(e,t,n){"use strict";n.d(t,{Z:function(){return Ae}});var a,s,r,i,o,p,l,y,u,d,c,m,f,b,h,g=n(71383),x=n(27812),v=n(50029),T=n(59499),w=n(16835),S=n(87794),j=n.n(S),k=n(67294),N=n(73935),M=n(14141),Z=n(79911),R=n(2593),C=n(27586),P=n(83875),E=n(16441),_=n(84243),D=n(29251),O=n(8198),I=n(38197),A=n(31886),W=n(57734),z=n(37918),F=n.n(z),L=n(56371),B=n(22794),q=n(41894),U=n(27921),K=n(85893),G=M.ZP.div(a||(a=(0,g.Z)(["\n padding-top: 10px;\n padding-left: 50px;\n padding-right: 50px;\n padding-bottom: 25px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n"]))),H=M.ZP.div(s||(s=(0,g.Z)(["\n margin-top: -10px;\n font-size: 17px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n font-weight: 700;\n margin-bottom: 0px;\n color: white;\n padding-left: 20px;\n padding-right: 20px;\n color: cyan;\n"]))),J=M.ZP.div(r||(r=(0,g.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),V=M.ZP.div(i||(i=(0,g.Z)(["\n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: 450px;\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n padding: 5px;\n"]))),Y=M.ZP.div(o||(o=(0,g.Z)(["\n position: absolute;\n top: -60px;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"]))),$=function(e){var t=e.show,n=e.onClose,a=e.children,s=e.handleModalData,r=e.handleTrigger,i=k.useState(!1),o=(0,w.Z)(i,2),p=o[0],l=o[1],y=k.useState(!1),u=(0,w.Z)(y,2),d=u[0],c=u[1],m=k.useState(""),f=(0,w.Z)(m,2),b=f[0],h=f[1];k.useEffect((function(){l(!0)}),[]);var g=t?(0,K.jsxs)(Y,{children:[(0,K.jsxs)(V,{children:[(0,K.jsx)(J,{children:(0,K.jsx)("a",{href:"#",onClick:function(e){s(void 0),r(!1),e.preventDefault(),n()},children:(0,K.jsx)("span",{className:"material-icons",children:"close"})})}),t&&(0,K.jsxs)(H,{children:[(0,K.jsx)("div",{className:"material-icons",style:{marginTop:"4px",fontSize:"66px"},children:"cloud_upload"}),(0,K.jsx)("div",{style:{marginTop:"15px"},children:"Please choose your Storage"})]}),(0,K.jsxs)(G,{children:[(0,K.jsxs)("div",{className:"flex-row",style:{marginLeft:"25px"},children:[(0,K.jsx)("button",{className:"button-option",style:{height:"35px",width:"175px",marginTop:"15px",fontSize:"15px",fontWeight:"700"},onClick:function(){s("0"),r(!0),n()},"data-tooltip":a?"Uses Preset Global Ownerhash":"No Global Ownerhash Found",disabled:!a,children:(0,K.jsxs)("div",{className:"flex-row",children:["Ownerhash","\xa0",(0,K.jsx)("span",{className:"material-icons chonk",children:"recycling"})]})}),(0,K.jsx)("button",{className:"button-tiny",onClick:function(){c(!0),h('Ownerhash works for all your names in a wallet and must be set in UTILS. This is a slower but cheaper option. If you prefer this option, please go to UTILS tab first and set the Ownerhash')},"data-tooltip":"Cheaper but Slower IPNS",children:(0,K.jsx)("div",{className:"material-icons smol",style:{color:"yellow",marginLeft:"5px",marginTop:"21px"},children:"info_outline"})})]}),(0,K.jsxs)("div",{className:"flex-row",style:{marginLeft:"25px"},children:[(0,K.jsx)("button",{className:"button-option",style:{height:"35px",width:"175px",marginTop:"15px",fontSize:"15px",fontWeight:"700"},onClick:function(){s("1"),r(!0),n()},"data-tooltip":"Sets New On-chain Recordhash",children:(0,K.jsxs)("div",{className:"flex-row",children:["Recordhash","\xa0",(0,K.jsx)("span",{className:"material-icons chonk",children:"create"})]})}),(0,K.jsx)("button",{className:"button-tiny",onClick:function(){c(!0),h('Recordhash is specific to each name and it is a faster but expensive option')},"data-tooltip":"Faster but Expensive IPNS",children:(0,K.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px",marginTop:"16px"},children:"info_outline"})})]}),(0,K.jsxs)("div",{className:"flex-row",style:{marginLeft:"25px"},children:[(0,K.jsx)("button",{className:"button-option",style:{height:"35px",width:"175px",marginTop:"15px",fontSize:"15px",fontWeight:"700"},onClick:function(){s("2"),r(!0),n()},"data-tooltip":"Sets New On-chain Gateway",children:(0,K.jsxs)("div",{className:"flex-row",children:["HTTP Gateway","\xa0",(0,K.jsx)("span",{className:"material-icons chonk",children:"dns"})]})}),(0,K.jsx)("button",{className:"button-tiny",onClick:function(){c(!0),h('HTTP Gateway can point to a web2 gateway or L2 proxy')},"data-tooltip":"Rapid But Centralised",children:(0,K.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px",marginTop:"16px"},children:"info_outline"})})]})]})]}),(0,K.jsx)("div",{id:"modal-inner",children:(0,K.jsx)(B.Z,{color:"cyan",icon:"info",onClose:function(){return c(!1)},show:d,position:"",children:b})})]}):null;return p?N.createPortal(g,document.getElementById("modal")):null},Q=n(64637),X=n(85518),ee=n(62012),te=M.ZP.div(p||(p=(0,g.Z)(["\n padding-top: 5px;\n padding-left: 20px;\n padding-right: 20px;\n padding-bottom: 25px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n margin-top: 5px;\n"]))),ne=M.ZP.div(l||(l=(0,g.Z)(["\n margin-top: -15px;\n font-size: 14px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n font-weight: 700;\n color: white;\n padding-left: 20px;\n padding-right: 20px;\n color: cyan;\n margin-left: 10px;\n"]))),ae=M.ZP.div(y||(y=(0,g.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),se=M.ZP.div(u||(u=(0,g.Z)(["\n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: 460px;\n max-width: ",";\n height: 270px;\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n padding: 3px;\n"])),X.tq?"90%":"60%"),re=M.ZP.div(d||(d=(0,g.Z)(["\n position: absolute;\n top: -60px;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"]))),ie=function(e){var t=e.show,n=e.onClose,a=e.children,s=e.handleModalData,r=e.handleTrigger,i=k.useState(!1),o=(0,w.Z)(i,2),p=o[0],l=o[1],y=k.useState("cyan"),u=(0,w.Z)(y,2),d=u[0],c=u[1];k.useEffect((function(){l(!0)}),[]);var m=function(e){r(!1),s(""),c("cyan"),e.preventDefault(),n()},f=t?(0,K.jsx)(re,{children:(0,K.jsxs)(se,{children:[(0,K.jsx)(ae,{children:(0,K.jsx)("a",{href:"#",onClick:m,children:(0,K.jsx)("span",{className:"material-icons",children:"close"})})}),t&&(0,K.jsxs)(ne,{children:[(0,K.jsx)("div",{className:"material-icons",style:{marginTop:"10px",fontSize:"66px"},children:"hub"}),(0,K.jsx)("div",{style:{marginTop:"17px",marginBottom:"8px"},children:(0,K.jsx)("span",{style:{fontSize:"24px",fontWeight:"700"},children:"Your IPFS Hash"})})]}),(0,K.jsxs)(te,{children:[(0,K.jsxs)("div",{className:"flex-row",style:{width:"400px"},children:[(0,K.jsx)("input",{id:"info",value:a,type:"text",style:{background:"black",outline:"none",border:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"150%",wordWrap:"break-word",textAlign:"left",color:d,cursor:"copy",paddingRight:"32px"},disabled:!0},"1"),(0,K.jsx)("button",{className:"button-empty",onClick:function(){c("lime"),ee.vQ("info")},style:{marginLeft:"-25px",marginTop:"2px",color:d||"cyan"},children:(0,K.jsx)("span",{className:"material-icons",style:{fontSize:"22px",fontWeight:"700"},children:"content_copy"})})]}),(0,K.jsx)("button",{className:"button",style:{height:"33px",width:"140px",padding:"5px",marginTop:"20px",fontSize:"17px",fontWeight:"700"},onClick:m,"data-tooltip":"Roger That",children:(0,K.jsxs)("div",{className:"flex-row",style:{fontSize:"17px"},children:["Ok","\xa0",(0,K.jsx)("span",{className:"material-icons smoller",children:"done_all"})]})})]})]})}):null;return p?N.createPortal(f,document.getElementById("modal")):null};function oe(e){var t=0;for(var n in e)e.hasOwnProperty(n)&&(t+=e[n]);return t}var pe,le,ye,ue,de,ce=M.ZP.div(c||(c=(0,g.Z)(["\n padding-top: 0px;\n padding-left: ",";\n padding-right: ",";\n padding-bottom: ",";\n margin-top: 0px;\n margin-left: ",";\n margin-right: ",";\n margin-bottom: ",";\n display: flex;\n justify-content: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n line-height: 20px;\n max-width: 450px;\n"])),X.tq?"10px":"20px",X.tq?"10px":"20px",X.tq?"10px":"20px",X.tq?"10px":"20px",X.tq?"10px":"20px",X.tq?"10px":"20px"),me=M.ZP.div(m||(m=(0,g.Z)(["\n margin-top: -15px;\n font-size: 20px;\n display: flex;\n justify-content: center;\n font-weight: 700;\n margin-bottom: 15px;\n color: white;\n"]))),fe=M.ZP.div(f||(f=(0,g.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),be=M.ZP.div(b||(b=(0,g.Z)(["\n position: fixed;\n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: auto;\n max-width: ",";\n height: 275px;\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n width: 450px;\n"])),X.tq?"90%":"60%"),he=M.ZP.div(h||(h=(0,g.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"]))),ge=function(e){var t=e.icon,n=e.color,a=e.show,s=e.onClose,r=e.children,i=k.useState(!1),o=(0,w.Z)(i,2),p=o[0],l=o[1];k.useEffect((function(){l(!0)}),[]);var y=a?(0,K.jsx)(he,{children:(0,K.jsxs)(be,{children:[(0,K.jsx)(fe,{children:(0,K.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),s()},children:(0,K.jsx)("span",{className:"material-icons",style:{margin:"4px"},children:"close"})})}),t&&(0,K.jsx)(me,{children:(0,K.jsx)("span",{className:"material-icons",style:{marginTop:"14px",fontSize:"72px",color:n},children:"wind_power"})}),(0,K.jsx)(ce,{children:(0,K.jsxs)("div",{className:"flex-column",style:{marginBottom:"15px"},children:[(0,K.jsx)("div",{style:{fontSize:"24px",marginTop:"10px",color:"lime",fontWeight:"700"},children:"Off-Chain Records set"}),(0,K.jsxs)("div",{style:{marginTop:"20px",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",fontSize:"20px",fontWeight:"700"},children:[(0,K.jsx)("div",{children:"Your"}),"\xa0",(0,K.jsx)("div",{className:"material-icons-round",style:{marginBottom:"3px",fontSize:"28px",color:n},children:"local_gas_station"}),"\xa0",(0,K.jsx)("div",{children:"savings"})]}),(0,K.jsxs)("div",{style:{marginTop:"18px",fontFamily:"SF Mono",fontSize:"24px",fontWeight:"600",color:"lime"},children:[oe(r).toPrecision(3),"\xa0",(0,K.jsx)("span",{style:{fontFamily:"Spotnik",fontSize:"21px",fontWeight:"700"},children:"ETH"})]})]})})]})}):null;return p?N.createPortal(y,document.getElementById("modal")):null},xe=n(89479),ve=n(59595),Te=n(88006),we=n(36490),Se=n(58783),je=n(45887),ke=n(24978),Ne=n(67191),Me=n(71775),Ze=n(69077),Re=n(59654);function Ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Pe(e){for(var t=1;tOn-chain Record Storage Pointer',tooltip:"Set New Storage"},{key:1,header:"Resolver",type:"resolver",value:He,editable:!1,active:He!==Ci,state:!1,label:"Migrate",help:'Please migrate resolver to enjoy off-chain records',tooltip:"Please Migrate Resolver"},{key:2,header:"Contenthash",type:"contenthash",value:n,editable:He===Ci&&hi>0,active:ee.rv(n)&&hi>0,state:!1,label:"Edit",help:'Set your web contenthash',tooltip:"Set Contenthash"},{key:3,header:"Address",type:"addr",value:t,editable:He===Ci&&hi>0,active:ee.Q1(t)&&hi>0,state:!1,label:"Edit",help:'Set your default address',tooltip:"Set Address"},{key:4,header:"Avatar",type:"avatar",value:a,editable:He===Ci&&hi>0,active:ee.tr(a)&&hi>0,state:!1,label:"Edit",help:'Set your avatar',tooltip:"Set Avatar"},{key:5,header:"Public Key",type:"pubkey",value:s,editable:He===Ci&&hi>0,active:ee.V4(s)&&hi>0,state:!1,label:"Edit",help:'Set your Public Key',tooltip:"Set Public Key"},{key:6,header:"Email",type:"email",value:r,editable:He===Ci&&hi>0,active:ee.Jh(r)&&hi>0,state:!1,label:"Edit",help:'Set your Email',tooltip:"Set Email Record"},{key:7,header:"Github",type:"com.github",value:i,editable:He===Ci&&hi>0,active:ee.wE(i)&&hi>0,state:!1,label:"Edit",help:'Set your Github username',tooltip:"Set Github Record"},{key:8,header:"Url",type:"url",value:o,editable:He===Ci&&hi>0,active:ee.CB(o)&&hi>0,state:!1,label:"Edit",help:'Set your URL',tooltip:"Set URL Record"},{key:9,header:"Twitter",type:"com.twitter",value:p,editable:He===Ci&&hi>0,active:ee.L3(p)&&hi>0,state:!1,label:"Edit",help:'Set your Twitter username',tooltip:"Set Twitter Record"},{key:10,header:"Discord",type:"com.discord",value:l,editable:He===Ci&&hi>0,active:ee.Iu(l)&&hi>0,state:!1,label:"Edit",help:'Set your Discord username',tooltip:"Set Discord Record"},{key:11,header:"Farcaster",type:"xyz.farcaster",value:y,editable:He===Ci&&hi>0,active:ee.Io(y)&&hi>0,state:!1,label:"Edit",help:'Set your Farcaster username',tooltip:"Set Farcaster Record"},{key:12,header:"Nostr",type:"nostr",value:u,editable:He===Ci&&hi>0,active:ee.$o(u)&&hi>0,state:!1,label:"Edit",help:'Set your Nostr username',tooltip:"Set Discord Record"},{key:13,header:"Bitcoin",type:"btc",value:d,editable:He===Ci&&hi>0,active:ee.MP(d)&&hi>0,state:!1,label:"Edit",help:'Set your BTC Address',tooltip:"Set BTC Address"},{key:14,header:"Litecoin",type:"ltc",value:c,editable:He===Ci&&hi>0,active:ee.Yo(c)&&hi>0,state:!1,label:"Edit",help:'Set your LTC Address',tooltip:"Set LTC Address"},{key:15,header:"Dogecoin",type:"doge",value:m,editable:He===Ci&&hi>0,active:ee.fp(m)&&hi>0,state:!1,label:"Edit",help:'Set your DOGE Address',tooltip:"Set DOGE Address"},{key:16,header:"Solana",type:"sol",value:f,editable:He===Ci&&hi>0,active:ee.A2(f)&&hi>0,state:!1,label:"Edit",help:'Set your SOL Address',tooltip:"Set SOL Address"},{key:17,header:"Cosmos",type:"atom",value:b,editable:He===Ci&&hi>0,active:ee.s8(b)&&hi>0,state:!1,label:"Edit",help:'Set your ATOM Address',tooltip:"Set ATOM Address"}];(h=g)&&ga(h)}function _o(e){return!ee.vc.includes(e.type)&&us.length>1&&!us.includes("resolver")&&!us.includes("storage")}function Do(e){return ee.IN.includes(e.type)||!ca[e.key].active||!Ys[e.type]||e.state||!Mi||!zn.includes(String(Mi))||!ee.vc.includes(e.type)&&fs===ee.K5()}function Oo(e,t,n){var a="eip155:"+s+":"+P.computeAddress("0x".concat(n));return"Requesting Signature To Update ENS Record\n\nOrigin: ".concat(le,"\nRecord Type: ").concat(e,"\nExtradata: ").concat(t,"\nSigned By: ").concat(a)}function Io(e){var t="eip155:"+s+":"+P.computeAddress("0x".concat(e));return"Requesting Signature To Approve ENS Records Signer\n\nOrigin: ".concat(le,"\nApproved Signer: ").concat(t,"\nApproved By: ").concat(Ai)}function Ao(e){return"Requesting Signature To Generate ENS Records Signer\n\nOrigin: ".concat(le,"\nKey Type: secp256k1\nExtradata: ").concat(e,"\nSigned By: ").concat(Ai)}function Wo(e,t){var n="",a="";["avatar","email","pubkey","com.github","url","com.twitter","com.discord","xyz.farcaster","nostr","zonehash"].includes(e)&&(a="string",n=t),["btc","ltc","doge","sol","atom"].includes(e)&&(a="bytes",n="0x".concat(Re.Z_[e.toUpperCase()].decoder(t).toString("hex"))),"contenthash"===e&&(a="bytes",n=Ne.vb(t).encoded),"addr"===e&&(a="address",n=t);var s=_.$.encode([a],[n]),r=[ee.z7];return new O.vU(r).encodeFunctionData("signedRecord",[Xa?P.computeAddress("0x".concat(Xa[0])):ee.DR,qs[e],ri,s])}function zo(e,t){var n="",a="";["avatar","email","pubkey","com.github","url","com.twitter","com.discord","xyz.farcaster","nostr","zonehash"].includes(e)&&(n="string",a=t),["btc","ltc","doge","sol","atom"].includes(e)&&(n="bytes",a="0x".concat(Re.Z_[e.toUpperCase()].decoder(t).toString("hex"))),"contenthash"===e&&(n="bytes",a=Ne.vb(t).encoded),"addr"===e&&(n="address",a=t);var s=_.$.encode([n],[a]),r=I.keccak256(s);return E.hexlify(A.pack(["bytes"],[r]))}function Fo(){return Hi&&Vi?String(Hi)===ee.O["1"===s?7:3]?Qi?String(Qi):ee.DR:String(Vi):ee.DR}function Lo(e,t){"avatar"===e&&yt(t),"email"===e&&mt(t),"pubkey"===e&>(t),"com.github"===e&&wt(t),"url"===e&&Nt(t),"com.twitter"===e&&Ct(t),"com.discord"===e&&Dt(t),"xyz.farcaster"===e&&Wt(t),"nostr"===e&&Bt(t),"btc"===e&&Gt(t),"ltc"===e&&Yt(t),"doge"===e&&en(t),"sol"===e&&sn(t),"atom"===e&&ln(t),"zonehash"===e&&dn(t)}function Bo(e){return qo.apply(this,arguments)}function qo(){return qo=(0,v.Z)(j().mark((function e(t){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,np(t,"avatar");case 2:return e.next=4,np(t,"email");case 4:return e.next=6,np(t,"pubkey");case 6:return e.next=8,np(t,"com.github");case 8:return e.next=10,np(t,"url");case 10:return e.next=12,np(t,"com.twitter");case 12:return e.next=14,np(t,"com.discord");case 14:return e.next=16,np(t,"xyz.farcaster");case 16:return e.next=18,np(t,"nostr");case 18:return e.next=20,sp(t,"btc");case 20:return e.next=22,sp(t,"ltc");case 22:return e.next=24,sp(t,"doge");case 24:return e.next=26,sp(t,"sol");case 26:return e.next=28,sp(t,"atom");case 28:case"end":return e.stop()}}),e)}))),qo.apply(this,arguments)}function Uo(e){"avatar"===e&&yt(""),"email"===e&&mt(""),"pubkey"===e&>(""),"com.github"===e&&wt(""),"url"===e&&Nt(""),"com.twitter"===e&&Ct(""),"com.discord"===e&&Dt(""),"xyz.farcaster"===e&&Wt(""),"nostr"===e&&Bt(""),"btc"===e&&Gt(""),"ltc"===e&&Yt(""),"doge"===e&&en(""),"sol"===e&&sn(""),"atom"===e&&ln(""),"zonehash"===e&&dn(""),nt(!0)}function Ko(){te(!0),wa(""),ds([]),re(""),ni(""),es(void 0),Ya(void 0),b(!1),Qr(""),Jn(!1),jr(!1),os&&ps(!1),Ir({modalData:void 0,trigger:!1}),Er({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1})}function Go(){vs("gpp_good"),js("lime"),$s(ee.gk()),Jn(!1),b(!1),gi(1),es(void 0),Ya(void 0),ni(""),Qr(""),re(""),Da(!1),Zr({modalData:void 0,trigger:!1}),Ir({modalData:void 0,trigger:!1}),Er({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1}),jr(!1),wa(""),os&&ps(!1),ss(!1)}function Ho(e){return Jo.apply(this,arguments)}function Jo(){return Jo=(0,v.Z)(j().mark((function e(t){var n,a;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Xa){e.next=4;break}return n=function(){var e=(0,v.Z)(j().mark((function e(){var n,a;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new Z.Wallet("0x"+Xa[0],Di),e.next=3,n.signMessage(t.message);case 3:if(!(a=e.sent)){e.next=6;break}return e.abrupt("return",a);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),a=n(),e.abrupt("return",a);case 4:case"end":return e.stop()}}),e)}))),Jo.apply(this,arguments)}function Vo(){return Vo=(0,v.Z)(j().mark((function e(){var t;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:yi(3),Zs(["Waiting For Signature","3"]),Xa&&(t=function(){var e=(0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Ki({message:Io(Xa[0])});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),t());case 3:case"end":return e.stop()}}),e)}))),Vo.apply(this,arguments)}function Yo(e){return $o.apply(this,arguments)}function $o(){return $o=(0,v.Z)(j().mark((function e(t){var n;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=function(){var e=(0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Ki({message:Ao(I.keccak256(A.pack(["bytes32","address"],[I.keccak256(A.pack(["string"],[t])),Mi])))});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),n();case 2:case"end":return e.stop()}}),e)}))),$o.apply(this,arguments)}function Qo(e,t){return Xo.apply(this,arguments)}function Xo(){return Xo=(0,v.Z)(j().mark((function e(t,n){var a,s;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=function(){var e=(0,v.Z)(j().mark((function e(){var a,s,r;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=new Ii.eth.Contract(ee.qP[6].contractInterface,ee.qP[6].addressOrName),"contenthash"!==t){e.next=7;break}return e.next=4,a.methods.setContenthash(C.VM(le),Ne.vb(n).encoded).estimateGas({from:Mi});case 4:s=e.sent,e.next=24;break;case 7:if(!["avatar","email","pubkey","com.github","url","com.twitter","com.discord","xyz.farcaster","nostr","zonehash"].includes(t)){e.next=13;break}return e.next=10,a.methods.setText(C.VM(le),t,n).estimateGas({from:Mi});case 10:s=e.sent,e.next=24;break;case 13:if(!["btc","ltc","doge","sol","atom"].includes(t)){e.next=20;break}return r="btc"===t?0:"ltc"===t?2:"doge"===t?3:"sol"===t?501:118,e.next=17,a.methods.setAddr(C.VM(le),r,"0x".concat(Re.Z_[t.toUpperCase()].decoder(n).toString("hex"))).estimateGas({from:Mi});case 17:s=e.sent,e.next=24;break;case 20:if("addr"!==t){e.next=24;break}return e.next=23,a.methods.setAddr(C.VM(le),n).estimateGas({from:Mi});case 23:s=e.sent;case 24:return e.abrupt("return",s);case 25:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.next=3,a();case 3:return s=e.sent,e.abrupt("return",s);case 5:case"end":return e.stop()}}),e)}))),Xo.apply(this,arguments)}function ep(e){return tp.apply(this,arguments)}function tp(){return tp=(0,v.Z)(j().mark((function e(t){var n;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=Pe({},ar)).contenthash="-",sr(n),nt(!0),e.next=6,t.getContentHash().then((function(e){e?(n.contenthash="1",Un(e),sr(n)):(n.contenthash="0",Un(""),sr(n)),ip(t)})).catch((function(){n.contenthash="0",Un(""),sr(n),ip(t)}));case 6:case"end":return e.stop()}}),e)}))),tp.apply(this,arguments)}function np(e,t){return ap.apply(this,arguments)}function ap(){return ap=(0,v.Z)(j().mark((function e(t,n){var a;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(a=Pe({},ar))[n]="-",sr(a),e.next=5,t.getText(n).then((function(e){e?(a[n]="1",Lo(n,e),sr(a)):(a[n]="0",Uo(n),sr(a))})).catch((function(){a[n]="0",Uo(n),sr(a)}));case 5:case"end":return e.stop()}}),e)}))),ap.apply(this,arguments)}function sp(e,t){return rp.apply(this,arguments)}function rp(){return rp=(0,v.Z)(j().mark((function e(t,n){var a,s;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a="btc"===n?0:"ltc"===n?2:"doge"===n?3:"sol"===n?501:118,(s=Pe({},ar))[n]="-",sr(s),"btc"!==n){e.next=7;break}return e.next=7,t.getAddress(a).then((function(e){e?(s[n]="1",Lo(n,e),sr(s)):(s[n]="0",Uo(n),sr(s))})).catch((function(){s[n]="0",Uo(n),sr(s)}));case 7:case"end":return e.stop()}}),e)}))),rp.apply(this,arguments)}function ip(e){return op.apply(this,arguments)}function op(){return op=(0,v.Z)(j().mark((function e(t){var n;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=Pe({},ar)).addr="-",sr(n),e.next=5,Di.resolveName(le).then(function(){var e=(0,v.Z)(j().mark((function e(a){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a){e.next=8;break}return n.addr="0",it(""),sr(n),e.next=6,Bo(t);case 6:e.next=13;break;case 8:return n.addr="1",it(a),sr(n),e.next=13,Bo(t);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.addr="0",it(""),sr(n),e.next=5,Bo(t);case 5:case"end":return e.stop()}}),e)}))));case 5:case"end":return e.stop()}}),e)}))),op.apply(this,arguments)}function pp(){return(pp=(0,v.Z)(j().mark((function e(t,n){var a,s,r,i,o,p,l,y,u,d,c,m,f,b,h,g,x,v,T;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Di.getResolver(n);case 3:if(null===(a=e.sent)||void 0===a||!a.address){e.next=95;break}if(Je(a.address),Qe(a),a.address!==Ci){e.next=27;break}return e.next=10,Me.I7(n,Pi,Fo());case 10:if(s=e.sent,!(t.ownerstamp.length>1)){e.next=22;break}i=0;case 13:if(!(i<2)){e.next=20;break}return e.next=16,ee.TN(Ne.K5(s[0]).decoded,i);case 16:r=e.sent;case 17:i++,e.next=13;break;case 20:e.next=23;break;case 22:r=1===t.ownerstamp.length?{_value:"//",_sequence:"-1"}:{_value:"//",_sequence:""};case 23:dr(r._value.split("/")[2]),t.ownerstamp.length>=1&&r._sequence&&t.timestamp.revision&&Number(r._sequence)===Number(t.timestamp.revision)-1&&s[1]?(t.addr?it(t.addr):it(""),t.contenthash?Un(t.contenthash):Un(""),t.avatar?yt(t.avatar):yt(""),t.email?mt(t.email):mt(""),t["com.github"]?wt(t["com.github"]):wt(""),t.url?Nt(t.url):Nt(""),t["com.twitter"]?Ct(t["com.twitter"]):Ct(""),t["com.discord"]?Ct(t["com.discord"]):Dt(""),t["xyz.farcaster"]?Wt(t["xyz.farcaster"]):Wt(""),t.nostr?Bt(t.nostr):Bt(""),t.btc?Gt(t.btc):Gt(""),t.ltc?Yt(t.ltc):Yt(""),t.doge?en(t.doge):en(""),t.sol?sn(t.sol):sn(""),t.atom?ln(t.atom):ln(""),nt(!0)):ep(a),e.next=93;break;case 27:return nt(!0),e.next=30,lp(["addr",""],a,n,!1);case 30:return o=e.sent,it(o||""),e.next=34,lp(["contenthash",""],a,n,!1);case 34:return p=e.sent,Un(p||""),e.next=38,lp(["avatar",""],a,n,!1);case 38:if(l=e.sent){e.next=43;break}return e.next=42,lp(["text","avatar"],a,n,!1);case 42:l=e.sent;case 43:return yt(l||""),e.next=46,lp(["text","email"],a,n,!1);case 46:return y=e.sent,mt(y||""),gt(""),e.next=51,lp(["text","com.github"],a,n,!1);case 51:return u=e.sent,wt(u||""),e.next=55,lp(["text","url"],a,n,!1);case 55:return d=e.sent,Nt(d||""),e.next=59,lp(["text","com.twitter"],a,n,!1);case 59:return c=e.sent,Ct(c||""),e.next=63,lp(["text","com.discord"],a,n,!1);case 63:return m=e.sent,Dt(m||""),e.next=67,lp(["text","xyz.farcaster"],a,n,!1);case 67:return f=e.sent,Wt(f||""),e.next=71,lp(["text","nostr"],a,n,!1);case 71:return b=e.sent,Bt(b||""),e.next=75,lp(["address","btc"],a,n,!1);case 75:return h=e.sent,Gt(h||""),e.next=79,lp(["address","ltc"],a,n,!1);case 79:return g=e.sent,Yt(g||""),e.next=83,lp(["address","doge"],a,n,!1);case 83:return x=e.sent,en(x||""),e.next=87,lp(["address","sol"],a,n,!1);case 87:return v=e.sent,sn(v||""),e.next=91,lp(["address","atom"],a,n,!1);case 91:T=e.sent,ln(T||"");case 93:e.next=114;break;case 95:Qe(a),Je(""),it(""),Un(""),yt(""),mt(""),gt(""),wt(""),Nt(""),Ct(""),Dt(""),Wt(""),Bt(""),Gt(""),Yt(""),en(""),sn(""),ln(""),nt(!0);case 114:e.next=119;break;case 116:e.prev=116,e.t0=e.catch(0),console.error("Error in getResolver():",e.t0);case 119:case"end":return e.stop()}}),e,null,[[0,116]])})))).apply(this,arguments)}function lp(e,t,n,a){return yp.apply(this,arguments)}function yp(){return(yp=(0,v.Z)(j().mark((function e(t,n,a,s){var r,i,o,p,l,y;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s&&(t[1]?na(t[1]):na(t[0])),e.prev=1,"addr"!==t[0]){e.next=12;break}return e.next=5,Di.resolveName(a);case 5:if(!(r=e.sent)){e.next=9;break}return s&&(it(r),ya(r),na("1")),e.abrupt("return",r);case 9:case 19:case 34:case 44:case 59:return e.abrupt("return","");case 12:if("avatar"!==t[0]){e.next=22;break}return e.next=15,Di.getAvatar(a);case 15:if(!(i=e.sent)){e.next=19;break}return s&&(yt(i),ya(i),na("1")),e.abrupt("return",i);case 22:if("pubkey"!==t[0]){e.next=27;break}return s&&(gt(""),ya(""),na("1")),e.abrupt("return","");case 27:if("contenthash"!==t[0]){e.next=37;break}return e.next=30,n.getContentHash();case 30:if(!(o=e.sent)){e.next=34;break}return s&&(Un(o),ya(o),na("1")),e.abrupt("return",o);case 37:if("text"!==t[0]){e.next=47;break}return e.next=40,n.getText(t[1]);case 40:if(!(p=e.sent)){e.next=44;break}return s&&("avatar"===t[1]&&yt(p),"email"===t[1]&&mt(p),"com.github"===t[1]&&wt(p),"url"===t[1]&&Nt(p),"com.twitter"===t[1]&&Ct(p),"com.discord"===t[1]&&Dt(p),"xyz.farcaster"===t[1]&&Wt(p),ya(p),na("1")),e.abrupt("return",p);case 47:if("address"!==t[0]){e.next=60;break}if(l="btc"===t[1]?0:"ltc"===t[1]?2:"doge"===t[1]?3:"sol"===t[1]?501:118,y="","btc"!==t[1]){e.next=56;break}return e.next=53,n.getAddress(l);case 53:y=e.sent,e.next=56;break;case 56:if(!y){e.next=59;break}return s&&("btc"===t[1]&&Gt(y),"ltc"===t[1]&&Yt(y),"doge"===t[1]&&en(y),"sol"===t[1]&&sn(y),"atom"===t[1]&&ln(y),ya(y),na("1")),e.abrupt("return",y);case 60:return s&&na("0"),e.abrupt("return","");case 64:return e.prev=64,e.t0=e.catch(1),console.error("Error in refreshRecord('".concat(t,"'):"),e.t0),s&&na("0"),e.abrupt("return","");case 69:case"end":return e.stop()}}),e,null,[[1,64]])})))).apply(this,arguments)}function up(e,t,n,a){return dp.apply(this,arguments)}function dp(){return dp=(0,v.Z)(j().mark((function e(t,n,a,r){var i,o,p;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={},t?((o=JSON.parse(JSON.stringify(t,(function(e,t){return"bigint"===typeof t?String(t):t}))))._name._privKey&&(o._name._privKey._key={}),i=JSON.stringify(o)):i=JSON.stringify(i),p={ens:le,controller:Mi,manager:Xa?P.computeAddress("0x".concat(Xa[0])):ee.DR,managerSignature:ri,revision:t?Zi.encode(t):{},chain:s,ipns:se,ipfs:r,gas:JSON.stringify(n),version:i,timestamp:a,hashType:or},e.prev=3,e.next=6,fetch("".concat(Fi,":").concat(zi,"/revision"),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify(p)}).then((function(e){return e.json()})).then((function(e){return!!e.status&&"true"===e.status}));case 6:e.next=16;break;case 8:e.prev=8,e.t0=e.catch(3),console.error("ERROR:","Failed to write Revision to CCIP2 backend"),Zs(["Revision Update Failed",""]),te(!0),b(!1),wi(!0),js("orangered");case 16:case"end":return e.stop()}}),e,null,[[3,8]])}))),dp.apply(this,arguments)}function cp(){return(cp=(0,v.Z)(j().mark((function e(t,n,a){var r;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={type:"read",ens:le,controller:Fo(),recordsTypes:"all",recordsValues:"all",chain:s,storage:t,hashType:a},e.prev=1,e.next=4,fetch("".concat(Fi,":").concat(zi,"/read"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}).then((function(e){return e.json()})).then((function(e){var a={type:e.response.type,contenthash:e.response.contenthash,addr:e.response.addr,email:e.response.email,pubkey:e.response.pubkey,avatar:e.response.avatar,"com.github":e.response.github,url:e.response.url,"com.twitter":e.response.twitter,"com.discord":e.response.discord,"xyz.farcaster":e.response.farcaster,nostr:e.response.nostr,btc:e.response.btc,ltc:e.response.ltc,doge:e.response.doge,sol:e.response.sol,atom:e.response.atom,version:e.response.version,revision:e.response.revision,timestamp:e.response.timestamp,queue:ee.UW(e.response.timestamp),ownerstamp:e.response.ownerstamp};Jr(a);var s=[];if(a.ownerstamp.length>0)for(var r in a.ownerstamp)s.push(Number(a.ownerstamp[r]));t&&s.length>0&&"ownerhash"===n?gi(Math.round(Date.now()/1e3)-Math.max.apply(Math,s)-ee.A7):t&&s.length>0&&"recordhash"===n?gi(Math.round(Date.now()/1e3)-ee.UW(e.response.timestamp)-ee.A7):gi(1)}));case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),console.error("ERROR:","Failed to read from CCIP2 backend");case 9:case"end":return e.stop()}}),e,null,[[1,6]])})))).apply(this,arguments)}function mp(e){r(e),i(!0)}k.useEffect((function(){a.endsWith("#")||a.endsWith("-")||a.endsWith(":")||a.endsWith("&")?(y(!0),ye(a.slice(0,-1)),Zs([a.endsWith("-")||a.endsWith("&")?"Refreshing Records":a.endsWith("#")?"Checking History":"Loading Records","-"])):y(!1)}),[]),k.useEffect((function(){if(l&&le){var e=C.VM(le),t=I.keccak256(D.Y0(le.split(".eth")[0]));Zn(e),En(String(R.O$.from(t))),In(String(R.O$.from(e))),Ue(!0)}}),[l,le]),k.useEffect((function(){ha&&ma(ha)}),[ha]),k.useEffect((function(){Yi&&Ni(String(Yi))}),[Yi]),k.useEffect((function(){if(Xi)if(String(Xi).length>2){var e="";(e=String(Xi).startsWith(ee.Kv)?"ipns://".concat(Ne.K5(String(Xi)).decoded):D.ZN(String(Xi))).startsWith("https://"),jn("".concat(e))}else jn("")}),[Xi]),k.useEffect((function(){if(eo)if(String(eo).length>2&&eo!==Xi){var e="";(e=String(eo).startsWith(ee.Kv)?"ipns://".concat(Ne.K5(String(eo)).decoded):D.ZN(String(eo))).startsWith("https://"),vn("".concat(e)),Zs(["This May Take a While",""]),Zs([a.endsWith("-")||a.endsWith("&")?"Refreshing Records":a.endsWith("#")?"Checking History":"Loading Records","-"])}else"0x"===String(eo)&&eo===Xi?vn(He===Ci?ee.U8:""):vn("")}),[eo,Xi,He]),k.useEffect((function(){qr.trigger&&qr.modalData&&(To?mp("".concat(le,"#")):ko?mp("".concat(le,"-")):Ro&&mp("".concat(le,"&")))}),[qr,To,ko,Ro]),k.useEffect((function(){Or.trigger&&Or.modalData&&(Is(!1),"0"===Or.modalData?(Jn(!0),mi(1)):Qn(!0))}),[Or]),k.useEffect((function(){"1"===ka&&(Ta&&!os?"storage"===Ta?pr("0"===Or.modalData?"recordhash":"gateway"):Pr.trigger&&(pr("1"===Pr.modalData?"recordhash":"2"===Pr.modalData?"gateway":"ownerhash"),mi(1),ao()):Ta&&os&&(xn&&(xn.startsWith("https://")?pr("gateway"):pr("recordhash")),Sn&&!xn&&(Sn.startsWith("https://")?pr("gateway"):pr("ownerhash")),ss(!0)))}),[Ta,Pr,os,ka,Or]),k.useEffect((function(){if(Mi)if(ki&&"true"===String(ki))Fn([Mi]);else{var e=Fo();Fn([e])}}),[Mn,Hi,Qi,ki,On]),k.useEffect((function(){Hi&&(String(Hi)===ee.O["1"===s?7:3]?Ga(!0):Ga(!1))}),[Hi]),k.useEffect((function(){var e="";if(lt.startsWith("ipfs://"))e="https://ipfs.io/ipfs/".concat(lt.split("ipfs://")[1]),ee.Hc(e).then((function(){br(!0),bn(e)})).catch((function(){br(!1),bn("")}));else if(lt.startsWith("eip155:".concat(s))){var t=lt.split(":")[2].split("/")[0],n=lt.split(":")[2].split("/")[1];ee.iJ.nft.getNftMetadata(t,n).then((function(t){e=t.media[0].thumbnail||t.media[0].gateway,ee.Hc(e).then((function(){br(!0),bn(e)})).catch((function(){br(!1),bn("")}))}))}else lt.startsWith("https://")&&(e=lt,ee.Hc(e).then((function(){br(!0),bn(e)})).catch((function(){br(!1),bn("")})))}),[lt]),k.useEffect((function(){if(zr.trigger&&void 0!==zr.modalData&&os){b(!0),Zs(["Waiting For Signature","gateway"!==or?"1":"2"]);var e=function(){var e=(0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:yi(2),mi(2),Yo(ee.O1(10));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}else zr.trigger&&void 0!==zr.modalData&&!os&&re(zr.modalData)}),[zr,or,os]),k.useEffect((function(){var e,t;Mr.trigger&&void 0!==Mr.modalData&&!Va&&Ta&&ka&&(yi(1),mi(os?3:1),Zs(["Waiting For Signature","1"]),Ki({message:(e=I.keccak256(A.pack(["bytes32","address"],[I.keccak256(A.pack(["string"],[Mr.modalData])),Mi])),t=or,"Requesting Signature To Generate IPNS Key\n\nOrigin: ".concat(["recordhash","gateway"].includes(t)?le:Wi,"\nKey Type: ed25519\nExtradata: ").concat(e,"\nSigned By: ").concat(Ai))}),H(!0))}),[Mr,xn,Ta,ka,or,os,us,Va]),k.useEffect((function(){if($r&&!Va){b(!0),Zs(["Generating IPNS Key",""]);var e=function(){var e=(0,v.Z)(j().mark((function e(){var t,n;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t="ownerhash"===or?"eth:".concat(Mi||ee.DR):le,e.next=3,(0,we.x_)(t,Ai,$r,Mr.modalData);case 3:n=e.sent,Ya(n[0]),Zs(["IPNS Keypair Generated",""]);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[G,Va,Sr,os,$r]),k.useEffect((function(){if(os&&Mr.trigger&&Sr){Zs(["Waiting For Signature","2"]);var e=function(){var e=(0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:void 0!==Mr.modalData&&(yi(2),mi(3),Yo(Mr.modalData));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[Mr,Sr,os,Ta]),k.useEffect((function(){if(os&&Sr&&ti&&!_a){Hs([Fo(),C.VM(le),Xa?P.computeAddress("0x".concat(Xa[0])):ee.DR]),b(!0),Zs(["Generating Signer Key",""]);var e=function(){var e=(0,v.Z)(j().mark((function e(){var t,n;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t="recordhash"!==or?"eth:".concat(Mi||ee.DR):le,e.next=3,(0,we.x_)(t,Ai,ti,Mr.modalData);case 3:n=e.sent,es(n[1]),Da(!0),Zs(["Signer Keypair Generated",""]);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[ti,Sr,os,_a]),k.useEffect((function(){if(Va&&$r){if("gateway"!==or){var e=function(){var e=(0,v.Z)(j().mark((function e(){var t,n,a,s,r;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=ee.yt(Va),e.next=3,Se.Dp(ke.UG.hexToBytes(t));case 3:n=e.sent,a=String(n),s=xn?xn.split("ipns://")[1]:"",r=Sn?Sn.split("ipns://")[1]:"",os&&(!a||a!==s&&a!==r)?a&&a!==s&&a!==r&&(Zr({modalData:void 0,trigger:!1}),Zs(["Seems Like Bad Password",""]),Ko(),js("orangered"),yi(0),mi(0)):(jr(!0),re(a));case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}else os&&"gateway"===or&&(jr(!0),re(xn||Sn))}),[Va,$r,xn,Sn,os,or]),k.useEffect((function(){Bi&&1===li?Qr(Bi):Bi&&3===li?ii(Bi):Bi&&2===li&&ni(Bi)}),[Bi,li]),k.useEffect((function(){se&&!os?(mi(1),se.startsWith("k5")?lo():se.startsWith("https://")&&bo()):os&&(se.startsWith("k5")?mi(3):se.startsWith("https://")&&mi(2))}),[se,os]),k.useEffect((function(){if(us.length>1){var e=ca.map((function(e){return!ee.vc.includes(e.type)&&us.includes(e.type)?Pe(Pe({},e),{},{label:"Edit",help:"Set Record"}):Pe(Pe({},e),{},{label:"resolver"!==e.type?"storage"!==e.type?"Edit":"Set":"Migrate"})}));ga(e)}}),[us]),k.useEffect((function(){tt&&(Eo(xn||(Sn||xn),rt,qn,lt,ht,ct,Tt,kt,Rt,_t,At,Lt,Kt,Vt,Xt,an,pn),b(!1))}),[tt,or,xn,Sn,He,rt,qn,lt,ct,ht,Tt,kt,Rt,_t,At,Lt,Kt,Vt,Xt,an,pn]),k.useEffect((function(){qe&&function(e,t,n){cp.apply(this,arguments)}(xn||Sn,xn&&xn.startsWith("ipns://")?"recordhash":Sn&&Sn.startsWith("ipns://")?"ownerhash":"gateway",xn&&xn.startsWith("ipns://")?"recordhash":Sn&&Sn.startsWith("ipns://")?"ownerhash":"gateway")}),[qe,Sn,xn]),k.useEffect((function(){hi&&le&&!tt&&function(e,t){pp.apply(this,arguments)}(Hr,le)}),[Hr,hi,le,tt]),k.useEffect((function(){Hr&&hi&&!tt&&(xn?xn.startsWith("https://")?pr("gateway"):pr("recordhash"):Sn?Sn.startsWith("https://")?pr("gateway"):pr("ownerhash"):pr("storage"))}),[Hr,hi,He,xn,Sn,tt]),k.useEffect((function(){if(Ta&&us.length>0){var e=ca.map((function(e){return us.includes(e.type)&&!ee.ID.includes(e.type)?Pe(Pe({},e),{},{editable:hi>0,active:hi>0}):!us.includes(e.type)&&["resolver"].includes(e.type)?Pe(Pe({},e),{},{editable:!1,active:!1}):["storage"].includes(e.type)?Pe(Pe({},e),{},{editable:!1,active:He===Ci}):e}));ga(e)}}),[Ta,He,us]),k.useEffect((function(){as&&os&&(Va&&Xa&&Xa[0]&&se?us.length>0&&(b(!0),Zs(["Setting Records",String(us.length)]),mi(us.length)):("gateway"!==or?Mr.trigger||Jn(!0):(Mr.trigger||Jn(!0),Ya(["0x","0x"])),ss(!1)))}),[as,Xa,se,os,or,Mr]),k.useEffect((function(){if(ta&&["0","1"].includes(ta)){if("1"===ta){var e=ca.map((function(e){return e.type===ra?Pe(Pe({},e),{},{value:la}):Pe({},e)}));ga(e)}setTimeout((function(){na(".")}),1e4),setTimeout((function(){na("")}),3e4)}}),[ta,la,ra]),k.useEffect((function(){if(os&&Xa&&Xa[0]&&fs&&!ee.xb(fs)&&us.length>0){var e=ee.K5();us.forEach(function(){var t=(0,v.Z)(j().mark((function t(n){var a;return j().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!fs[n]){t.next=4;break}return t.next=3,Ho({message:Oo(ee.Th[ee.t8.indexOf(n)],zo(n,fs[n]),Xa[0])});case 3:a=t.sent;case 4:a&&(e[n]=a);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Us(e)}}),[os,Xa,fs,us]),k.useEffect((function(){!os||ki||ri||ee.xb(qs)?os&&ki&&!ee.xb(qs)&&ii("0x"):(mi(3),function(){Vo.apply(this,arguments)}())}),[ki,qs,or]),k.useEffect((function(){var e=0;for(var t in qs)qs.hasOwnProperty(t)&&""!==qs[t]&&e++;if(os&&se&&e===us.length&&e>0&&ri){var n=ee.K5();for(var a in fs)fs.hasOwnProperty(a)&&""!==fs[a]&&(n[a]=Wo(a,fs[a]));var r={signatures:qs,manager:Xa?P.computeAddress("0x".concat(Xa[0])):ee.DR,managerSignature:ri,ens:le,controller:Mi||ee.DR,ipns:se,recordsTypes:us,recordsValues:n,recordsRaw:fs,revision:Hr.revision,chain:s,hashType:or},i=function(){var e=(0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Zs(["Writing Records",""]),e.prev=1,e.next=4,fetch("".concat(Fi,":").concat(zi,"/write"),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}).then((function(e){return e.json()})).then(function(){var e=(0,v.Z)(j().mark((function e(t){var n,a,s,r,i,o;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Zs(["gateway"!==or?"Publishing to IPNS":"Publishing to Gateway",""]),!Xa||!t.response){e.next=7;break}return n={},ca.map(function(){var e=(0,v.Z)(j().mark((function e(a){var s,r;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("resolver"===a.type||!t.response.meta[a.type]){e.next=23;break}return s=Qo(a.type,t.response[a.type]),r=function(){var e=(0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([s]);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.next=5,r();case 5:s.then((function(e){var t=d&&d.formatted&&d.formatted.gasPrice?Number(d.formatted.gasPrice):0;n[a.type]=e*t*1e-9})),"addr"===a.type&&it(t.response.addr),"avatar"===a.type&&yt(t.response.avatar),"email"===a.type&&mt(t.response.email),"pubkey"===a.type&>(t.response.pubkey),"com.github"===a.type&&wt(t.response.github),"url"===a.type&&Nt(t.response.url),"com.twitter"===a.type&&Ct(t.response.twitter),"com.discord"===a.type&&Dt(t.response.discord),"xyz.farcaster"===a.type&&Wt(t.response.farcaster),"nostr"===a.type&&Bt(t.response.nostr),"btc"===a.type&&Gt(t.response.btc),"ltc"===a.type&&Yt(t.response.ltc),"doge"===a.type&&en(t.response.doge),"sol"===a.type&&sn(t.response.sol),"atom"===a.type&&ln(t.response.atom),"zonehash"===a.type&&dn(t.response.zonehash),"contenthash"===a.type&&Un(t.response.contenthash);case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=6,new Promise((function(e){!function t(){Object.keys(n).length>0?e():setTimeout(t,100)}()}));case 6:"gateway"!==or&&Va?(a=ee.yt(Va),i=function(){var e=(0,v.Z)(j().mark((function e(){var i;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Se.Dp(ke.UG.hexToBytes(a));case 2:return s=e.sent,e.next=5,je.Dp(ke.UG.hexToBytes(a));case 5:r=e.sent,i=function(){var e=(0,v.Z)(j().mark((function e(){var a,i,o,p;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.response.ipfs&&s&&r&&n)){e.next=41;break}if(dr(t.response.ipfs.split("ipfs://")[1]),a="/ipfs/"+t.response.ipfs.split("ipfs://")[1],Hr.revision){e.next=9;break}return e.next=6,Se.v0(s,a);case 6:i=e.sent,e.next=19;break;case 9:if(o=Zi.decode(new Uint8Array(Object.values(JSON.parse(JSON.stringify(Hr.revision))))),!(Number(t.response.timestamp)0,editable:n>0}):Pe(Pe({},e),{},{active:n>0,editable:n>0})})),ga(p),bs(ee.K5()),Us(ee.K5()),ss(!1),yi(0),Zr({modalData:void 0,trigger:!1});case 41:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Object.keys(n).length>0&&i();case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),i()):(o=function(){var e=(0,v.Z)(j().mark((function e(){var a;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=17;break}return er(t.response.timestamp),e.next=4,up(void 0,n,t.response.timestamp,"");case 4:Ba(n),Fe(!0),ds([]),$s(ee.gk()),b(!1),a=ca.map((function(e){if(ee.vc.includes(e.type))return e;return gi(1),t.response.meta[e.type]?Pe(Pe({},e),{},{value:t.response[e.type],state:!0,label:"edit",active:!0,editable:!0}):Pe(Pe({},e),{},{active:!0,editable:!0})})),ga(a),bs(ee.K5()),Us(ee.K5()),ss(!1),yi(0),Zr({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1});case 17:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),o());case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 4:e.next=14;break;case 6:e.prev=6,e.t0=e.catch(1),console.error("ERROR:","Failed to write to CCIP2 backend"),Zs(["Record Update Failed",""]),te(!0),b(!1),wi(!0),js("orangered");case 14:case"end":return e.stop()}}),e,null,[[1,6]])})));return function(){return e.apply(this,arguments)}}();i()}os||ss(!1)}),[ri]),k.useEffect((function(){ro&&To&&T&&!os&&!Y&&(us.includes("resolver")?(Wa("1"===Pr.modalData?'Resolver Migrated! You may now set IPNS Storage next':'Resolver Migrated! You may now set HTTP Storage next'),Ce(!0),Go()):(Wa('Off-chain Setup Complete with Ownerhash. Enjoy!'),Ce(!0),Go()))}),[ro,To,T,us,He,os]),k.useEffect((function(){if(uo&&ko&&se){var e=function(){var e=(0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,up(void 0,{},"","");case 2:vn("ipns://".concat(se)),Zs(["Transaction Confirmed","1"]);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[uo,ko,se]),k.useEffect((function(){go&&Ro&&se&&(vn("".concat(se)),Zs(["Transaction Confirmed","1"]))}),[go,Ro,se]),k.useEffect((function(){xn&&ko&&!os&&!Y?(Wa('Off-chain Setup Complete with Recordhash. Enjoy!'),Ce(!0),Go()):xn&&Ro&&!os&&!Y&&(Wa('Off-chain Setup Complete with HTTP Gateway. Enjoy!'),Ce(!0),Go())}),[xn,ko,Ro,os]),k.useEffect((function(){if(ro&&To){var e=function(){var e=(0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Zs(["Transaction Confirmed","1"]),setTimeout((function(){Je(Ci),S(!0)}),2e3);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[ro,To]),k.useEffect((function(){so&&!io?(b(!0),Zs(["Waiting for Transaction","1"]),xr&&vr(!1)):io&&!so&&(xr?xr&&vr(!1):(Zs(["Transaction Declined by User",""]),Ko()),Zr({modalData:void 0,trigger:!1}),Er({modalData:void 0,trigger:!1}))}),[so,io]),k.useEffect((function(){So&&!wo?(b(!0),Zs(["Waiting for Confirmation","1"]),xr&&vr(!1)):!So&&wo&&(xr?xr&&vr(!1):(Zs(["Transaction Failed",us.includes("storage")?"1":"2"]),Ko()),Zr({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1}))}),[So,wo]),k.useEffect((function(){!co&&yo?(b(!0),Zs(["Waiting for Transaction","1"]),xr&&vr(!1)):co&&!yo&&(xr?xr&&vr(!1):(Zs(["Transaction Declined by User",""]),Ko()),Zr({modalData:void 0,trigger:!1}),Ir({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1}))}),[yo,co]),k.useEffect((function(){!xo&&ho?(b(!0),Zs(["Waiting for Transaction","1"]),xr&&vr(!1)):xo&&!ho&&(xr?xr&&vr(!1):(Zs(["Transaction Declined by User",""]),Ko()),Zr({modalData:void 0,trigger:!1}),Ir({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1}))}),[ho,xo]),k.useEffect((function(){Mo&&!No?(b(!0),Zs(["Waiting for Confirmation",us.includes("storage")?"1":"2"]),xr&&vr(!1)):!Mo&&No&&(xr?xr&&vr(!1):(Zs(["Transaction Failed",us.includes("storage")?"1":"2"]),Ko()),Zr({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1}))}),[Mo,No]),k.useEffect((function(){Po&&!Co?(b(!0),Zs(["Waiting for Confirmation",us.includes("storage")?"1":"2"]),xr&&vr(!1)):!Po&&Co&&(xr?xr&&vr(!1):(Zs(["Transaction Failed",us.includes("storage")?"1":"2"]),Ko()),Zr({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1}))}),[Po,Co]),k.useEffect((function(){if(Ui&&!qi&&Ta)b(!0),xr&&vr(!1);else if(qi&&!Ui&&Ta){if(xr)xr&&vr(!1);else{Zs(["Signature Failed",String(li)]),Ko(),ps(!1),ss(!1),$s(ee.gk()),bs(ee.K5());var e=ca.map((function(e){return"storage"!==e.type?e:Pe(Pe({},e),{},{state:!1})}));ga(e),us.includes("resolver")&&mp("".concat(le,"#")),Na("0")}Zr({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1})}}),[Ui,qi,Ta,li,us]);var fp=t?(0,K.jsx)(Ie,{style:{backgroundColor:f||X.tq?"black":"rgba(0, 0, 0, 0.75)"},children:(0,K.jsxs)(Oe,{style:{background:f?"none":"#0a0a09"},children:[(0,K.jsx)(De,{children:(0,K.jsx)("a",{href:"#",onClick:function(e){ii(""),Us(ee.K5()),es(void 0),Ya(void 0),ni(""),Qr(""),r("".concat(le,"+")),i(!0),e.preventDefault(),n()},children:(0,K.jsx)("span",{className:"material-icons-round",style:{marginTop:f?"120px":"7px"},children:"close"})})}),!f&&(0,K.jsx)("div",{style:{marginLeft:X.tq?"5.5%":"15.5%",marginTop:X.tq?"10px":"35px",marginBottom:lt&&fr?X.tq?"20px":"5px":X.tq?"-2.5px":"-12.5px"},children:(0,K.jsxs)("div",{children:[(0,K.jsx)("img",{alt:"ens",src:"ens.png",width:X.tq?"20px":"25px",style:{margin:X.tq?"0 10px -2px 0":"0 10px -3px 0"}}),(0,K.jsx)("span",{style:{color:"#ff2600",fontSize:X.tq?"24px":"30px",fontWeight:"700",fontFamily:"SF Mono"},children:le.split(".eth")[0]}),(0,K.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:X.tq?"20px":"24px",color:"grey"},children:"."}),(0,K.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:X.tq?"18px":"22px",color:"grey",fontWeight:"700",letterSpacing:"0px",marginTop:"13px"},children:"eth"})]})}),le&<&&fr&&!f&&ca.length>0&&(0,K.jsx)(_e,{children:(0,K.jsx)("img",{src:fn||lt,width:X.tq?"104px":"125px",alt:le,onError:function(){return br(!1)}})}),le&&(!lt||!fr)&&!f&&ca.length>0&&(0,K.jsx)(_e,{children:["0","1","-",""].includes(ar.avatar)&&(0,K.jsx)("span",{className:"material-icons-round miui",style:{marginTop:"4px"},children:"portrait"})}),le&&!f&&ca.length>0&&(0,K.jsx)(_e,{children:(0,K.jsxs)("div",{className:"flex-row",style:{color:"#ff2600",marginTop:X.tq?"-38.5%":"-21.5%",marginLeft:X.tq?lt&&fr?"15.5%":"27.5%":"-4%"},children:[(0,K.jsxs)("div",{className:"flex-column",style:{alignItems:"flex-end",lineHeight:(X.tq,"23.5px"),marginTop:X.tq?"3px":"2px",fontSize:X.tq?"12px":"14px",fontWeight:"800"},children:[(0,K.jsx)("div",{children:(0,K.jsx)("span",{children:"Migrated"})}),(0,K.jsx)("div",{children:(0,K.jsx)("span",{children:"Owner"})}),(0,K.jsx)("div",{children:(0,K.jsx)("span",{children:"Manager"})}),(0,K.jsx)("div",{children:(0,K.jsx)("span",{children:"Wrapped"})})]}),(0,K.jsxs)("div",{style:{marginLeft:"5px",lineHeight:"23.5px",fontSize:"14px",fontFamily:"SF Mono",color:"white"},children:[(0,K.jsx)("div",{className:"flex-column",style:{alignItems:"flex-start",marginTop:"1px"},children:(0,K.jsx)("button",{className:"button-tiny",style:{marginBottom:"-2px"},"data-tooltip":T||He===Ci?"Resolver is migrated":"Resolver is not migrated",children:(0,K.jsx)("div",{className:"material-icons-round smoller",style:{color:T||He===Ci?"lightgreen":"orange",fontSize:"22px"},children:T||He===Ci?"done":"close"})})}),(0,K.jsx)("div",{style:{margin:"-5px 0 1px 0"},children:(0,K.jsx)("span",{className:"mono",id:"metaOwner",onClick:function(){},color:"",children:X.tq?ee.Zv(Hi?String(Hi):ee.DR):Hi?String(Hi):ee.DR})}),(0,K.jsx)("div",{style:{margin:"-3px 0 1px 0"},children:(0,K.jsx)("span",{className:"mono",id:"metaManager",onClick:function(){},children:X.tq?ee.Zv(Fo()):Fo()})}),(0,K.jsx)("div",{style:{margin:"0px 0 2px 0"},children:(0,K.jsx)("span",{className:"material-icons-round smoller",style:{color:"white",fontSize:"21px"},children:String(Hi)===ee.O["1"===s?7:3]?"done":"close"})})]})]})}),le&&f&&(0,K.jsx)(Ee,{children:(0,K.jsxs)("div",{className:"flex-column",style:{marginTop:X.tq?"-40px":"-10px",marginBottom:"80px"},children:[(0,K.jsx)("div",{style:{marginTop:"30px"},children:(0,K.jsx)(xe.Z,{height:50,width:50})}),(0,K.jsx)("div",{style:{marginTop:"20px"},children:(0,K.jsx)("span",{style:{color:"#ff2600",fontSize:"20px",fontWeight:"700"},children:Ms[0]})}),Ms[1]&&"-"!==Ms[1]&&(0,K.jsx)("div",{style:{marginTop:"10px"},children:(0,K.jsxs)("span",{style:{color:"white",fontSize:"18px",fontWeight:"700"},children:[(0,K.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"22px"},children:"gateway"!==or?Ms[1]:os?String(Number(Ms[1])-1):Ms[1]}),(0,K.jsx)("span",{children:" Of "}),(0,K.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"22px"},children:"gateway"!==or?ci:os?ci-1:ci})]})}),Ms[1]&&"-"===Ms[1]&&(0,K.jsx)("div",{style:{marginTop:"10px"},children:(0,K.jsx)("span",{style:{color:"white",fontSize:"15px",fontWeight:"700"},children:Ms[0].includes("Refresh")?"Please Be Patient":"This May Take Some Time"})}),(0,K.jsx)("div",{style:{marginTop:"75px",maxWidth:"400px",textAlign:"center"},children:(0,K.jsx)("span",{style:{color:"grey",fontSize:X.tq?"12px":"14px",fontWeight:"700"},children:"If this dialogue persists for too long, try closing and re-opening it"})})]})}),le&&ca.length>0&&!f&&(0,K.jsx)(Ee,{children:(0,K.jsxs)("div",{className:"flex-column",style:{marginTop:X.tq?lt&&fr?"0":"-17.5px":"0",marginLeft:X.tq?"-3.5%":"-2.5%"},children:[(0,K.jsx)("div",{className:"scrollable-div",style:{maxHeight:"500px",overflowY:"scroll"},children:(0,K.jsx)("ul",{style:{listStyle:"none",color:"white",marginLeft:X.tq?"-1%":"-5%"},children:(0,K.jsx)("div",{className:"flex-column",style:{paddingBottom:X.tq?"5px":"15px",paddingTop:"10px"},children:ca.map((function(e){return(0,K.jsxs)("li",{style:{display:"flex",flexDirection:"column",width:X.tq?"400px":"630px",maxWidth:X.tq?"92.5%":"95%",paddingLeft:X.tq?"10px":"15px",paddingRight:X.tq?"10px":"15px"},children:[(0,K.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",flexDirection:"column"},children:[(0,K.jsxs)("div",{style:{marginBottom:"10px",display:"flex",justifyContent:"space-between",width:X.tq?"90%":"100%"},children:[(0,K.jsxs)("span",{style:{fontFamily:"Spotnik",fontWeight:"700",fontSize:"15px",color:ee.IN.includes(e.type)?"orange":"cyan",marginRight:"15px"},children:["storage"===e.type&&(0,K.jsxs)("span",{children:[(0,K.jsx)("span",{className:"material-icons-round smol",style:{fontSize:"20px",display:"inline-block",color:"white"},children:"cloud_circle"}),"\xa0",(0,K.jsx)("span",{style:{position:"relative",top:"-2px",left:"1px"},children:or})]}),"storage"!==e.type&&(0,K.jsxs)("span",{children:[(0,K.jsx)("span",{className:"material-icons-round smol",style:{fontSize:"20px",display:"inline-block",color:"white"},children:"storage"===e.type?"cloud_circle":"resolver"===e.type?"gavel":"avatar"===e.type?"portrait":"addr"===e.type?"account_balance_wallet":"contenthash"===e.type?"public":"com.github"===e.type?"code":"url"===e.type?"share":"email"===e.type?"email":"pubkey"===e.type?"key":"com.twitter"===e.type?"groups":"com.discord"===e.type?"group_add":"xyz.farcaster"===e.type?"people_alt":"nostr"===e.type?"groups":"btc"===e.type?"currency_bitcoin":"ltc"===e.type?"currency_lira":"doge"===e.type?"pets":"sol"===e.type?"flash_on":"atom"===e.type?"font_download":"zonehash"===e.type?"tag":"circle_notifications"}),"\xa0",(0,K.jsx)("span",{style:{position:"relative",top:"-2px",left:"1px"},children:e.header})]}),ee.vc.includes(e.type)&&He===Ci&&!xn&&Sn&&(0,K.jsx)("button",{className:"button-tiny",onClick:function(){me(!0),vs("gpp_good"),js("resolver"===e.type?"lime":Sn===ee.U8?"yellow":"cyan"),Ca("resolver"===e.type?'Resolver is Migrated':'Global '.concat(Sn.startsWith("https://")?Sn===ee.U8?"Default Storage":"Custom Gateway":"IPNS",' is set as Ownerhash'))},"data-tooltip":"resolver"===e.type?"Resolver Is Migrated":"".concat(Sn.startsWith("https://")?Sn===ee.U8?"Default Storage Is Ownerhash":"Custom Gateway Is Ownerhash":"IPNS Ownerhash Is Set"),children:(0,K.jsx)("div",{className:"material-icons-round smol",style:{color:"resolver"===e.type?"lime":Sn===ee.U8?"yellow":(Sn.startsWith("https://"),"cyan")},children:"gpp_good"})}),ee.vc.includes(e.type)&&He===Ci&&xn&&(0,K.jsx)("button",{className:"button-tiny",onClick:function(){me(!0),vs("gpp_good"),js("resolver"===e.type?"lime":xn.startsWith("https://")?xn===ee.U8?"yellow":"cyan":"lime"),Ca("resolver"===e.type?'Resolver is Migrated':''.concat(xn.startsWith("https://")?xn===ee.U8?"Default Storage":"Custom Gateway":"IPNS"," is set as Recordhash"))},"data-tooltip":"resolver"===e.type?"Resolver Is Migrated":"".concat(xn.startsWith("https://")?xn===ee.U8?"Default Storage":"Custom Gateway":"Recordhash"," Is Set"),children:(0,K.jsx)("div",{className:"material-icons-round smol",style:{color:"resolver"===e.type?"lime":xn.startsWith("https://")?xn===ee.U8?"yellow":"cyan":"lime",marginLeft:(e.type,"5px")},children:"gpp_good"})}),ee.vc.includes(e.type)&&He!==Ci&&!xn&&!Sn&&(0,K.jsx)("button",{className:"button-tiny",onClick:function(){me(!0),vs("resolver"===e.type?"gpp_bad":"cancel"),js("orangered"),Ca((e.type,'Resolver is not Migrated'))},"data-tooltip":(e.type,"Resolver Not Migrated"),children:(0,K.jsx)("div",{className:"material-icons-round smol",style:{color:"orangered",marginLeft:(e.type,"5px")},children:"resolver"===e.type?"gpp_bad":"cancel"})}),ee.vc.includes(e.type)&&He!==Ci&&(xn||Sn)&&(0,K.jsx)("button",{className:"button-tiny",onClick:function(){me(!0),vs("resolver"===e.type?"gpp_bad":"gpp_maybe"),js("resolver"===e.type?"orangered":xn?"orange":"lightblue"),Ca("resolver"===e.type?'Resolver not Migrated':xn?''.concat(xn.startsWith("https://")?"Gateway":"Recordhash",' is Set as Recordhash'):''.concat(Sn.startsWith("https://")?"Gateway":"Ownerhash",' is Set as Ownerhash'))},"data-tooltip":xn?"Resolver not Migrated. ".concat(xn.startsWith("https://")?"Gateway":"Recordhash"," Exists as Recordhash"):"Resolver not Migrated. ".concat(Sn.startsWith("https://")?"Gateway":"Ownerhash"," Exists as Ownerhash"),children:(0,K.jsx)("div",{className:"material-icons-round smol",style:{color:"resolver"===e.type?"orangered":xn?"orange":"lightblue",marginLeft:(e.type,"5px")},children:"resolver"===e.type?"gpp_bad":"gpp_maybe"})}),"storage"===e.type&&(0,K.jsx)("button",{className:"button-tiny",onClick:function(){Fs(!0)},"data-tooltip":"Click For IPFS Hash",disabled:!ur,children:(0,K.jsx)("div",{className:"material-icons-round smoller",style:{color:ur?xn&&xn!==ee.U8?"lime":"cyan":"orange",fontSize:"17px",marginLeft:"-5.5px"},children:"rss_feed"})}),"resolver"!==e.type&&(0,K.jsx)("button",{className:"button-tiny",onClick:function(){me(!0),vs("info"),js(ee.IN.includes(e.type)?"orange":"cyan"),Ca(ee.IN.includes(e.type)?'In Process of Bug Fixing':"".concat(e.help,""))},"data-tooltip":ee.IN.includes(e.type)?"Coming Soon":"Enlighten Me",children:(0,K.jsx)("div",{className:"material-icons-round smol",style:{color:ee.IN.includes(e.type)?"orange":"cyan",marginLeft:"storage"===e.type?"-5px":"5px"},children:"info_outline"})}),!ee.vc.includes(e.type)&&!ee.IN.includes(e.type)&&He===Ci&&(xn||Sn)&&(0,K.jsx)("button",{className:"button-tiny",onClick:function(){me(!0),vs("timer"),js(hi<0?"orange":"lime"),Ca(hi<0?'Too Soon To Update. Please wait at least one hour between updates':'Ready For Next Record Update')},"data-tooltip":hi<0?"Too Soon To Update":"Ready For Next Update",children:(0,K.jsx)("div",{className:"material-icons-round smol",style:{color:hi<0?"orange":"lime",marginLeft:"-5px"},children:"timer"})}),!ee.vc.includes(e.type)&&!ee.IN.includes(e.type)&&He===Ci&&Mi&&(xn||Sn)&&Hr.ownerstamp.length>0&&(0,K.jsx)("button",{className:["",".","0","1"].includes(ta)||ta!==e.type?"button-tiny":"button-tiny blink",onClick:function(){""===ta&&lp([e.type,""],$e,le,!0),ia(e.type)},"data-tooltip":[e.type,".","0","1"].includes(ta)?[".","","0","1"].includes(ta)?"1"===ta?"Record Updated":"0"===ta?"No New Update":"."===ta?"Please Wait to Refresh again":"-"===ta?"No New Update":"Click to Refresh":"Refresh in Progress":e.value===Hr[e.type]?"Record in Sync with ".concat("gateway"===or?"Gateway":"IPNS"):"Record not in Sync. Click to refresh",children:(0,K.jsx)("div",{className:"material-icons-round smol",style:{color:[e.type,".","0","1"].includes(ta)?[".","","0","1"].includes(ta)?"1"===ta?"lime":"0"===ta?"yellow":"."===ta?"white":"-"===ta?"yellow":"cyan":"white":e.value===Hr[e.type]?"lightgreen":"orange",marginLeft:"-5px"},children:"sync"})}),e.state&&(0,K.jsx)("div",{className:"material-icons-round smol",style:{color:Y&&Ti?"orangered":"lime",marginLeft:"-5px"},children:Y&&Ti?"cancel":"task_alt"})]}),(0,K.jsx)("button",{className:"resolver"===e.type&&He!==Ci&&zn.includes(String(Mi))?"button emphasis":"button",hidden:"resolver"===e.type&&Do(e)||!Mi,disabled:Do(e),style:{alignSelf:"flex-end",height:"25px",width:"auto",marginBottom:"6px",marginRight:"-6px",background:Do(e)?_o(e)?"none":"rgb(255, 255, 255, 0.2)":_o(e)?"none":"linear-gradient(112deg, rgba(190,95,65,1) 0%, rgba(191,41,36,1) 48%, rgba(203,111,0,1) 100%)"},onClick:function(){wa(e.type),Na("1"),"resolver"===e.type?Es(!0):"storage"===e.type?Is(!0):ps(!0),ee.vc.includes(e.type)&&ds((function(t){return[].concat((0,x.Z)(t),[e.type])}))},"data-tooltip":e.tooltip,children:(0,K.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"13px",color:ee.vc.includes(e.type)?"white":Ys[e.type]?us.length>1?"lime":"white":"grey"},children:[_o(e)?"":e.label,"\xa0",(0,K.jsx)("span",{className:"material-icons-round smoller",children:_o(e)?Ys[e.type]?"task_alt":"cancel":"manage_history"})]})})]}),(0,K.jsxs)("div",{className:"flex-row",style:{width:"100%"},children:[(0,K.jsx)("input",{className:ee.vc.includes(e.type)?He!==Ci?"inputextra_":"storage"===e.type&&e.value==ee.U8?"inputextra__":"inputextra":He!==Ci?"inputextra_":ee.IN.includes(e.type)?"inputextra___":"inputextra",id:e.key,placeholder:ee.IN.includes(e.type)?"Coming Soon":e.value,type:"text",disabled:!e.editable||ee.IN.includes(e.type)||!zn.includes(String(Mi)),style:{background:He!==Ci||ee.IN.includes(e.type)||!zn.includes(String(Mi))?ee.vc.includes(e.type)?"linear-gradient(90deg, rgba(100,0,0,0.5) 0%, rgba(100,25,25,0.5) 50%, rgba(100,0,0,0.5) 100%)":"none":"storage"===e.type&&e.value===ee.U8?"linear-gradient(90deg, rgba(50,50,0,0.5) 0%, rgba(50,50,25,0.5) 50%, rgba(50,50,0,0.5) 100%)":"linear-gradient(90deg, rgba(0,50,0,0.5) 0%, rgba(25,50,25,0.5) 50%, rgba(0,50,0,0.5) 100%)",fontFamily:"SF Mono",fontWeight:"400",fontSize:"14px",width:"100%",wordWrap:"break-word",textAlign:"left",marginTop:"-5px",marginBottom:"-5px",paddingRight:ee.vc.includes(e.type)?"0":"30px",color:Ys[e.type]?"storage"===e.type&&e.value===ee.U8?"yellow":"lightgreen":"white",cursor:"copy"},onChange:function(t){!function(e,t){var n=t.trim(),a=Ys;if(a.resolver=!1,"storage"===e)a[e]=!0;else if("contenthash"===e)a[e]=ee.rv(n);else if("addr"===e)a[e]=ee.Q1(n);else if("avatar"===e)a[e]=ee.tr(n);else if("email"===e)a[e]=ee.Jh(n);else if("pubkey"===e)a[e]=ee.V4(n);else if("com.github"===e)a[e]=ee.wE(n);else if("url"===e)a[e]=ee.CB(n);else if("com.twitter"===e)a[e]=ee.L3(n);else if("com.discord"===e)a[e]=ee.Iu(n);else if("xyz.farcaster"===e)a[e]=ee.Io(n);else if("nostr"===e)a[e]=ee.Jh(n)||ee.MP(n);else if("btc"===e)a[e]=ee.MP(n);else if("ltc"===e)a[e]=ee.Yo(n);else if("doge"===e)a[e]=ee.fp(n);else if("sol"===e)a[e]=ee.A2(n);else if("atom"===e)a[e]=ee.s8(n);else{if("zonehash"!==e)return ds((function(t){return[].concat((0,x.Z)(t),[e])})),void console.error("Error:","Illegal State Checkpoint");a[e]=ee.MS(n)}$s(a);var s=fs;s[e]=n,bs(s);var r=us;!r.includes(e)&&fs[e]?ds((function(t){return[].concat((0,x.Z)(t),[e])})):r.includes(e)&&!fs[e]&&ds((function(t){return t.filter((function(t){return t!==e}))}));var i=ca.map((function(e){return us.includes(e.type)?Pe(Pe({},e),{},{editable:!0,active:!0,state:!1}):e}));ga(i)}(e.type,t.target.value)}},e.key),!ee.vc.includes(e.type)&&!ee.IN.includes(e.type)&&!us.includes(e.type)&&(0,K.jsx)("div",{id:e.type,className:"material-icons-round",style:{cursor:"copy",fontSize:"22px",fontWeight:"700",marginLeft:"-25px",color:"lightgreen",opacity:"0"===ar[e.type]||!e.value&&"-"!==ar[e.type]?"0":"1"},onClick:function(){return ee.NA(e.value,e.type)},children:"1"===ar[e.type]?"content_copy":"-"===ar[e.type]?"hourglass_top":"content_copy"})]})]}),(0,K.jsx)("hr",{style:{marginTop:"5px"}})]},e.key)}))})})}),us.length>1&&!us.includes("resolver")&&!us.includes("storage")&&(0,K.jsx)("div",{style:{marginTop:"-10px",marginBottom:"40px"},children:(0,K.jsx)("button",{className:"button flex-column emphasis",hidden:us.length<2,disabled:!Mi||!zn.includes(String(Mi))||fs===ee.K5(),style:{alignSelf:"flex-end",height:"30px",width:"auto",marginTop:X.tq?"-3px":"35px"},onClick:function(){wa("records"),Na("1"),ps(!0)},"data-tooltip":"Set Multiple Records in One Click",children:(0,K.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"15px"},children:["Edit All","\xa0",(0,K.jsx)("span",{className:"material-icons-round smoller",children:"manage_history"})]})})})]})}),(0,K.jsxs)("div",{id:"modal-inner",children:[(0,K.jsx)(B.Z,{color:Ss,icon:xs,onClose:function(){return me(!1)},show:ce,position:"",children:Ra}),(0,K.jsx)(ve.Z,{color:Ss,icon:xs,onClose:function(){return Ce(!1)},show:he,handleTrigger:function(e){Ur((function(t){return Pe(Pe({},t),{},{trigger:e})}))},handleModalData:function(e){Ur((function(t){return Pe(Pe({},t),{},{modalData:e})}))},children:Aa}),(0,K.jsx)(ge,{color:"lime",icon:"free_breakfast",onClose:function(){Fe(!1),b(!1)},show:ze,children:La}),(0,K.jsx)(ie,{handleTrigger:function(e){},handleModalData:function(e){},onClose:function(){Fs(!1)},show:zs,children:ur}),(0,K.jsx)(q.Z,{handleTrigger:function(e){Zr((function(t){return Pe(Pe({},t),{},{trigger:e})})),e?Na("1"):(Na("0"),wa("")),Jn(!1)},handleModalData:function(e){Zr((function(t){return Pe(Pe({},t),{},{modalData:e})}))},onClose:function(){Jn(!1)},show:Hn,children:[le,or]}),(0,K.jsx)(U.Z,{handleTrigger:function(e){Fr((function(t){return Pe(Pe({},t),{},{trigger:e})})),e?Na("1"):(Na("0"),wa(""))},handleModalData:function(e){Fr((function(t){return Pe(Pe({},t),{},{modalData:e})}))},onClose:function(){Qn(!1)},show:$n,children:void 0}),(0,K.jsx)($,{handleTrigger:function(e){Er((function(t){return Pe(Pe({},t),{},{trigger:e})})),e?Na("1"):(Na("0"),wa(""))},handleModalData:function(e){Er((function(t){return Pe(Pe({},t),{},{modalData:e})}))},onClose:function(){Es(!1)},show:Ps&&"resolver"===Ta,children:!!Sn||!!xn}),(0,K.jsx)(Te.Z,{handleTrigger:function(e){Ir((function(t){return Pe(Pe({},t),{},{trigger:e})})),e?Na("1"):(Na("0"),wa(""))},handleModalData:function(e){Ir((function(t){return Pe(Pe({},t),{},{modalData:e})}))},onClose:function(){Is(!1)},show:Os&&!Hn,children:"1"}),(0,K.jsx)(Q.Z,{onClose:function(){te(!1),vr(!0)},color:Ss,show:Y&&!f,title:"cancel",children:Ms[0]})]})]})}):null;return l?N.createPortal(fp,document.getElementById("modal")):null}},41894:function(e,t,n){"use strict";var a,s,r,i,o,p=n(71383),l=n(16835),y=n(67294),u=n(85518),d=n(73935),c=n(14141),m=n(22794),f=n(85893),b=c.ZP.div(a||(a=(0,p.Z)(["\n padding-top: 5px;\n padding-left: 20px;\n padding-right: 20px;\n padding-bottom: 25px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n margin-top: 5px;\n"]))),h=c.ZP.div(s||(s=(0,p.Z)(["\n margin-top: -15px;\n font-size: 14px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n font-weight: 700;\n color: white;\n padding-left: 20px;\n padding-right: 20px;\n color: cyan;\n margin-left: 10px;\n"]))),g=c.ZP.div(r||(r=(0,p.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),x=c.ZP.div(i||(i=(0,p.Z)(["\n position: fixed;\n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: 460px;\n max-width: ",";\n height: 310px;\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n padding: 3px;\n"])),u.tq?"90%":"60%"),v=c.ZP.div(o||(o=(0,p.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"])));t.Z=function(e){var t=e.show,n=e.onClose,a=e.children,s=e.handleModalData,r=e.handleTrigger,i=y.useState(""),o=(0,l.Z)(i,2),p=o[0],u=o[1],c=y.useState(""),T=(0,l.Z)(c,2),w=T[0],S=T[1],j=y.useState(!1),k=(0,l.Z)(j,2),N=k[0],M=k[1],Z=y.useState(!1),R=(0,l.Z)(Z,2),C=R[0],P=R[1],E=y.useState(""),_=(0,l.Z)(E,2),D=_[0],O=_[1];y.useEffect((function(){M(!0)}),[]);var I=t?(0,f.jsxs)(v,{children:[(0,f.jsxs)(x,{children:[(0,f.jsx)(g,{children:(0,f.jsx)("a",{href:"#",onClick:function(e){s(void 0),r(!1),u(""),S(""),e.preventDefault(),n()},children:(0,f.jsx)("span",{className:"material-icons",children:"close"})})}),t&&(0,f.jsxs)(h,{children:[(0,f.jsx)("div",{className:"material-icons",style:{marginTop:"4px",fontSize:"66px",color:"lightgreen"},children:"key"}),(0,f.jsxs)("div",{style:{marginTop:"5px"},children:[(0,f.jsx)("span",{style:{fontSize:"16px",fontWeight:"700"},children:"Enter Secret Key Identifier"}),(0,f.jsx)("button",{className:"button-tiny",style:{marginTop:"-7.5px"},onClick:function(){P(!0),O('Secret identifier or Password is an Optional Value required to generate a secure IPNS key or the Record Signer key or RSA Encryption key.

You will need it to update your records in the future. Please remember your choice.

Your provided password will apply to all three Key types.
')},"data-tooltip":"Enlighten Me",children:(0,f.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px"},children:"info_outline"})})]})]}),(0,f.jsxs)(b,{children:[(0,f.jsxs)("form",{className:"flex-column",style:{marginLeft:"13px",marginTop:"7px"},children:[(0,f.jsxs)("div",{className:"flex-row",style:{width:"150%"},children:[(0,f.jsx)("input",{id:"username",placeholder:"username (.eth domain)",type:"text",value:w||(a&&a.length>0?a[0]:""),readOnly:!!(a&&a.length>0),onChange:function(e){S(e.target.value)},style:{background:"black",outline:"none",border:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"150%",wordWrap:"break-word",textAlign:"left",color:w?w.endsWith(".eth")?"lime":"white":a&&a.length>0?"cyan":"rgb(255, 255, 255, 0.6)",cursor:"copy",marginBottom:"10px"}},"0"),(0,f.jsx)("button",{className:"button-tiny",style:{marginTop:"-12.5px"},disabled:!0,onClick:function(){P(!0),O('Username')},"data-tooltip":"Username",children:(0,f.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px"},children:"info_outline"})})]}),(0,f.jsxs)("div",{className:"flex-row",style:{width:"150%"},children:[(0,f.jsx)("input",{id:"password",placeholder:"password (optional)",type:"password",value:p,onChange:function(e){u(e.target.value)},style:{background:"black",outline:"none",border:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"150%",wordWrap:"break-word",textAlign:"left",color:p?"white":"rgb(255, 255, 255, 0.6)",cursor:"copy"}},"1"),(0,f.jsx)("button",{className:"button-tiny",style:{marginTop:"0px"},disabled:!0,onClick:function(){P(!0),O('Secret IPNS identifier')},"data-tooltip":"Password",children:(0,f.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px"},children:"info_outline"})})]})]}),(0,f.jsx)("button",{className:"button",style:{height:"33px",width:"130px",padding:"5px",marginTop:"20px",fontSize:"16px",fontWeight:"700"},onClick:function(){s(a&&a.length>0?p:"".concat(w,":").concat(p)),r(!0),u(""),S(""),n()},"data-tooltip":"Click to proceed",children:(0,f.jsxs)("div",{className:"flex-row",style:{fontSize:"15px"},children:["proceed","\xa0",(0,f.jsx)("span",{className:"material-icons smoller",children:"vpn_key"})]})})]})]}),(0,f.jsx)("div",{id:"modal-inner",children:(0,f.jsx)(m.Z,{color:"cyan",icon:"info",onClose:function(){return P(!1)},show:C,position:"",children:D})})]}):null;return N?d.createPortal(I,document.getElementById("modal")):null}},17586:function(e,t,n){"use strict";n.d(t,{R:function(){return i},j:function(){return o}});var a=n(67294),s=n(85518),r=n(85893),i=function(e){var t=e.onSearch,n=(0,a.useState)(""),s=n[0],i=n[1];return(0,r.jsx)("form",{className:"flex-column-sans-justify",onSubmit:function(e){e.preventDefault(),t(s)},children:(0,r.jsxs)("div",{className:"flex-row-sans-justify",children:[(0,r.jsx)("input",{type:"text",placeholder:"search".toLowerCase(),value:s.toLowerCase(),name:".eth search",id:"eth-search",onChange:function(e){i(e.target.value.toLowerCase())},onInvalid:function(e){e.target.setCustomValidity("Please enter a valid .eth name")},onInput:function(e){e.target.setCustomValidity("")},required:!0,pattern:".*\\.eth$",title:"\u2757 Input must end with '.eth'"}),(0,r.jsx)("button",{className:"button",style:{height:"38px",width:"50px",marginLeft:"15px"},type:"submit","data-tooltip":"Search",disabled:!s.length,children:(0,r.jsx)("span",{className:"material-icons",style:{fontSize:"22px",fontWeight:"700"},children:"search"})})]})})},o=function(e){var t=e.onSearch,n=(0,a.useState)(""),i=n[0],o=n[1];return(0,r.jsx)("form",{style:{display:"flex",alignItems:"center",flexDirection:"column"},onSubmit:function(e){e.preventDefault(),t(i)},children:(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",flexDirection:"row"},children:[(0,r.jsx)("input",{className:"input-main",type:"text",placeholder:s.tq?"search":"search domain",value:i.toLowerCase(),name:".eth search",id:"eth-search",onChange:function(e){o(e.target.value.toLowerCase())},onInvalid:function(e){e.target.setCustomValidity("Please enter a valid .eth name")},onInput:function(e){e.target.setCustomValidity("")},required:!0,pattern:".*\\.eth$",title:"\u2757 Input must end with '.eth'",style:{fontFamily:i?"SF Mono":"Spotnik",fontWeight:"600",fontSize:i?"22px":"17px",paddingTop:i?"8px":"17px",paddingBottom:i?"8px":"15px"}}),(0,r.jsx)("button",{className:"button",style:{height:"46px",width:"80px",marginLeft:"20px"},type:"submit","data-tooltip":"Search",disabled:!i.length,children:(0,r.jsx)("span",{className:"material-icons",style:{fontSize:"28px",fontWeight:"700"},children:"search"})})]})})}},46822:function(e,t,n){"use strict";n.d(t,{Z:function(){return ce}});var a,s,r,i,o,p,l,y,u,d,c=n(71383),m=n(27812),f=n(50029),b=n(59499),h=n(16835),g=n(87794),x=n.n(g),v=n(67294),T=n(73935),w=n(14141),S=n(79911),j=n(2593),k=n(27586),N=n(83875),M=n(16441),Z=n(84243),R=n(8198),C=n(38197),P=n(31886),E=n(29251),_=n(57734),D=n(37918),O=n.n(D),I=n(56371),A=n(22794),W=n(41894),z=n(85518),F=n(62012),L=n(85893),B=w.ZP.div(a||(a=(0,c.Z)(["\n padding-top: 5px;\n padding-left: 20px;\n padding-right: 20px;\n padding-bottom: 25px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n margin-top: 5px;\n"]))),q=w.ZP.div(s||(s=(0,c.Z)(["\n margin-top: -15px;\n font-size: 14px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n font-weight: 700;\n color: white;\n padding-left: 20px;\n padding-right: 20px;\n color: cyan;\n margin-left: 10px;\n"]))),U=w.ZP.div(r||(r=(0,c.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),K=w.ZP.div(i||(i=(0,c.Z)(["\n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: 460px;\n max-width: ",";\n height: 360px;\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n padding: 3px;\n"])),z.tq?"90%":"60%"),G=w.ZP.div(o||(o=(0,c.Z)(["\n position: fixed;\n top: -30px;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"]))),H=function(e){var t=e.show,n=e.onClose,a=(e.children,e.handleModalData),s=e.handleTrigger,r=v.useState(!1),i=(0,h.Z)(r,2),o=i[0],p=i[1],l=v.useState(["white","white"]),y=(0,h.Z)(l,2),u=y[0],d=y[1],c=v.useState(""),m=(0,h.Z)(c,2),f=m[0],b=m[1],g=v.useState(""),x=(0,h.Z)(g,2),w=x[0],S=x[1],j=v.useState(""),k=(0,h.Z)(j,2),N=k[0],M=k[1],Z=v.useState(!1),R=(0,h.Z)(Z,2),C=R[0],P=R[1],E=v.useState(""),_=(0,h.Z)(E,2),D=_[0],O=_[1];v.useEffect((function(){p(!0)}),[]);var I=t?(0,L.jsxs)(G,{children:[(0,L.jsxs)(K,{children:[(0,L.jsx)(U,{children:(0,L.jsx)("a",{href:"#",onClick:function(e){s(!1),a(void 0),d(["white","white"]),e.preventDefault(),n()},children:(0,L.jsx)("span",{className:"material-icons",children:"close"})})}),(0,L.jsxs)(q,{children:[(0,L.jsx)("div",{className:"material-icons",style:{marginTop:"10px",fontSize:"66px",color:"lightgreen"},children:"shopping_cart_checkout"}),(0,L.jsxs)("div",{style:{marginTop:"17px",marginBottom:"0px"},children:[(0,L.jsx)("span",{style:{fontSize:"18px",fontWeight:"700"},children:"Enter Payment Info"}),(0,L.jsx)("button",{className:"button-tiny",style:{marginTop:"-7.5px",marginLeft:"5px"},onClick:function(){P(!0),O("Please Specify the Requested Details To Receive Private Payment")},"data-tooltip":"Enlighten Me",children:(0,L.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px"},children:"info_outline"})})]})]}),(0,L.jsxs)(B,{children:[(0,L.jsxs)("div",{className:"flex-row",style:{width:"400px",marginTop:"5px"},children:[(0,L.jsx)("input",{id:"info",placeholder:"enter payer .eth",type:"text",style:{background:"black",outline:"none",border:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"90%",wordWrap:"break-word",textAlign:"left",color:u[0],cursor:"copy"},onChange:function(e){var t;(t=e.target.value).endsWith(".eth")?(b(t),d(["lime",u[1],u[2]])):(b(""),d(["white",u[1],u[2]]))}},"0"),(0,L.jsx)("button",{className:"button-tiny",style:{marginTop:"0px"},onClick:function(){P(!0),O('ENS Of Sender')},"data-tooltip":"Sender",children:(0,L.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px"},children:"info_outline"})})]}),(0,L.jsxs)("div",{className:"flex-row",style:{width:"400px",marginTop:"7px"},children:[(0,L.jsx)("input",{id:"info",placeholder:"enter payee address or .eth",type:"text",style:{background:"black",outline:"none",border:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"90%",wordWrap:"break-word",textAlign:"left",color:u[1],cursor:"copy"},onChange:function(e){var t;t=e.target.value,F.Q1(t)||F.K9(t)?(S(t),d([u[0],"lime",u[2]])):(S(""),d([u[0],"white",u[2]]))}},"1"),(0,L.jsx)("button",{className:"button-tiny",style:{marginTop:"0px"},onClick:function(){P(!0),O('Private Address Of Receiver')},"data-tooltip":"Receiver",children:(0,L.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px"},children:"info_outline"})})]}),(0,L.jsxs)("div",{className:"flex-row",style:{width:"400px",marginTop:"7px"},children:[(0,L.jsx)("input",{id:"info",placeholder:"enter amount to receive",type:"text",style:{background:"black",outline:"none",border:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"90%",wordWrap:"break-word",textAlign:"left",color:u[2],cursor:"copy"},onChange:function(e){var t;"0"===(t=e.target.value)||"0."===t||/[a-zA-Z]/.test(t)?(M(""),d([u[0],u[1],"white"])):(M(t),d([u[0],u[1],"lime"]))}},"2"),(0,L.jsx)("button",{className:"button-tiny",style:{marginTop:"0px"},onClick:function(){P(!0),O('Amount To Receiver')},"data-tooltip":"Ether",children:(0,L.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px"},children:"info_outline"})})]}),(0,L.jsx)("button",{className:"button",style:{height:"33px",width:"90px",padding:"5px",marginTop:"17px",fontSize:"16px",fontWeight:"700"},onClick:function(e){s(!0),a("".concat(f,":").concat(w,":").concat(N)),d(["white","white","white"]),e.preventDefault(),n()},disabled:!f||!w||!N,"data-tooltip":"Confirm",children:(0,L.jsxs)("div",{className:"flex-row",style:{fontSize:"15px"},children:["Next","\xa0",(0,L.jsx)("span",{className:"material-icons smoller",children:"navigate_next"})]})})]})]}),(0,L.jsx)("div",{id:"modal-inner",children:(0,L.jsx)(A.Z,{color:"cyan",icon:"info",onClose:function(){return P(!1)},show:C,position:"",children:D})})]}):null;return o?T.createPortal(I,document.getElementById("modal")):null},J=n(64637),V=n(89479),Y=n(59595),$=n(36490),Q=n(58783),X=n(45887),ee=n(24978),te=n(67191),ne=n(71775),ae=n(69077),se=n(21429),re=n(33305);function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function oe(e){for(var t=1;t0,state:!1,label:"Set",help:'Set Encryption Public Key To Send Money',tooltip:"Set New RSA PubKey"},{key:1,header:"Encrypted Payment",type:"stealth",value:e,editable:!1,active:Xe===pr&&Vs>0,state:!1,label:"Set",help:'Encrypted Payment Address To Receive Money',tooltip:"Set New Stealth Payment"}])}function Kr(e,t){return"Requesting Signature To Generate IPNS Key\n\nOrigin: ".concat(["recordhash","storage"].includes(t)?Te:br,"\nKey Type: ed25519\nExtradata: ").concat(e,"\nSigned By: ").concat(fr)}function Gr(e,t,n){var a="eip155:"+r+":"+N.computeAddress("0x".concat(n));return"Requesting Signature To Update ENS Record\n\nOrigin: ".concat(Te,"\nRecord Type: ").concat(e,"\nExtradata: ").concat(t,"\nSigned By: ").concat(a)}function Hr(e){var t="eip155:"+r+":"+N.computeAddress("0x".concat(e));return"Requesting Signature To Approve ENS Records Signer\n\nOrigin: ".concat(Te,"\nApproved Signer: ").concat(t,"\nApproved By: ").concat(fr)}function Jr(e){return"Requesting Signature To Generate ENS Records Signer\n\nOrigin: ".concat(Te,"\nKey Type: secp256k1\nExtradata: ").concat(e,"\nSigned By: ").concat(fr)}function Vr(e){return"Requesting Signature To Generate Encryption Key\n\nOrigin: ".concat(Te,"\nKey Type: RSA-2048\nExtradata: ").concat(e,"\nSigned By: ").concat(fr)}function Yr(e,t){var n="",a="";["stealth","rsa"].includes(e)&&(a="string",n=t);var s=Z.$.encode([a],[n]),r=[F.z7];return new R.vU(r).encodeFunctionData("signedRecord",[Qn?N.computeAddress("0x".concat(Qn[0])):F.DR,Wa[e],As,s])}function $r(e,t){var n="",a="";["stealth","rsa"].includes(e)&&(n="string",a=t);var s=Z.$.encode([n],[a]),r=C.keccak256(s);return M.hexlify(P.pack(["bytes"],[r]))}function Qr(){return Er&&Dr?String(Er)===F.O["1"===r?7:3]?Ar?String(Ar):F.DR:String(Dr):F.DR}function Xr(){me(!0),fn(""),ua([]),ge(""),Ds(""),Xn(void 0),Kn(void 0),Vn(void 0),D(!1),Ns(""),Cs(""),Mn(!1),Ut(!1),ys({modalData:void 0,trigger:!1}),ms({modalData:void 0,trigger:!1}),is(!1),ia&&oa(!1)}function ei(){xa("gpp_good"),Sa("lime"),Ut(!1),Xn(void 0),Kn(void 0),Vn(void 0),Ds(""),Ns(""),Cs(""),ge(""),Mn(!1),ys({modalData:void 0,trigger:!1}),ms({modalData:void 0,trigger:!1}),is(!1),fn(""),D(!1),ia&&oa(!1),aa(!1)}function ti(e){return ni.apply(this,arguments)}function ni(){return ni=(0,f.Z)(x().mark((function e(t){var n,a;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Qn){e.next=4;break}return n=function(){var e=(0,f.Z)(x().mark((function e(){var n,a;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new S.Wallet("0x"+Qn[0],dr),e.next=3,n.signMessage(t.message);case 3:if(!(a=e.sent)){e.next=6;break}return e.abrupt("return",a);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),a=n(),e.abrupt("return",a);case 4:case"end":return e.stop()}}),e)}))),ni.apply(this,arguments)}function ai(){return ai=(0,f.Z)(x().mark((function e(){var t;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Bs(4),Ma(["Waiting For Signature","rsa"===mn?"4":"3"]),Qn&&(t=function(){var e=(0,f.Z)(x().mark((function e(){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Sr({message:Hr(Qn[0])});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),t());case 3:case"end":return e.stop()}}),e)}))),ai.apply(this,arguments)}function si(e){return ri.apply(this,arguments)}function ri(){return ri=(0,f.Z)(x().mark((function e(t){var n;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Bs(2),n=function(){var e=(0,f.Z)(x().mark((function e(){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Sr({message:Jr(C.keccak256(P.pack(["bytes32","address"],[C.keccak256(P.pack(["string"],[t])),rr])))});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),n();case 3:case"end":return e.stop()}}),e)}))),ri.apply(this,arguments)}function ii(e,t){return oi.apply(this,arguments)}function oi(){return oi=(0,f.Z)(x().mark((function e(t,n){var a,s;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=function(){var e=(0,f.Z)(x().mark((function e(){var a,s;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=new mr.eth.Contract(F.qP[6].contractInterface,F.qP[6].addressOrName),!["stealth","rsa"].includes(t)){e.next=5;break}return e.next=4,a.methods.setText(k.VM(Te),t,n).estimateGas({from:rr});case 4:s=e.sent;case 5:return e.abrupt("return",s);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.next=3,a();case 3:return s=e.sent,e.abrupt("return",s);case 5:case"end":return e.stop()}}),e)}))),oi.apply(this,arguments)}function pi(e){return li.apply(this,arguments)}function li(){return li=(0,f.Z)(x().mark((function e(t){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getText("stealth").then((function(e){e?(It(e),yi(t)):(It(""),yi(t))})).catch((function(){It(""),yi(t)}));case 2:case"end":return e.stop()}}),e)}))),li.apply(this,arguments)}function yi(e){return ui.apply(this,arguments)}function ui(){return ui=(0,f.Z)(x().mark((function e(t){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getText("rsa").then((function(e){e?(Ft(e),pt(!0)):(Ft(""),pt(!0))})).catch((function(){Ft(""),pt(!0)}));case 2:case"end":return e.stop()}}),e)}))),ui.apply(this,arguments)}function di(){return(di=(0,f.Z)(x().mark((function e(t,n){var a,s,r,i,o,p;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,dr.getResolver(n);case 3:if(null===(a=e.sent)||void 0===a||!a.address){e.next=38;break}if(et(a.address),st(a),a.address!==pr){e.next=27;break}return e.next=10,ne.I7(n,lr,Qr());case 10:if(s=e.sent,!(t.ownerstamp.length>1)){e.next=22;break}i=0;case 13:if(!(i<2)){e.next=20;break}return e.next=16,F.TN(te.K5(s[0]).decoded,i);case 16:r=e.sent;case 17:i++,e.next=13;break;case 20:e.next=23;break;case 22:r=1===t.ownerstamp.length?{_value:"//",_sequence:"-1"}:{_value:"//",_sequence:""};case 23:Qa(r._value.split("/")[2]),t.ownerstamp.length>=1&&Number(r._sequence)===Number(t.timestamp.revision)-1&&s[1]?(t.stealth||t.rsa?(It(t.stealth),Ft(t.rsa)):(It(""),Ft("")),pt(!0)):pi(a),e.next=36;break;case 27:return e.next=29,ci(["text","stealth"],a,n,!1);case 29:return o=e.sent,It(o||""),e.next=33,ci(["text","rsa"],a,n,!1);case 33:p=e.sent,Ft(p||""),pt(!0);case 36:e.next=43;break;case 38:st(a),et(""),It(""),Ft(""),pt(!0);case 43:e.next=48;break;case 45:e.prev=45,e.t0=e.catch(0),console.error("Error in getResolver():",e.t0);case 48:case"end":return e.stop()}}),e,null,[[0,45]])})))).apply(this,arguments)}function ci(e,t,n,a){return mi.apply(this,arguments)}function mi(){return(mi=(0,f.Z)(x().mark((function e(t,n,a,s){var r;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s&&(t[1]?Jt(t[1]):Jt(t[0])),e.prev=1,"text"!==t[0]){e.next=10;break}return e.next=5,n.getText(t[1]);case 5:if(!(r=e.sent)){e.next=10;break}return"stealth"===t[1]?It(r):"rsa"===t[1]&&Ft(r),s&&(nn(r),Jt("1")),e.abrupt("return",r);case 10:return s&&Jt("0"),e.abrupt("return","");case 14:return e.prev=14,e.t0=e.catch(1),console.error("Error in refreshRecord('".concat(t,"'):"),e.t0),s&&Jt("0"),e.abrupt("return","");case 19:case"end":return e.stop()}}),e,null,[[1,14]])})))).apply(this,arguments)}function fi(e,t,n,a){return bi.apply(this,arguments)}function bi(){return bi=(0,f.Z)(x().mark((function e(t,n,a,s){var i,o,p;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={},t?((o=JSON.parse(JSON.stringify(t,(function(e,t){return"bigint"===typeof t?String(t):t}))))._name._privKey&&(o._name._privKey._key={}),i=JSON.stringify(o)):i=JSON.stringify(i),p={ens:Te,controller:rr,manager:Qn?N.computeAddress("0x".concat(Qn[0])):F.DR,managerSignature:As,revision:t?ir.encode(t):{},chain:r,ipns:he,ipfs:s,gas:JSON.stringify(n),version:i,timestamp:a,hashType:Ja},e.prev=3,e.next=6,fetch("".concat(gr,":").concat(hr,"/revision"),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify(p)}).then((function(e){return e.json()})).then((function(e){return!!e.status&&"true"===e.status}));case 6:e.next=16;break;case 8:e.prev=8,e.t0=e.catch(3),console.error("ERROR:","Failed to write Revision to CCIP2 backend"),Ma(["Revision Update Failed",""]),me(!0),D(!1),er(!0),Sa("orangered");case 16:case"end":return e.stop()}}),e,null,[[3,8]])}))),bi.apply(this,arguments)}function hi(){return hi=(0,f.Z)(x().mark((function e(t,n,a){var s;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s={type:"read",ens:Te,controller:Qr(),recordsTypes:["stealth","rsa","revision","version"],recordsValues:"all",chain:r,storage:t,hashType:a},e.prev=1,e.next=4,fetch("".concat(gr,":").concat(hr,"/read"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}).then((function(e){return e.json()})).then((function(e){var a={type:e.response.type,stealth:e.response.stealth,rsa:e.response.rsa,version:e.response.version,revision:e.response.revision,timestamp:e.response.timestamp,queue:F.UW(e.response.timestamp),ownerstamp:e.response.ownerstamp};ws(a);var s=[];if(a.ownerstamp.length>0)for(var r in a.ownerstamp)s.push(Number(a.ownerstamp[r]));t&&s.length>0&&"ownerhash"===n?Ys(Math.round(Date.now()/1e3)-Math.max.apply(Math,s)-F.A7):t&&s.length>0&&"recordhash"===n?Ys(Math.round(Date.now()/1e3)-F.UW(e.response.timestamp)-F.A7):Ys(1)}));case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),console.error("ERROR:","Failed to read from CCIP2 backend");case 9:case"end":return e.stop()}}),e,null,[[1,6]])}))),hi.apply(this,arguments)}v.useEffect((function(){s.endsWith(".eth")?(u(!0),we(s),Ma(["Loading Stealth Records","-"])):u(!1)}),[]),v.useEffect((function(){if(y&&Te){var e=k.VM(Te),t=C.keccak256(E.Y0(Te.split(".eth")[0]));vt(e),jt(String(j.O$.from(t))),Zt(String(j.O$.from(e))),Ye(!0)}}),[y,Te]),v.useEffect((function(){yn&&on(yn)}),[yn]),v.useEffect((function(){Or&&sr(String(Or))}),[Or]),v.useEffect((function(){if(Wr)if(String(Wr).length>2){var e="";(e=String(Wr).startsWith(F.Kv)?"ipns://".concat(te.K5(String(Wr)).decoded):E.ZN(String(Wr))).startsWith("https://"),bt("".concat(e))}else bt(void 0)}),[Wr]),v.useEffect((function(){if(zr)if(String(zr).length>2&&zr!==Wr){var e="";(e=String(zr).startsWith(F.Kv)?"ipns://".concat(te.K5(String(zr)).decoded):E.ZN(String(zr))).startsWith("https://"),dt("".concat(e)),Ma(["Loading Stealth Records","-"])}else dt(void 0)}),[zr,Wr]),v.useEffect((function(){hs.trigger&&hs.modalData}),[hs]),v.useEffect((function(){"1"===gn&&mn&&ia&&(ut&&(ut.startsWith("https://")?Va("gateway"):Va("recordhash")),ft&&!ut&&(ft.startsWith("https://")?Va("gateway"):Va("ownerhash")),aa(!0))}),[mn,ia,gn]),v.useEffect((function(){if(rr)if(ar&&"true"===String(ar))Et([rr]);else{var e=Qr();Et([e])}}),[xt,Er,Ar,ar,Mt]),v.useEffect((function(){Er&&(String(Er)===F.O["1"===r?7:3]?Ln(!0):Ln(!1))}),[Er]),v.useEffect((function(){if(Cr&&Lr){var e=function(){var e=(0,f.Z)(x().mark((function e(){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Ma(["Transaction Confirmed",""]),setTimeout((function(){On('Payment Sent Successfully'),Ge(!0),ei()}),1e3);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[Cr,Lr]),v.useEffect((function(){Rr&&!Zr?(D(!0),Ma(["Waiting for Transaction",""]),ts&&ns(!1)):Zr&&!Rr&&(ts?ts&&ns(!1):(Ma(["Transaction Declined by User",""]),Xr()),ys({modalData:void 0,trigger:!1}))}),[Rr,Zr]),v.useEffect((function(){qr&&!Br?(D(!0),Ma(["Waiting for Confirmation",""]),ts&&ns(!1)):!qr&&Br&&(ts?ts&&ns(!1):(Ma(["Transaction Failed",""]),Xr()),ys({modalData:void 0,trigger:!1}))}),[qr,Br]),v.useEffect((function(){var e="";cs.trigger&&cs.modalData,ls.trigger&&void 0!==ls.modalData&&(e=ls.modalData),"rsa"===mn&&"gateway"!==Ja?ls.trigger&&!Un&&gn&&(Bs(1),Ma(["Waiting For Signature","1"]),Sr({message:Kr(C.keccak256(P.pack(["bytes32","address"],[C.keccak256(P.pack(["string"],[e])),rr])),Ja)}),K(!0)):"stealth"===mn&&"gateway"!==Ja?cs.trigger&&!Un&&gn&&!F.xb(ma)&&(Bs(1),Ma(["Waiting For Signature","1"]),Sr({message:Kr(C.keccak256(P.pack(["bytes32","address"],[C.keccak256(P.pack(["string"],[e])),rr])),Ja)}),K(!0)):mn&&"gateway"===Ja&&Ns("0")}),[ls,cs,ut,mn,gn,Ja,ia,ya,Un]),v.useEffect((function(){"stealth"===mn&&ls.trigger&&void 0!==ls.modalData&&Pa(!0)}),[ls,mn]),v.useEffect((function(){"stealth"===mn&&(cs.trigger||cs.modalData||(ys({modalData:void 0,trigger:!1}),Pa(!1)))}),[cs,mn]),v.useEffect((function(){Cn&&ls.trigger&&void 0!==ls.modalData&&(Bs(3),Gs(1),Ma(["Waiting For Signature","1"]),Sr({message:Vr(C.keccak256(P.pack(["bytes32","address"],[C.keccak256(P.pack(["string"],[ls.modalData])),rr])))}),K(!0))}),[ls,Cn,Ja]),v.useEffect((function(){if(Cn&&U&&Rs&&ls.trigger){Ma(["Generating Encryption Key","+"]);var e="recordhash"!==Ja?"eth:".concat(rr||F.DR):Te,t=new Worker(new URL(n.p+n.u(556),n.b));return t.onmessage=function(e){var t=F.T5(e.data[0]),n=Object.assign(Object.create(F.IQ),t);Vn([n,e.data[1]]),Ma(["Encryption Keypair Generated",""])},t.onerror=function(e){if(e instanceof Event)return console.error("\u274c ERROR:",e),Vn(void 0),D(!1),Ma(["Failed To Generate RSA Key",""]),Xr(),Sa("orangered"),Bs(0),void Gs(0);console.error("\u274c UNKNOWN ERROR:",e),Vn(void 0),D(!1),Ma(["Unknown Error While Generating RSA Key",""]),Xr(),Sa("orangered"),Bs(0),Gs(0)},t.postMessage({_origin:e,_caip10:fr,_sigRSA:Rs,_salt:ls.modalData}),function(){t.terminate()}}}),[Rs,Cn,U,ls]),v.useEffect((function(){if(Cn&&void 0!==Jn&&Re){Ma(["Decrypting Invoice",""]);try{var e=se.decrypt(Re,Jn[0]),t=JSON.parse(e.plaintext).payee,n=JSON.parse(e.plaintext).amount,a=function(){var e=(0,f.Z)(x().mark((function e(){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.endsWith(".eth")){e.next=5;break}return e.next=3,dr.resolveName(t).then((function(e){e&&De(e)})).catch((function(){D(!1),Ma(["Bad Payee",""]),Xr(),Sa("orangered"),Bs(0),Gs(0)}));case 3:e.next=6;break;case 5:De(t);case 6:We(n),D(!1);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();a()}catch(s){console.error("ERROR:",s),D(!1),Ma(["Bad Invoice",""]),Xr(),Sa("orangered"),Bs(0),Gs(0)}}}),[Jn,Cn,Re]),v.useEffect((function(){if(!ks||Un||Nn||Cn){if(Rs&&!Jn&&Nn){Ma(["Generating Encryption Key","+"]);var e="recordhash"!==Ja?"eth:".concat(rr||F.DR):Te,t=new Worker(new URL(n.p+n.u(2174),n.b));return t.onmessage=function(e){var t=F.T5(e.data[0]),n=Object.assign(Object.create(F.IQ),t);Vn([n,e.data[1]]),Ma(["Encryption Keypair Generated",""])},t.onerror=function(e){if(e instanceof Event)return console.error("\u274c ERROR:",e),Vn(void 0),D(!1),Ma(["Failed To Generate RSA Key",""]),Xr(),Sa("orangered"),Bs(0),void Gs(0);console.error("\u274c UNKNOWN ERROR:",e),Vn(void 0),D(!1),Ma(["Unknown Error While Generating RSA Key",""]),Xr(),Sa("orangered"),Bs(0),Gs(0)},t.postMessage({_origin:e,_caip10:fr,_sigRSA:Rs,_salt:ls.modalData}),function(){t.terminate()}}}else if("0"!==ks){D(!0),Ma(["Generating IPNS Key",""]);var a=function(){var e=(0,f.Z)(x().mark((function e(){var t,n;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t="ownerhash"===Ja?"eth:".concat(rr||F.DR):Te,e.next=3,(0,$.x_)(t,fr,ks,ls.modalData);case 3:n=e.sent,Kn(n[0]),Ma(["IPNS Keypair Generated",""]);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();a()}else Kn(["0x","0x"]),is(!0)}),[U,Un,rs,ia,ks,Nn,Rs,Jn,Cn]),v.useEffect((function(){if(ia&&ls.trigger&&rs&&(Da||"rsa"===mn)){Ma(["Waiting For Signature","2"]);var e=function(){var e=(0,f.Z)(x().mark((function e(){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:void 0!==ls.modalData&&(Bs(2),Gs("rsa"===mn?4:3),si(ls.modalData));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[ls,rs,ia,Da,mn]),v.useEffect((function(){if(ia&&rs&&_s&&!Nn){Ba([Qr(),k.VM(Te),Qn?N.computeAddress("0x".concat(Qn[0])):F.DR]),D(!0),Ma(["Generating Signer Key",""]);var e=function(){var e=(0,f.Z)(x().mark((function e(){var t,n;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t="recordhash"!==Ja?"eth:".concat(rr||F.DR):Te,e.next=3,(0,$.x_)(t,fr,_s,ls.modalData);case 3:n=e.sent,Xn(n[1]),Mn(!0),Ma(["Signer Keypair Generated",""]);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[_s,rs,ia,Nn]),v.useEffect((function(){var e="";ls.trigger&&void 0!==ls.modalData&&(e=ls.modalData),"rsa"===mn&&gn&&Nn&&ls.trigger?(Bs(3),Ma(["Waiting For Signature","3"]),Sr({message:Vr(C.keccak256(P.pack(["bytes32","address"],[C.keccak256(P.pack(["string"],[e])),rr])))}),K(!0)):"stealth"===mn&&gn&&Nn&&ls.trigger&&Ma(["Waiting For Signature","2"])}),[Nn,ls,mn]),v.useEffect((function(){"stealth"===mn?Gs(3):"rsa"===mn&&Gs(4)}),[mn]),v.useEffect((function(){if(Un&&ks){if("gateway"!==Ja){var e=function(){var e=(0,f.Z)(x().mark((function e(){var t,n,a,s,r;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=F.yt(Un),e.next=3,Q.Dp(ee.UG.hexToBytes(t));case 3:n=e.sent,a=String(n),s=ut?ut.split("ipns://")[1]:"",r=ft?ft.split("ipns://")[1]:"",ia&&(!a||a!==s&&a!==r?a&&a!==s&&a!==r&&(ys({modalData:void 0,trigger:!1}),Ma(["Seems Like Bad Password",""]),Xr(),Sa("orangered"),Bs(0),Gs(0)):(is(!0),ge(a)));case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}else ia&&"gateway"===Ja&&(is(!0),ge("gateway"))}),[Un,ks,Ja,ut,ft,ia]),v.useEffect((function(){vr&&1===Ls?Ns(vr):vr&&4===Ls?Ws(vr):vr&&2===Ls?Ds(vr):vr&&3===Ls&&Cs(vr)}),[vr,Ls]),v.useEffect((function(){if(cs.trigger&&cs.modalData){Ma(["Fetching Payer Encryption Key",""]),D(!0);var e=cs.modalData.split(":")[0],t=cs.modalData.split(":")[1],n=cs.modalData.split(":")[2],a=function(){var a=(0,f.Z)(x().mark((function a(){var s,r;return x().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,dr.getResolver(e);case 2:if(null===(s=a.sent)||void 0===s||!s.address){a.next=9;break}return r="",a.next=7,s.getText("rsa").then((function(a){if(a){Ma(["Waiting For Signature","2"]),r=a;var s;s=se.encrypt('{"payer":"'.concat(e,'","payee":"').concat(t,'","amount":"').concat(n,'"}'),r);var i=ma;i.stealth=s.cipher,fa(i),Oa(!0);var o=ya;!o.includes("stealth")&&ma.stealth?ua((function(e){return[].concat((0,m.Z)(e),["stealth"])})):o.includes("stealth")&&!ma.stealth&&ua((function(e){return e.filter((function(e){return"stealth"!==e}))}))}else r="",D(!1),Ma(["Payer Has No Encryption Record",""]),Xr(),Sa("orangered"),Bs(0),Gs(0)})).catch((function(){r="",D(!1),Ma(["Failed To Fetch Encryption Record",""]),Xr(),Sa("orangered"),Bs(0),Gs(0)}));case 7:a.next=15;break;case 9:Ma(["Payer Has No Resolver",""]),D(!1),Xr(),Sa("orangered"),Bs(0),Gs(0);case 15:case"end":return a.stop()}}),a)})));return function(){return a.apply(this,arguments)}}();a()}else if(Jn&&!cs.trigger){var s=ma;s.rsa=Jn[1],fa(s);var r=ya;!r.includes("rsa")&&ma.rsa?ua((function(e){return[].concat((0,m.Z)(e),["rsa"])})):r.includes("rsa")&&!ma.rsa&&ua((function(e){return e.filter((function(e){return"rsa"!==e}))}))}}),[he,Jn,ia,cs]),v.useEffect((function(){ot&&(Ur(Ot,zt),D(!1))}),[ot,ut,ft,Xe,Ja,Ot,zt]),v.useEffect((function(){Ve&&function(e,t,n){hi.apply(this,arguments)}(ut||ft,ut&&ut.startsWith("ipns://")?"recordhash":ft&&ft.startsWith("ipns://")?"ownerhash":"gateway",ut&&ut.startsWith("ipns://")?"recordhash":ft&&ft.startsWith("ipns://")?"ownerhash":"gateway")}),[Ve,ft,ut]),v.useEffect((function(){Vs&&Te&&!ot&&function(e,t){di.apply(this,arguments)}(Ts,Te)}),[Ts,Vs,Te,ot]),v.useEffect((function(){Ts&&Vs&&!ot&&(ut?ut.startsWith("https://")?Va("gateway"):Va("recordhash"):ft?ft.startsWith("https://")?Va("gateway"):Va("ownerhash"):Va("storage"))}),[Ts,Vs,Xe,ut,ft,ot]),v.useEffect((function(){if(mn&&ya.length>0){var e=rn.map((function(e){return ya.includes(e.type)&&!F.ID.includes(e.type)?oe(oe({},e),{},{editable:Vs>0,active:Vs>0}):e}));un(e)}}),[mn,Xe,ya]),v.useEffect((function(){na&&ia&&Un&&Qn&&Qn[0]&&he&&ya.length>0&&(D(!0),Ma(["Setting Records",String(ya.length)]))}),[na,Qn,he,ia,Ja]),v.useEffect((function(){if(Ht&&["0","1"].includes(Ht)){if("1"===Ht){var e=rn.map((function(e){return e.type===$t?oe(oe({},e),{},{value:tn}):oe({},e)}));un(e)}setTimeout((function(){Jt(".")}),1e4),setTimeout((function(){Jt("")}),3e4)}}),[Ht,tn,$t]),v.useEffect((function(){if(ia&&Qn&&Qn[0]&&ma&&!F.xb(ma)&&ya.length>0){var e=F.RY();ya.forEach(function(){var t=(0,f.Z)(x().mark((function t(n){var a;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!ma[n]){t.next=4;break}return t.next=3,ti({message:Gr(F.yc[F.IX.indexOf(n)],$r(n,ma[n]),Qn[0])});case 3:a=t.sent;case 4:a&&(e[n]=a);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),za(e)}}),[ia,Qn,ma,ya]),v.useEffect((function(){!ia||ar||As||F.xb(Wa)?ia&&ar&&!F.xb(Wa)&&Ws("0x"):(Gs("rsa"===mn?4:3),function(){ai.apply(this,arguments)}())}),[ar,Wa,Ja]),v.useEffect((function(){var e=0;for(var t in Wa)Wa.hasOwnProperty(t)&&""!==Wa[t]&&e++;if(ia&&he&&e===ya.length&&e>0&&As){var n=F.RY();for(var a in ma)ma.hasOwnProperty(a)&&""!==ma[a]&&(n[a]=Yr(a,ma[a]));var s={signatures:Wa,manager:Qn?N.computeAddress("0x".concat(Qn[0])):F.DR,managerSignature:As,ens:Te,controller:rr||F.DR,ipns:he,recordsTypes:ya,recordsValues:n,recordsRaw:ma,revision:Ts.revision,chain:r,hashType:Ja},i=function(){var e=(0,f.Z)(x().mark((function e(){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Ma(["Writing Records",""]),e.prev=1,e.next=4,fetch("".concat(gr,":").concat(hr,"/write"),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}).then((function(e){return e.json()})).then(function(){var e=(0,f.Z)(x().mark((function e(t){var n,a,s,r,i,o;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Ma(["gateway"!==Ja?"Publishing to IPNS":"Publishing to Gateway",""]),!Qn||!t.response){e.next=7;break}return n={},rn.map(function(){var e=(0,f.Z)(x().mark((function e(a){var s,r;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!["stealth","rsa"].includes(a.type)||!t.response.meta[a.type]){e.next=7;break}return s=ii(a.type,t.response[a.type]),r=function(){var e=(0,f.Z)(x().mark((function e(){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([s]);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.next=5,r();case 5:s.then((function(e){var t=c&&c.formatted&&c.formatted.gasPrice?Number(c.formatted.gasPrice):0;n[a.type]=e*t*1e-9})),"stealth"===a.type?It(t.response.stealth):"rsa"===a.type&&Ft(t.response.rsa);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=6,new Promise((function(e){!function t(){Object.keys(n).length>0?e():setTimeout(t,100)}()}));case 6:"gateway"!==Ja&&Un?(a=F.yt(Un),i=function(){var e=(0,f.Z)(x().mark((function e(){var i;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Q.Dp(ee.UG.hexToBytes(a));case 2:return s=e.sent,e.next=5,X.Dp(ee.UG.hexToBytes(a));case 5:r=e.sent,i=function(){var e=(0,f.Z)(x().mark((function e(){var a,i,o,p;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.response.ipfs&&s&&r&&n)){e.next=42;break}if(Qa(t.response.ipfs.split("ipfs://")[1]),a="/ipfs/"+t.response.ipfs.split("ipfs://")[1],Ts.revision){e.next=9;break}return e.next=6,Q.v0(s,a);case 6:i=e.sent,e.next=19;break;case 9:if(o=ir.decode(new Uint8Array(Object.values(JSON.parse(JSON.stringify(Ts.revision))))),!(Number(t.response.timestamp)0}):oe(oe({},e),{},{active:n>0})}return e})),un(p),fa(F.RY()),za(F.RY()),aa(!1),Bs(0),ys({modalData:void 0,trigger:!1}),On("stealth"===mn?'Stealth Record Set! You may now Receive Private Payments':'Encryption Key Set! You may now Send Private Payments'),Ge(!0),De(""),ei();case 42:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Object.keys(n).length>0&&i();case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),i()):(o=function(){var e=(0,f.Z)(x().mark((function e(){var a;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=18;break}return Ka(t.response.timestamp),e.next=4,fi(void 0,n,t.response.timestamp,"");case 4:Wn(n),ua([]),D(!1),a=rn.map((function(e){if(["resolver","storage"].includes(e.type))return e;return Ys(1),t.response.meta[e.type]?oe(oe({},e),{},{value:t.response[e.type],state:!0,active:!0}):oe(oe({},e),{},{active:!0})})),un(a),fa(F.K5()),za(F.K5()),aa(!1),Bs(0),ys({modalData:void 0,trigger:!1}),On("stealth"===mn?'Stealth Record Set! You may now Receive Private Payments':'Encryption Key Set! You may now Send Private Payments'),Ge(!0),De(""),ei();case 18:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),o());case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 4:e.next=14;break;case 6:e.prev=6,e.t0=e.catch(1),console.error("ERROR:","Failed to write to CCIP2 backend"),Ma(["Record Update Failed",""]),me(!0),D(!1),er(!0),Sa("orangered");case 14:case"end":return e.stop()}}),e,null,[[1,6]])})));return function(){return e.apply(this,arguments)}}();i()}ia||aa(!1)}),[As]),v.useEffect((function(){if(wr&&!Tr&&mn)D(!0),ts&&ns(!1);else if(Tr&&!wr&&mn){if(ts)ts&&ns(!1);else{Ma(["Signature Failed",String(Ls)]),Xr(),oa(!1),aa(!1),fa(F.RY());var e=rn.map((function(e){return"storage"!==e.type?e:oe(oe({},e),{},{state:!1})}));un(e),xn("0")}ys({modalData:void 0,trigger:!1})}}),[wr,Tr,mn,Ls,ya]);var gi=t?(0,L.jsx)(de,{style:{backgroundColor:w?"black":"rgba(0, 0, 0, 1)"},children:(0,L.jsxs)(ue,{style:{background:w?"none":"#121212"},children:[(0,L.jsx)(ye,{children:(0,L.jsx)("a",{href:"#",onClick:function(e){Ws(""),za(F.RY()),Xn(void 0),Kn(void 0),Vn(void 0),Ds(""),Ns(""),Cs(""),Ce(""),i("".concat(Te)),o(!0),e.preventDefault(),a()},children:(0,L.jsx)("span",{className:"material-icons-round",style:{marginTop:w?"120px":"7px"},children:"close"})})}),Te&&w&&(0,L.jsx)(pe,{children:(0,L.jsxs)("div",{className:"flex-column",style:{marginTop:"-10px",marginBottom:"80px"},children:[(0,L.jsx)("div",{style:{marginTop:"20px"},children:(0,L.jsx)(V.Z,{height:50,width:50})}),(0,L.jsx)("div",{style:{marginTop:"20px"},children:(0,L.jsx)("span",{style:{color:"#ff2600",fontSize:"20px",fontWeight:"700"},children:Na[0]})}),Na[1]&&!["-","+"].includes(Na[1])&&(0,L.jsx)("div",{style:{marginTop:"10px"},children:(0,L.jsxs)("span",{style:{color:"white",fontSize:"18px",fontWeight:"700"},children:[(0,L.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"22px"},children:"gateway"!==Ja?Na[1]:ia?String(Number(Na[1])-1):Na[1]}),(0,L.jsx)("span",{children:" Of "}),(0,L.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"22px"},children:"gateway"!==Ja||!ia&&Cn?Ks:Ks-1})]})}),Na[1]&&["-","+"].includes(Na[1])&&(0,L.jsx)("div",{style:{marginTop:"10px"},children:(0,L.jsx)("span",{style:{color:"white",fontSize:"18px",fontWeight:"700"},children:(0,L.jsx)("span",{children:"-"===Na[1]?"Please Be Patient":"This Will Take Time. Hang on"})})})]})}),Te&&!w&&(0,L.jsx)(le,{children:(0,L.jsx)("span",{className:"material-icons miui",style:{marginTop:"-15px",color:zt?"lightgreen":"orange",fontSize:"86px",marginLeft:"3%"},children:"account_balance"})}),Te&&rn.length>0&&!w&&(0,L.jsx)(pe,{children:(0,L.jsxs)("div",{className:"flex-column",children:[(0,L.jsx)("div",{style:{marginTop:"-25px",marginLeft:"2%"},children:(0,L.jsx)("span",{style:{color:"cyan",fontSize:"13px",fontWeight:"700"},children:"Receive Stealth Payment To"})}),(0,L.jsxs)("div",{style:{marginBottom:"15px",marginTop:"5px",marginLeft:"2%"},children:[(0,L.jsx)("span",{style:{color:"white",fontSize:"20px",fontWeight:"700",fontFamily:"SF Mono"},children:Te.split(".eth")[0]}),(0,L.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"15px",color:"cyan"},children:"."}),(0,L.jsx)("span",{style:{fontFamily:"Spotnik",fontSize:"11px",color:"cyan",fontWeight:"700",letterSpacing:"0px",marginTop:"13px"},children:"ETH"})]}),(0,L.jsx)("ul",{style:{listStyle:"none",color:"white",marginLeft:z.tq?"0":"-5%",marginTop:"20px"},children:(0,L.jsxs)("div",{className:"flex-column",style:{paddingBottom:z.tq?"5px":"15px"},children:[rn.map((function(e){return(0,L.jsxs)("li",{style:{display:"flex",flexDirection:"column",width:z.tq?"480px":"500px",maxWidth:z.tq?"85%":"95%",paddingLeft:"5px",paddingRight:"5px"},children:[(0,L.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",flexDirection:"column"},children:[(0,L.jsxs)("div",{style:{marginBottom:"10px",display:"flex",justifyContent:"space-between",width:z.tq?"90%":"100%"},children:[(0,L.jsxs)("span",{style:{fontFamily:"Spotnik",fontWeight:"700",fontSize:"15px",color:F.IN.includes(e.type)?"orange":"cyan",marginRight:"15px"},children:[["stealth","rsa"].includes(e.type)&&(0,L.jsxs)("span",{children:[(0,L.jsx)("span",{className:"material-icons-round smol",style:{fontSize:"20px",display:"inline-block",color:"white"},children:"stealth"===e.type?"lock":"vpn_key"}),"\xa0",(0,L.jsx)("span",{style:{position:"relative",top:"-2px",left:"1px"},children:e.type})]}),["stealth","rsa"].includes(e.type)&&(0,L.jsx)("button",{className:"button-tiny",onClick:function(){Be(!0),xa("info"),Sa(F.IN.includes(e.type)?"orange":"cyan"),Sn(F.IN.includes(e.type)?'In Process of Bug Fixing':"".concat(e.help,""))},"data-tooltip":F.IN.includes(e.type)?"Temporarily Unavailable":"Enlighten Me",children:(0,L.jsx)("div",{className:"material-icons-round smol",style:{color:F.IN.includes(e.type)?"orange":"cyan",marginLeft:"storage"===e.type?"-5px":"5px"},children:"info_outline"})}),["stealth","rsa"].includes(e.type)&&(0,L.jsx)("button",{className:"button-tiny",onClick:function(){Be(!0),xa("stealth"===e.type||zt?"gpp_good":"gpp_bad"),Sa("stealth"===e.type||zt?"lime":"orangered"),Sn("stealth"===e.type?'Please set the Stealth Invoice to Receive Private Payment':zt?'Encryption Key Set':'Please Set Encryption Key To Send Private Payments')},"data-tooltip":"stealth"===e.type?"Set Encrypted Invoice":zt?"Encryption Key Set":"Encryption Key Missing",children:(0,L.jsx)("div",{className:"material-icons-round smol",style:{color:"stealth"===e.type||zt?"lime":"orangered",marginLeft:"-5px"},children:"stealth"===e.type||zt?"gpp_good":"gpp_bad"})}),["stealth","rsa"].includes(e.type)&&!F.IN.includes(e.type)&&Xe===pr&&(ut||ft)&&(0,L.jsx)("button",{className:"button-tiny",onClick:function(){Be(!0),xa("timer"),Sa(Vs<0?"orange":"lime"),Sn(Vs<0?'Too Soon To Update. Please wait at least one hour between updates':'Ready For Next Record Update')},"data-tooltip":Vs<0?"Too Soon To Update":"Ready For Next Update",children:(0,L.jsx)("div",{className:"material-icons-round smol",style:{color:Vs<0?"orange":"lime",marginLeft:"-5px"},children:"timer"})}),["stealth","rsa"].includes(e.type)&&!F.IN.includes(e.type)&&Xe===pr&&rr&&(ut||ft)&&Ts.ownerstamp.length>0&&(0,L.jsx)("button",{className:!["",".","0","1"].includes(Ht)&&[e.type].includes(Ht)?"button-tiny blink":"button-tiny",onClick:function(){""===Ht&&ci(["text",e.type],at,Te,!0),Qt(e.type)},"data-tooltip":[e.type,".","0","1"].includes(Ht)?[".","","0","1"].includes(Ht)?"1"===Ht?"Record Updated":"0"===Ht?"No New Update":"."===Ht?"Please Wait to Refresh again":"-"===Ht?"No New Update":"Click to Refresh":"Refresh in Progress":e.value.toLowerCase()===Ts[e.type].toLowerCase()?"Record in Sync with ".concat("gateway"===Ja?"Gateway":"IPNS"):"Record not in Sync. Click to refresh",children:(0,L.jsx)("div",{className:"material-icons-round smol",style:{color:[e.type,".","0","1"].includes(Ht)?[".","","0","1"].includes(Ht)?"1"===Ht?"lime":"0"===Ht?"yellow":"."===Ht?"white":"-"===Ht?"yellow":"cyan":"white":e.value.toLowerCase()===Ts[e.type].toLowerCase()?"lightgreen":"orange",marginLeft:"-5px"},children:"sync"})}),e.state&&(0,L.jsx)("div",{className:"material-icons-round smol emphasis",style:{color:ce&&Xs?"orangered":"lime",marginLeft:"-5px"},children:ce&&Xs?"cancel":"task_alt"})]}),(0,L.jsx)("button",{className:"button",disabled:F.IN.includes(e.type)||!rn[e.key].active||e.state||!rr||!Pt.includes(String(rr)),style:{alignSelf:"flex-end",height:"25px",width:"auto",marginBottom:"6px"},onClick:function(){Ut(!0),"stealth"===e.type&&ms({modalData:void 0,trigger:!1}),fn(e.type),xn("1"),oa(!0)},"data-tooltip":e.tooltip,children:(0,L.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"13px"},children:[e.label,"\xa0",(0,L.jsx)("span",{className:"material-icons-round smoller",children:"manage_history"})]})})]}),(0,L.jsx)("input",{className:"inputextra",id:e.key,placeholder:F.IN.includes(e.type)?"Temporarily Unavailable":e.value,type:"text",disabled:!e.editable||F.IN.includes(e.type)||!Pt.includes(String(rr)),style:{background:zt&&!F.IN.includes(e.type)&&Pt.includes(String(rr))?"linear-gradient(90deg, rgba(0,50,0,0.5) 0%, rgba(25,50,25,0.5) 50%, rgba(0,50,0,0.5) 100%)":"linear-gradient(90deg, rgba(100,0,0,0.5) 0%, rgba(100,25,25,0.5) 50%, rgba(100,0,0,0.5) 100%)",fontFamily:"SF Mono",fontWeight:"400",fontSize:"14px",width:"100%",wordWrap:"break-word",textAlign:"left",marginTop:"-10px",marginBottom:"-5px",color:"lightgreen",cursor:"copy"}},e.key)]}),(0,L.jsx)("hr",{style:{marginTop:"5px"}})]},e.key)})),(0,L.jsx)("hr",{style:{marginTop:"5px"}}),(0,L.jsxs)("div",{className:"flex-column",style:{marginBottom:"15px",marginTop:"-15px"},children:[(0,L.jsx)(le,{children:(0,L.jsx)("span",{className:"material-icons-round miui",style:{color:zt?"lightgreen":"orange",fontSize:"76px"},children:"security"})}),(0,L.jsx)("span",{style:{color:"cyan",fontSize:"13px",fontWeight:"700",marginTop:"5px"},children:"Send Stealth Payment From"}),(0,L.jsxs)("div",{style:{marginBottom:"15px",marginTop:"5px"},children:[(0,L.jsx)("span",{style:{color:"white",fontSize:"20px",fontWeight:"700",fontFamily:"SF Mono"},children:Te.split(".eth")[0]}),(0,L.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"15px",color:"cyan"},children:"."}),(0,L.jsx)("span",{style:{fontFamily:"Spotnik",fontSize:"11px",color:"cyan",fontWeight:"700",letterSpacing:"0px",marginTop:"13px"},children:"ETH"})]}),!_e&&(0,L.jsxs)("div",{className:"flex-column",style:{width:"100%",marginLeft:"32px"},children:[(0,L.jsx)("input",{id:"decrypt",placeholder:"enter payee .eth",type:"text",disabled:!zt,style:{background:zt?"linear-gradient(90deg, rgba(0,50,0,0.5) 0%, rgba(25,50,25,0.5) 50%, rgba(0,50,0,0.5) 100%)":"linear-gradient(90deg, rgba(100,0,0,0.5) 0%, rgba(100,25,25,0.5) 50%, rgba(100,0,0,0.5) 100%)",outline:"none",border:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"130%",wordWrap:"break-word",textAlign:"center",color:ke?"lime":"white",cursor:"copy",marginLeft:"-15%",marginTop:"15px"},onChange:function(e){var t;(t=e.target.value).endsWith(".eth")?Ne(t):Ne("")}},"decrypt"),(0,L.jsx)("hr",{style:{marginTop:"0",marginLeft:"-15%",width:"130%"}})]}),_e&&(0,L.jsxs)("div",{className:"flex-column",children:[(0,L.jsxs)("div",{className:"flex-column",style:{width:"450px",marginLeft:"3px"},children:[(0,L.jsx)("input",{id:"amount",type:"text",value:Ae,style:{background:"0.0"===Ae?"linear-gradient(90deg, rgba(100,0,0,0.5) 0%, rgba(100,25,25,0.5) 50%, rgba(100,0,0,0.5) 100%)":"linear-gradient(90deg, rgba(0,50,0,0.5) 0%, rgba(25,50,25,0.5) 50%, rgba(0,50,0,0.5) 100%)",marginBottom:"10px",outline:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"90%",paddingRight:"32px",wordWrap:"break-word",textAlign:"left",color:"0.0"===Ae?"grey":"lime",cursor:"copy"}},"amount"),(0,L.jsx)("hr",{style:{marginTop:"-5px",marginLeft:"0",width:"90%"}})]}),(0,L.jsx)("div",{className:"flex-row",style:{width:"200%"},children:(0,L.jsxs)("div",{className:"flex-column",children:[(0,L.jsxs)("div",{className:"flex-row",style:{width:"450px",marginLeft:"3px"},children:[(0,L.jsx)("input",{id:"pay",type:"text",value:_e,style:{background:_e===F.DR?"linear-gradient(90deg, rgba(100,0,0,0.5) 0%, rgba(100,25,25,0.5) 50%, rgba(100,0,0,0.5) 100%)":"linear-gradient(90deg, rgba(0,50,0,0.5) 0%, rgba(25,50,25,0.5) 50%, rgba(0,50,0,0.5) 100%)",outline:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"90%",paddingRight:"32px",wordWrap:"break-word",textAlign:"left",color:_e===F.DR?"grey":"lime",cursor:"copy"}},"pay"),(0,L.jsx)("button",{className:"button-empty",onClick:function(){F.vQ("pay")},hidden:_e===F.DR,"data-tooltip":"Copy Address",style:{marginLeft:"-25px",color:"lime"},children:(0,L.jsx)("span",{className:"material-icons-round",style:{fontSize:"22px",fontWeight:"700"},children:"content_copy"})})]}),(0,L.jsx)("hr",{style:{marginTop:"5px",marginLeft:"0",width:"90%"}})]})})]}),(0,L.jsxs)("div",{children:[(0,L.jsx)("button",{className:"button",style:{height:"33px",width:_e?"80px":"120px",padding:"5px",marginTop:"10px",fontSize:"16px",fontWeight:"700",backgroundImage:_e&&_e!==F.DR?"linear-gradient(81deg, rgba(0,154,0,1) 0%, rgba(0,182,24,1) 52%, rgba(0,154,0,1) 100%)":"linear-gradient(112deg, rgba(190,95,65,1) 0%, rgba(191,41,36,1) 48%, rgba(203,111,0,1) 100%)"},onClick:function(){return _e&&_e!==F.DR?null===Mr||void 0===Mr?void 0:Mr():function(){Ma(["Searching For Payment",""]),D(!0);var e=function(){var e=(0,f.Z)(x().mark((function e(){var t;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,dr.getResolver(ke);case 2:if(null===(t=e.sent)||void 0===t||!t.address){e.next=8;break}return e.next=6,t.getText("stealth").then((function(e){e?(Ma(["Decrypting Payment Data",""]),Ut(!0),Pn(!0),Ce(e)):(D(!1),De(F.DR),We("0.0"),Ma(["Payer Has No Payment For You",""]),Xr(),Sa("orangered"))})).catch((function(){D(!1),De(F.DR),We("0.0"),Ma(["Error Fetching Payment Data",""]),Xr(),Sa("orangered")}));case 6:e.next=14;break;case 8:D(!1),De(F.DR),We("0.0"),Ma(["Payer Has No Resolver",""]),Xr(),Sa("orangered");case 14:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}()},disabled:!ke||_e===F.DR,hidden:!zt,"data-tooltip":_e&&_e!==F.DR?"Send Transaction":"Fetch and Decrypt",children:(0,L.jsxs)("div",{className:"flex-row",style:{fontSize:"14px"},children:[_e?"Pay":"Decrypt","\xa0",(0,L.jsx)("span",{className:"material-icons-round smoller",children:"lock_open"})]})}),(0,L.jsx)("button",{className:"button",style:{height:"33px",width:"110px",padding:"5px",marginTop:"20px",fontSize:"16px",fontWeight:"700",marginLeft:"20px",background:"red"},onClick:function(){return De("")},disabled:!ke,hidden:!_e,"data-tooltip":"Cancel Transaction",children:(0,L.jsxs)("div",{className:"flex-row",style:{fontSize:"14px"},children:["Cancel","\xa0",(0,L.jsx)("span",{className:"material-icons-round smoller",children:"cancel"})]})})]})]})]})}),ya.length>1&&(0,L.jsx)("div",{style:{marginTop:"-10px",marginBottom:"40px"},children:(0,L.jsx)("button",{className:"button flex-column",hidden:ya.length<2,disabled:!rr||!Pt.includes(String(rr))||ma===F.RY(),style:{alignSelf:"flex-end",height:"25px",width:"auto",marginTop:"-3px"},onClick:function(){Ut(!0),oa(!0),fn("records"),xn("1"),oa(!0)},"data-tooltip":"Set Multiple Records in One Click",children:(0,L.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"15px"},children:["Edit All","\xa0",(0,L.jsx)("span",{className:"material-icons-round smoller",children:"manage_history"})]})})})]})}),(0,L.jsxs)("div",{id:"modal-inner",children:[(0,L.jsx)(A.Z,{color:wa,icon:ga,onClose:function(){return Be(!1)},show:Le,position:"",children:wn}),(0,L.jsx)(Y.Z,{color:wa,icon:ga,onClose:function(){return Ge(!1)},show:Ke,handleTrigger:function(e){gs((function(t){return oe(oe({},t),{},{trigger:e})}))},handleModalData:function(e){gs((function(t){return oe(oe({},t),{},{modalData:e})}))},children:Dn}),(0,L.jsx)(H,{handleTrigger:function(e){ms((function(t){return oe(oe({},t),{},{trigger:e})})),e?xn("1"):(xn("0"),fn("")),Pa(!1)},handleModalData:function(e){ms((function(t){return oe(oe({},t),{},{modalData:e})}))},onClose:function(){Pa(!1)},show:Ca,children:""}),(0,L.jsx)(W.Z,{handleTrigger:function(e){ys((function(t){return oe(oe({},t),{},{trigger:e})})),e?xn("1"):(xn("0"),fn("")),Ut(!1)},handleModalData:function(e){ys((function(t){return oe(oe({},t),{},{modalData:e})}))},onClose:function(){Ut(!1)},show:qt,children:[Te,Ja]}),(0,L.jsx)(J.Z,{onClose:function(){me(!1),ns(!0)},color:wa,show:ce&&!w,title:"cancel",children:Na[0]})]})]})}):null;return y?T.createPortal(gi,document.getElementById("modal")):null}},59595:function(e,t,n){"use strict";var a,s,r,i,o,p=n(71383),l=n(16835),y=n(67294),u=n(73935),d=n(14141),c=n(85518),m=n(85893),f=d.ZP.div(a||(a=(0,p.Z)(["\n padding-top: 0px;\n padding-left: ",";\n padding-right: ",";\n padding-bottom: 5px;\n margin-top: 0px;\n margin-left: ",";\n margin-right: ",";\n margin-bottom: ",";\n display: flex;\n justify-content: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 18px;\n font-weight: 700;\n line-height: 22px;\n max-width: ",";\n"])),c.tq?"10px":"20px",c.tq?"10px":"20px",c.tq?"10px":"20px",c.tq?"10px":"20px",c.tq?"15px":"20px",(c.tq,"400px")),b=d.ZP.div(s||(s=(0,p.Z)(["\n margin-top: -15px;\n font-size: 20px;\n display: flex;\n justify-content: center;\n font-weight: 700;\n margin-bottom: 15px;\n color: white;\n"]))),h=d.ZP.div(r||(r=(0,p.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),g=d.ZP.div(i||(i=(0,p.Z)(["\n position: fixed; \n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: auto;\n max-width: ",";\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n"])),c.tq?"90%":"60%"),x=d.ZP.div(o||(o=(0,p.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"])));t.Z=function(e){var t=e.icon,n=e.color,a=e.show,s=e.onClose,r=e.children,i=e.handleModalData,o=e.handleTrigger,p=y.useState(!1),d=(0,l.Z)(p,2),c=d[0],v=d[1];y.useEffect((function(){v(!0)}),[]);var T=function(e){i("0"),o(!0),e.preventDefault(),s()},w=a?(0,m.jsx)(x,{children:(0,m.jsxs)(g,{children:[(0,m.jsx)(h,{children:(0,m.jsx)("a",{href:"#",onClick:T,children:(0,m.jsx)("span",{className:"material-icons",style:{margin:"4px"},children:"close"})})}),t&&(0,m.jsx)(b,{children:(0,m.jsx)("span",{className:"material-icons",style:{marginTop:"4px",fontSize:"68px",color:n},children:t})}),(0,m.jsx)(f,{dangerouslySetInnerHTML:{__html:r}}),(0,m.jsx)(f,{children:(0,m.jsx)("div",{className:"flex-row",style:{marginLeft:"0px"},children:(0,m.jsx)("button",{className:"button-option",style:{height:"35px",width:"105px"},onClick:T,"data-tooltip":"Continue",children:(0,m.jsxs)("div",{className:"flex-row",style:{fontSize:"15px",fontWeight:"700"},children:["OK","\xa0",(0,m.jsx)("span",{className:"material-icons chonk",children:"done_all"})]})})})})]})}):null;return c?u.createPortal(w,document.getElementById("modal")):null}},92675:function(e,t,n){"use strict";var a,s,r,i,o,p=n(71383),l=n(16835),y=n(67294),u=n(73935),d=n(14141),c=n(85893),m=d.ZP.div(a||(a=(0,p.Z)(["\n padding-top: 10px;\n padding-left: 20px;\n padding-right: 40px;\n padding-bottom: 20px;\n display: flex;\n justify-content: center;\n height: 500px;\n overflow-y: auto;\n"]))),f=d.ZP.div(s||(s=(0,p.Z)(["\n padding-top: 20px;\n font-size: 22px;\n display: flex;\n justify-content: center;\n font-weight: 800;\n margin-bottom: 20px;\n"]))),b=d.ZP.div(r||(r=(0,p.Z)(["\n display: flex;\n justify-content: flex-end;\n font-size: 20px;\n"]))),h=d.ZP.div(i||(i=(0,p.Z)(["\n background: linear-gradient(112deg, rgba(66,46,40,1) 0%, rgba(0,0,0,1) 48%, rgba(70,63,55,1) 100%);\n background-size: 400% 400%;\n width: 500px;\n height: 600px;\n border-radius: 6px;\n padding: 15px;\n overflow-y: initial !important\n padding-bottom: 20px;\n"]))),g=d.ZP.div(o||(o=(0,p.Z)(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n background-size: contain;\n"])));t.Z=function(e){var t=e.show,n=e.onClose,a=y.useState(!1),s=(0,l.Z)(a,2),r=s[0],i=s[1];y.useEffect((function(){i(!0)}),[]);var o=t?(0,c.jsx)(g,{children:(0,c.jsxs)(h,{children:[(0,c.jsx)(b,{children:(0,c.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),n()},children:(0,c.jsx)("span",{className:"material-icons",style:{marginTop:"4px"},children:"close"})})}),(0,c.jsx)(f,{children:(0,c.jsx)("span",{className:"material-icons miui-small",style:{marginTop:"4px",color:"white"},children:"gavel"})}),(0,c.jsx)(m,{})]})}):null;return r?u.createPortal(o,document.getElementById("modal")):null}},40342:function(e,t,n){"use strict";n(67294);var a=n(85893);t.Z=function(e){var t=e.variable,n=e.mobile;return(0,a.jsxs)("button",{className:"button-tiny",style:{color:"lightgreen",marginRight:"15px",fontSize:"16px",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center"},"data-tooltip":"Total Gas Saved by Off-chain Records",children:[(0,a.jsx)("div",{className:"material-icons-round smol",style:{color:"lime",fontSize:n?"18px":"22px",marginRight:"5px"},children:"energy_savings_leaf"}),(0,a.jsx)("div",{children:(0,a.jsxs)("span",{style:{fontFamily:"SF Mono",color:"white",fontSize:n?"14px":"16px",fontWeight:"700"},children:[t||"0.00","\xa0",(0,a.jsx)("span",{style:{fontFamily:"Spotnik",fontSize:n?"12px":"14px",fontWeight:"700"},children:"ETH"})]})})]})}},62012:function(e,t,n){"use strict";n.d(t,{gk:function(){return qe},Bf:function(){return Ue},qB:function(){return Ke},K5:function(){return Le},RY:function(){return Be},iJ:function(){return ae},wU:function(){return ne},IN:function(){return M},hh:function(){return ye},bt:function(){return re},K0:function(){return ce},Hc:function(){return xe},vc:function(){return k},NA:function(){return he},vQ:function(){return ge},U8:function(){return ie},T5:function(){return Qe},vb:function(){return be},qP:function(){return de},O:function(){return pe},Th:function(){return C},yc:function(){return P},ID:function(){return N},yt:function(){return fe},TN:function(){return Ge},Wp:function(){return I},Kv:function(){return O},s8:function(){return Ae},Q1:function(){return Se},tr:function(){return je},MP:function(){return _e},rv:function(){return ze},fp:function(){return Oe},Iu:function(){return Ce},Jh:function(){return Ne},xb:function(){return ve},Io:function(){return Pe},wE:function(){return Me},Yo:function(){return De},K9:function(){return we},$o:function(){return Ee},V4:function(){return ke},A2:function(){return Ie},L3:function(){return Re},CB:function(){return Ze},MS:function(){return We},UW:function(){return Fe},IQ:function(){return Ye},Ap:function(){return se},O1:function(){return Je},hc:function(){return me},z7:function(){return E},Zv:function(){return Te},t8:function(){return Z},IX:function(){return R},YR:function(){return te},A7:function(){return oe},DR:function(){return _},dR:function(){return D}});var a=n(50029),s=n(59499),r=n(87794),i=n.n(r),o=n(63356),p=n(57734),l=JSON.parse('[{"inputs":[{"internalType":"contract ENS","name":"_old","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"label","type":"bytes32"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"NewOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"resolver","type":"address"}],"name":"NewResolver","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"NewTTL","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"old","outputs":[{"internalType":"contract ENS","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"recordExists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"resolver","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setRecord","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"resolver","type":"address"}],"name":"setResolver","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"label","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"}],"name":"setSubnodeOwner","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"label","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setSubnodeRecord","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setTTL","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"ttl","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"payable":false,"stateMutability":"view","type":"function"}]'),y=JSON.parse('[{"inputs":[{"internalType":"contract ENS","name":"_ens","type":"address"},{"internalType":"bytes32","name":"_baseNode","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"controller","type":"address"}],"name":"ControllerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"controller","type":"address"}],"name":"ControllerRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"expires","type":"uint256"}],"name":"NameMigrated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"expires","type":"uint256"}],"name":"NameRegistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"expires","type":"uint256"}],"name":"NameRenewed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[],"name":"GRACE_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"addController","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"available","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"baseNode","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"controllers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ens","outputs":[{"internalType":"contract ENS","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"nameExpires","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"reclaim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"register","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"registerOnly","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"removeController","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"renew","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"resolver","type":"address"}],"name":"setResolver","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]'),u=JSON.parse('[{"inputs":[{"internalType":"contract ENS","name":"_ens","type":"address"},{"internalType":"contract INameWrapper","name":"wrapperAddress","type":"address"},{"internalType":"address","name":"_trustedETHController","type":"address"},{"internalType":"address","name":"_trustedReverseRegistrar","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"contentType","type":"uint256"}],"name":"ABIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"a","type":"address"}],"name":"AddrChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"coinType","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"newAddress","type":"bytes"}],"name":"AddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":true,"internalType":"bool","name":"approved","type":"bool"}],"name":"Approved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"hash","type":"bytes"}],"name":"ContenthashChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"uint16","name":"resource","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"record","type":"bytes"}],"name":"DNSRecordChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"uint16","name":"resource","type":"uint16"}],"name":"DNSRecordDeleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"lastzonehash","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"zonehash","type":"bytes"}],"name":"DNSZonehashChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"bytes4","name":"interfaceID","type":"bytes4"},{"indexed":false,"internalType":"address","name":"implementer","type":"address"}],"name":"InterfaceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"NameChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"x","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"y","type":"bytes32"}],"name":"PubkeyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"string","name":"indexedKey","type":"string"},{"indexed":false,"internalType":"string","name":"key","type":"string"},{"indexed":false,"internalType":"string","name":"value","type":"string"}],"name":"TextChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"newVersion","type":"uint64"}],"name":"VersionChanged","type":"event"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"contentTypes","type":"uint256"}],"name":"ABI","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"addr","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"coinType","type":"uint256"}],"name":"addr","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"delegate","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"clearRecords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"contenthash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"name","type":"bytes32"},{"internalType":"uint16","name":"resource","type":"uint16"}],"name":"dnsRecord","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"name","type":"bytes32"}],"name":"hasDNSRecords","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"name":"interfaceImplementer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"delegate","type":"address"}],"name":"isApprovedFor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"nodehash","type":"bytes32"},{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicallWithNodeCheck","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"pubkey","outputs":[{"internalType":"bytes32","name":"x","type":"bytes32"},{"internalType":"bytes32","name":"y","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"recordVersions","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"contentType","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setABI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"coinType","type":"uint256"},{"internalType":"bytes","name":"a","type":"bytes"}],"name":"setAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"a","type":"address"}],"name":"setAddr","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":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"hash","type":"bytes"}],"name":"setContenthash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setDNSRecords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes4","name":"interfaceID","type":"bytes4"},{"internalType":"address","name":"implementer","type":"address"}],"name":"setInterface","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"newName","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"x","type":"bytes32"},{"internalType":"bytes32","name":"y","type":"bytes32"}],"name":"setPubkey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"},{"internalType":"string","name":"value","type":"string"}],"name":"setText","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"hash","type":"bytes"}],"name":"setZonehash","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":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"}],"name":"text","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"zonehash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"}]'),d=JSON.parse('[{"inputs":[{"internalType":"contract ENS","name":"_ens","type":"address"},{"internalType":"contract INameWrapper","name":"wrapperAddress","type":"address"},{"internalType":"address","name":"_trustedETHController","type":"address"},{"internalType":"address","name":"_trustedReverseRegistrar","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"contentType","type":"uint256"}],"name":"ABIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"a","type":"address"}],"name":"AddrChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"coinType","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"newAddress","type":"bytes"}],"name":"AddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":true,"internalType":"bool","name":"approved","type":"bool"}],"name":"Approved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"hash","type":"bytes"}],"name":"ContenthashChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"uint16","name":"resource","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"record","type":"bytes"}],"name":"DNSRecordChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"uint16","name":"resource","type":"uint16"}],"name":"DNSRecordDeleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"lastzonehash","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"zonehash","type":"bytes"}],"name":"DNSZonehashChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"bytes4","name":"interfaceID","type":"bytes4"},{"indexed":false,"internalType":"address","name":"implementer","type":"address"}],"name":"InterfaceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"NameChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"x","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"y","type":"bytes32"}],"name":"PubkeyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"string","name":"indexedKey","type":"string"},{"indexed":false,"internalType":"string","name":"key","type":"string"},{"indexed":false,"internalType":"string","name":"value","type":"string"}],"name":"TextChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"newVersion","type":"uint64"}],"name":"VersionChanged","type":"event"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"contentTypes","type":"uint256"}],"name":"ABI","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"addr","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"coinType","type":"uint256"}],"name":"addr","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"delegate","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"clearRecords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"contenthash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"name","type":"bytes32"},{"internalType":"uint16","name":"resource","type":"uint16"}],"name":"dnsRecord","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"name","type":"bytes32"}],"name":"hasDNSRecords","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"name":"interfaceImplementer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"delegate","type":"address"}],"name":"isApprovedFor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"nodehash","type":"bytes32"},{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicallWithNodeCheck","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"pubkey","outputs":[{"internalType":"bytes32","name":"x","type":"bytes32"},{"internalType":"bytes32","name":"y","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"recordVersions","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"resolve","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"contentType","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setABI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"coinType","type":"uint256"},{"internalType":"bytes","name":"a","type":"bytes"}],"name":"setAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"a","type":"address"}],"name":"setAddr","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":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"hash","type":"bytes"}],"name":"setContenthash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setDNSRecords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes4","name":"interfaceID","type":"bytes4"},{"internalType":"address","name":"implementer","type":"address"}],"name":"setInterface","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"newName","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"x","type":"bytes32"},{"internalType":"bytes32","name":"y","type":"bytes32"}],"name":"setPubkey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"},{"internalType":"string","name":"value","type":"string"}],"name":"setText","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"hash","type":"bytes"}],"name":"setZonehash","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":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"}],"name":"text","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"zonehash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"}]'),c=JSON.parse('[{"inputs":[{"internalType":"contract ENS","name":"_ens","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"contentType","type":"uint256"}],"name":"ABIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"a","type":"address"}],"name":"AddrChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"coinType","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"newAddress","type":"bytes"}],"name":"AddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"bool","name":"isAuthorised","type":"bool"}],"name":"AuthorisationChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"hash","type":"bytes"}],"name":"ContenthashChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"uint16","name":"resource","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"record","type":"bytes"}],"name":"DNSRecordChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"uint16","name":"resource","type":"uint16"}],"name":"DNSRecordDeleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"DNSZoneCleared","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"bytes4","name":"interfaceID","type":"bytes4"},{"indexed":false,"internalType":"address","name":"implementer","type":"address"}],"name":"InterfaceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"NameChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"x","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"y","type":"bytes32"}],"name":"PubkeyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"string","name":"indexedKey","type":"string"},{"indexed":false,"internalType":"string","name":"key","type":"string"}],"name":"TextChanged","type":"event"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"contentTypes","type":"uint256"}],"name":"ABI","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"addr","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"coinType","type":"uint256"}],"name":"addr","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"authorisations","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"clearDNSZone","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"contenthash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"name","type":"bytes32"},{"internalType":"uint16","name":"resource","type":"uint16"}],"name":"dnsRecord","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"name","type":"bytes32"}],"name":"hasDNSRecords","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"name":"interfaceImplementer","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"pubkey","outputs":[{"internalType":"bytes32","name":"x","type":"bytes32"},{"internalType":"bytes32","name":"y","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"contentType","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setABI","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"coinType","type":"uint256"},{"internalType":"bytes","name":"a","type":"bytes"}],"name":"setAddr","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"a","type":"address"}],"name":"setAddr","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"target","type":"address"},{"internalType":"bool","name":"isAuthorised","type":"bool"}],"name":"setAuthorisation","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"hash","type":"bytes"}],"name":"setContenthash","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setDNSRecords","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes4","name":"interfaceID","type":"bytes4"},{"internalType":"address","name":"implementer","type":"address"}],"name":"setInterface","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"name","type":"string"}],"name":"setName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"x","type":"bytes32"},{"internalType":"bytes32","name":"y","type":"bytes32"}],"name":"setPubkey","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"},{"internalType":"string","name":"value","type":"string"}],"name":"setText","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"}],"name":"text","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"}]'),m=JSON.parse('[{"inputs":[{"internalType":"contract ENS","name":"_ens","type":"address"},{"internalType":"contract INameWrapper","name":"wrapperAddress","type":"address"},{"internalType":"address","name":"_trustedETHController","type":"address"},{"internalType":"address","name":"_trustedReverseRegistrar","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"contentType","type":"uint256"}],"name":"ABIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"a","type":"address"}],"name":"AddrChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"coinType","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"newAddress","type":"bytes"}],"name":"AddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":true,"internalType":"bool","name":"approved","type":"bool"}],"name":"Approved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"hash","type":"bytes"}],"name":"ContenthashChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"uint16","name":"resource","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"record","type":"bytes"}],"name":"DNSRecordChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"uint16","name":"resource","type":"uint16"}],"name":"DNSRecordDeleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"lastzonehash","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"zonehash","type":"bytes"}],"name":"DNSZonehashChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"bytes4","name":"interfaceID","type":"bytes4"},{"indexed":false,"internalType":"address","name":"implementer","type":"address"}],"name":"InterfaceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"NameChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"x","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"y","type":"bytes32"}],"name":"PubkeyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"string","name":"indexedKey","type":"string"},{"indexed":false,"internalType":"string","name":"key","type":"string"},{"indexed":false,"internalType":"string","name":"value","type":"string"}],"name":"TextChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"newVersion","type":"uint64"}],"name":"VersionChanged","type":"event"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"contentTypes","type":"uint256"}],"name":"ABI","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"addr","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"coinType","type":"uint256"}],"name":"addr","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"delegate","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"clearRecords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"contenthash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"name","type":"bytes32"},{"internalType":"uint16","name":"resource","type":"uint16"}],"name":"dnsRecord","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"name","type":"bytes32"}],"name":"hasDNSRecords","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"name":"interfaceImplementer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"delegate","type":"address"}],"name":"isApprovedFor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"nodehash","type":"bytes32"},{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicallWithNodeCheck","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"pubkey","outputs":[{"internalType":"bytes32","name":"x","type":"bytes32"},{"internalType":"bytes32","name":"y","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"recordVersions","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"contentType","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setABI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"coinType","type":"uint256"},{"internalType":"bytes","name":"a","type":"bytes"}],"name":"setAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"a","type":"address"}],"name":"setAddr","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":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"hash","type":"bytes"}],"name":"setContenthash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setDNSRecords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes4","name":"interfaceID","type":"bytes4"},{"internalType":"address","name":"implementer","type":"address"}],"name":"setInterface","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"newName","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"x","type":"bytes32"},{"internalType":"bytes32","name":"y","type":"bytes32"}],"name":"setPubkey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"},{"internalType":"string","name":"value","type":"string"}],"name":"setText","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"hash","type":"bytes"}],"name":"setZonehash","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":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"}],"name":"text","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"zonehash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"}]'),f=JSON.parse('[{"inputs":[{"internalType":"contract ENS","name":"_ens","type":"address"},{"internalType":"contract IBaseRegistrar","name":"_registrar","type":"address"},{"internalType":"contract IMetadataService","name":"_metadataService","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CannotUpgrade","type":"error"},{"inputs":[],"name":"IncompatibleParent","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"IncorrectTargetOwner","type":"error"},{"inputs":[],"name":"IncorrectTokenType","type":"error"},{"inputs":[{"internalType":"bytes32","name":"labelHash","type":"bytes32"},{"internalType":"bytes32","name":"expectedLabelhash","type":"bytes32"}],"name":"LabelMismatch","type":"error"},{"inputs":[{"internalType":"string","name":"label","type":"string"}],"name":"LabelTooLong","type":"error"},{"inputs":[],"name":"LabelTooShort","type":"error"},{"inputs":[],"name":"NameIsNotWrapped","type":"error"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"OperationProhibited","type":"error"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"addr","type":"address"}],"name":"Unauthorised","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"controller","type":"address"},{"indexed":false,"internalType":"bool","name":"active","type":"bool"}],"name":"ControllerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"ExpiryExtended","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint32","name":"fuses","type":"uint32"}],"name":"FusesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"NameUnwrapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint32","name":"fuses","type":"uint32"},{"indexed":false,"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"NameWrapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_tokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint32","name":"fuseMask","type":"uint32"}],"name":"allFusesBurned","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"addr","type":"address"}],"name":"canExtendSubnames","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"addr","type":"address"}],"name":"canModifyName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"controllers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ens","outputs":[{"internalType":"contract ENS","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"bytes32","name":"labelhash","type":"bytes32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"extendExpiry","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"operator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getData","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint32","name":"fuses","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"bytes32","name":"labelhash","type":"bytes32"}],"name":"isWrapped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"isWrapped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataService","outputs":[{"internalType":"contract IMetadataService","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"names","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"recoverFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"wrappedOwner","type":"address"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint16","name":"ownerControlledFuses","type":"uint16"}],"name":"registerAndWrapETH2LD","outputs":[{"internalType":"uint256","name":"registrarExpiry","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"registrar","outputs":[{"internalType":"contract IBaseRegistrar","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"renew","outputs":[{"internalType":"uint256","name":"expires","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"bytes32","name":"labelhash","type":"bytes32"},{"internalType":"uint32","name":"fuses","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"setChildFuses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"},{"internalType":"bool","name":"active","type":"bool"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint16","name":"ownerControlledFuses","type":"uint16"}],"name":"setFuses","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMetadataService","name":"_metadataService","type":"address"}],"name":"setMetadataService","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setRecord","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"resolver","type":"address"}],"name":"setResolver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint32","name":"fuses","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"setSubnodeOwner","outputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"},{"internalType":"uint32","name":"fuses","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"setSubnodeRecord","outputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setTTL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract INameWrapperUpgrade","name":"_upgradeAddress","type":"address"}],"name":"setUpgradeContract","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"bytes32","name":"labelhash","type":"bytes32"},{"internalType":"address","name":"controller","type":"address"}],"name":"unwrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"labelhash","type":"bytes32"},{"internalType":"address","name":"registrant","type":"address"},{"internalType":"address","name":"controller","type":"address"}],"name":"unwrapETH2LD","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"name","type":"bytes"},{"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"upgradeContract","outputs":[{"internalType":"contract INameWrapperUpgrade","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"name","type":"bytes"},{"internalType":"address","name":"wrappedOwner","type":"address"},{"internalType":"address","name":"resolver","type":"address"}],"name":"wrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"wrappedOwner","type":"address"},{"internalType":"uint16","name":"ownerControlledFuses","type":"uint16"},{"internalType":"address","name":"resolver","type":"address"}],"name":"wrapETH2LD","outputs":[{"internalType":"uint64","name":"expiry","type":"uint64"}],"stateMutability":"nonpayable","type":"function"}]'),b=JSON.parse('[{"inputs":[{"internalType":"contract ENS","name":"_ens","type":"address"},{"internalType":"contract IBaseRegistrar","name":"_registrar","type":"address"},{"internalType":"contract IMetadataService","name":"_metadataService","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CannotUpgrade","type":"error"},{"inputs":[],"name":"IncompatibleParent","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"IncorrectTargetOwner","type":"error"},{"inputs":[],"name":"IncorrectTokenType","type":"error"},{"inputs":[{"internalType":"bytes32","name":"labelHash","type":"bytes32"},{"internalType":"bytes32","name":"expectedLabelhash","type":"bytes32"}],"name":"LabelMismatch","type":"error"},{"inputs":[{"internalType":"string","name":"label","type":"string"}],"name":"LabelTooLong","type":"error"},{"inputs":[],"name":"LabelTooShort","type":"error"},{"inputs":[],"name":"NameIsNotWrapped","type":"error"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"OperationProhibited","type":"error"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"addr","type":"address"}],"name":"Unauthorised","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"controller","type":"address"},{"indexed":false,"internalType":"bool","name":"active","type":"bool"}],"name":"ControllerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"ExpiryExtended","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint32","name":"fuses","type":"uint32"}],"name":"FusesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"NameUnwrapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint32","name":"fuses","type":"uint32"},{"indexed":false,"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"NameWrapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_tokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint32","name":"fuseMask","type":"uint32"}],"name":"allFusesBurned","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"addr","type":"address"}],"name":"canExtendSubnames","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"addr","type":"address"}],"name":"canModifyName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"controllers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ens","outputs":[{"internalType":"contract ENS","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"bytes32","name":"labelhash","type":"bytes32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"extendExpiry","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"operator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getData","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint32","name":"fuses","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"bytes32","name":"labelhash","type":"bytes32"}],"name":"isWrapped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"isWrapped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataService","outputs":[{"internalType":"contract IMetadataService","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"names","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"recoverFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"wrappedOwner","type":"address"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint16","name":"ownerControlledFuses","type":"uint16"}],"name":"registerAndWrapETH2LD","outputs":[{"internalType":"uint256","name":"registrarExpiry","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"registrar","outputs":[{"internalType":"contract IBaseRegistrar","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"renew","outputs":[{"internalType":"uint256","name":"expires","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"bytes32","name":"labelhash","type":"bytes32"},{"internalType":"uint32","name":"fuses","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"setChildFuses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"},{"internalType":"bool","name":"active","type":"bool"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint16","name":"ownerControlledFuses","type":"uint16"}],"name":"setFuses","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMetadataService","name":"_metadataService","type":"address"}],"name":"setMetadataService","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setRecord","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"resolver","type":"address"}],"name":"setResolver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint32","name":"fuses","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"setSubnodeOwner","outputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"},{"internalType":"uint32","name":"fuses","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"setSubnodeRecord","outputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setTTL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract INameWrapperUpgrade","name":"_upgradeAddress","type":"address"}],"name":"setUpgradeContract","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"bytes32","name":"labelhash","type":"bytes32"},{"internalType":"address","name":"controller","type":"address"}],"name":"unwrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"labelhash","type":"bytes32"},{"internalType":"address","name":"registrant","type":"address"},{"internalType":"address","name":"controller","type":"address"}],"name":"unwrapETH2LD","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"name","type":"bytes"},{"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"upgradeContract","outputs":[{"internalType":"contract INameWrapperUpgrade","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"name","type":"bytes"},{"internalType":"address","name":"wrappedOwner","type":"address"},{"internalType":"address","name":"resolver","type":"address"}],"name":"wrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"wrappedOwner","type":"address"},{"internalType":"uint16","name":"ownerControlledFuses","type":"uint16"},{"internalType":"address","name":"resolver","type":"address"}],"name":"wrapETH2LD","outputs":[{"internalType":"uint64","name":"expiry","type":"uint64"}],"stateMutability":"nonpayable","type":"function"}]'),h=JSON.parse('[{"inputs":[{"internalType":"address","name":"_gateway","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"BadConfig","type":"error"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"InvalidRequest","type":"error"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"InvalidSignature","type":"error"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"NotAuthorised","type":"error"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"string[]","name":"_gateways","type":"string[]"},{"internalType":"bytes","name":"_data","type":"bytes"},{"internalType":"bytes4","name":"_callbackFunction","type":"bytes4"},{"internalType":"bytes","name":"_extradata","type":"bytes"}],"name":"OffchainLookup","type":"error"},{"inputs":[],"name":"PlsFundDevs","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":true,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovedSigner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAddr","type":"address"},{"indexed":true,"internalType":"address","name":"newAddr","type":"address"}],"name":"GatewayUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes4","name":"sig","type":"bytes4"},{"indexed":true,"internalType":"bool","name":"status","type":"bool"}],"name":"InterfaceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"contenthash","type":"bytes"}],"name":"RecordhashUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"},{"indexed":true,"internalType":"uint256","name":"value","type":"uint256"}],"name":"ThankYou","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddr","type":"address"},{"indexed":true,"internalType":"bool","name":"status","type":"bool"}],"name":"UpdatedWrapper","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"ENS","outputs":[{"internalType":"contract iENS","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"response","type":"bytes"},{"internalType":"bytes","name":"extradata","type":"bytes"}],"name":"__callback","outputs":[{"internalType":"bytes","name":"result","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"address","name":"_signer","type":"address"},{"internalType":"bool","name":"_approval","type":"bool"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"address","name":"_signer","type":"address"}],"name":"approved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_approvedSigner","type":"address"},{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"string","name":"_domain","type":"string"}],"name":"approvedSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gateway","outputs":[{"internalType":"contract iGatewayManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"}],"name":"getRecordhash","outputs":[{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_message","type":"string"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"getSigner","outputs":[{"internalType":"address","name":"_signer","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWrapper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_node","type":"bytes32[]"},{"internalType":"address[]","name":"_signer","type":"address[]"},{"internalType":"bool[]","name":"_approval","type":"bool[]"}],"name":"multiApprove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerhashFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"recordhash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_encoded","type":"bytes"},{"internalType":"bytes","name":"_requested","type":"bytes"}],"name":"redirectService","outputs":[{"internalType":"bytes4","name":"_selector","type":"bytes4"},{"internalType":"bytes32","name":"_namehash","type":"bytes32"},{"internalType":"bytes","name":"_redirectRequest","type":"bytes"},{"internalType":"string","name":"domain","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"name","type":"bytes"},{"internalType":"bytes","name":"request","type":"bytes"}],"name":"resolve","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"_token","type":"uint256"}],"name":"safeWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"string[]","name":"_subdomain","type":"string[]"},{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"name":"setDeepSubRecordhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"name":"setOwnerhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"name":"setRecordhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_recordhash","type":"bytes32"}],"name":"setShortOwnerhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"bytes32","name":"_recordhash","type":"bytes32"}],"name":"setShortRecordhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"string","name":"_subdomain","type":"string"},{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"name":"setSubRecordhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"updateChainID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gateway","type":"address"}],"name":"updateGateway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_sig","type":"bytes4"},{"internalType":"bool","name":"_set","type":"bool"}],"name":"updateInterface","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wei","type":"uint256"}],"name":"updateOwnerhashFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"bool","name":"_set","type":"bool"}],"name":"updateWrapper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"_balance","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]'),g=JSON.parse('[{"inputs":[{"internalType":"address","name":"_gateway","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"BadConfig","type":"error"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"InvalidRequest","type":"error"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"InvalidSignature","type":"error"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"NotAuthorised","type":"error"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"string[]","name":"_gateways","type":"string[]"},{"internalType":"bytes","name":"_data","type":"bytes"},{"internalType":"bytes4","name":"_callbackFunction","type":"bytes4"},{"internalType":"bytes","name":"_extradata","type":"bytes"}],"name":"OffchainLookup","type":"error"},{"inputs":[],"name":"PlsFundDevs","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":true,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovedSigner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAddr","type":"address"},{"indexed":true,"internalType":"address","name":"newAddr","type":"address"}],"name":"GatewayUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes4","name":"sig","type":"bytes4"},{"indexed":true,"internalType":"bool","name":"status","type":"bool"}],"name":"InterfaceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"contenthash","type":"bytes"}],"name":"RecordhashUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"},{"indexed":true,"internalType":"uint256","name":"value","type":"uint256"}],"name":"ThankYou","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddr","type":"address"},{"indexed":true,"internalType":"bool","name":"status","type":"bool"}],"name":"UpdatedWrapper","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"ENS","outputs":[{"internalType":"contract iENS","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"response","type":"bytes"},{"internalType":"bytes","name":"extradata","type":"bytes"}],"name":"__callback","outputs":[{"internalType":"bytes","name":"result","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"address","name":"_signer","type":"address"},{"internalType":"bool","name":"_approval","type":"bool"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"address","name":"_signer","type":"address"}],"name":"approved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_approvedSigner","type":"address"},{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"string","name":"_domain","type":"string"}],"name":"approvedSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gateway","outputs":[{"internalType":"contract iGatewayManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"}],"name":"getRecordhash","outputs":[{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_message","type":"string"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"getSigner","outputs":[{"internalType":"address","name":"_signer","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWrapper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_node","type":"bytes32[]"},{"internalType":"address[]","name":"_signer","type":"address[]"},{"internalType":"bool[]","name":"_approval","type":"bool[]"}],"name":"multiApprove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerhashFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"recordhash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_encoded","type":"bytes"},{"internalType":"bytes","name":"_requested","type":"bytes"}],"name":"redirectService","outputs":[{"internalType":"bytes4","name":"_selector","type":"bytes4"},{"internalType":"bytes32","name":"_namehash","type":"bytes32"},{"internalType":"bytes","name":"_redirectRequest","type":"bytes"},{"internalType":"string","name":"domain","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"name","type":"bytes"},{"internalType":"bytes","name":"request","type":"bytes"}],"name":"resolve","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"_token","type":"uint256"}],"name":"safeWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"string[]","name":"_subdomain","type":"string[]"},{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"name":"setDeepSubRecordhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"name":"setOwnerhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"name":"setRecordhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_recordhash","type":"bytes32"}],"name":"setShortOwnerhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"bytes32","name":"_recordhash","type":"bytes32"}],"name":"setShortRecordhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"string","name":"_subdomain","type":"string"},{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"name":"setSubRecordhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"updateChainID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gateway","type":"address"}],"name":"updateGateway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_sig","type":"bytes4"},{"internalType":"bool","name":"_set","type":"bool"}],"name":"updateInterface","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wei","type":"uint256"}],"name":"updateOwnerhashFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"bool","name":"_set","type":"bool"}],"name":"updateWrapper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"_balance","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]'),x=n(67191),v=n(21429);n(34155);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function w(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){o=!0,r=e},f:function(){try{i||null==n.return||n.return()}finally{if(o)throw r}}}}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);nenergy_savings_leaf

Gasless ENS Records','hub

Decentralised Records Storage on IPFS','recycling

Unlimited Record Updates With IPNS','badge

Dynamic Records and Private Payments','

Enjoy ENS Hassle Free'],ue=[h,g],de=[{addressOrName:pe[0],contractInterface:le[0]},{addressOrName:pe[1],contractInterface:le[1]},{addressOrName:pe[2],contractInterface:le[2]},{addressOrName:pe[3],contractInterface:le[3]},{addressOrName:pe[4],contractInterface:le[4]},{addressOrName:pe[5],contractInterface:le[5]},{addressOrName:pe[6],contractInterface:le[6]},{addressOrName:pe[7],contractInterface:le[7]}],ce=[{addressOrName:re[0],contractInterface:ue[0]},{addressOrName:re[1],contractInterface:ue[1]}];function me(e){var t=document.getElementById("overlay");t&&(t.style.display="block",setTimeout((function(){!function(){var e=document.getElementById("overlay");e&&(e.style.display="none")}()}),1e3*e))}function fe(e){return"08011240"+e[0]+e[1]}function be(e){return e&&!e.startsWith("https://")?x.vb("ipns://".concat(e)).encoded:""}function he(e,t){var n=document.createElement("input");n.value=e,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n);var a=document.getElementById(t);a&&(a.style.color,a.style.color="white",setTimeout((function(){"lightgreen"===a.style.color?a.style.color="white":a.style.color="lightgreen"}),2e3))}function ge(e){var t=document.getElementById(e);t.select(),t.setSelectionRange(0,99999),navigator.clipboard.writeText(t.value).then((function(){})).catch((function(e){console.error("ERROR:",e)}))}function xe(e){return new Promise((function(t,n){var a=new Image;a.onload=function(){t(!0)},a.onerror=function(){console.error("Image Failed to Load"),n(!1)},a.src=e}))}function ve(e){for(var t in e)if(e.hasOwnProperty(t)&&""!==e[t])return!1;return!0}function Te(e){return e.slice(0,2)+(e.slice(2,6)+"..."+e.slice(-4))}function we(e){return e.endsWith(".eth")&&e.length<=36}function Se(e){return e.startsWith("0x")&&42===e.length&&B.test(e.split("0x")[1])}function je(e){return L.test(e)||e.startsWith("ipfs://")&&(W.test(e)||z.test(e))||e.startsWith("eip155:")}function ke(e){return e.length>0}function Ne(e){return G.test(e)}function Me(e){return q.test(e)}function Ze(e){return L.test(e)}function Re(e){return U.test(e)}function Ce(e){return H.test(e)}function Pe(e){return J.test(e)}function Ee(e){return V.test(e)||G.test(e)}function _e(e){return V.test(e)}function De(e){return Y.test(e)}function Oe(e){return $.test(e)}function Ie(e){return Q.test(e)}function Ae(e){return X.test(e)}function We(e){return K.test(e)}function ze(e){var t=e.substring(0,7),n=e.substring(0,8);return"ipns://"===t&&A.test(e.substring(7))||"ipfs://"===t&&W.test(e.substring(7))||"ipfs://"===t&&z.test(e.substring(7))||"onion://"===n&&F.test(e.substring(8))}function Fe(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&!["revision","version"].includes(n)&&e[n]&&t.push(Number(e[n]));return Math.max.apply(Math,t)}function Le(){var e,t={},n=S(Z);try{for(n.s();!(e=n.n()).done;){var a=e.value;k.includes(a)||(t[a]="")}}catch(s){n.e(s)}finally{n.f()}return t}function Be(){var e,t={},n=S(R);try{for(n.s();!(e=n.n()).done;){t[e.value]=""}}catch(a){n.e(a)}finally{n.f()}return t}function qe(){var e,t={},n=S(Z);try{for(n.s();!(e=n.n()).done;){var a=e.value;t[a]=!![].concat(k,["revision"]).includes(a)}}catch(s){n.e(s)}finally{n.f()}return t}var Ue={type:"",addr:"",contenthash:"",avatar:"",revision:"",version:"",timestamp:w({},Le()),queue:1,ownerstamp:[]},Ke={type:"",stealth:"",rsa:"",revision:"",version:"",timestamp:w({},Be()),queue:1,ownerstamp:[]};function Ge(e,t){return He.apply(this,arguments)}function He(){return(He=(0,a.Z)(i().mark((function e(t,n){var a,s;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("https://".concat(t,".ipfs2.eth.limo/revision.json?t=").concat(String(n)));case 3:if((a=e.sent).ok){e.next=7;break}return console.error("Error:","Fetch Gone Wrong"),e.abrupt("return",{_value:"//",_sequence:""});case 7:return e.next=9,a.json();case 9:return s=e.sent,e.abrupt("return",{_value:s.ipfs?"/ipfs/".concat(s.ipfs):"//",_sequence:s.sequence||""});case 13:return e.prev=13,e.t0=e.catch(0),console.error("Error:",e.t0),e.abrupt("return",{_value:"//",_sequence:""});case 17:case"end":return e.stop()}}),e,null,[[0,13]])})))).apply(this,arguments)}function Je(e){for(var t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",a=n.length,s=0;s=4?n="0x".concat(r().encode("ipfs-ns",t)):"ipns"===e?n="0x".concat(r().encode("ipns-ns",t)):"bzz"===e&&t.length>=4?n="0x".concat(r().fromSwarm(t)):"onion"===e&&16===t.length?n="0x".concat(r().encode("onion",t)):"onion3"===e&&56===t.length?n="0x".concat(r().encode("onion3",t)):"sia"===e&&46===t.length?n="0x".concat(r().encode("skynet-ns",t)):"arweave"===e&&43===t.length?n="0x".concat(r().encode("arweave-ns",t)):a="Invalid content id"}catch(s){a=s instanceof Error?s.message:String(s)}return{encoded:n,error:a}}(n[1],n[2])}},36490:function(e,t,n){"use strict";n.d(t,{x_:function(){return u}});var a=n(50029),s=n(87794),r=n.n(s),i=n(24978),o=n(35689),p=n(26894),l=n(11606),y=n(27760);n(21429);try{fetch}catch(c){}function u(e,t,n,a){return d.apply(this,arguments)}function d(){return(d=(0,a.Z)(r().mark((function e(t,n,a,s){var u,d,c,m,f,b,h,g;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(a.length<64)){e.next=2;break}throw new Error("SIGNATURE TOO SHORT; LENGTH SHOULD BE 65 BYTES");case 2:return u=(0,l.J)(i.UG.hexToBytes(a.toLowerCase().startsWith("0x")?a.slice(2):a)),d="".concat(n,":").concat(t),c=(0,l.J)("".concat(d,":").concat(s||"",":").concat(a.slice(-64))),m=(0,p.Di)(l.J,u,c,d,42),f=o.P6.hashToPrivateScalar(m).toString(16).padStart(64,"0"),e.t0=i.UG,e.next=10,o.$3(f);case 10:return e.t1=e.sent,b=e.t0.bytesToHex.call(e.t0,e.t1),h=y.P6.bytesToHex(y.P6.hashToPrivateKey(m)),g=y.P6.bytesToHex(y.$3(h)),e.abrupt("return",[[f,b],[h,g]]);case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},71775:function(e,t,n){"use strict";n.d(t,{I7:function(){return d},Yy:function(){return m},cU:function(){return y}});var a=n(50029),s=n(87794),r=n.n(s),i=n(62012),o=n(64146),p=n(27586),l=n(16441);function y(e,t,n){return u.apply(this,arguments)}function u(){return(u=(0,a.Z)(r().mark((function e(t,n,a){var s,y,u;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=new o.CH(n.addressOrName,n.contractInterface,i.Ap),e.next=3,s.getRecordhash(p.VM(t));case 3:return y=e.sent,e.next=6,s.getRecordhash(l.hexZeroPad(a,32).toLowerCase());case 6:return u=e.sent,e.abrupt("return",new Promise((function(e,t){y?e("0x"===String(y)||String(y)===String(u)?"0":String(y).startsWith("0x6874")?"2":"1"):t(new Error("Failed to fetch Recordhash"))})));case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function d(e,t,n){return c.apply(this,arguments)}function c(){return(c=(0,a.Z)(r().mark((function e(t,n,a){var s,y,u;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=new o.CH(n.addressOrName,n.contractInterface,i.Ap),e.next=3,s.getRecordhash(p.VM(t));case 3:return y=e.sent,e.next=6,s.getRecordhash(l.hexZeroPad(a,32).toLowerCase());case 6:return u=e.sent,e.abrupt("return",new Promise((function(e,t){y?e("0x"===String(y)?["0x",!1]:String(y)===String(u)?[String(u),!1]:[String(y),!0]):t(new Error("Failed to fetch Recordhash"))})));case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(e,t){return f.apply(this,arguments)}function f(){return(f=(0,a.Z)(r().mark((function e(t,n){var a,s;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=new o.CH(t.addressOrName,t.contractInterface,i.Ap),e.next=3,a.getRecordhash(l.hexZeroPad(n,32).toLowerCase());case 3:return s=e.sent,e.abrupt("return",new Promise((function(e,t){s?e("0x"!==String(s)?String(s).startsWith("0x6874")?"2":"1":"0"):t(new Error("Failed to fetch Ownerhash"))})));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},88677:function(){},62808:function(){},43094:function(){},95856:function(){},69159:function(){},46601:function(){},33397:function(){},62678:function(){},25819:function(){},24112:function(){}}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9361],{88006:function(e,t,n){"use strict";var a,s,r,i,o,p=n(71383),l=n(16835),y=n(67294),u=n(73935),d=n(14141),c=n(22794),m=n(85893),f=d.ZP.div(a||(a=(0,p.Z)(["\n padding-top: 10px;\n padding-left: 20px;\n padding-right: 20px;\n padding-bottom: 15px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n"]))),b=d.ZP.div(s||(s=(0,p.Z)(["\n margin-top: -10px;\n font-size: 17px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n font-weight: 700;\n margin-bottom: 0px;\n color: white;\n padding-left: 20px;\n padding-right: 20px;\n color: cyan;\n"]))),h=d.ZP.div(r||(r=(0,p.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),g=d.ZP.div(i||(i=(0,p.Z)(["\n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: 450px;\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n padding: 5px;\n"]))),x=d.ZP.div(o||(o=(0,p.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100vh;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"])));t.Z=function(e){var t=e.show,n=e.onClose,a=e.children,s=e.handleModalData,r=e.handleTrigger,i=y.useState(!1),o=(0,l.Z)(i,2),p=o[0],d=o[1],v=y.useState(!1),T=(0,l.Z)(v,2),w=T[0],S=T[1],j=y.useState(""),k=(0,l.Z)(j,2),N=k[0],M=k[1];y.useEffect((function(){d(!0)}),[]);var Z=function(e){s(e),r(!0),n()},R=t?(0,m.jsxs)(x,{children:[(0,m.jsxs)(g,{children:[(0,m.jsx)(h,{children:(0,m.jsx)("a",{href:"#",onClick:function(e){s(void 0),r(!1),e.preventDefault(),n()},children:(0,m.jsx)("span",{className:"material-icons",children:"close"})})}),t&&(0,m.jsx)(b,{children:(0,m.jsx)("div",{className:"material-icons",style:{marginTop:"4px",fontSize:"66px"},children:"notification_important"})}),(0,m.jsx)(f,{children:(0,m.jsxs)("div",{className:"flex-column",style:{marginTop:"10px",marginBottom:"10px"},children:["1"===a&&(0,m.jsxs)("div",{style:{lineHeight:"16px",fontWeight:"700",fontSize:"15px"},children:[(0,m.jsx)("span",{style:{lineHeight:"20px"},children:"Beware that will set a new on-chain"}),"\xa0",(0,m.jsx)("span",{style:{color:"cyan",fontWeight:"700",lineHeight:"20px"},children:"Recordhash"}),"\xa0Or\xa0",(0,m.jsx)("span",{style:{color:"cyan",fontWeight:"700",lineHeight:"20px"},children:"Gateway"}),". If you intend to set a global\xa0",(0,m.jsx)("span",{style:{color:"cyan",fontWeight:"700",lineHeight:"20px"},children:"Ownerhash"}),",\xa0please update it in\xa0",(0,m.jsx)("span",{style:{color:"orange",fontWeight:"700",lineHeight:"20px"},children:"UTILS"}),"\xa0tab"]}),"0"===a&&(0,m.jsxs)("div",{style:{lineHeight:"16px",fontWeight:"700",fontSize:"15px"},children:[(0,m.jsx)("span",{style:{lineHeight:"20px"},children:"This will set a new on-chain"}),"\xa0",(0,m.jsx)("span",{style:{color:"cyan",fontWeight:"700",lineHeight:"20px"},children:"Ownerhash"}),"\xa0Or\xa0",(0,m.jsx)("span",{style:{color:"cyan",fontWeight:"700",lineHeight:"20px"},children:"HTTP Gateway"})]}),(0,m.jsxs)("div",{className:"flex-row",style:{marginLeft:"25px"},children:[(0,m.jsx)("button",{className:"button-option",style:{height:"35px",width:"175px",marginTop:"20px",fontSize:"15px",fontWeight:"700"},onClick:function(){Z("0")},"data-tooltip":"0"===a?"Continue With Ownerhash":"Continue With Recordhash",children:(0,m.jsxs)("div",{className:"flex-row",children:["0"===a?"Ownerhash":"Recordhash","\xa0",(0,m.jsx)("span",{className:"material-icons chonk",children:"hub"})]})}),(0,m.jsx)("button",{className:"button-tiny",onClick:function(){S(!0),M(''.concat("0"===a?"Ownerhash":"Recordhash"," is specific to one ").concat("0"===a?"wallet":"name",' and it is the permissionless and decentralised option'))},"data-tooltip":"Enlighten Me",children:(0,m.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px",marginTop:"16px"},children:"info_outline"})})]}),(0,m.jsxs)("div",{className:"flex-row",style:{marginLeft:"25px"},children:[(0,m.jsx)("button",{className:"button-option",style:{height:"35px",width:"175px",marginTop:"15px",fontSize:"15px",fontWeight:"700"},onClick:function(){Z("1")},"data-tooltip":"Continue With HTTP Gateway",disabled:!a,children:(0,m.jsxs)("div",{className:"flex-row",children:["HTTP Gateway","\xa0",(0,m.jsx)("span",{className:"material-icons chonk",children:"dns"})]})}),(0,m.jsx)("button",{className:"button-tiny",onClick:function(){S(!0),M('HTTP Gateway could point to a web2 gateway or L2 proxy')},"data-tooltip":"Continue With Gateway",children:(0,m.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px",marginTop:"16px"},children:"info_outline"})})]})]})})]}),(0,m.jsx)("div",{id:"modal-inner",children:(0,m.jsx)(c.Z,{color:"cyan",icon:"info",onClose:function(){return S(!1)},show:w,position:"",children:N})})]}):null;return p?u.createPortal(R,document.getElementById("modal")):null}},64637:function(e,t,n){"use strict";var a,s,r,i,o,p=n(71383),l=n(16835),y=n(67294),u=n(73935),d=n(14141),c=n(85893),m=d.ZP.div(a||(a=(0,p.Z)(["\n padding-top: 20px;\n padding-left: 20px;\n padding-right: 20px;\n padding-bottom: 10px;\n display: flex;\n height: auto;\n justify-content: center;\n overflow-y: auto;\n font-size: 18px;\n color: white;\n font-weight: 700;\n text-align: center;\n align-items: center;\n line-height: 20px;\n"]))),f=d.ZP.div(s||(s=(0,p.Z)(["\n font-size: 18px;\n display: flex;\n justify-content: center;\n font-weight: 700;\n color: white;\n margin-top: -20px;\n"]))),b=d.ZP.div(r||(r=(0,p.Z)(["\n display: flex;\n justify-content: flex-end;\n font-size: 20px;\n"]))),h=d.ZP.div(i||(i=(0,p.Z)(["\n position: fixed;\n background: red;\n width: 400px;\n height: auto;\n border-radius: 6px;\n padding: 15px;\n overflow-y: initial !important\n padding-bottom: 20px;\n justify-content: center;\n"]))),g=d.ZP.div(o||(o=(0,p.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"])));t.Z=function(e){var t=e.show,n=e.onClose,a=(e.color,e.title),s=e.children,r=y.useState(!1),i=(0,l.Z)(r,2),o=i[0],p=i[1];y.useEffect((function(){p(!0)}),[]);var d=t?(0,c.jsx)(g,{children:(0,c.jsxs)(h,{children:[(0,c.jsx)(b,{children:(0,c.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),n()},children:(0,c.jsx)("span",{className:"material-icons",children:"cancel"})})}),a&&(0,c.jsx)(f,{children:(0,c.jsx)("div",{className:"flex-column",children:(0,c.jsx)("div",{className:"material-icons miui-small",children:a})})}),(0,c.jsx)(m,{dangerouslySetInnerHTML:{__html:s}})]})}):null;return o?u.createPortal(d,document.getElementById("modal")):null}},92673:function(e,t,n){"use strict";var a,s,r,i,o,p=n(71383),l=n(16835),y=n(67294),u=n(73935),d=n(14141),c=n(85893),m=d.ZP.div(a||(a=(0,p.Z)(["\n padding-top: 10px;\n padding-left: 20px;\n padding-right: 40px;\n padding-bottom: 20px;\n display: flex;\n justify-content: center;\n height: 500px;\n overflow-y: auto;\n color: white;\n"]))),f=d.ZP.div(s||(s=(0,p.Z)(["\n padding-top: 0px;\n font-size: 22px;\n display: flex;\n justify-content: center;\n font-weight: 800;\n margin-bottom: 20px;\n color: white;\n"]))),b=d.ZP.div(r||(r=(0,p.Z)(["\n display: flex;\n justify-content: flex-end;\n font-size: 20px;\n"]))),h=d.ZP.div(i||(i=(0,p.Z)(["\n background: linear-gradient(112deg, rgba(66,46,40,1) 0%, rgba(0,0,0,1) 48%, rgba(70,63,55,1) 100%);\n background-size: 400% 400%;\n width: 500px;\n height: 600px;\n border-radius: 6px;\n padding: 15px;\n overflow-y: initial !important\n padding-bottom: 20px;\n"]))),g=d.ZP.div(o||(o=(0,p.Z)(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"])));t.Z=function(e){var t=e.show,n=e.onClose,a=y.useState(!1),s=(0,l.Z)(a,2),r=s[0],i=s[1];y.useEffect((function(){i(!0)}),[]);var o=t?(0,c.jsx)(g,{children:(0,c.jsxs)(h,{children:[(0,c.jsx)(b,{children:(0,c.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),n()},children:(0,c.jsx)("span",{className:"material-icons",style:{marginTop:"4px"},children:"close"})})}),(0,c.jsx)(f,{children:(0,c.jsx)("span",{className:"material-icons miui-small",style:{marginTop:"4px"},children:"info_outline"})}),(0,c.jsx)(m,{})]})}):null;return r?u.createPortal(o,document.getElementById("modal")):null}},27921:function(e,t,n){"use strict";var a,s,r,i,o,p=n(71383),l=n(16835),y=n(67294),u=n(85518),d=n(73935),c=n(14141),m=n(22794),f=n(62012),b=n(85893),h=c.ZP.div(a||(a=(0,p.Z)(["\n padding-top: 5px;\n padding-left: 20px;\n padding-right: 20px;\n padding-bottom: 25px;\n display: flex;_\n justify-content: center;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n margin-top: -15px;\n"]))),g=c.ZP.div(s||(s=(0,p.Z)(["\n margin-top: -15px;\n font-size: 14px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n font-weight: 700;\n margin-bottom: 15px;\n color: white;\n padding-left: 20px;\n padding-right: 20px;\n color: cyan;\n"]))),x=c.ZP.div(r||(r=(0,p.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),v=c.ZP.div(i||(i=(0,p.Z)(["\n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: 400px;\n max-width: ",";\n height: 220px;\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n padding: 3px;\n"])),u.tq?"90%":"60%"),T=c.ZP.div(o||(o=(0,p.Z)(["\n position: absolute;\n top: -60px;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"])));t.Z=function(e){var t=e.show,n=e.onClose,a=(e.children,e.handleModalData),s=e.handleTrigger,r=y.useState(f.U8),i=(0,l.Z)(r,2),o=i[0],p=i[1],u=y.useState(!1),c=(0,l.Z)(u,2),w=c[0],S=c[1],j=y.useState(!1),k=(0,l.Z)(j,2),N=k[0],M=k[1],Z=y.useState(""),R=(0,l.Z)(Z,2),C=R[0],P=R[1];y.useEffect((function(){S(!0)}),[]);var E=t?(0,b.jsxs)(T,{children:[(0,b.jsxs)(v,{children:[(0,b.jsx)(x,{children:(0,b.jsx)("a",{href:"#",onClick:function(e){a(void 0),s(!1),e.preventDefault(),n()},children:(0,b.jsx)("span",{className:"material-icons",children:"close"})})}),t&&(0,b.jsxs)(g,{children:[(0,b.jsx)("div",{className:"material-icons",style:{marginTop:"4px",fontSize:"46px"},children:"dns"}),(0,b.jsxs)("div",{style:{marginTop:"5px",marginBottom:"10px",fontSize:"18px"},children:[(0,b.jsx)("span",{style:{fontWeight:"700"},children:"Enter HTTP Gateway URL"}),(0,b.jsx)("button",{className:"button-tiny",style:{marginBottom:"-7.5px"},onClick:function(){M(!0),P('HTTP Gateway should be a HTTPS:// URL')},"data-tooltip":"Enlighten Me",children:(0,b.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px"},children:"info_outline"})})]})]}),(0,b.jsxs)(h,{children:[(0,b.jsx)("input",{id:"keyid",placeholder:o,type:"text",value:o,onChange:function(e){p(e.target.value)},style:{background:"black",outline:"none",border:"none",padding:"5px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"14px",width:"100%",wordWrap:"break-word",textAlign:"left",color:"rgb(255, 255, 255, 0.6)",cursor:"copy"}},"0"),(0,b.jsx)("button",{className:"button",style:{height:"30px",width:"120px",marginTop:"17px",fontSize:"15px"},onClick:function(e){a(o),s(!0),e.preventDefault(),n()},"data-tooltip":"Confirm",children:(0,b.jsxs)("div",{className:"flex-row",style:{fontSize:"15px",fontWeight:"700"},children:["Confirm","\xa0",(0,b.jsx)("span",{className:"material-icons smoller",children:"local_laundry_service"})]})})]})]}),(0,b.jsx)("div",{id:"modal-inner",children:(0,b.jsx)(m.Z,{color:"cyan",icon:"info",onClose:function(){return M(!1)},show:N,position:"",children:C})})]}):null;return w?d.createPortal(E,document.getElementById("modal")):null}},22794:function(e,t,n){"use strict";var a,s,r,i,o,p=n(71383),l=n(16835),y=n(67294),u=n(73935),d=n(14141),c=n(85518),m=n(85893),f=d.ZP.div(a||(a=(0,p.Z)(["\n padding-top: 0px;\n padding-left: 20px;\n padding-right: 20px;\n padding-bottom: 15px;\n display: flex;\n justify-content: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n line-height: 20px;\n max-width: 400px;\n"]))),b=d.ZP.div(s||(s=(0,p.Z)(["\n margin-top: -15px;\n font-size: 20px;\n display: flex;\n justify-content: center;\n font-weight: 700;\n margin-bottom: 15px;\n color: white;\n"]))),h=d.ZP.div(r||(r=(0,p.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),g=d.ZP.div(i||(i=(0,p.Z)(["\n position: fixed;\n top: ","; \n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: auto;\n max-width: ",";\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n padding: 5px;\n justify-content: center;\n text-align: center;\n"])),(function(e){return e.top}),c.tq?"90%":"60%"),x=d.ZP.div(o||(o=(0,p.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"])));t.Z=function(e){var t=e.icon,n=e.color,a=e.show,s=e.onClose,r=e.children,i=e.position,o=y.useState(!1),p=(0,l.Z)(o,2),d=p[0],c=p[1];y.useEffect((function(){c(!0)}),[]);var v=a?(0,m.jsx)(x,{children:(0,m.jsxs)(g,{top:i,children:[(0,m.jsx)(h,{children:(0,m.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),s()},children:(0,m.jsx)("span",{className:"material-icons",style:{margin:"4px"},children:"close"})})}),t&&(0,m.jsx)(b,{children:(0,m.jsx)("span",{className:"material-icons",style:{marginTop:"4px",fontSize:"36px",color:n},children:t})}),(0,m.jsx)(f,{dangerouslySetInnerHTML:{__html:r}})]})}):null;return d?u.createPortal(v,document.getElementById("modal")):null}},58595:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});for(var a=n(16835),s=n(67294),r=n(22794),i=["\u0660","\u0661","\u0662","\u0663","\u0664","\u0665","\u0666","\u0667","\u0668","\u0669"],o=["\u06f9","\u06f8","\u06f7","\u06f6","\u06f5","\u06f4","\u06f3","\u06f2","\u06f1","\u06f0"],p=["\u0966","\u0967","\u0968","\u0969","\u096a","\u096b","\u096c","\u096d","\u096e","\u096f"],l=["\uc601","\uc77c","\uc774","\uc0bc","\uc0ac","\uc624","\uc721","\uce60","\ud314","\uad6c"],y=["\u3007","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d","\u4e03","\u516b","\u4e5d"],u=n(85518),d=n(85893),c=[],m=65;m<=90;m++)"x"!==String.fromCharCode(m).toLocaleLowerCase()&&c.push(String.fromCharCode(m).toLocaleLowerCase());var f=function(e){var t=e.label,n=e.items,c=e.onItemClickStealth,m=e.onItemClickPreview,f=s.useState(""),b=(0,a.Z)(f,2),h=b[0],g=b[1],x=s.useState(""),v=(0,a.Z)(x,2),T=v[0],w=v[1],S=s.useState(""),j=(0,a.Z)(S,2),k=j[0],N=j[1],M=s.useState(!1),Z=(0,a.Z)(M,2),R=Z[0],C=Z[1];return(0,d.jsx)("ul",{className:"flex-column",style:{listStyle:"none",color:"white"},children:n.map((function(e){return(0,d.jsxs)("li",{style:{display:"flex",flexDirection:"column",width:"100%",marginLeft:u.tq?"-10.5%":"-9.5%"},children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,d.jsxs)("span",{style:{marginBottom:"-3px",color:"white"},children:[(0,d.jsxs)("div",{children:[e.name.split("").map((function(e,t){return(0,d.jsx)("span",{style:{fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"600",fontSize:i.includes(e)||p.includes(e)||o.includes(e)||y.includes(e)||l.includes(e)?"24px":"21px"},children:e.toLowerCase()},t)})),(0,d.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"15px",color:"cyan"},children:"."}),(0,d.jsx)("span",{style:{fontFamily:"Spotnik",fontSize:"11px",color:"cyan",fontWeight:"700",letterSpacing:"0px"},children:"ETH"}),"1"===e.migrated&&(0,d.jsx)("button",{className:"button-tiny",onClick:function(){C(!0),g("gpp_good"),N("lime"),w('Ready For Off-chain Use. Domain-specific Recordhash is Set')},"data-tooltip":"Ready With IPNS Recordhash",children:(0,d.jsx)("div",{className:"material-icons-round smol",style:{color:"lime"},children:"gpp_good"})}),"3/4"===e.migrated&&(0,d.jsx)("button",{className:"button-tiny",onClick:function(){C(!0),g("gpp_good"),N("cyan"),w('Ready For Off-chain Use. Global Ownerhash is Set')},"data-tooltip":"Ready With IPNS Ownerhash",children:(0,d.jsx)("div",{className:"material-icons-round smol",style:{color:"cyan"},children:"gpp_good"})}),"4/5"===e.migrated&&(0,d.jsx)("button",{className:"button-tiny",onClick:function(){C(!0),g("gpp_good"),N("yellow"),w('Ready For Off-chain Use. HTTP Gateway is Set')},"data-tooltip":"Ready With HTTP Gateway",children:(0,d.jsx)("div",{className:"material-icons-round smol",style:{color:"yellow"},children:"gpp_good"})}),"1/2"===e.migrated&&(0,d.jsx)("button",{className:"button-tiny",onClick:function(){C(!0),g("gpp_good"),N("orange"),w('Resolver is migrated but Storage is not Set')},"data-tooltip":"Using Default Gateway",children:(0,d.jsx)("div",{className:"material-icons-round smol",style:{color:"orange"},children:"gpp_good"})}),"0"===e.migrated&&(0,d.jsx)("button",{className:"button-tiny",onClick:function(){C(!0),g("gpp_maybe"),N("orangered"),w('Resolver is not migrated. Please MIGRATE to enable off-chain Records')},"data-tooltip":"Resolver Not Migrated",children:(0,d.jsx)("div",{className:"material-icons-round smol",style:{color:"orangered"},children:"gpp_maybe"})})]}),(0,d.jsx)(r.Z,{color:k,icon:h,onClose:function(){return C(!1)},show:R,position:"",children:T})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("a",{href:"https://app.ens.domains/name/".concat(e.name.toLowerCase(),".eth"),target:"_blank",rel:"noreferrer",children:(0,d.jsx)("img",{className:"icon-ens-small",alt:"ens-icon",src:"ens.png"})}),(0,d.jsx)("a",{href:"https://ens.vision/name/".concat(e.name),target:"_blank",rel:"noreferrer",children:(0,d.jsx)("img",{className:"icon-vision-small",alt:"ensvision-icon",src:"ens-vision.png"})}),(0,d.jsx)("a",{style:{marginRight:"15px"},href:"https://godid.io/items/".concat(e.name.toLowerCase(),".eth"),target:"_blank",rel:"noreferrer",children:(0,d.jsx)("img",{className:"icon-godid-small",alt:"godid-icon",src:"godid.svg"})}),(0,d.jsx)("button",{className:"button",style:{alignSelf:"flex-end",height:"40px",width:"40px"},onClick:function(){return c(e.name+".eth")},disabled:["0"].includes(e.migrated)||"view"===t,"data-tooltip":"Stealth Payments",children:(0,d.jsx)("div",{className:"flex-sans-direction",children:(0,d.jsx)("span",{className:"material-icons-round smoller",style:{fontSize:"25px",fontWeight:"700"},children:"account_balance_wallet"})})}),(0,d.jsx)("button",{className:"button",style:{alignSelf:"flex-end",height:"40px",width:"40px",marginLeft:"5px"},onClick:function(){return m(e.name+".eth")},"data-tooltip":"".concat(t," Your Records"),children:(0,d.jsx)("div",{className:"flex-sans-direction",children:(0,d.jsx)("span",{className:"material-icons-round smoller",style:{fontSize:"25px",fontWeight:"700"},children:"view"===t?"policy":"edit"})})})]})]}),(0,d.jsx)("hr",{})]},e.key)}))})}},89479:function(e,t,n){"use strict";n(67294);var a=n(85893);t.Z=function(e){var t=e.height,n=e.width,s='\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ');return(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:s}})}},6440:function(e,t,n){"use strict";n.d(t,{Z:function(){return Ae}});var a,s,r,i,o,p,l,y,u,d,c,m,f,b,h,g=n(71383),x=n(27812),v=n(50029),T=n(59499),w=n(16835),S=n(87794),j=n.n(S),k=n(67294),N=n(73935),M=n(14141),Z=n(79911),R=n(2593),C=n(27586),P=n(83875),E=n(16441),_=n(84243),D=n(29251),O=n(8198),I=n(38197),A=n(31886),W=n(57734),z=n(37918),F=n.n(z),L=n(56371),B=n(22794),q=n(41894),U=n(27921),K=n(85893),G=M.ZP.div(a||(a=(0,g.Z)(["\n padding-top: 10px;\n padding-left: 50px;\n padding-right: 50px;\n padding-bottom: 25px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n"]))),H=M.ZP.div(s||(s=(0,g.Z)(["\n margin-top: -10px;\n font-size: 17px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n font-weight: 700;\n margin-bottom: 0px;\n color: white;\n padding-left: 20px;\n padding-right: 20px;\n color: cyan;\n"]))),J=M.ZP.div(r||(r=(0,g.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),V=M.ZP.div(i||(i=(0,g.Z)(["\n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: 450px;\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n padding: 5px;\n"]))),Y=M.ZP.div(o||(o=(0,g.Z)(["\n position: absolute;\n top: -60px;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"]))),$=function(e){var t=e.show,n=e.onClose,a=e.children,s=e.handleModalData,r=e.handleTrigger,i=k.useState(!1),o=(0,w.Z)(i,2),p=o[0],l=o[1],y=k.useState(!1),u=(0,w.Z)(y,2),d=u[0],c=u[1],m=k.useState(""),f=(0,w.Z)(m,2),b=f[0],h=f[1];k.useEffect((function(){l(!0)}),[]);var g=t?(0,K.jsxs)(Y,{children:[(0,K.jsxs)(V,{children:[(0,K.jsx)(J,{children:(0,K.jsx)("a",{href:"#",onClick:function(e){s(void 0),r(!1),e.preventDefault(),n()},children:(0,K.jsx)("span",{className:"material-icons",children:"close"})})}),t&&(0,K.jsxs)(H,{children:[(0,K.jsx)("div",{className:"material-icons",style:{marginTop:"4px",fontSize:"66px"},children:"cloud_upload"}),(0,K.jsx)("div",{style:{marginTop:"15px"},children:"Please choose your Storage"})]}),(0,K.jsxs)(G,{children:[(0,K.jsxs)("div",{className:"flex-row",style:{marginLeft:"25px"},children:[(0,K.jsx)("button",{className:"button-option",style:{height:"35px",width:"175px",marginTop:"15px",fontSize:"15px",fontWeight:"700"},onClick:function(){s("0"),r(!0),n()},"data-tooltip":a?"Uses Preset Global Ownerhash":"No Global Ownerhash Found",disabled:!a,children:(0,K.jsxs)("div",{className:"flex-row",children:["Ownerhash","\xa0",(0,K.jsx)("span",{className:"material-icons chonk",children:"recycling"})]})}),(0,K.jsx)("button",{className:"button-tiny",onClick:function(){c(!0),h('Ownerhash works for all your names in a wallet and must be set in UTILS. This is a slower but cheaper option. If you prefer this option, please go to UTILS tab first and set the Ownerhash')},"data-tooltip":"Cheaper but Slower IPNS",children:(0,K.jsx)("div",{className:"material-icons smol",style:{color:"yellow",marginLeft:"5px",marginTop:"21px"},children:"info_outline"})})]}),(0,K.jsxs)("div",{className:"flex-row",style:{marginLeft:"25px"},children:[(0,K.jsx)("button",{className:"button-option",style:{height:"35px",width:"175px",marginTop:"15px",fontSize:"15px",fontWeight:"700"},onClick:function(){s("1"),r(!0),n()},"data-tooltip":"Sets New On-chain Recordhash",children:(0,K.jsxs)("div",{className:"flex-row",children:["Recordhash","\xa0",(0,K.jsx)("span",{className:"material-icons chonk",children:"create"})]})}),(0,K.jsx)("button",{className:"button-tiny",onClick:function(){c(!0),h('Recordhash is specific to each name and it is a faster but expensive option')},"data-tooltip":"Faster but Expensive IPNS",children:(0,K.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px",marginTop:"16px"},children:"info_outline"})})]}),(0,K.jsxs)("div",{className:"flex-row",style:{marginLeft:"25px"},children:[(0,K.jsx)("button",{className:"button-option",style:{height:"35px",width:"175px",marginTop:"15px",fontSize:"15px",fontWeight:"700"},onClick:function(){s("2"),r(!0),n()},"data-tooltip":"Sets New On-chain Gateway",children:(0,K.jsxs)("div",{className:"flex-row",children:["HTTP Gateway","\xa0",(0,K.jsx)("span",{className:"material-icons chonk",children:"dns"})]})}),(0,K.jsx)("button",{className:"button-tiny",onClick:function(){c(!0),h('HTTP Gateway can point to a web2 gateway or L2 proxy')},"data-tooltip":"Rapid But Centralised",children:(0,K.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px",marginTop:"16px"},children:"info_outline"})})]})]})]}),(0,K.jsx)("div",{id:"modal-inner",children:(0,K.jsx)(B.Z,{color:"cyan",icon:"info",onClose:function(){return c(!1)},show:d,position:"",children:b})})]}):null;return p?N.createPortal(g,document.getElementById("modal")):null},Q=n(64637),X=n(85518),ee=n(62012),te=M.ZP.div(p||(p=(0,g.Z)(["\n padding-top: 5px;\n padding-left: 20px;\n padding-right: 20px;\n padding-bottom: 25px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n margin-top: 5px;\n"]))),ne=M.ZP.div(l||(l=(0,g.Z)(["\n margin-top: -15px;\n font-size: 14px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n font-weight: 700;\n color: white;\n padding-left: 20px;\n padding-right: 20px;\n color: cyan;\n margin-left: 10px;\n"]))),ae=M.ZP.div(y||(y=(0,g.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),se=M.ZP.div(u||(u=(0,g.Z)(["\n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: 460px;\n max-width: ",";\n height: 270px;\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n padding: 3px;\n"])),X.tq?"90%":"60%"),re=M.ZP.div(d||(d=(0,g.Z)(["\n position: absolute;\n top: -60px;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"]))),ie=function(e){var t=e.show,n=e.onClose,a=e.children,s=e.handleModalData,r=e.handleTrigger,i=k.useState(!1),o=(0,w.Z)(i,2),p=o[0],l=o[1],y=k.useState("cyan"),u=(0,w.Z)(y,2),d=u[0],c=u[1];k.useEffect((function(){l(!0)}),[]);var m=function(e){r(!1),s(""),c("cyan"),e.preventDefault(),n()},f=t?(0,K.jsx)(re,{children:(0,K.jsxs)(se,{children:[(0,K.jsx)(ae,{children:(0,K.jsx)("a",{href:"#",onClick:m,children:(0,K.jsx)("span",{className:"material-icons",children:"close"})})}),t&&(0,K.jsxs)(ne,{children:[(0,K.jsx)("div",{className:"material-icons",style:{marginTop:"10px",fontSize:"66px"},children:"hub"}),(0,K.jsx)("div",{style:{marginTop:"17px",marginBottom:"8px"},children:(0,K.jsx)("span",{style:{fontSize:"24px",fontWeight:"700"},children:"Your IPFS Hash"})})]}),(0,K.jsxs)(te,{children:[(0,K.jsxs)("div",{className:"flex-row",style:{width:"400px"},children:[(0,K.jsx)("input",{id:"info",value:a,type:"text",style:{background:"black",outline:"none",border:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"150%",wordWrap:"break-word",textAlign:"left",color:d,cursor:"copy",paddingRight:"32px"},disabled:!0},"1"),(0,K.jsx)("button",{className:"button-empty",onClick:function(){c("lime"),ee.vQ("info")},style:{marginLeft:"-25px",marginTop:"2px",color:d||"cyan"},children:(0,K.jsx)("span",{className:"material-icons",style:{fontSize:"22px",fontWeight:"700"},children:"content_copy"})})]}),(0,K.jsx)("button",{className:"button",style:{height:"33px",width:"140px",padding:"5px",marginTop:"20px",fontSize:"17px",fontWeight:"700"},onClick:m,"data-tooltip":"Roger That",children:(0,K.jsxs)("div",{className:"flex-row",style:{fontSize:"17px"},children:["Ok","\xa0",(0,K.jsx)("span",{className:"material-icons smoller",children:"done_all"})]})})]})]})}):null;return p?N.createPortal(f,document.getElementById("modal")):null};function oe(e){var t=0;for(var n in e)e.hasOwnProperty(n)&&(t+=e[n]);return t}var pe,le,ye,ue,de,ce=M.ZP.div(c||(c=(0,g.Z)(["\n padding-top: 0px;\n padding-left: ",";\n padding-right: ",";\n padding-bottom: ",";\n margin-top: 0px;\n margin-left: ",";\n margin-right: ",";\n margin-bottom: ",";\n display: flex;\n justify-content: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n line-height: 20px;\n max-width: 450px;\n"])),X.tq?"10px":"20px",X.tq?"10px":"20px",X.tq?"10px":"20px",X.tq?"10px":"20px",X.tq?"10px":"20px",X.tq?"10px":"20px"),me=M.ZP.div(m||(m=(0,g.Z)(["\n margin-top: -15px;\n font-size: 20px;\n display: flex;\n justify-content: center;\n font-weight: 700;\n margin-bottom: 15px;\n color: white;\n"]))),fe=M.ZP.div(f||(f=(0,g.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),be=M.ZP.div(b||(b=(0,g.Z)(["\n position: fixed;\n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: auto;\n max-width: ",";\n height: 275px;\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n width: 450px;\n"])),X.tq?"90%":"60%"),he=M.ZP.div(h||(h=(0,g.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"]))),ge=function(e){var t=e.icon,n=e.color,a=e.show,s=e.onClose,r=e.children,i=k.useState(!1),o=(0,w.Z)(i,2),p=o[0],l=o[1];k.useEffect((function(){l(!0)}),[]);var y=a?(0,K.jsx)(he,{children:(0,K.jsxs)(be,{children:[(0,K.jsx)(fe,{children:(0,K.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),s()},children:(0,K.jsx)("span",{className:"material-icons",style:{margin:"4px"},children:"close"})})}),t&&(0,K.jsx)(me,{children:(0,K.jsx)("span",{className:"material-icons",style:{marginTop:"14px",fontSize:"72px",color:n},children:"wind_power"})}),(0,K.jsx)(ce,{children:(0,K.jsxs)("div",{className:"flex-column",style:{marginBottom:"15px"},children:[(0,K.jsx)("div",{style:{fontSize:"24px",marginTop:"10px",color:"lime",fontWeight:"700"},children:"Off-Chain Records set"}),(0,K.jsxs)("div",{style:{marginTop:"20px",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",fontSize:"20px",fontWeight:"700"},children:[(0,K.jsx)("div",{children:"Your"}),"\xa0",(0,K.jsx)("div",{className:"material-icons-round",style:{marginBottom:"3px",fontSize:"28px",color:n},children:"local_gas_station"}),"\xa0",(0,K.jsx)("div",{children:"savings"})]}),(0,K.jsxs)("div",{style:{marginTop:"18px",fontFamily:"SF Mono",fontSize:"24px",fontWeight:"600",color:"lime"},children:[oe(r).toPrecision(3),"\xa0",(0,K.jsx)("span",{style:{fontFamily:"Spotnik",fontSize:"21px",fontWeight:"700"},children:"ETH"})]})]})})]})}):null;return p?N.createPortal(y,document.getElementById("modal")):null},xe=n(89479),ve=n(59595),Te=n(88006),we=n(36490),Se=n(58783),je=n(45887),ke=n(24978),Ne=n(67191),Me=n(71775),Ze=n(69077),Re=n(59654);function Ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Pe(e){for(var t=1;tOn-chain Record Storage Pointer
',tooltip:"Set New Storage"},{key:1,header:"Resolver",type:"resolver",value:He,editable:!1,active:He!==Ci,state:!1,label:"Migrate",help:'Please migrate resolver to enjoy off-chain records',tooltip:"Please Migrate Resolver"},{key:2,header:"Contenthash",type:"contenthash",value:n,editable:He===Ci&&hi>0,active:ee.rv(n)&&hi>0,state:!1,label:"Edit",help:'Set your web contenthash',tooltip:"Set Contenthash"},{key:3,header:"Address",type:"addr",value:t,editable:He===Ci&&hi>0,active:ee.Q1(t)&&hi>0,state:!1,label:"Edit",help:'Set your default address',tooltip:"Set Address"},{key:4,header:"Avatar",type:"avatar",value:a,editable:He===Ci&&hi>0,active:ee.tr(a)&&hi>0,state:!1,label:"Edit",help:'Set your avatar',tooltip:"Set Avatar"},{key:5,header:"Public Key",type:"pubkey",value:s,editable:He===Ci&&hi>0,active:ee.V4(s)&&hi>0,state:!1,label:"Edit",help:'Set your Public Key',tooltip:"Set Public Key"},{key:6,header:"Email",type:"email",value:r,editable:He===Ci&&hi>0,active:ee.Jh(r)&&hi>0,state:!1,label:"Edit",help:'Set your Email',tooltip:"Set Email Record"},{key:7,header:"Github",type:"com.github",value:i,editable:He===Ci&&hi>0,active:ee.wE(i)&&hi>0,state:!1,label:"Edit",help:'Set your Github username',tooltip:"Set Github Record"},{key:8,header:"Url",type:"url",value:o,editable:He===Ci&&hi>0,active:ee.CB(o)&&hi>0,state:!1,label:"Edit",help:'Set your URL',tooltip:"Set URL Record"},{key:9,header:"Twitter",type:"com.twitter",value:p,editable:He===Ci&&hi>0,active:ee.L3(p)&&hi>0,state:!1,label:"Edit",help:'Set your Twitter username',tooltip:"Set Twitter Record"},{key:10,header:"Discord",type:"com.discord",value:l,editable:He===Ci&&hi>0,active:ee.Iu(l)&&hi>0,state:!1,label:"Edit",help:'Set your Discord username',tooltip:"Set Discord Record"},{key:11,header:"Farcaster",type:"xyz.farcaster",value:y,editable:He===Ci&&hi>0,active:ee.Io(y)&&hi>0,state:!1,label:"Edit",help:'Set your Farcaster username',tooltip:"Set Farcaster Record"},{key:12,header:"Nostr",type:"nostr",value:u,editable:He===Ci&&hi>0,active:ee.$o(u)&&hi>0,state:!1,label:"Edit",help:'Set your Nostr username',tooltip:"Set Discord Record"},{key:13,header:"Bitcoin",type:"btc",value:d,editable:He===Ci&&hi>0,active:ee.MP(d)&&hi>0,state:!1,label:"Edit",help:'Set your BTC Address',tooltip:"Set BTC Address"},{key:14,header:"Litecoin",type:"ltc",value:c,editable:He===Ci&&hi>0,active:ee.Yo(c)&&hi>0,state:!1,label:"Edit",help:'Set your LTC Address',tooltip:"Set LTC Address"},{key:15,header:"Dogecoin",type:"doge",value:m,editable:He===Ci&&hi>0,active:ee.fp(m)&&hi>0,state:!1,label:"Edit",help:'Set your DOGE Address',tooltip:"Set DOGE Address"},{key:16,header:"Solana",type:"sol",value:f,editable:He===Ci&&hi>0,active:ee.A2(f)&&hi>0,state:!1,label:"Edit",help:'Set your SOL Address',tooltip:"Set SOL Address"},{key:17,header:"Cosmos",type:"atom",value:b,editable:He===Ci&&hi>0,active:ee.s8(b)&&hi>0,state:!1,label:"Edit",help:'Set your ATOM Address',tooltip:"Set ATOM Address"}];(h=g)&&ga(h)}function _o(e){return!ee.vc.includes(e.type)&&us.length>1&&!us.includes("resolver")&&!us.includes("storage")}function Do(e){return ee.IN.includes(e.type)||!ca[e.key].active||!Ys[e.type]||e.state||!Mi||!zn.includes(String(Mi))||!ee.vc.includes(e.type)&&fs===ee.K5()}function Oo(e,t,n){var a="eip155:"+s+":"+P.computeAddress("0x".concat(n));return"Requesting Signature To Update ENS Record\n\nOrigin: ".concat(le,"\nRecord Type: ").concat(e,"\nExtradata: ").concat(t,"\nSigned By: ").concat(a)}function Io(e){var t="eip155:"+s+":"+P.computeAddress("0x".concat(e));return"Requesting Signature To Approve ENS Records Signer\n\nOrigin: ".concat(le,"\nApproved Signer: ").concat(t,"\nApproved By: ").concat(Ai)}function Ao(e){return"Requesting Signature To Generate ENS Records Signer\n\nOrigin: ".concat(le,"\nKey Type: secp256k1\nExtradata: ").concat(e,"\nSigned By: ").concat(Ai)}function Wo(e,t){var n="",a="";["avatar","email","pubkey","com.github","url","com.twitter","com.discord","xyz.farcaster","nostr","zonehash"].includes(e)&&(a="string",n=t),["btc","ltc","doge","sol","atom"].includes(e)&&(a="bytes",n="0x".concat(Re.Z_[e.toUpperCase()].decoder(t).toString("hex"))),"contenthash"===e&&(a="bytes",n=Ne.vb(t).encoded),"addr"===e&&(a="address",n=t);var s=_.$.encode([a],[n]),r=[ee.z7];return new O.vU(r).encodeFunctionData("signedRecord",[Xa?P.computeAddress("0x".concat(Xa[0])):ee.DR,qs[e],ri,s])}function zo(e,t){var n="",a="";["avatar","email","pubkey","com.github","url","com.twitter","com.discord","xyz.farcaster","nostr","zonehash"].includes(e)&&(n="string",a=t),["btc","ltc","doge","sol","atom"].includes(e)&&(n="bytes",a="0x".concat(Re.Z_[e.toUpperCase()].decoder(t).toString("hex"))),"contenthash"===e&&(n="bytes",a=Ne.vb(t).encoded),"addr"===e&&(n="address",a=t);var s=_.$.encode([n],[a]),r=I.keccak256(s);return E.hexlify(A.pack(["bytes"],[r]))}function Fo(){return Hi&&Vi?String(Hi)===ee.O["1"===s?7:3]?Qi?String(Qi):ee.DR:String(Vi):ee.DR}function Lo(e,t){"avatar"===e&&yt(t),"email"===e&&mt(t),"pubkey"===e&>(t),"com.github"===e&&wt(t),"url"===e&&Nt(t),"com.twitter"===e&&Ct(t),"com.discord"===e&&Dt(t),"xyz.farcaster"===e&&Wt(t),"nostr"===e&&Bt(t),"btc"===e&&Gt(t),"ltc"===e&&Yt(t),"doge"===e&&en(t),"sol"===e&&sn(t),"atom"===e&&ln(t),"zonehash"===e&&dn(t)}function Bo(e){return qo.apply(this,arguments)}function qo(){return qo=(0,v.Z)(j().mark((function e(t){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,np(t,"avatar");case 2:return e.next=4,np(t,"email");case 4:return e.next=6,np(t,"pubkey");case 6:return e.next=8,np(t,"com.github");case 8:return e.next=10,np(t,"url");case 10:return e.next=12,np(t,"com.twitter");case 12:return e.next=14,np(t,"com.discord");case 14:return e.next=16,np(t,"xyz.farcaster");case 16:return e.next=18,np(t,"nostr");case 18:return e.next=20,sp(t,"btc");case 20:return e.next=22,sp(t,"ltc");case 22:return e.next=24,sp(t,"doge");case 24:return e.next=26,sp(t,"sol");case 26:return e.next=28,sp(t,"atom");case 28:case"end":return e.stop()}}),e)}))),qo.apply(this,arguments)}function Uo(e){"avatar"===e&&yt(""),"email"===e&&mt(""),"pubkey"===e&>(""),"com.github"===e&&wt(""),"url"===e&&Nt(""),"com.twitter"===e&&Ct(""),"com.discord"===e&&Dt(""),"xyz.farcaster"===e&&Wt(""),"nostr"===e&&Bt(""),"btc"===e&&Gt(""),"ltc"===e&&Yt(""),"doge"===e&&en(""),"sol"===e&&sn(""),"atom"===e&&ln(""),"zonehash"===e&&dn(""),nt(!0)}function Ko(){te(!0),wa(""),ds([]),re(""),ni(""),es(void 0),Ya(void 0),b(!1),Qr(""),Jn(!1),jr(!1),os&&ps(!1),Ir({modalData:void 0,trigger:!1}),Er({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1})}function Go(){vs("gpp_good"),js("lime"),$s(ee.gk()),Jn(!1),b(!1),gi(1),es(void 0),Ya(void 0),ni(""),Qr(""),re(""),Da(!1),Zr({modalData:void 0,trigger:!1}),Ir({modalData:void 0,trigger:!1}),Er({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1}),jr(!1),wa(""),os&&ps(!1),ss(!1)}function Ho(e){return Jo.apply(this,arguments)}function Jo(){return Jo=(0,v.Z)(j().mark((function e(t){var n,a;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Xa){e.next=4;break}return n=function(){var e=(0,v.Z)(j().mark((function e(){var n,a;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new Z.Wallet("0x"+Xa[0],Di),e.next=3,n.signMessage(t.message);case 3:if(!(a=e.sent)){e.next=6;break}return e.abrupt("return",a);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),a=n(),e.abrupt("return",a);case 4:case"end":return e.stop()}}),e)}))),Jo.apply(this,arguments)}function Vo(){return Vo=(0,v.Z)(j().mark((function e(){var t;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:yi(3),Zs(["Waiting For Signature","3"]),Xa&&(t=function(){var e=(0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Ki({message:Io(Xa[0])});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),t());case 3:case"end":return e.stop()}}),e)}))),Vo.apply(this,arguments)}function Yo(e){return $o.apply(this,arguments)}function $o(){return $o=(0,v.Z)(j().mark((function e(t){var n;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=function(){var e=(0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Ki({message:Ao(I.keccak256(A.pack(["bytes32","address"],[I.keccak256(A.pack(["string"],[t])),Mi])))});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),n();case 2:case"end":return e.stop()}}),e)}))),$o.apply(this,arguments)}function Qo(e,t){return Xo.apply(this,arguments)}function Xo(){return Xo=(0,v.Z)(j().mark((function e(t,n){var a,s;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=function(){var e=(0,v.Z)(j().mark((function e(){var a,s,r;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=new Ii.eth.Contract(ee.qP[6].contractInterface,ee.qP[6].addressOrName),"contenthash"!==t){e.next=7;break}return e.next=4,a.methods.setContenthash(C.VM(le),Ne.vb(n).encoded).estimateGas({from:Mi});case 4:s=e.sent,e.next=24;break;case 7:if(!["avatar","email","pubkey","com.github","url","com.twitter","com.discord","xyz.farcaster","nostr","zonehash"].includes(t)){e.next=13;break}return e.next=10,a.methods.setText(C.VM(le),t,n).estimateGas({from:Mi});case 10:s=e.sent,e.next=24;break;case 13:if(!["btc","ltc","doge","sol","atom"].includes(t)){e.next=20;break}return r="btc"===t?0:"ltc"===t?2:"doge"===t?3:"sol"===t?501:118,e.next=17,a.methods.setAddr(C.VM(le),r,"0x".concat(Re.Z_[t.toUpperCase()].decoder(n).toString("hex"))).estimateGas({from:Mi});case 17:s=e.sent,e.next=24;break;case 20:if("addr"!==t){e.next=24;break}return e.next=23,a.methods.setAddr(C.VM(le),n).estimateGas({from:Mi});case 23:s=e.sent;case 24:return e.abrupt("return",s);case 25:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.next=3,a();case 3:return s=e.sent,e.abrupt("return",s);case 5:case"end":return e.stop()}}),e)}))),Xo.apply(this,arguments)}function ep(e){return tp.apply(this,arguments)}function tp(){return tp=(0,v.Z)(j().mark((function e(t){var n;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=Pe({},ar)).contenthash="-",sr(n),nt(!0),e.next=6,t.getContentHash().then((function(e){e?(n.contenthash="1",Un(e),sr(n)):(n.contenthash="0",Un(""),sr(n)),ip(t)})).catch((function(){n.contenthash="0",Un(""),sr(n),ip(t)}));case 6:case"end":return e.stop()}}),e)}))),tp.apply(this,arguments)}function np(e,t){return ap.apply(this,arguments)}function ap(){return ap=(0,v.Z)(j().mark((function e(t,n){var a;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(a=Pe({},ar))[n]="-",sr(a),e.next=5,t.getText(n).then((function(e){e?(a[n]="1",Lo(n,e),sr(a)):(a[n]="0",Uo(n),sr(a))})).catch((function(){a[n]="0",Uo(n),sr(a)}));case 5:case"end":return e.stop()}}),e)}))),ap.apply(this,arguments)}function sp(e,t){return rp.apply(this,arguments)}function rp(){return rp=(0,v.Z)(j().mark((function e(t,n){var a,s;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a="btc"===n?0:"ltc"===n?2:"doge"===n?3:"sol"===n?501:118,(s=Pe({},ar))[n]="-",sr(s),"btc"!==n){e.next=7;break}return e.next=7,t.getAddress(a).then((function(e){e?(s[n]="1",Lo(n,e),sr(s)):(s[n]="0",Uo(n),sr(s))})).catch((function(){s[n]="0",Uo(n),sr(s)}));case 7:case"end":return e.stop()}}),e)}))),rp.apply(this,arguments)}function ip(e){return op.apply(this,arguments)}function op(){return op=(0,v.Z)(j().mark((function e(t){var n;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=Pe({},ar)).addr="-",sr(n),e.next=5,Di.resolveName(le).then(function(){var e=(0,v.Z)(j().mark((function e(a){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a){e.next=8;break}return n.addr="0",it(""),sr(n),e.next=6,Bo(t);case 6:e.next=13;break;case 8:return n.addr="1",it(a),sr(n),e.next=13,Bo(t);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n.addr="0",it(""),sr(n),e.next=5,Bo(t);case 5:case"end":return e.stop()}}),e)}))));case 5:case"end":return e.stop()}}),e)}))),op.apply(this,arguments)}function pp(){return(pp=(0,v.Z)(j().mark((function e(t,n){var a,s,r,i,o,p,l,y,u,d,c,m,f,b,h,g,x,v,T;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Di.getResolver(n);case 3:if(null===(a=e.sent)||void 0===a||!a.address){e.next=95;break}if(Je(a.address),Qe(a),a.address!==Ci){e.next=27;break}return e.next=10,Me.I7(n,Pi,Fo());case 10:if(s=e.sent,!(t.ownerstamp.length>1)){e.next=22;break}i=0;case 13:if(!(i<2)){e.next=20;break}return e.next=16,ee.TN(Ne.K5(s[0]).decoded,i);case 16:r=e.sent;case 17:i++,e.next=13;break;case 20:e.next=23;break;case 22:r=1===t.ownerstamp.length?{_value:"//",_sequence:"-1"}:{_value:"//",_sequence:""};case 23:dr(r._value.split("/")[2]),t.ownerstamp.length>=1&&r._sequence&&t.timestamp.revision&&Number(r._sequence)===Number(t.timestamp.revision)-1&&s[1]?(t.addr?it(t.addr):it(""),t.contenthash?Un(t.contenthash):Un(""),t.avatar?yt(t.avatar):yt(""),t.email?mt(t.email):mt(""),t["com.github"]?wt(t["com.github"]):wt(""),t.url?Nt(t.url):Nt(""),t["com.twitter"]?Ct(t["com.twitter"]):Ct(""),t["com.discord"]?Ct(t["com.discord"]):Dt(""),t["xyz.farcaster"]?Wt(t["xyz.farcaster"]):Wt(""),t.nostr?Bt(t.nostr):Bt(""),t.btc?Gt(t.btc):Gt(""),t.ltc?Yt(t.ltc):Yt(""),t.doge?en(t.doge):en(""),t.sol?sn(t.sol):sn(""),t.atom?ln(t.atom):ln(""),nt(!0)):ep(a),e.next=93;break;case 27:return nt(!0),e.next=30,lp(["addr",""],a,n,!1);case 30:return o=e.sent,it(o||""),e.next=34,lp(["contenthash",""],a,n,!1);case 34:return p=e.sent,Un(p||""),e.next=38,lp(["avatar",""],a,n,!1);case 38:if(l=e.sent){e.next=43;break}return e.next=42,lp(["text","avatar"],a,n,!1);case 42:l=e.sent;case 43:return yt(l||""),e.next=46,lp(["text","email"],a,n,!1);case 46:return y=e.sent,mt(y||""),gt(""),e.next=51,lp(["text","com.github"],a,n,!1);case 51:return u=e.sent,wt(u||""),e.next=55,lp(["text","url"],a,n,!1);case 55:return d=e.sent,Nt(d||""),e.next=59,lp(["text","com.twitter"],a,n,!1);case 59:return c=e.sent,Ct(c||""),e.next=63,lp(["text","com.discord"],a,n,!1);case 63:return m=e.sent,Dt(m||""),e.next=67,lp(["text","xyz.farcaster"],a,n,!1);case 67:return f=e.sent,Wt(f||""),e.next=71,lp(["text","nostr"],a,n,!1);case 71:return b=e.sent,Bt(b||""),e.next=75,lp(["address","btc"],a,n,!1);case 75:return h=e.sent,Gt(h||""),e.next=79,lp(["address","ltc"],a,n,!1);case 79:return g=e.sent,Yt(g||""),e.next=83,lp(["address","doge"],a,n,!1);case 83:return x=e.sent,en(x||""),e.next=87,lp(["address","sol"],a,n,!1);case 87:return v=e.sent,sn(v||""),e.next=91,lp(["address","atom"],a,n,!1);case 91:T=e.sent,ln(T||"");case 93:e.next=114;break;case 95:Qe(a),Je(""),it(""),Un(""),yt(""),mt(""),gt(""),wt(""),Nt(""),Ct(""),Dt(""),Wt(""),Bt(""),Gt(""),Yt(""),en(""),sn(""),ln(""),nt(!0);case 114:e.next=119;break;case 116:e.prev=116,e.t0=e.catch(0),console.error("Error in getResolver():",e.t0);case 119:case"end":return e.stop()}}),e,null,[[0,116]])})))).apply(this,arguments)}function lp(e,t,n,a){return yp.apply(this,arguments)}function yp(){return(yp=(0,v.Z)(j().mark((function e(t,n,a,s){var r,i,o,p,l,y;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s&&(t[1]?na(t[1]):na(t[0])),e.prev=1,"addr"!==t[0]){e.next=12;break}return e.next=5,Di.resolveName(a);case 5:if(!(r=e.sent)){e.next=9;break}return s&&(it(r),ya(r),na("1")),e.abrupt("return",r);case 9:case 19:case 34:case 44:case 59:return e.abrupt("return","");case 12:if("avatar"!==t[0]){e.next=22;break}return e.next=15,Di.getAvatar(a);case 15:if(!(i=e.sent)){e.next=19;break}return s&&(yt(i),ya(i),na("1")),e.abrupt("return",i);case 22:if("pubkey"!==t[0]){e.next=27;break}return s&&(gt(""),ya(""),na("1")),e.abrupt("return","");case 27:if("contenthash"!==t[0]){e.next=37;break}return e.next=30,n.getContentHash();case 30:if(!(o=e.sent)){e.next=34;break}return s&&(Un(o),ya(o),na("1")),e.abrupt("return",o);case 37:if("text"!==t[0]){e.next=47;break}return e.next=40,n.getText(t[1]);case 40:if(!(p=e.sent)){e.next=44;break}return s&&("avatar"===t[1]&&yt(p),"email"===t[1]&&mt(p),"com.github"===t[1]&&wt(p),"url"===t[1]&&Nt(p),"com.twitter"===t[1]&&Ct(p),"com.discord"===t[1]&&Dt(p),"xyz.farcaster"===t[1]&&Wt(p),ya(p),na("1")),e.abrupt("return",p);case 47:if("address"!==t[0]){e.next=60;break}if(l="btc"===t[1]?0:"ltc"===t[1]?2:"doge"===t[1]?3:"sol"===t[1]?501:118,y="","btc"!==t[1]){e.next=56;break}return e.next=53,n.getAddress(l);case 53:y=e.sent,e.next=56;break;case 56:if(!y){e.next=59;break}return s&&("btc"===t[1]&&Gt(y),"ltc"===t[1]&&Yt(y),"doge"===t[1]&&en(y),"sol"===t[1]&&sn(y),"atom"===t[1]&&ln(y),ya(y),na("1")),e.abrupt("return",y);case 60:return s&&na("0"),e.abrupt("return","");case 64:return e.prev=64,e.t0=e.catch(1),console.error("Error in refreshRecord('".concat(t,"'):"),e.t0),s&&na("0"),e.abrupt("return","");case 69:case"end":return e.stop()}}),e,null,[[1,64]])})))).apply(this,arguments)}function up(e,t,n,a){return dp.apply(this,arguments)}function dp(){return dp=(0,v.Z)(j().mark((function e(t,n,a,r){var i,o,p;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={},t?((o=JSON.parse(JSON.stringify(t,(function(e,t){return"bigint"===typeof t?String(t):t}))))._name._privKey&&(o._name._privKey._key={}),i=JSON.stringify(o)):i=JSON.stringify(i),p={ens:le,controller:Mi,manager:Xa?P.computeAddress("0x".concat(Xa[0])):ee.DR,managerSignature:ri,revision:t?Zi.encode(t):{},chain:s,ipns:se,ipfs:r,gas:JSON.stringify(n),version:i,timestamp:a,hashType:or},e.prev=3,e.next=6,fetch("".concat(Fi,":").concat(zi,"/revision"),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify(p)}).then((function(e){return e.json()})).then((function(e){return!!e.status&&"true"===e.status}));case 6:e.next=16;break;case 8:e.prev=8,e.t0=e.catch(3),console.error("ERROR:","Failed to write Revision to CCIP2 backend"),Zs(["Revision Update Failed",""]),te(!0),b(!1),wi(!0),js("orangered");case 16:case"end":return e.stop()}}),e,null,[[3,8]])}))),dp.apply(this,arguments)}function cp(){return(cp=(0,v.Z)(j().mark((function e(t,n,a){var r;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={type:"read",ens:le,controller:Fo(),recordsTypes:"all",recordsValues:"all",chain:s,storage:t,hashType:a},e.prev=1,e.next=4,fetch("".concat(Fi,":").concat(zi,"/read"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}).then((function(e){return e.json()})).then((function(e){var a={type:e.response.type,contenthash:e.response.contenthash,addr:e.response.addr,email:e.response.email,pubkey:e.response.pubkey,avatar:e.response.avatar,"com.github":e.response.github,url:e.response.url,"com.twitter":e.response.twitter,"com.discord":e.response.discord,"xyz.farcaster":e.response.farcaster,nostr:e.response.nostr,btc:e.response.btc,ltc:e.response.ltc,doge:e.response.doge,sol:e.response.sol,atom:e.response.atom,version:e.response.version,revision:e.response.revision,timestamp:e.response.timestamp,queue:ee.UW(e.response.timestamp),ownerstamp:e.response.ownerstamp};Jr(a);var s=[];if(a.ownerstamp.length>0)for(var r in a.ownerstamp)s.push(Number(a.ownerstamp[r]));t&&s.length>0&&"ownerhash"===n?gi(Math.round(Date.now()/1e3)-Math.max.apply(Math,s)-ee.A7):t&&s.length>0&&"recordhash"===n?gi(Math.round(Date.now()/1e3)-ee.UW(e.response.timestamp)-ee.A7):gi(1)}));case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),console.error("ERROR:","Failed to read from CCIP2 backend");case 9:case"end":return e.stop()}}),e,null,[[1,6]])})))).apply(this,arguments)}function mp(e){r(e),i(!0)}k.useEffect((function(){a.endsWith("#")||a.endsWith("-")||a.endsWith(":")||a.endsWith("&")?(y(!0),ye(a.slice(0,-1)),Zs([a.endsWith("-")||a.endsWith("&")?"Refreshing Records":a.endsWith("#")?"Checking History":"Loading Records","-"])):y(!1)}),[]),k.useEffect((function(){if(l&&le){var e=C.VM(le),t=I.keccak256(D.Y0(le.split(".eth")[0]));Zn(e),En(String(R.O$.from(t))),In(String(R.O$.from(e))),Ue(!0)}}),[l,le]),k.useEffect((function(){ha&&ma(ha)}),[ha]),k.useEffect((function(){Yi&&Ni(String(Yi))}),[Yi]),k.useEffect((function(){if(Xi)if(String(Xi).length>2){var e="";(e=String(Xi).startsWith(ee.Kv)?"ipns://".concat(Ne.K5(String(Xi)).decoded):D.ZN(String(Xi))).startsWith("https://"),jn("".concat(e))}else jn("")}),[Xi]),k.useEffect((function(){if(eo)if(String(eo).length>2&&eo!==Xi){var e="";(e=String(eo).startsWith(ee.Kv)?"ipns://".concat(Ne.K5(String(eo)).decoded):D.ZN(String(eo))).startsWith("https://"),vn("".concat(e)),Zs(["This May Take a While",""]),Zs([a.endsWith("-")||a.endsWith("&")?"Refreshing Records":a.endsWith("#")?"Checking History":"Loading Records","-"])}else"0x"===String(eo)&&eo===Xi?vn(He===Ci?ee.U8:""):vn("")}),[eo,Xi,He]),k.useEffect((function(){qr.trigger&&qr.modalData&&(To?mp("".concat(le,"#")):ko?mp("".concat(le,"-")):Ro&&mp("".concat(le,"&")))}),[qr,To,ko,Ro]),k.useEffect((function(){Or.trigger&&Or.modalData&&(Is(!1),"0"===Or.modalData?(Jn(!0),mi(1)):Qn(!0))}),[Or]),k.useEffect((function(){"1"===ka&&(Ta&&!os?"storage"===Ta?pr("0"===Or.modalData?"recordhash":"gateway"):Pr.trigger&&(pr("1"===Pr.modalData?"recordhash":"2"===Pr.modalData?"gateway":"ownerhash"),mi(1),ao()):Ta&&os&&(xn&&(xn.startsWith("https://")?pr("gateway"):pr("recordhash")),Sn&&!xn&&(Sn.startsWith("https://")?pr("gateway"):pr("ownerhash")),ss(!0)))}),[Ta,Pr,os,ka,Or]),k.useEffect((function(){if(Mi)if(ki&&"true"===String(ki))Fn([Mi]);else{var e=Fo();Fn([e])}}),[Mn,Hi,Qi,ki,On]),k.useEffect((function(){Hi&&(String(Hi)===ee.O["1"===s?7:3]?Ga(!0):Ga(!1))}),[Hi]),k.useEffect((function(){var e="";if(lt.startsWith("ipfs://"))e="https://ipfs.io/ipfs/".concat(lt.split("ipfs://")[1]),ee.Hc(e).then((function(){br(!0),bn(e)})).catch((function(){br(!1),bn("")}));else if(lt.startsWith("eip155:".concat(s))){var t=lt.split(":")[2].split("/")[0],n=lt.split(":")[2].split("/")[1];ee.iJ.nft.getNftMetadata(t,n).then((function(t){e=t.media[0].thumbnail||t.media[0].gateway,ee.Hc(e).then((function(){br(!0),bn(e)})).catch((function(){br(!1),bn("")}))}))}else lt.startsWith("https://")&&(e=lt,ee.Hc(e).then((function(){br(!0),bn(e)})).catch((function(){br(!1),bn("")})))}),[lt]),k.useEffect((function(){if(zr.trigger&&void 0!==zr.modalData&&os){b(!0),Zs(["Waiting For Signature","gateway"!==or?"1":"2"]);var e=function(){var e=(0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:yi(2),mi(2),Yo(ee.O1(10));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}else zr.trigger&&void 0!==zr.modalData&&!os&&re(zr.modalData)}),[zr,or,os]),k.useEffect((function(){var e,t;Mr.trigger&&void 0!==Mr.modalData&&!Va&&Ta&&ka&&(yi(1),mi(os?3:1),Zs(["Waiting For Signature","1"]),Ki({message:(e=I.keccak256(A.pack(["bytes32","address"],[I.keccak256(A.pack(["string"],[Mr.modalData])),Mi])),t=or,"Requesting Signature To Generate IPNS Key\n\nOrigin: ".concat(["recordhash","gateway"].includes(t)?le:Wi,"\nKey Type: ed25519\nExtradata: ").concat(e,"\nSigned By: ").concat(Ai))}),H(!0))}),[Mr,xn,Ta,ka,or,os,us,Va]),k.useEffect((function(){if($r&&!Va){b(!0),Zs(["Generating IPNS Key",""]);var e=function(){var e=(0,v.Z)(j().mark((function e(){var t,n;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t="ownerhash"===or?"eth:".concat(Mi||ee.DR):le,e.next=3,(0,we.x_)(t,Ai,$r,Mr.modalData);case 3:n=e.sent,Ya(n[0]),Zs(["IPNS Keypair Generated",""]);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[G,Va,Sr,os,$r]),k.useEffect((function(){if(os&&Mr.trigger&&Sr){Zs(["Waiting For Signature","2"]);var e=function(){var e=(0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:void 0!==Mr.modalData&&(yi(2),mi(3),Yo(Mr.modalData));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[Mr,Sr,os,Ta]),k.useEffect((function(){if(os&&Sr&&ti&&!_a){Hs([Fo(),C.VM(le),Xa?P.computeAddress("0x".concat(Xa[0])):ee.DR]),b(!0),Zs(["Generating Signer Key",""]);var e=function(){var e=(0,v.Z)(j().mark((function e(){var t,n;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t="recordhash"!==or?"eth:".concat(Mi||ee.DR):le,e.next=3,(0,we.x_)(t,Ai,ti,Mr.modalData);case 3:n=e.sent,es(n[1]),Da(!0),Zs(["Signer Keypair Generated",""]);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[ti,Sr,os,_a]),k.useEffect((function(){if(Va&&$r){if("gateway"!==or){var e=function(){var e=(0,v.Z)(j().mark((function e(){var t,n,a,s,r;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=ee.yt(Va),e.next=3,Se.Dp(ke.UG.hexToBytes(t));case 3:n=e.sent,a=String(n),s=xn?xn.split("ipns://")[1]:"",r=Sn?Sn.split("ipns://")[1]:"",os&&(!a||a!==s&&a!==r)?a&&a!==s&&a!==r&&(Zr({modalData:void 0,trigger:!1}),Zs(["Seems Like Bad Password",""]),Ko(),js("orangered"),yi(0),mi(0)):(jr(!0),re(a));case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}else os&&"gateway"===or&&(jr(!0),re(xn||Sn))}),[Va,$r,xn,Sn,os,or]),k.useEffect((function(){Bi&&1===li?Qr(Bi):Bi&&3===li?ii(Bi):Bi&&2===li&&ni(Bi)}),[Bi,li]),k.useEffect((function(){se&&!os?(mi(1),se.startsWith("k5")?lo():se.startsWith("https://")&&bo()):os&&(se.startsWith("k5")?mi(3):se.startsWith("https://")&&mi(2))}),[se,os]),k.useEffect((function(){if(us.length>1){var e=ca.map((function(e){return!ee.vc.includes(e.type)&&us.includes(e.type)?Pe(Pe({},e),{},{label:"Edit",help:"Set Record"}):Pe(Pe({},e),{},{label:"resolver"!==e.type?"storage"!==e.type?"Edit":"Set":"Migrate"})}));ga(e)}}),[us]),k.useEffect((function(){tt&&(Eo(xn||(Sn||xn),rt,qn,lt,ht,ct,Tt,kt,Rt,_t,At,Lt,Kt,Vt,Xt,an,pn),b(!1))}),[tt,or,xn,Sn,He,rt,qn,lt,ct,ht,Tt,kt,Rt,_t,At,Lt,Kt,Vt,Xt,an,pn]),k.useEffect((function(){qe&&function(e,t,n){cp.apply(this,arguments)}(xn||Sn,xn&&xn.startsWith("ipns://")?"recordhash":Sn&&Sn.startsWith("ipns://")?"ownerhash":"gateway",xn&&xn.startsWith("ipns://")?"recordhash":Sn&&Sn.startsWith("ipns://")?"ownerhash":"gateway")}),[qe,Sn,xn]),k.useEffect((function(){hi&&le&&!tt&&function(e,t){pp.apply(this,arguments)}(Hr,le)}),[Hr,hi,le,tt]),k.useEffect((function(){Hr&&hi&&!tt&&(xn?xn.startsWith("https://")?pr("gateway"):pr("recordhash"):Sn?Sn.startsWith("https://")?pr("gateway"):pr("ownerhash"):pr("storage"))}),[Hr,hi,He,xn,Sn,tt]),k.useEffect((function(){if(Ta&&us.length>0){var e=ca.map((function(e){return us.includes(e.type)&&!ee.ID.includes(e.type)?Pe(Pe({},e),{},{editable:hi>0,active:hi>0}):!us.includes(e.type)&&["resolver"].includes(e.type)?Pe(Pe({},e),{},{editable:!1,active:!1}):["storage"].includes(e.type)?Pe(Pe({},e),{},{editable:!1,active:He===Ci}):e}));ga(e)}}),[Ta,He,us]),k.useEffect((function(){as&&os&&(Va&&Xa&&Xa[0]&&se?us.length>0&&(b(!0),Zs(["Setting Records",String(us.length)]),mi(us.length)):("gateway"!==or?Mr.trigger||Jn(!0):(Mr.trigger||Jn(!0),Ya(["0x","0x"])),ss(!1)))}),[as,Xa,se,os,or,Mr]),k.useEffect((function(){if(ta&&["0","1"].includes(ta)){if("1"===ta){var e=ca.map((function(e){return e.type===ra?Pe(Pe({},e),{},{value:la}):Pe({},e)}));ga(e)}setTimeout((function(){na(".")}),1e4),setTimeout((function(){na("")}),3e4)}}),[ta,la,ra]),k.useEffect((function(){if(os&&Xa&&Xa[0]&&fs&&!ee.xb(fs)&&us.length>0){var e=ee.K5();us.forEach(function(){var t=(0,v.Z)(j().mark((function t(n){var a;return j().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!fs[n]){t.next=4;break}return t.next=3,Ho({message:Oo(ee.Th[ee.t8.indexOf(n)],zo(n,fs[n]),Xa[0])});case 3:a=t.sent;case 4:a&&(e[n]=a);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Us(e)}}),[os,Xa,fs,us]),k.useEffect((function(){!os||ki||ri||ee.xb(qs)?os&&ki&&!ee.xb(qs)&&ii("0x"):(mi(3),function(){Vo.apply(this,arguments)}())}),[ki,qs,or]),k.useEffect((function(){var e=0;for(var t in qs)qs.hasOwnProperty(t)&&""!==qs[t]&&e++;if(os&&se&&e===us.length&&e>0&&ri){var n=ee.K5();for(var a in fs)fs.hasOwnProperty(a)&&""!==fs[a]&&(n[a]=Wo(a,fs[a]));var r={signatures:qs,manager:Xa?P.computeAddress("0x".concat(Xa[0])):ee.DR,managerSignature:ri,ens:le,controller:Mi||ee.DR,ipns:se,recordsTypes:us,recordsValues:n,recordsRaw:fs,revision:Hr.revision,chain:s,hashType:or},i=function(){var e=(0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Zs(["Writing Records",""]),e.prev=1,e.next=4,fetch("".concat(Fi,":").concat(zi,"/write"),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)}).then((function(e){return e.json()})).then(function(){var e=(0,v.Z)(j().mark((function e(t){var n,a,s,r,i,o;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Zs(["gateway"!==or?"Publishing to IPNS":"Publishing to Gateway",""]),!Xa||!t.response){e.next=7;break}return n={},ca.map(function(){var e=(0,v.Z)(j().mark((function e(a){var s,r;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("resolver"===a.type||!t.response.meta[a.type]){e.next=23;break}return s=Qo(a.type,t.response[a.type]),r=function(){var e=(0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([s]);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.next=5,r();case 5:s.then((function(e){var t=d&&d.formatted&&d.formatted.gasPrice?Number(d.formatted.gasPrice):0;n[a.type]=e*t*1e-9})),"addr"===a.type&&it(t.response.addr),"avatar"===a.type&&yt(t.response.avatar),"email"===a.type&&mt(t.response.email),"pubkey"===a.type&>(t.response.pubkey),"com.github"===a.type&&wt(t.response.github),"url"===a.type&&Nt(t.response.url),"com.twitter"===a.type&&Ct(t.response.twitter),"com.discord"===a.type&&Dt(t.response.discord),"xyz.farcaster"===a.type&&Wt(t.response.farcaster),"nostr"===a.type&&Bt(t.response.nostr),"btc"===a.type&&Gt(t.response.btc),"ltc"===a.type&&Yt(t.response.ltc),"doge"===a.type&&en(t.response.doge),"sol"===a.type&&sn(t.response.sol),"atom"===a.type&&ln(t.response.atom),"zonehash"===a.type&&dn(t.response.zonehash),"contenthash"===a.type&&Un(t.response.contenthash);case 23:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=6,new Promise((function(e){!function t(){Object.keys(n).length>0?e():setTimeout(t,100)}()}));case 6:"gateway"!==or&&Va?(a=ee.yt(Va),i=function(){var e=(0,v.Z)(j().mark((function e(){var i;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Se.Dp(ke.UG.hexToBytes(a));case 2:return s=e.sent,e.next=5,je.Dp(ke.UG.hexToBytes(a));case 5:r=e.sent,i=function(){var e=(0,v.Z)(j().mark((function e(){var a,i,o,p;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.response.ipfs&&s&&r&&n)){e.next=41;break}if(dr(t.response.ipfs.split("ipfs://")[1]),a="/ipfs/"+t.response.ipfs.split("ipfs://")[1],Hr.revision){e.next=9;break}return e.next=6,Se.v0(s,a);case 6:i=e.sent,e.next=19;break;case 9:if(o=Zi.decode(new Uint8Array(Object.values(JSON.parse(JSON.stringify(Hr.revision))))),!(Number(t.response.timestamp)0,editable:n>0}):Pe(Pe({},e),{},{active:n>0,editable:n>0})})),ga(p),bs(ee.K5()),Us(ee.K5()),ss(!1),yi(0),Zr({modalData:void 0,trigger:!1});case 41:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Object.keys(n).length>0&&i();case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),i()):(o=function(){var e=(0,v.Z)(j().mark((function e(){var a;return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=17;break}return er(t.response.timestamp),e.next=4,up(void 0,n,t.response.timestamp,"");case 4:Ba(n),Fe(!0),ds([]),$s(ee.gk()),b(!1),a=ca.map((function(e){if(ee.vc.includes(e.type))return e;return gi(1),t.response.meta[e.type]?Pe(Pe({},e),{},{value:t.response[e.type],state:!0,label:"edit",active:!0,editable:!0}):Pe(Pe({},e),{},{active:!0,editable:!0})})),ga(a),bs(ee.K5()),Us(ee.K5()),ss(!1),yi(0),Zr({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1});case 17:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),o());case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 4:e.next=14;break;case 6:e.prev=6,e.t0=e.catch(1),console.error("ERROR:","Failed to write to CCIP2 backend"),Zs(["Record Update Failed",""]),te(!0),b(!1),wi(!0),js("orangered");case 14:case"end":return e.stop()}}),e,null,[[1,6]])})));return function(){return e.apply(this,arguments)}}();i()}os||ss(!1)}),[ri]),k.useEffect((function(){ro&&To&&T&&!os&&!Y&&(us.includes("resolver")?(Wa("1"===Pr.modalData?'Resolver Migrated! You may now set IPNS Storage next':'Resolver Migrated! You may now set HTTP Storage next'),Ce(!0),Go()):(Wa('Off-chain Setup Complete with Ownerhash. Enjoy!'),Ce(!0),Go()))}),[ro,To,T,us,He,os]),k.useEffect((function(){if(uo&&ko&&se){var e=function(){var e=(0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,up(void 0,{},"","");case 2:vn("ipns://".concat(se)),Zs(["Transaction Confirmed","1"]);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[uo,ko,se]),k.useEffect((function(){go&&Ro&&se&&(vn("".concat(se)),Zs(["Transaction Confirmed","1"]))}),[go,Ro,se]),k.useEffect((function(){xn&&ko&&!os&&!Y?(Wa('Off-chain Setup Complete with Recordhash. Enjoy!'),Ce(!0),Go()):xn&&Ro&&!os&&!Y&&(Wa('Off-chain Setup Complete with HTTP Gateway. Enjoy!'),Ce(!0),Go())}),[xn,ko,Ro,os]),k.useEffect((function(){if(ro&&To){var e=function(){var e=(0,v.Z)(j().mark((function e(){return j().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Zs(["Transaction Confirmed","1"]),setTimeout((function(){Je(Ci),S(!0)}),2e3);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[ro,To]),k.useEffect((function(){so&&!io?(b(!0),Zs(["Waiting for Transaction","1"]),xr&&vr(!1)):io&&!so&&(xr?xr&&vr(!1):(Zs(["Transaction Declined by User",""]),Ko()),Zr({modalData:void 0,trigger:!1}),Er({modalData:void 0,trigger:!1}))}),[so,io]),k.useEffect((function(){So&&!wo?(b(!0),Zs(["Waiting for Confirmation","1"]),xr&&vr(!1)):!So&&wo&&(xr?xr&&vr(!1):(Zs(["Transaction Failed",us.includes("storage")?"1":"2"]),Ko()),Zr({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1}))}),[So,wo]),k.useEffect((function(){!co&&yo?(b(!0),Zs(["Waiting for Transaction","1"]),xr&&vr(!1)):co&&!yo&&(xr?xr&&vr(!1):(Zs(["Transaction Declined by User",""]),Ko()),Zr({modalData:void 0,trigger:!1}),Ir({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1}))}),[yo,co]),k.useEffect((function(){!xo&&ho?(b(!0),Zs(["Waiting for Transaction","1"]),xr&&vr(!1)):xo&&!ho&&(xr?xr&&vr(!1):(Zs(["Transaction Declined by User",""]),Ko()),Zr({modalData:void 0,trigger:!1}),Ir({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1}))}),[ho,xo]),k.useEffect((function(){Mo&&!No?(b(!0),Zs(["Waiting for Confirmation",us.includes("storage")?"1":"2"]),xr&&vr(!1)):!Mo&&No&&(xr?xr&&vr(!1):(Zs(["Transaction Failed",us.includes("storage")?"1":"2"]),Ko()),Zr({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1}))}),[Mo,No]),k.useEffect((function(){Po&&!Co?(b(!0),Zs(["Waiting for Confirmation",us.includes("storage")?"1":"2"]),xr&&vr(!1)):!Po&&Co&&(xr?xr&&vr(!1):(Zs(["Transaction Failed",us.includes("storage")?"1":"2"]),Ko()),Zr({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1}))}),[Po,Co]),k.useEffect((function(){if(Ui&&!qi&&Ta)b(!0),xr&&vr(!1);else if(qi&&!Ui&&Ta){if(xr)xr&&vr(!1);else{Zs(["Signature Failed",String(li)]),Ko(),ps(!1),ss(!1),$s(ee.gk()),bs(ee.K5());var e=ca.map((function(e){return"storage"!==e.type?e:Pe(Pe({},e),{},{state:!1})}));ga(e),us.includes("resolver")&&mp("".concat(le,"#")),Na("0")}Zr({modalData:void 0,trigger:!1}),Fr({modalData:void 0,trigger:!1})}}),[Ui,qi,Ta,li,us]);var fp=t?(0,K.jsx)(Ie,{style:{backgroundColor:f||X.tq?"black":"rgba(0, 0, 0, 0.75)"},children:(0,K.jsxs)(Oe,{style:{background:f?"none":"#0a0a09"},children:[(0,K.jsx)(De,{children:(0,K.jsx)("a",{href:"#",onClick:function(e){ii(""),Us(ee.K5()),es(void 0),Ya(void 0),ni(""),Qr(""),r("".concat(le,"+")),i(!0),e.preventDefault(),n()},children:(0,K.jsx)("span",{className:"material-icons-round",style:{marginTop:f?"120px":"7px"},children:"close"})})}),!f&&(0,K.jsx)("div",{style:{marginLeft:X.tq?"5.5%":"15.5%",marginTop:X.tq?"10px":"35px",marginBottom:lt&&fr?X.tq?"20px":"5px":X.tq?"-2.5px":"-12.5px"},children:(0,K.jsxs)("div",{children:[(0,K.jsx)("img",{alt:"ens",src:"ens.png",width:X.tq?"20px":"25px",style:{margin:X.tq?"0 10px -2px 0":"0 10px -3px 0"}}),(0,K.jsx)("span",{style:{color:"#ff2600",fontSize:X.tq?"24px":"30px",fontWeight:"700",fontFamily:"SF Mono"},children:le.split(".eth")[0]}),(0,K.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:X.tq?"20px":"24px",color:"grey"},children:"."}),(0,K.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:X.tq?"18px":"22px",color:"grey",fontWeight:"700",letterSpacing:"0px",marginTop:"13px"},children:"eth"})]})}),le&<&&fr&&!f&&ca.length>0&&(0,K.jsx)(_e,{children:(0,K.jsx)("img",{src:fn||lt,width:X.tq?"104px":"125px",alt:le,onError:function(){return br(!1)}})}),le&&(!lt||!fr)&&!f&&ca.length>0&&(0,K.jsx)(_e,{children:["0","1","-",""].includes(ar.avatar)&&(0,K.jsx)("span",{className:"material-icons-round miui",style:{marginTop:"4px"},children:"portrait"})}),le&&!f&&ca.length>0&&(0,K.jsx)(_e,{children:(0,K.jsxs)("div",{className:"flex-row",style:{color:"#ff2600",marginTop:X.tq?"-38.5%":"-21.5%",marginLeft:X.tq?lt&&fr?"15.5%":"27.5%":"-4%"},children:[(0,K.jsxs)("div",{className:"flex-column",style:{alignItems:"flex-end",lineHeight:(X.tq,"23.5px"),marginTop:X.tq?"3px":"2px",fontSize:X.tq?"12px":"14px",fontWeight:"800"},children:[(0,K.jsx)("div",{children:(0,K.jsx)("span",{children:"Migrated"})}),(0,K.jsx)("div",{children:(0,K.jsx)("span",{children:"Owner"})}),(0,K.jsx)("div",{children:(0,K.jsx)("span",{children:"Manager"})}),(0,K.jsx)("div",{children:(0,K.jsx)("span",{children:"Wrapped"})})]}),(0,K.jsxs)("div",{style:{marginLeft:"5px",lineHeight:"23.5px",fontSize:"14px",fontFamily:"SF Mono",color:"white"},children:[(0,K.jsx)("div",{className:"flex-column",style:{alignItems:"flex-start",marginTop:"1px"},children:(0,K.jsx)("button",{className:"button-tiny",style:{marginBottom:"-2px"},"data-tooltip":T||He===Ci?"Resolver is migrated":"Resolver is not migrated",children:(0,K.jsx)("div",{className:"material-icons-round smoller",style:{color:T||He===Ci?"lightgreen":"orange",fontSize:"22px"},children:T||He===Ci?"done":"close"})})}),(0,K.jsx)("div",{style:{margin:"-5px 0 1px 0"},children:(0,K.jsx)("span",{className:"mono",id:"metaOwner",onClick:function(){},color:"",children:X.tq?ee.Zv(Hi?String(Hi):ee.DR):Hi?String(Hi):ee.DR})}),(0,K.jsx)("div",{style:{margin:"-3px 0 1px 0"},children:(0,K.jsx)("span",{className:"mono",id:"metaManager",onClick:function(){},children:X.tq?ee.Zv(Fo()):Fo()})}),(0,K.jsx)("div",{style:{margin:"0px 0 2px 0"},children:(0,K.jsx)("span",{className:"material-icons-round smoller",style:{color:"white",fontSize:"21px"},children:String(Hi)===ee.O["1"===s?7:3]?"done":"close"})})]})]})}),le&&f&&(0,K.jsx)(Ee,{children:(0,K.jsxs)("div",{className:"flex-column",style:{marginTop:X.tq?"-40px":"-10px",marginBottom:"80px"},children:[(0,K.jsx)("div",{style:{marginTop:"30px"},children:(0,K.jsx)(xe.Z,{height:50,width:50})}),(0,K.jsx)("div",{style:{marginTop:"20px"},children:(0,K.jsx)("span",{style:{color:"#ff2600",fontSize:"20px",fontWeight:"700"},children:Ms[0]})}),Ms[1]&&"-"!==Ms[1]&&(0,K.jsx)("div",{style:{marginTop:"10px"},children:(0,K.jsxs)("span",{style:{color:"white",fontSize:"18px",fontWeight:"700"},children:[(0,K.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"22px"},children:"gateway"!==or?Ms[1]:os?String(Number(Ms[1])-1):Ms[1]}),(0,K.jsx)("span",{children:" Of "}),(0,K.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"22px"},children:"gateway"!==or?ci:os?ci-1:ci})]})}),Ms[1]&&"-"===Ms[1]&&(0,K.jsx)("div",{style:{marginTop:"10px"},children:(0,K.jsx)("span",{style:{color:"white",fontSize:"15px",fontWeight:"700"},children:Ms[0].includes("Refresh")?"Please Be Patient":"This May Take Some Time"})}),(0,K.jsx)("div",{style:{marginTop:"75px",maxWidth:"400px",textAlign:"center"},children:(0,K.jsx)("span",{style:{color:"grey",fontSize:X.tq?"12px":"14px",fontWeight:"700"},children:"If this dialogue persists for too long, try closing and re-opening it"})})]})}),le&&ca.length>0&&!f&&(0,K.jsx)(Ee,{children:(0,K.jsxs)("div",{className:"flex-column",style:{marginTop:X.tq?lt&&fr?"0":"-17.5px":"0",marginLeft:X.tq?"-3.5%":"-2.5%"},children:[(0,K.jsx)("div",{className:"scrollable-div",style:{maxHeight:"500px",overflowY:"scroll"},children:(0,K.jsx)("ul",{style:{listStyle:"none",color:"white",marginLeft:X.tq?"-1%":"-5%"},children:(0,K.jsx)("div",{className:"flex-column",style:{paddingBottom:X.tq?"5px":"15px",paddingTop:"10px"},children:ca.map((function(e){return(0,K.jsxs)("li",{style:{display:"flex",flexDirection:"column",width:X.tq?"400px":"630px",maxWidth:X.tq?"92.5%":"95%",paddingLeft:X.tq?"10px":"15px",paddingRight:X.tq?"10px":"15px"},children:[(0,K.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",flexDirection:"column"},children:[(0,K.jsxs)("div",{style:{marginBottom:"10px",display:"flex",justifyContent:"space-between",width:X.tq?"90%":"100%"},children:[(0,K.jsxs)("span",{style:{fontFamily:"Spotnik",fontWeight:"700",fontSize:"15px",color:ee.IN.includes(e.type)?"orange":"cyan",marginRight:"15px"},children:["storage"===e.type&&(0,K.jsxs)("span",{children:[(0,K.jsx)("span",{className:"material-icons-round smol",style:{fontSize:"20px",display:"inline-block",color:"white"},children:"cloud_circle"}),"\xa0",(0,K.jsx)("span",{style:{position:"relative",top:"-2px",left:"1px"},children:or})]}),"storage"!==e.type&&(0,K.jsxs)("span",{children:[(0,K.jsx)("span",{className:"material-icons-round smol",style:{fontSize:"20px",display:"inline-block",color:"white"},children:"storage"===e.type?"cloud_circle":"resolver"===e.type?"gavel":"avatar"===e.type?"portrait":"addr"===e.type?"account_balance_wallet":"contenthash"===e.type?"public":"com.github"===e.type?"code":"url"===e.type?"share":"email"===e.type?"email":"pubkey"===e.type?"key":"com.twitter"===e.type?"groups":"com.discord"===e.type?"group_add":"xyz.farcaster"===e.type?"people_alt":"nostr"===e.type?"groups":"btc"===e.type?"currency_bitcoin":"ltc"===e.type?"currency_lira":"doge"===e.type?"pets":"sol"===e.type?"flash_on":"atom"===e.type?"font_download":"zonehash"===e.type?"tag":"circle_notifications"}),"\xa0",(0,K.jsx)("span",{style:{position:"relative",top:"-2px",left:"1px"},children:e.header})]}),ee.vc.includes(e.type)&&He===Ci&&!xn&&Sn&&(0,K.jsx)("button",{className:"button-tiny",onClick:function(){me(!0),vs("gpp_good"),js("resolver"===e.type?"lime":Sn===ee.U8?"yellow":"cyan"),Ca("resolver"===e.type?'Resolver is Migrated':'Global '.concat(Sn.startsWith("https://")?Sn===ee.U8?"Default Storage":"Custom Gateway":"IPNS",' is set as Ownerhash'))},"data-tooltip":"resolver"===e.type?"Resolver Is Migrated":"".concat(Sn.startsWith("https://")?Sn===ee.U8?"Default Storage Is Ownerhash":"Custom Gateway Is Ownerhash":"IPNS Ownerhash Is Set"),children:(0,K.jsx)("div",{className:"material-icons-round smol",style:{color:"resolver"===e.type?"lime":Sn===ee.U8?"yellow":(Sn.startsWith("https://"),"cyan")},children:"gpp_good"})}),ee.vc.includes(e.type)&&He===Ci&&xn&&(0,K.jsx)("button",{className:"button-tiny",onClick:function(){me(!0),vs("gpp_good"),js("resolver"===e.type?"lime":xn.startsWith("https://")?xn===ee.U8?"yellow":"cyan":"lime"),Ca("resolver"===e.type?'Resolver is Migrated':''.concat(xn.startsWith("https://")?xn===ee.U8?"Default Storage":"Custom Gateway":"IPNS"," is set as Recordhash"))},"data-tooltip":"resolver"===e.type?"Resolver Is Migrated":"".concat(xn.startsWith("https://")?xn===ee.U8?"Default Storage":"Custom Gateway":"Recordhash"," Is Set"),children:(0,K.jsx)("div",{className:"material-icons-round smol",style:{color:"resolver"===e.type?"lime":xn.startsWith("https://")?xn===ee.U8?"yellow":"cyan":"lime",marginLeft:(e.type,"5px")},children:"gpp_good"})}),ee.vc.includes(e.type)&&He!==Ci&&!xn&&!Sn&&(0,K.jsx)("button",{className:"button-tiny",onClick:function(){me(!0),vs("resolver"===e.type?"gpp_bad":"cancel"),js("orangered"),Ca((e.type,'Resolver is not Migrated'))},"data-tooltip":(e.type,"Resolver Not Migrated"),children:(0,K.jsx)("div",{className:"material-icons-round smol",style:{color:"orangered",marginLeft:(e.type,"5px")},children:"resolver"===e.type?"gpp_bad":"cancel"})}),ee.vc.includes(e.type)&&He!==Ci&&(xn||Sn)&&(0,K.jsx)("button",{className:"button-tiny",onClick:function(){me(!0),vs("resolver"===e.type?"gpp_bad":"gpp_maybe"),js("resolver"===e.type?"orangered":xn?"orange":"lightblue"),Ca("resolver"===e.type?'Resolver not Migrated':xn?''.concat(xn.startsWith("https://")?"Gateway":"Recordhash",' is Set as Recordhash'):''.concat(Sn.startsWith("https://")?"Gateway":"Ownerhash",' is Set as Ownerhash'))},"data-tooltip":xn?"Resolver not Migrated. ".concat(xn.startsWith("https://")?"Gateway":"Recordhash"," Exists as Recordhash"):"Resolver not Migrated. ".concat(Sn.startsWith("https://")?"Gateway":"Ownerhash"," Exists as Ownerhash"),children:(0,K.jsx)("div",{className:"material-icons-round smol",style:{color:"resolver"===e.type?"orangered":xn?"orange":"lightblue",marginLeft:(e.type,"5px")},children:"resolver"===e.type?"gpp_bad":"gpp_maybe"})}),"storage"===e.type&&(0,K.jsx)("button",{className:"button-tiny",onClick:function(){Fs(!0)},"data-tooltip":"Click For IPFS Hash",disabled:!ur,children:(0,K.jsx)("div",{className:"material-icons-round smoller",style:{color:ur?xn&&xn!==ee.U8?"lime":"cyan":"orange",fontSize:"17px",marginLeft:"-5.5px"},children:"rss_feed"})}),"resolver"!==e.type&&(0,K.jsx)("button",{className:"button-tiny",onClick:function(){me(!0),vs("info"),js(ee.IN.includes(e.type)?"orange":"cyan"),Ca(ee.IN.includes(e.type)?'In Process of Bug Fixing':"".concat(e.help,""))},"data-tooltip":ee.IN.includes(e.type)?"Coming Soon":"Enlighten Me",children:(0,K.jsx)("div",{className:"material-icons-round smol",style:{color:ee.IN.includes(e.type)?"orange":"cyan",marginLeft:"storage"===e.type?"-5px":"5px"},children:"info_outline"})}),!ee.vc.includes(e.type)&&!ee.IN.includes(e.type)&&He===Ci&&(xn||Sn)&&(0,K.jsx)("button",{className:"button-tiny",onClick:function(){me(!0),vs("timer"),js(hi<0?"orange":"lime"),Ca(hi<0?'Too Soon To Update. Please wait at least one hour between updates':'Ready For Next Record Update')},"data-tooltip":hi<0?"Too Soon To Update":"Ready For Next Update",children:(0,K.jsx)("div",{className:"material-icons-round smol",style:{color:hi<0?"orange":"lime",marginLeft:"-5px"},children:"timer"})}),!ee.vc.includes(e.type)&&!ee.IN.includes(e.type)&&He===Ci&&Mi&&(xn||Sn)&&Hr.ownerstamp.length>0&&(0,K.jsx)("button",{className:["",".","0","1"].includes(ta)||ta!==e.type?"button-tiny":"button-tiny blink",onClick:function(){""===ta&&lp([e.type,""],$e,le,!0),ia(e.type)},"data-tooltip":[e.type,".","0","1"].includes(ta)?[".","","0","1"].includes(ta)?"1"===ta?"Record Updated":"0"===ta?"No New Update":"."===ta?"Please Wait to Refresh again":"-"===ta?"No New Update":"Click to Refresh":"Refresh in Progress":e.value===Hr[e.type]?"Record in Sync with ".concat("gateway"===or?"Gateway":"IPNS"):"Record not in Sync. Click to refresh",children:(0,K.jsx)("div",{className:"material-icons-round smol",style:{color:[e.type,".","0","1"].includes(ta)?[".","","0","1"].includes(ta)?"1"===ta?"lime":"0"===ta?"yellow":"."===ta?"white":"-"===ta?"yellow":"cyan":"white":e.value===Hr[e.type]?"lightgreen":"orange",marginLeft:"-5px"},children:"sync"})}),e.state&&(0,K.jsx)("div",{className:"material-icons-round smol",style:{color:Y&&Ti?"orangered":"lime",marginLeft:"-5px"},children:Y&&Ti?"cancel":"task_alt"})]}),(0,K.jsx)("button",{className:"resolver"===e.type&&He!==Ci&&zn.includes(String(Mi))?"button emphasis":"button",hidden:"resolver"===e.type&&Do(e)||!Mi,disabled:Do(e),style:{alignSelf:"flex-end",height:"25px",width:"auto",marginBottom:"6px",marginRight:"-6px",background:Do(e)?_o(e)?"none":"rgb(255, 255, 255, 0.2)":_o(e)?"none":"linear-gradient(112deg, rgba(190,95,65,1) 0%, rgba(191,41,36,1) 48%, rgba(203,111,0,1) 100%)"},onClick:function(){wa(e.type),Na("1"),"resolver"===e.type?Es(!0):"storage"===e.type?Is(!0):ps(!0),ee.vc.includes(e.type)&&ds((function(t){return[].concat((0,x.Z)(t),[e.type])}))},"data-tooltip":e.tooltip,children:(0,K.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"13px",color:ee.vc.includes(e.type)?"white":Ys[e.type]?us.length>1?"lime":"white":"grey"},children:[_o(e)?"":e.label,"\xa0",(0,K.jsx)("span",{className:"material-icons-round smoller",children:_o(e)?Ys[e.type]?"task_alt":"cancel":"manage_history"})]})})]}),(0,K.jsxs)("div",{className:"flex-row",style:{width:"100%"},children:[(0,K.jsx)("input",{className:ee.vc.includes(e.type)?He!==Ci?"inputextra_":"storage"===e.type&&e.value==ee.U8?"inputextra__":"inputextra":He!==Ci?"inputextra_":ee.IN.includes(e.type)?"inputextra___":"inputextra",id:e.key,placeholder:ee.IN.includes(e.type)?"Coming Soon":e.value,type:"text",disabled:!e.editable||ee.IN.includes(e.type)||!zn.includes(String(Mi)),style:{background:He!==Ci||ee.IN.includes(e.type)||!zn.includes(String(Mi))?ee.vc.includes(e.type)?"linear-gradient(90deg, rgba(100,0,0,0.5) 0%, rgba(100,25,25,0.5) 50%, rgba(100,0,0,0.5) 100%)":"none":"storage"===e.type&&e.value===ee.U8?"linear-gradient(90deg, rgba(50,50,0,0.5) 0%, rgba(50,50,25,0.5) 50%, rgba(50,50,0,0.5) 100%)":"linear-gradient(90deg, rgba(0,50,0,0.5) 0%, rgba(25,50,25,0.5) 50%, rgba(0,50,0,0.5) 100%)",fontFamily:"SF Mono",fontWeight:"400",fontSize:"14px",width:"100%",wordWrap:"break-word",textAlign:"left",marginTop:"-5px",marginBottom:"-5px",paddingRight:ee.vc.includes(e.type)?"0":"30px",color:Ys[e.type]?"storage"===e.type&&e.value===ee.U8?"yellow":"lightgreen":"white",cursor:"copy"},onChange:function(t){!function(e,t){var n=t.trim(),a=Ys;if(a.resolver=!1,"storage"===e)a[e]=!0;else if("contenthash"===e)a[e]=ee.rv(n);else if("addr"===e)a[e]=ee.Q1(n);else if("avatar"===e)a[e]=ee.tr(n);else if("email"===e)a[e]=ee.Jh(n);else if("pubkey"===e)a[e]=ee.V4(n);else if("com.github"===e)a[e]=ee.wE(n);else if("url"===e)a[e]=ee.CB(n);else if("com.twitter"===e)a[e]=ee.L3(n);else if("com.discord"===e)a[e]=ee.Iu(n);else if("xyz.farcaster"===e)a[e]=ee.Io(n);else if("nostr"===e)a[e]=ee.Jh(n)||ee.MP(n);else if("btc"===e)a[e]=ee.MP(n);else if("ltc"===e)a[e]=ee.Yo(n);else if("doge"===e)a[e]=ee.fp(n);else if("sol"===e)a[e]=ee.A2(n);else if("atom"===e)a[e]=ee.s8(n);else{if("zonehash"!==e)return ds((function(t){return[].concat((0,x.Z)(t),[e])})),void console.error("Error:","Illegal State Checkpoint");a[e]=ee.MS(n)}$s(a);var s=fs;s[e]=n,bs(s);var r=us;!r.includes(e)&&fs[e]?ds((function(t){return[].concat((0,x.Z)(t),[e])})):r.includes(e)&&!fs[e]&&ds((function(t){return t.filter((function(t){return t!==e}))}));var i=ca.map((function(e){return us.includes(e.type)?Pe(Pe({},e),{},{editable:!0,active:!0,state:!1}):e}));ga(i)}(e.type,t.target.value)}},e.key),!ee.vc.includes(e.type)&&!ee.IN.includes(e.type)&&!us.includes(e.type)&&(0,K.jsx)("div",{id:e.type,className:"material-icons-round",style:{cursor:"copy",fontSize:"22px",fontWeight:"700",marginLeft:"-25px",color:"lightgreen",opacity:"0"===ar[e.type]||!e.value&&"-"!==ar[e.type]?"0":"1"},onClick:function(){return ee.NA(e.value,e.type)},children:"1"===ar[e.type]?"content_copy":"-"===ar[e.type]?"hourglass_top":"content_copy"})]})]}),(0,K.jsx)("hr",{style:{marginTop:"5px"}})]},e.key)}))})})}),us.length>1&&!us.includes("resolver")&&!us.includes("storage")&&(0,K.jsx)("div",{style:{marginTop:"-10px",marginBottom:"40px"},children:(0,K.jsx)("button",{className:"button flex-column emphasis",hidden:us.length<2,disabled:!Mi||!zn.includes(String(Mi))||fs===ee.K5(),style:{alignSelf:"flex-end",height:"30px",width:"auto",marginTop:X.tq?"-3px":"35px"},onClick:function(){wa("records"),Na("1"),ps(!0)},"data-tooltip":"Set Multiple Records in One Click",children:(0,K.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"15px"},children:["Edit All","\xa0",(0,K.jsx)("span",{className:"material-icons-round smoller",children:"manage_history"})]})})})]})}),(0,K.jsxs)("div",{id:"modal-inner",children:[(0,K.jsx)(B.Z,{color:Ss,icon:xs,onClose:function(){return me(!1)},show:ce,position:"",children:Ra}),(0,K.jsx)(ve.Z,{color:Ss,icon:xs,onClose:function(){return Ce(!1)},show:he,handleTrigger:function(e){Ur((function(t){return Pe(Pe({},t),{},{trigger:e})}))},handleModalData:function(e){Ur((function(t){return Pe(Pe({},t),{},{modalData:e})}))},children:Aa}),(0,K.jsx)(ge,{color:"lime",icon:"free_breakfast",onClose:function(){Fe(!1),b(!1)},show:ze,children:La}),(0,K.jsx)(ie,{handleTrigger:function(e){},handleModalData:function(e){},onClose:function(){Fs(!1)},show:zs,children:ur}),(0,K.jsx)(q.Z,{handleTrigger:function(e){Zr((function(t){return Pe(Pe({},t),{},{trigger:e})})),e?Na("1"):(Na("0"),wa("")),Jn(!1)},handleModalData:function(e){Zr((function(t){return Pe(Pe({},t),{},{modalData:e})}))},onClose:function(){Jn(!1)},show:Hn,children:[le,or]}),(0,K.jsx)(U.Z,{handleTrigger:function(e){Fr((function(t){return Pe(Pe({},t),{},{trigger:e})})),e?Na("1"):(Na("0"),wa(""))},handleModalData:function(e){Fr((function(t){return Pe(Pe({},t),{},{modalData:e})}))},onClose:function(){Qn(!1)},show:$n,children:void 0}),(0,K.jsx)($,{handleTrigger:function(e){Er((function(t){return Pe(Pe({},t),{},{trigger:e})})),e?Na("1"):(Na("0"),wa(""))},handleModalData:function(e){Er((function(t){return Pe(Pe({},t),{},{modalData:e})}))},onClose:function(){Es(!1)},show:Ps&&"resolver"===Ta,children:!!Sn||!!xn}),(0,K.jsx)(Te.Z,{handleTrigger:function(e){Ir((function(t){return Pe(Pe({},t),{},{trigger:e})})),e?Na("1"):(Na("0"),wa(""))},handleModalData:function(e){Ir((function(t){return Pe(Pe({},t),{},{modalData:e})}))},onClose:function(){Is(!1)},show:Os&&!Hn,children:"1"}),(0,K.jsx)(Q.Z,{onClose:function(){te(!1),vr(!0)},color:Ss,show:Y&&!f,title:"cancel",children:Ms[0]})]})]})}):null;return l?N.createPortal(fp,document.getElementById("modal")):null}},41894:function(e,t,n){"use strict";var a,s,r,i,o,p=n(71383),l=n(16835),y=n(67294),u=n(85518),d=n(73935),c=n(14141),m=n(22794),f=n(85893),b=c.ZP.div(a||(a=(0,p.Z)(["\n padding-top: 5px;\n padding-left: 20px;\n padding-right: 20px;\n padding-bottom: 25px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n margin-top: 5px;\n"]))),h=c.ZP.div(s||(s=(0,p.Z)(["\n margin-top: -15px;\n font-size: 14px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n font-weight: 700;\n color: white;\n padding-left: 20px;\n padding-right: 20px;\n color: cyan;\n margin-left: 10px;\n"]))),g=c.ZP.div(r||(r=(0,p.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),x=c.ZP.div(i||(i=(0,p.Z)(["\n position: fixed;\n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: 460px;\n max-width: ",";\n height: 310px;\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n padding: 3px;\n"])),u.tq?"90%":"60%"),v=c.ZP.div(o||(o=(0,p.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"])));t.Z=function(e){var t=e.show,n=e.onClose,a=e.children,s=e.handleModalData,r=e.handleTrigger,i=y.useState(""),o=(0,l.Z)(i,2),p=o[0],u=o[1],c=y.useState(""),T=(0,l.Z)(c,2),w=T[0],S=T[1],j=y.useState(!1),k=(0,l.Z)(j,2),N=k[0],M=k[1],Z=y.useState(!1),R=(0,l.Z)(Z,2),C=R[0],P=R[1],E=y.useState(""),_=(0,l.Z)(E,2),D=_[0],O=_[1];y.useEffect((function(){M(!0)}),[]);var I=t?(0,f.jsxs)(v,{children:[(0,f.jsxs)(x,{children:[(0,f.jsx)(g,{children:(0,f.jsx)("a",{href:"#",onClick:function(e){s(void 0),r(!1),u(""),S(""),e.preventDefault(),n()},children:(0,f.jsx)("span",{className:"material-icons",children:"close"})})}),t&&(0,f.jsxs)(h,{children:[(0,f.jsx)("div",{className:"material-icons",style:{marginTop:"4px",fontSize:"66px",color:"lightgreen"},children:"key"}),(0,f.jsxs)("div",{style:{marginTop:"5px"},children:[(0,f.jsx)("span",{style:{fontSize:"16px",fontWeight:"700"},children:"Enter Secret Key Identifier"}),(0,f.jsx)("button",{className:"button-tiny",style:{marginTop:"-7.5px"},onClick:function(){P(!0),O('Secret identifier or Password is an Optional Value required to generate a secure IPNS key or the Record Signer key or RSA Encryption key.

You will need it to update your records in the future. Please remember your choice.

Your provided password will apply to all three Key types.
')},"data-tooltip":"Enlighten Me",children:(0,f.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px"},children:"info_outline"})})]})]}),(0,f.jsxs)(b,{children:[(0,f.jsxs)("form",{className:"flex-column",style:{marginLeft:"13px",marginTop:"7px"},children:[(0,f.jsxs)("div",{className:"flex-row",style:{width:"150%"},children:[(0,f.jsx)("input",{id:"username",placeholder:"username (.eth domain)",type:"text",value:w||(a&&a.length>0?a[0]:""),readOnly:!!(a&&a.length>0),onChange:function(e){S(e.target.value)},style:{background:"black",outline:"none",border:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"150%",wordWrap:"break-word",textAlign:"left",color:w?w.endsWith(".eth")?"lime":"white":a&&a.length>0?"cyan":"rgb(255, 255, 255, 0.6)",cursor:"copy",marginBottom:"10px"}},"0"),(0,f.jsx)("button",{className:"button-tiny",style:{marginTop:"-12.5px"},disabled:!0,onClick:function(){P(!0),O('Username')},"data-tooltip":"Username",children:(0,f.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px"},children:"info_outline"})})]}),(0,f.jsxs)("div",{className:"flex-row",style:{width:"150%"},children:[(0,f.jsx)("input",{id:"password",placeholder:"password (optional)",type:"password",value:p,onChange:function(e){u(e.target.value)},style:{background:"black",outline:"none",border:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"150%",wordWrap:"break-word",textAlign:"left",color:p?"white":"rgb(255, 255, 255, 0.6)",cursor:"copy"}},"1"),(0,f.jsx)("button",{className:"button-tiny",style:{marginTop:"0px"},disabled:!0,onClick:function(){P(!0),O('Secret IPNS identifier')},"data-tooltip":"Password",children:(0,f.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px"},children:"info_outline"})})]})]}),(0,f.jsx)("button",{className:"button",style:{height:"33px",width:"130px",padding:"5px",marginTop:"20px",fontSize:"16px",fontWeight:"700"},onClick:function(){s(a&&a.length>0?p:"".concat(w,":").concat(p)),r(!0),u(""),S(""),n()},"data-tooltip":"Click to proceed",children:(0,f.jsxs)("div",{className:"flex-row",style:{fontSize:"15px"},children:["proceed","\xa0",(0,f.jsx)("span",{className:"material-icons smoller",children:"vpn_key"})]})})]})]}),(0,f.jsx)("div",{id:"modal-inner",children:(0,f.jsx)(m.Z,{color:"cyan",icon:"info",onClose:function(){return P(!1)},show:C,position:"",children:D})})]}):null;return N?d.createPortal(I,document.getElementById("modal")):null}},17586:function(e,t,n){"use strict";n.d(t,{R:function(){return i},j:function(){return o}});var a=n(67294),s=n(85518),r=n(85893),i=function(e){var t=e.onSearch,n=(0,a.useState)(""),s=n[0],i=n[1];return(0,r.jsx)("form",{className:"flex-column-sans-justify",onSubmit:function(e){e.preventDefault(),t(s)},children:(0,r.jsxs)("div",{className:"flex-row-sans-justify",children:[(0,r.jsx)("input",{type:"text",placeholder:"search".toLowerCase(),value:s.toLowerCase(),name:".eth search",id:"eth-search",onChange:function(e){i(e.target.value.toLowerCase())},onInvalid:function(e){e.target.setCustomValidity("Please enter a valid .eth name")},onInput:function(e){e.target.setCustomValidity("")},required:!0,pattern:".*\\.eth$",title:"\u2757 Input must end with '.eth'"}),(0,r.jsx)("button",{className:"button",style:{height:"38px",width:"50px",marginLeft:"15px"},type:"submit","data-tooltip":"Search",disabled:!s.length,children:(0,r.jsx)("span",{className:"material-icons",style:{fontSize:"22px",fontWeight:"700"},children:"search"})})]})})},o=function(e){var t=e.onSearch,n=(0,a.useState)(""),i=n[0],o=n[1];return(0,r.jsx)("form",{style:{display:"flex",alignItems:"center",flexDirection:"column"},onSubmit:function(e){e.preventDefault(),t(i)},children:(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",flexDirection:"row"},children:[(0,r.jsx)("input",{className:"input-main",type:"text",placeholder:s.tq?"search":"search domain",value:i.toLowerCase(),name:".eth search",id:"eth-search",onChange:function(e){o(e.target.value.toLowerCase())},onInvalid:function(e){e.target.setCustomValidity("Please enter a valid .eth name")},onInput:function(e){e.target.setCustomValidity("")},required:!0,pattern:".*\\.eth$",title:"\u2757 Input must end with '.eth'",style:{fontFamily:i?"SF Mono":"Spotnik",fontWeight:"600",fontSize:i?"22px":"17px",paddingTop:i?"8px":"17px",paddingBottom:i?"8px":"15px"}}),(0,r.jsx)("button",{className:"button",style:{height:"46px",width:"80px",marginLeft:"20px"},type:"submit","data-tooltip":"Search",disabled:!i.length,children:(0,r.jsx)("span",{className:"material-icons",style:{fontSize:"28px",fontWeight:"700"},children:"search"})})]})})}},46822:function(e,t,n){"use strict";n.d(t,{Z:function(){return ce}});var a,s,r,i,o,p,l,y,u,d,c=n(71383),m=n(27812),f=n(50029),b=n(59499),h=n(16835),g=n(87794),x=n.n(g),v=n(67294),T=n(73935),w=n(14141),S=n(79911),j=n(2593),k=n(27586),N=n(83875),M=n(16441),Z=n(84243),R=n(8198),C=n(38197),P=n(31886),E=n(29251),_=n(57734),D=n(37918),O=n.n(D),I=n(56371),A=n(22794),W=n(41894),z=n(85518),F=n(62012),L=n(85893),B=w.ZP.div(a||(a=(0,c.Z)(["\n padding-top: 5px;\n padding-left: 20px;\n padding-right: 20px;\n padding-bottom: 25px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n margin-top: 5px;\n"]))),q=w.ZP.div(s||(s=(0,c.Z)(["\n margin-top: -15px;\n font-size: 14px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n font-weight: 700;\n color: white;\n padding-left: 20px;\n padding-right: 20px;\n color: cyan;\n margin-left: 10px;\n"]))),U=w.ZP.div(r||(r=(0,c.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),K=w.ZP.div(i||(i=(0,c.Z)(["\n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: 460px;\n max-width: ",";\n height: 360px;\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n padding: 3px;\n"])),z.tq?"90%":"60%"),G=w.ZP.div(o||(o=(0,c.Z)(["\n position: fixed;\n top: -30px;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"]))),H=function(e){var t=e.show,n=e.onClose,a=(e.children,e.handleModalData),s=e.handleTrigger,r=v.useState(!1),i=(0,h.Z)(r,2),o=i[0],p=i[1],l=v.useState(["white","white"]),y=(0,h.Z)(l,2),u=y[0],d=y[1],c=v.useState(""),m=(0,h.Z)(c,2),f=m[0],b=m[1],g=v.useState(""),x=(0,h.Z)(g,2),w=x[0],S=x[1],j=v.useState(""),k=(0,h.Z)(j,2),N=k[0],M=k[1],Z=v.useState(!1),R=(0,h.Z)(Z,2),C=R[0],P=R[1],E=v.useState(""),_=(0,h.Z)(E,2),D=_[0],O=_[1];v.useEffect((function(){p(!0)}),[]);var I=t?(0,L.jsxs)(G,{children:[(0,L.jsxs)(K,{children:[(0,L.jsx)(U,{children:(0,L.jsx)("a",{href:"#",onClick:function(e){s(!1),a(void 0),d(["white","white"]),e.preventDefault(),n()},children:(0,L.jsx)("span",{className:"material-icons",children:"close"})})}),(0,L.jsxs)(q,{children:[(0,L.jsx)("div",{className:"material-icons",style:{marginTop:"10px",fontSize:"66px",color:"lightgreen"},children:"shopping_cart_checkout"}),(0,L.jsxs)("div",{style:{marginTop:"17px",marginBottom:"0px"},children:[(0,L.jsx)("span",{style:{fontSize:"18px",fontWeight:"700"},children:"Enter Payment Info"}),(0,L.jsx)("button",{className:"button-tiny",style:{marginTop:"-7.5px",marginLeft:"5px"},onClick:function(){P(!0),O("Please Specify the Requested Details To Receive Private Payment")},"data-tooltip":"Enlighten Me",children:(0,L.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px"},children:"info_outline"})})]})]}),(0,L.jsxs)(B,{children:[(0,L.jsxs)("div",{className:"flex-row",style:{width:"400px",marginTop:"5px"},children:[(0,L.jsx)("input",{id:"info",placeholder:"enter payer .eth",type:"text",style:{background:"black",outline:"none",border:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"90%",wordWrap:"break-word",textAlign:"left",color:u[0],cursor:"copy"},onChange:function(e){var t;(t=e.target.value).endsWith(".eth")?(b(t),d(["lime",u[1],u[2]])):(b(""),d(["white",u[1],u[2]]))}},"0"),(0,L.jsx)("button",{className:"button-tiny",style:{marginTop:"0px"},onClick:function(){P(!0),O('ENS Of Sender')},"data-tooltip":"Sender",children:(0,L.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px"},children:"info_outline"})})]}),(0,L.jsxs)("div",{className:"flex-row",style:{width:"400px",marginTop:"7px"},children:[(0,L.jsx)("input",{id:"info",placeholder:"enter payee address or .eth",type:"text",style:{background:"black",outline:"none",border:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"90%",wordWrap:"break-word",textAlign:"left",color:u[1],cursor:"copy"},onChange:function(e){var t;t=e.target.value,F.Q1(t)||F.K9(t)?(S(t),d([u[0],"lime",u[2]])):(S(""),d([u[0],"white",u[2]]))}},"1"),(0,L.jsx)("button",{className:"button-tiny",style:{marginTop:"0px"},onClick:function(){P(!0),O('Private Address Of Receiver')},"data-tooltip":"Receiver",children:(0,L.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px"},children:"info_outline"})})]}),(0,L.jsxs)("div",{className:"flex-row",style:{width:"400px",marginTop:"7px"},children:[(0,L.jsx)("input",{id:"info",placeholder:"enter amount to receive",type:"text",style:{background:"black",outline:"none",border:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"90%",wordWrap:"break-word",textAlign:"left",color:u[2],cursor:"copy"},onChange:function(e){var t;"0"===(t=e.target.value)||"0."===t||/[a-zA-Z]/.test(t)?(M(""),d([u[0],u[1],"white"])):(M(t),d([u[0],u[1],"lime"]))}},"2"),(0,L.jsx)("button",{className:"button-tiny",style:{marginTop:"0px"},onClick:function(){P(!0),O('Amount To Receiver')},"data-tooltip":"Ether",children:(0,L.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px"},children:"info_outline"})})]}),(0,L.jsx)("button",{className:"button",style:{height:"33px",width:"90px",padding:"5px",marginTop:"17px",fontSize:"16px",fontWeight:"700"},onClick:function(e){s(!0),a("".concat(f,":").concat(w,":").concat(N)),d(["white","white","white"]),e.preventDefault(),n()},disabled:!f||!w||!N,"data-tooltip":"Confirm",children:(0,L.jsxs)("div",{className:"flex-row",style:{fontSize:"15px"},children:["Next","\xa0",(0,L.jsx)("span",{className:"material-icons smoller",children:"navigate_next"})]})})]})]}),(0,L.jsx)("div",{id:"modal-inner",children:(0,L.jsx)(A.Z,{color:"cyan",icon:"info",onClose:function(){return P(!1)},show:C,position:"",children:D})})]}):null;return o?T.createPortal(I,document.getElementById("modal")):null},J=n(64637),V=n(89479),Y=n(59595),$=n(36490),Q=n(58783),X=n(45887),ee=n(24978),te=n(67191),ne=n(71775),ae=n(69077),se=n(21429),re=n(33305);function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function oe(e){for(var t=1;t0,state:!1,label:"Set",help:'Set Encryption Public Key To Send Money',tooltip:"Set New RSA PubKey"},{key:1,header:"Encrypted Payment",type:"stealth",value:e,editable:!1,active:Xe===pr&&Vs>0,state:!1,label:"Set",help:'Encrypted Payment Address To Receive Money',tooltip:"Set New Stealth Payment"}])}function Kr(e,t){return"Requesting Signature To Generate IPNS Key\n\nOrigin: ".concat(["recordhash","storage"].includes(t)?Te:br,"\nKey Type: ed25519\nExtradata: ").concat(e,"\nSigned By: ").concat(fr)}function Gr(e,t,n){var a="eip155:"+r+":"+N.computeAddress("0x".concat(n));return"Requesting Signature To Update ENS Record\n\nOrigin: ".concat(Te,"\nRecord Type: ").concat(e,"\nExtradata: ").concat(t,"\nSigned By: ").concat(a)}function Hr(e){var t="eip155:"+r+":"+N.computeAddress("0x".concat(e));return"Requesting Signature To Approve ENS Records Signer\n\nOrigin: ".concat(Te,"\nApproved Signer: ").concat(t,"\nApproved By: ").concat(fr)}function Jr(e){return"Requesting Signature To Generate ENS Records Signer\n\nOrigin: ".concat(Te,"\nKey Type: secp256k1\nExtradata: ").concat(e,"\nSigned By: ").concat(fr)}function Vr(e){return"Requesting Signature To Generate Encryption Key\n\nOrigin: ".concat(Te,"\nKey Type: RSA-2048\nExtradata: ").concat(e,"\nSigned By: ").concat(fr)}function Yr(e,t){var n="",a="";["stealth","rsa"].includes(e)&&(a="string",n=t);var s=Z.$.encode([a],[n]),r=[F.z7];return new R.vU(r).encodeFunctionData("signedRecord",[Qn?N.computeAddress("0x".concat(Qn[0])):F.DR,Wa[e],As,s])}function $r(e,t){var n="",a="";["stealth","rsa"].includes(e)&&(n="string",a=t);var s=Z.$.encode([n],[a]),r=C.keccak256(s);return M.hexlify(P.pack(["bytes"],[r]))}function Qr(){return Er&&Dr?String(Er)===F.O["1"===r?7:3]?Ar?String(Ar):F.DR:String(Dr):F.DR}function Xr(){me(!0),fn(""),ua([]),ge(""),Ds(""),Xn(void 0),Kn(void 0),Vn(void 0),D(!1),Ns(""),Cs(""),Mn(!1),Ut(!1),ys({modalData:void 0,trigger:!1}),ms({modalData:void 0,trigger:!1}),is(!1),ia&&oa(!1)}function ei(){xa("gpp_good"),Sa("lime"),Ut(!1),Xn(void 0),Kn(void 0),Vn(void 0),Ds(""),Ns(""),Cs(""),ge(""),Mn(!1),ys({modalData:void 0,trigger:!1}),ms({modalData:void 0,trigger:!1}),is(!1),fn(""),D(!1),ia&&oa(!1),aa(!1)}function ti(e){return ni.apply(this,arguments)}function ni(){return ni=(0,f.Z)(x().mark((function e(t){var n,a;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Qn){e.next=4;break}return n=function(){var e=(0,f.Z)(x().mark((function e(){var n,a;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new S.Wallet("0x"+Qn[0],dr),e.next=3,n.signMessage(t.message);case 3:if(!(a=e.sent)){e.next=6;break}return e.abrupt("return",a);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),a=n(),e.abrupt("return",a);case 4:case"end":return e.stop()}}),e)}))),ni.apply(this,arguments)}function ai(){return ai=(0,f.Z)(x().mark((function e(){var t;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Bs(4),Ma(["Waiting For Signature","rsa"===mn?"4":"3"]),Qn&&(t=function(){var e=(0,f.Z)(x().mark((function e(){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Sr({message:Hr(Qn[0])});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),t());case 3:case"end":return e.stop()}}),e)}))),ai.apply(this,arguments)}function si(e){return ri.apply(this,arguments)}function ri(){return ri=(0,f.Z)(x().mark((function e(t){var n;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Bs(2),n=function(){var e=(0,f.Z)(x().mark((function e(){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Sr({message:Jr(C.keccak256(P.pack(["bytes32","address"],[C.keccak256(P.pack(["string"],[t])),rr])))});case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),n();case 3:case"end":return e.stop()}}),e)}))),ri.apply(this,arguments)}function ii(e,t){return oi.apply(this,arguments)}function oi(){return oi=(0,f.Z)(x().mark((function e(t,n){var a,s;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=function(){var e=(0,f.Z)(x().mark((function e(){var a,s;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=new mr.eth.Contract(F.qP[6].contractInterface,F.qP[6].addressOrName),!["stealth","rsa"].includes(t)){e.next=5;break}return e.next=4,a.methods.setText(k.VM(Te),t,n).estimateGas({from:rr});case 4:s=e.sent;case 5:return e.abrupt("return",s);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.next=3,a();case 3:return s=e.sent,e.abrupt("return",s);case 5:case"end":return e.stop()}}),e)}))),oi.apply(this,arguments)}function pi(e){return li.apply(this,arguments)}function li(){return li=(0,f.Z)(x().mark((function e(t){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getText("stealth").then((function(e){e?(It(e),yi(t)):(It(""),yi(t))})).catch((function(){It(""),yi(t)}));case 2:case"end":return e.stop()}}),e)}))),li.apply(this,arguments)}function yi(e){return ui.apply(this,arguments)}function ui(){return ui=(0,f.Z)(x().mark((function e(t){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getText("rsa").then((function(e){e?(Ft(e),pt(!0)):(Ft(""),pt(!0))})).catch((function(){Ft(""),pt(!0)}));case 2:case"end":return e.stop()}}),e)}))),ui.apply(this,arguments)}function di(){return(di=(0,f.Z)(x().mark((function e(t,n){var a,s,r,i,o,p;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,dr.getResolver(n);case 3:if(null===(a=e.sent)||void 0===a||!a.address){e.next=38;break}if(et(a.address),st(a),a.address!==pr){e.next=27;break}return e.next=10,ne.I7(n,lr,Qr());case 10:if(s=e.sent,!(t.ownerstamp.length>1)){e.next=22;break}i=0;case 13:if(!(i<2)){e.next=20;break}return e.next=16,F.TN(te.K5(s[0]).decoded,i);case 16:r=e.sent;case 17:i++,e.next=13;break;case 20:e.next=23;break;case 22:r=1===t.ownerstamp.length?{_value:"//",_sequence:"-1"}:{_value:"//",_sequence:""};case 23:Qa(r._value.split("/")[2]),t.ownerstamp.length>=1&&Number(r._sequence)===Number(t.timestamp.revision)-1&&s[1]?(t.stealth||t.rsa?(It(t.stealth),Ft(t.rsa)):(It(""),Ft("")),pt(!0)):pi(a),e.next=36;break;case 27:return e.next=29,ci(["text","stealth"],a,n,!1);case 29:return o=e.sent,It(o||""),e.next=33,ci(["text","rsa"],a,n,!1);case 33:p=e.sent,Ft(p||""),pt(!0);case 36:e.next=43;break;case 38:st(a),et(""),It(""),Ft(""),pt(!0);case 43:e.next=48;break;case 45:e.prev=45,e.t0=e.catch(0),console.error("Error in getResolver():",e.t0);case 48:case"end":return e.stop()}}),e,null,[[0,45]])})))).apply(this,arguments)}function ci(e,t,n,a){return mi.apply(this,arguments)}function mi(){return(mi=(0,f.Z)(x().mark((function e(t,n,a,s){var r;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s&&(t[1]?Jt(t[1]):Jt(t[0])),e.prev=1,"text"!==t[0]){e.next=10;break}return e.next=5,n.getText(t[1]);case 5:if(!(r=e.sent)){e.next=10;break}return"stealth"===t[1]?It(r):"rsa"===t[1]&&Ft(r),s&&(nn(r),Jt("1")),e.abrupt("return",r);case 10:return s&&Jt("0"),e.abrupt("return","");case 14:return e.prev=14,e.t0=e.catch(1),console.error("Error in refreshRecord('".concat(t,"'):"),e.t0),s&&Jt("0"),e.abrupt("return","");case 19:case"end":return e.stop()}}),e,null,[[1,14]])})))).apply(this,arguments)}function fi(e,t,n,a){return bi.apply(this,arguments)}function bi(){return bi=(0,f.Z)(x().mark((function e(t,n,a,s){var i,o,p;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i={},t?((o=JSON.parse(JSON.stringify(t,(function(e,t){return"bigint"===typeof t?String(t):t}))))._name._privKey&&(o._name._privKey._key={}),i=JSON.stringify(o)):i=JSON.stringify(i),p={ens:Te,controller:rr,manager:Qn?N.computeAddress("0x".concat(Qn[0])):F.DR,managerSignature:As,revision:t?ir.encode(t):{},chain:r,ipns:he,ipfs:s,gas:JSON.stringify(n),version:i,timestamp:a,hashType:Ja},e.prev=3,e.next=6,fetch("".concat(gr,":").concat(hr,"/revision"),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify(p)}).then((function(e){return e.json()})).then((function(e){return!!e.status&&"true"===e.status}));case 6:e.next=16;break;case 8:e.prev=8,e.t0=e.catch(3),console.error("ERROR:","Failed to write Revision to CCIP2 backend"),Ma(["Revision Update Failed",""]),me(!0),D(!1),er(!0),Sa("orangered");case 16:case"end":return e.stop()}}),e,null,[[3,8]])}))),bi.apply(this,arguments)}function hi(){return hi=(0,f.Z)(x().mark((function e(t,n,a){var s;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s={type:"read",ens:Te,controller:Qr(),recordsTypes:["stealth","rsa","revision","version"],recordsValues:"all",chain:r,storage:t,hashType:a},e.prev=1,e.next=4,fetch("".concat(gr,":").concat(hr,"/read"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}).then((function(e){return e.json()})).then((function(e){var a={type:e.response.type,stealth:e.response.stealth,rsa:e.response.rsa,version:e.response.version,revision:e.response.revision,timestamp:e.response.timestamp,queue:F.UW(e.response.timestamp),ownerstamp:e.response.ownerstamp};ws(a);var s=[];if(a.ownerstamp.length>0)for(var r in a.ownerstamp)s.push(Number(a.ownerstamp[r]));t&&s.length>0&&"ownerhash"===n?Ys(Math.round(Date.now()/1e3)-Math.max.apply(Math,s)-F.A7):t&&s.length>0&&"recordhash"===n?Ys(Math.round(Date.now()/1e3)-F.UW(e.response.timestamp)-F.A7):Ys(1)}));case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),console.error("ERROR:","Failed to read from CCIP2 backend");case 9:case"end":return e.stop()}}),e,null,[[1,6]])}))),hi.apply(this,arguments)}v.useEffect((function(){s.endsWith(".eth")?(u(!0),we(s),Ma(["Loading Stealth Records","-"])):u(!1)}),[]),v.useEffect((function(){if(y&&Te){var e=k.VM(Te),t=C.keccak256(E.Y0(Te.split(".eth")[0]));vt(e),jt(String(j.O$.from(t))),Zt(String(j.O$.from(e))),Ye(!0)}}),[y,Te]),v.useEffect((function(){yn&&on(yn)}),[yn]),v.useEffect((function(){Or&&sr(String(Or))}),[Or]),v.useEffect((function(){if(Wr)if(String(Wr).length>2){var e="";(e=String(Wr).startsWith(F.Kv)?"ipns://".concat(te.K5(String(Wr)).decoded):E.ZN(String(Wr))).startsWith("https://"),bt("".concat(e))}else bt(void 0)}),[Wr]),v.useEffect((function(){if(zr)if(String(zr).length>2&&zr!==Wr){var e="";(e=String(zr).startsWith(F.Kv)?"ipns://".concat(te.K5(String(zr)).decoded):E.ZN(String(zr))).startsWith("https://"),dt("".concat(e)),Ma(["Loading Stealth Records","-"])}else dt(void 0)}),[zr,Wr]),v.useEffect((function(){hs.trigger&&hs.modalData}),[hs]),v.useEffect((function(){"1"===gn&&mn&&ia&&(ut&&(ut.startsWith("https://")?Va("gateway"):Va("recordhash")),ft&&!ut&&(ft.startsWith("https://")?Va("gateway"):Va("ownerhash")),aa(!0))}),[mn,ia,gn]),v.useEffect((function(){if(rr)if(ar&&"true"===String(ar))Et([rr]);else{var e=Qr();Et([e])}}),[xt,Er,Ar,ar,Mt]),v.useEffect((function(){Er&&(String(Er)===F.O["1"===r?7:3]?Ln(!0):Ln(!1))}),[Er]),v.useEffect((function(){if(Cr&&Lr){var e=function(){var e=(0,f.Z)(x().mark((function e(){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Ma(["Transaction Confirmed",""]),setTimeout((function(){On('Payment Sent Successfully'),Ge(!0),ei()}),1e3);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[Cr,Lr]),v.useEffect((function(){Rr&&!Zr?(D(!0),Ma(["Waiting for Transaction",""]),ts&&ns(!1)):Zr&&!Rr&&(ts?ts&&ns(!1):(Ma(["Transaction Declined by User",""]),Xr()),ys({modalData:void 0,trigger:!1}))}),[Rr,Zr]),v.useEffect((function(){qr&&!Br?(D(!0),Ma(["Waiting for Confirmation",""]),ts&&ns(!1)):!qr&&Br&&(ts?ts&&ns(!1):(Ma(["Transaction Failed",""]),Xr()),ys({modalData:void 0,trigger:!1}))}),[qr,Br]),v.useEffect((function(){var e="";cs.trigger&&cs.modalData,ls.trigger&&void 0!==ls.modalData&&(e=ls.modalData),"rsa"===mn&&"gateway"!==Ja?ls.trigger&&!Un&&gn&&(Bs(1),Ma(["Waiting For Signature","1"]),Sr({message:Kr(C.keccak256(P.pack(["bytes32","address"],[C.keccak256(P.pack(["string"],[e])),rr])),Ja)}),K(!0)):"stealth"===mn&&"gateway"!==Ja?cs.trigger&&!Un&&gn&&!F.xb(ma)&&(Bs(1),Ma(["Waiting For Signature","1"]),Sr({message:Kr(C.keccak256(P.pack(["bytes32","address"],[C.keccak256(P.pack(["string"],[e])),rr])),Ja)}),K(!0)):mn&&"gateway"===Ja&&Ns("0")}),[ls,cs,ut,mn,gn,Ja,ia,ya,Un]),v.useEffect((function(){"stealth"===mn&&ls.trigger&&void 0!==ls.modalData&&Pa(!0)}),[ls,mn]),v.useEffect((function(){"stealth"===mn&&(cs.trigger||cs.modalData||(ys({modalData:void 0,trigger:!1}),Pa(!1)))}),[cs,mn]),v.useEffect((function(){Cn&&ls.trigger&&void 0!==ls.modalData&&(Bs(3),Gs(1),Ma(["Waiting For Signature","1"]),Sr({message:Vr(C.keccak256(P.pack(["bytes32","address"],[C.keccak256(P.pack(["string"],[ls.modalData])),rr])))}),K(!0))}),[ls,Cn,Ja]),v.useEffect((function(){if(Cn&&U&&Rs&&ls.trigger){Ma(["Generating Encryption Key","+"]);var e="recordhash"!==Ja?"eth:".concat(rr||F.DR):Te,t=new Worker(new URL(n.p+n.u(556),n.b));return t.onmessage=function(e){var t=F.T5(e.data[0]),n=Object.assign(Object.create(F.IQ),t);Vn([n,e.data[1]]),Ma(["Encryption Keypair Generated",""])},t.onerror=function(e){if(e instanceof Event)return console.error("\u274c ERROR:",e),Vn(void 0),D(!1),Ma(["Failed To Generate RSA Key",""]),Xr(),Sa("orangered"),Bs(0),void Gs(0);console.error("\u274c UNKNOWN ERROR:",e),Vn(void 0),D(!1),Ma(["Unknown Error While Generating RSA Key",""]),Xr(),Sa("orangered"),Bs(0),Gs(0)},t.postMessage({_origin:e,_caip10:fr,_sigRSA:Rs,_salt:ls.modalData}),function(){t.terminate()}}}),[Rs,Cn,U,ls]),v.useEffect((function(){if(Cn&&void 0!==Jn&&Re){Ma(["Decrypting Invoice",""]);try{var e=se.decrypt(Re,Jn[0]),t=JSON.parse(e.plaintext).payee,n=JSON.parse(e.plaintext).amount,a=function(){var e=(0,f.Z)(x().mark((function e(){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.endsWith(".eth")){e.next=5;break}return e.next=3,dr.resolveName(t).then((function(e){e&&De(e)})).catch((function(){D(!1),Ma(["Bad Payee",""]),Xr(),Sa("orangered"),Bs(0),Gs(0)}));case 3:e.next=6;break;case 5:De(t);case 6:We(n),D(!1);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();a()}catch(s){console.error("ERROR:",s),D(!1),Ma(["Bad Invoice",""]),Xr(),Sa("orangered"),Bs(0),Gs(0)}}}),[Jn,Cn,Re]),v.useEffect((function(){if(!ks||Un||Nn||Cn){if(Rs&&!Jn&&Nn){Ma(["Generating Encryption Key","+"]);var e="recordhash"!==Ja?"eth:".concat(rr||F.DR):Te,t=new Worker(new URL(n.p+n.u(2174),n.b));return t.onmessage=function(e){var t=F.T5(e.data[0]),n=Object.assign(Object.create(F.IQ),t);Vn([n,e.data[1]]),Ma(["Encryption Keypair Generated",""])},t.onerror=function(e){if(e instanceof Event)return console.error("\u274c ERROR:",e),Vn(void 0),D(!1),Ma(["Failed To Generate RSA Key",""]),Xr(),Sa("orangered"),Bs(0),void Gs(0);console.error("\u274c UNKNOWN ERROR:",e),Vn(void 0),D(!1),Ma(["Unknown Error While Generating RSA Key",""]),Xr(),Sa("orangered"),Bs(0),Gs(0)},t.postMessage({_origin:e,_caip10:fr,_sigRSA:Rs,_salt:ls.modalData}),function(){t.terminate()}}}else if("0"!==ks){D(!0),Ma(["Generating IPNS Key",""]);var a=function(){var e=(0,f.Z)(x().mark((function e(){var t,n;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t="ownerhash"===Ja?"eth:".concat(rr||F.DR):Te,e.next=3,(0,$.x_)(t,fr,ks,ls.modalData);case 3:n=e.sent,Kn(n[0]),Ma(["IPNS Keypair Generated",""]);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();a()}else Kn(["0x","0x"]),is(!0)}),[U,Un,rs,ia,ks,Nn,Rs,Jn,Cn]),v.useEffect((function(){if(ia&&ls.trigger&&rs&&(Da||"rsa"===mn)){Ma(["Waiting For Signature","2"]);var e=function(){var e=(0,f.Z)(x().mark((function e(){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:void 0!==ls.modalData&&(Bs(2),Gs("rsa"===mn?4:3),si(ls.modalData));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[ls,rs,ia,Da,mn]),v.useEffect((function(){if(ia&&rs&&_s&&!Nn){Ba([Qr(),k.VM(Te),Qn?N.computeAddress("0x".concat(Qn[0])):F.DR]),D(!0),Ma(["Generating Signer Key",""]);var e=function(){var e=(0,f.Z)(x().mark((function e(){var t,n;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t="recordhash"!==Ja?"eth:".concat(rr||F.DR):Te,e.next=3,(0,$.x_)(t,fr,_s,ls.modalData);case 3:n=e.sent,Xn(n[1]),Mn(!0),Ma(["Signer Keypair Generated",""]);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}),[_s,rs,ia,Nn]),v.useEffect((function(){var e="";ls.trigger&&void 0!==ls.modalData&&(e=ls.modalData),"rsa"===mn&&gn&&Nn&&ls.trigger?(Bs(3),Ma(["Waiting For Signature","3"]),Sr({message:Vr(C.keccak256(P.pack(["bytes32","address"],[C.keccak256(P.pack(["string"],[e])),rr])))}),K(!0)):"stealth"===mn&&gn&&Nn&&ls.trigger&&Ma(["Waiting For Signature","2"])}),[Nn,ls,mn]),v.useEffect((function(){"stealth"===mn?Gs(3):"rsa"===mn&&Gs(4)}),[mn]),v.useEffect((function(){if(Un&&ks){if("gateway"!==Ja){var e=function(){var e=(0,f.Z)(x().mark((function e(){var t,n,a,s,r;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=F.yt(Un),e.next=3,Q.Dp(ee.UG.hexToBytes(t));case 3:n=e.sent,a=String(n),s=ut?ut.split("ipns://")[1]:"",r=ft?ft.split("ipns://")[1]:"",ia&&(!a||a!==s&&a!==r?a&&a!==s&&a!==r&&(ys({modalData:void 0,trigger:!1}),Ma(["Seems Like Bad Password",""]),Xr(),Sa("orangered"),Bs(0),Gs(0)):(is(!0),ge(a)));case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}}else ia&&"gateway"===Ja&&(is(!0),ge("gateway"))}),[Un,ks,Ja,ut,ft,ia]),v.useEffect((function(){vr&&1===Ls?Ns(vr):vr&&4===Ls?Ws(vr):vr&&2===Ls?Ds(vr):vr&&3===Ls&&Cs(vr)}),[vr,Ls]),v.useEffect((function(){if(cs.trigger&&cs.modalData){Ma(["Fetching Payer Encryption Key",""]),D(!0);var e=cs.modalData.split(":")[0],t=cs.modalData.split(":")[1],n=cs.modalData.split(":")[2],a=function(){var a=(0,f.Z)(x().mark((function a(){var s,r;return x().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,dr.getResolver(e);case 2:if(null===(s=a.sent)||void 0===s||!s.address){a.next=9;break}return r="",a.next=7,s.getText("rsa").then((function(a){if(a){Ma(["Waiting For Signature","2"]),r=a;var s;s=se.encrypt('{"payer":"'.concat(e,'","payee":"').concat(t,'","amount":"').concat(n,'"}'),r);var i=ma;i.stealth=s.cipher,fa(i),Oa(!0);var o=ya;!o.includes("stealth")&&ma.stealth?ua((function(e){return[].concat((0,m.Z)(e),["stealth"])})):o.includes("stealth")&&!ma.stealth&&ua((function(e){return e.filter((function(e){return"stealth"!==e}))}))}else r="",D(!1),Ma(["Payer Has No Encryption Record",""]),Xr(),Sa("orangered"),Bs(0),Gs(0)})).catch((function(){r="",D(!1),Ma(["Failed To Fetch Encryption Record",""]),Xr(),Sa("orangered"),Bs(0),Gs(0)}));case 7:a.next=15;break;case 9:Ma(["Payer Has No Resolver",""]),D(!1),Xr(),Sa("orangered"),Bs(0),Gs(0);case 15:case"end":return a.stop()}}),a)})));return function(){return a.apply(this,arguments)}}();a()}else if(Jn&&!cs.trigger){var s=ma;s.rsa=Jn[1],fa(s);var r=ya;!r.includes("rsa")&&ma.rsa?ua((function(e){return[].concat((0,m.Z)(e),["rsa"])})):r.includes("rsa")&&!ma.rsa&&ua((function(e){return e.filter((function(e){return"rsa"!==e}))}))}}),[he,Jn,ia,cs]),v.useEffect((function(){ot&&(Ur(Ot,zt),D(!1))}),[ot,ut,ft,Xe,Ja,Ot,zt]),v.useEffect((function(){Ve&&function(e,t,n){hi.apply(this,arguments)}(ut||ft,ut&&ut.startsWith("ipns://")?"recordhash":ft&&ft.startsWith("ipns://")?"ownerhash":"gateway",ut&&ut.startsWith("ipns://")?"recordhash":ft&&ft.startsWith("ipns://")?"ownerhash":"gateway")}),[Ve,ft,ut]),v.useEffect((function(){Vs&&Te&&!ot&&function(e,t){di.apply(this,arguments)}(Ts,Te)}),[Ts,Vs,Te,ot]),v.useEffect((function(){Ts&&Vs&&!ot&&(ut?ut.startsWith("https://")?Va("gateway"):Va("recordhash"):ft?ft.startsWith("https://")?Va("gateway"):Va("ownerhash"):Va("storage"))}),[Ts,Vs,Xe,ut,ft,ot]),v.useEffect((function(){if(mn&&ya.length>0){var e=rn.map((function(e){return ya.includes(e.type)&&!F.ID.includes(e.type)?oe(oe({},e),{},{editable:Vs>0,active:Vs>0}):e}));un(e)}}),[mn,Xe,ya]),v.useEffect((function(){na&&ia&&Un&&Qn&&Qn[0]&&he&&ya.length>0&&(D(!0),Ma(["Setting Records",String(ya.length)]))}),[na,Qn,he,ia,Ja]),v.useEffect((function(){if(Ht&&["0","1"].includes(Ht)){if("1"===Ht){var e=rn.map((function(e){return e.type===$t?oe(oe({},e),{},{value:tn}):oe({},e)}));un(e)}setTimeout((function(){Jt(".")}),1e4),setTimeout((function(){Jt("")}),3e4)}}),[Ht,tn,$t]),v.useEffect((function(){if(ia&&Qn&&Qn[0]&&ma&&!F.xb(ma)&&ya.length>0){var e=F.RY();ya.forEach(function(){var t=(0,f.Z)(x().mark((function t(n){var a;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!ma[n]){t.next=4;break}return t.next=3,ti({message:Gr(F.yc[F.IX.indexOf(n)],$r(n,ma[n]),Qn[0])});case 3:a=t.sent;case 4:a&&(e[n]=a);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),za(e)}}),[ia,Qn,ma,ya]),v.useEffect((function(){!ia||ar||As||F.xb(Wa)?ia&&ar&&!F.xb(Wa)&&Ws("0x"):(Gs("rsa"===mn?4:3),function(){ai.apply(this,arguments)}())}),[ar,Wa,Ja]),v.useEffect((function(){var e=0;for(var t in Wa)Wa.hasOwnProperty(t)&&""!==Wa[t]&&e++;if(ia&&he&&e===ya.length&&e>0&&As){var n=F.RY();for(var a in ma)ma.hasOwnProperty(a)&&""!==ma[a]&&(n[a]=Yr(a,ma[a]));var s={signatures:Wa,manager:Qn?N.computeAddress("0x".concat(Qn[0])):F.DR,managerSignature:As,ens:Te,controller:rr||F.DR,ipns:he,recordsTypes:ya,recordsValues:n,recordsRaw:ma,revision:Ts.revision,chain:r,hashType:Ja},i=function(){var e=(0,f.Z)(x().mark((function e(){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Ma(["Writing Records",""]),e.prev=1,e.next=4,fetch("".concat(gr,":").concat(hr,"/write"),{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)}).then((function(e){return e.json()})).then(function(){var e=(0,f.Z)(x().mark((function e(t){var n,a,s,r,i,o;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Ma(["gateway"!==Ja?"Publishing to IPNS":"Publishing to Gateway",""]),!Qn||!t.response){e.next=7;break}return n={},rn.map(function(){var e=(0,f.Z)(x().mark((function e(a){var s,r;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!["stealth","rsa"].includes(a.type)||!t.response.meta[a.type]){e.next=7;break}return s=ii(a.type,t.response[a.type]),r=function(){var e=(0,f.Z)(x().mark((function e(){return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([s]);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.next=5,r();case 5:s.then((function(e){var t=c&&c.formatted&&c.formatted.gasPrice?Number(c.formatted.gasPrice):0;n[a.type]=e*t*1e-9})),"stealth"===a.type?It(t.response.stealth):"rsa"===a.type&&Ft(t.response.rsa);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),e.next=6,new Promise((function(e){!function t(){Object.keys(n).length>0?e():setTimeout(t,100)}()}));case 6:"gateway"!==Ja&&Un?(a=F.yt(Un),i=function(){var e=(0,f.Z)(x().mark((function e(){var i;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Q.Dp(ee.UG.hexToBytes(a));case 2:return s=e.sent,e.next=5,X.Dp(ee.UG.hexToBytes(a));case 5:r=e.sent,i=function(){var e=(0,f.Z)(x().mark((function e(){var a,i,o,p;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.response.ipfs&&s&&r&&n)){e.next=42;break}if(Qa(t.response.ipfs.split("ipfs://")[1]),a="/ipfs/"+t.response.ipfs.split("ipfs://")[1],Ts.revision){e.next=9;break}return e.next=6,Q.v0(s,a);case 6:i=e.sent,e.next=19;break;case 9:if(o=ir.decode(new Uint8Array(Object.values(JSON.parse(JSON.stringify(Ts.revision))))),!(Number(t.response.timestamp)0}):oe(oe({},e),{},{active:n>0})}return e})),un(p),fa(F.RY()),za(F.RY()),aa(!1),Bs(0),ys({modalData:void 0,trigger:!1}),On("stealth"===mn?'Stealth Record Set! You may now Receive Private Payments':'Encryption Key Set! You may now Send Private Payments'),Ge(!0),De(""),ei();case 42:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Object.keys(n).length>0&&i();case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),i()):(o=function(){var e=(0,f.Z)(x().mark((function e(){var a;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n){e.next=18;break}return Ka(t.response.timestamp),e.next=4,fi(void 0,n,t.response.timestamp,"");case 4:Wn(n),ua([]),D(!1),a=rn.map((function(e){if(["resolver","storage"].includes(e.type))return e;return Ys(1),t.response.meta[e.type]?oe(oe({},e),{},{value:t.response[e.type],state:!0,active:!0}):oe(oe({},e),{},{active:!0})})),un(a),fa(F.K5()),za(F.K5()),aa(!1),Bs(0),ys({modalData:void 0,trigger:!1}),On("stealth"===mn?'Stealth Record Set! You may now Receive Private Payments':'Encryption Key Set! You may now Send Private Payments'),Ge(!0),De(""),ei();case 18:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),o());case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 4:e.next=14;break;case 6:e.prev=6,e.t0=e.catch(1),console.error("ERROR:","Failed to write to CCIP2 backend"),Ma(["Record Update Failed",""]),me(!0),D(!1),er(!0),Sa("orangered");case 14:case"end":return e.stop()}}),e,null,[[1,6]])})));return function(){return e.apply(this,arguments)}}();i()}ia||aa(!1)}),[As]),v.useEffect((function(){if(wr&&!Tr&&mn)D(!0),ts&&ns(!1);else if(Tr&&!wr&&mn){if(ts)ts&&ns(!1);else{Ma(["Signature Failed",String(Ls)]),Xr(),oa(!1),aa(!1),fa(F.RY());var e=rn.map((function(e){return"storage"!==e.type?e:oe(oe({},e),{},{state:!1})}));un(e),xn("0")}ys({modalData:void 0,trigger:!1})}}),[wr,Tr,mn,Ls,ya]);var gi=t?(0,L.jsx)(de,{style:{backgroundColor:w?"black":"rgba(0, 0, 0, 1)"},children:(0,L.jsxs)(ue,{style:{background:w?"none":"#121212"},children:[(0,L.jsx)(ye,{children:(0,L.jsx)("a",{href:"#",onClick:function(e){Ws(""),za(F.RY()),Xn(void 0),Kn(void 0),Vn(void 0),Ds(""),Ns(""),Cs(""),Ce(""),i("".concat(Te)),o(!0),e.preventDefault(),a()},children:(0,L.jsx)("span",{className:"material-icons-round",style:{marginTop:w?"120px":"7px"},children:"close"})})}),Te&&w&&(0,L.jsx)(pe,{children:(0,L.jsxs)("div",{className:"flex-column",style:{marginTop:"-10px",marginBottom:"80px"},children:[(0,L.jsx)("div",{style:{marginTop:"20px"},children:(0,L.jsx)(V.Z,{height:50,width:50})}),(0,L.jsx)("div",{style:{marginTop:"20px"},children:(0,L.jsx)("span",{style:{color:"#ff2600",fontSize:"20px",fontWeight:"700"},children:Na[0]})}),Na[1]&&!["-","+"].includes(Na[1])&&(0,L.jsx)("div",{style:{marginTop:"10px"},children:(0,L.jsxs)("span",{style:{color:"white",fontSize:"18px",fontWeight:"700"},children:[(0,L.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"22px"},children:"gateway"!==Ja?Na[1]:ia?String(Number(Na[1])-1):Na[1]}),(0,L.jsx)("span",{children:" Of "}),(0,L.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"22px"},children:"gateway"!==Ja||!ia&&Cn?Ks:Ks-1})]})}),Na[1]&&["-","+"].includes(Na[1])&&(0,L.jsx)("div",{style:{marginTop:"10px"},children:(0,L.jsx)("span",{style:{color:"white",fontSize:"18px",fontWeight:"700"},children:(0,L.jsx)("span",{children:"-"===Na[1]?"Please Be Patient":"This Will Take Time. Hang on"})})})]})}),Te&&!w&&(0,L.jsx)(le,{children:(0,L.jsx)("span",{className:"material-icons miui",style:{marginTop:"-15px",color:zt?"lightgreen":"orange",fontSize:"86px",marginLeft:"3%"},children:"account_balance"})}),Te&&rn.length>0&&!w&&(0,L.jsx)(pe,{children:(0,L.jsxs)("div",{className:"flex-column",children:[(0,L.jsx)("div",{style:{marginTop:"-25px",marginLeft:"2%"},children:(0,L.jsx)("span",{style:{color:"cyan",fontSize:"13px",fontWeight:"700"},children:"Receive Stealth Payment To"})}),(0,L.jsxs)("div",{style:{marginBottom:"15px",marginTop:"5px",marginLeft:"2%"},children:[(0,L.jsx)("span",{style:{color:"white",fontSize:"20px",fontWeight:"700",fontFamily:"SF Mono"},children:Te.split(".eth")[0]}),(0,L.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"15px",color:"cyan"},children:"."}),(0,L.jsx)("span",{style:{fontFamily:"Spotnik",fontSize:"11px",color:"cyan",fontWeight:"700",letterSpacing:"0px",marginTop:"13px"},children:"ETH"})]}),(0,L.jsx)("ul",{style:{listStyle:"none",color:"white",marginLeft:z.tq?"0":"-5%",marginTop:"20px"},children:(0,L.jsxs)("div",{className:"flex-column",style:{paddingBottom:z.tq?"5px":"15px"},children:[rn.map((function(e){return(0,L.jsxs)("li",{style:{display:"flex",flexDirection:"column",width:z.tq?"480px":"500px",maxWidth:z.tq?"85%":"95%",paddingLeft:"5px",paddingRight:"5px"},children:[(0,L.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",flexDirection:"column"},children:[(0,L.jsxs)("div",{style:{marginBottom:"10px",display:"flex",justifyContent:"space-between",width:z.tq?"90%":"100%"},children:[(0,L.jsxs)("span",{style:{fontFamily:"Spotnik",fontWeight:"700",fontSize:"15px",color:F.IN.includes(e.type)?"orange":"cyan",marginRight:"15px"},children:[["stealth","rsa"].includes(e.type)&&(0,L.jsxs)("span",{children:[(0,L.jsx)("span",{className:"material-icons-round smol",style:{fontSize:"20px",display:"inline-block",color:"white"},children:"stealth"===e.type?"lock":"vpn_key"}),"\xa0",(0,L.jsx)("span",{style:{position:"relative",top:"-2px",left:"1px"},children:e.type})]}),["stealth","rsa"].includes(e.type)&&(0,L.jsx)("button",{className:"button-tiny",onClick:function(){Be(!0),xa("info"),Sa(F.IN.includes(e.type)?"orange":"cyan"),Sn(F.IN.includes(e.type)?'In Process of Bug Fixing':"".concat(e.help,""))},"data-tooltip":F.IN.includes(e.type)?"Temporarily Unavailable":"Enlighten Me",children:(0,L.jsx)("div",{className:"material-icons-round smol",style:{color:F.IN.includes(e.type)?"orange":"cyan",marginLeft:"storage"===e.type?"-5px":"5px"},children:"info_outline"})}),["stealth","rsa"].includes(e.type)&&(0,L.jsx)("button",{className:"button-tiny",onClick:function(){Be(!0),xa("stealth"===e.type||zt?"gpp_good":"gpp_bad"),Sa("stealth"===e.type||zt?"lime":"orangered"),Sn("stealth"===e.type?'Please set the Stealth Invoice to Receive Private Payment':zt?'Encryption Key Set':'Please Set Encryption Key To Send Private Payments')},"data-tooltip":"stealth"===e.type?"Set Encrypted Invoice":zt?"Encryption Key Set":"Encryption Key Missing",children:(0,L.jsx)("div",{className:"material-icons-round smol",style:{color:"stealth"===e.type||zt?"lime":"orangered",marginLeft:"-5px"},children:"stealth"===e.type||zt?"gpp_good":"gpp_bad"})}),["stealth","rsa"].includes(e.type)&&!F.IN.includes(e.type)&&Xe===pr&&(ut||ft)&&(0,L.jsx)("button",{className:"button-tiny",onClick:function(){Be(!0),xa("timer"),Sa(Vs<0?"orange":"lime"),Sn(Vs<0?'Too Soon To Update. Please wait at least one hour between updates':'Ready For Next Record Update')},"data-tooltip":Vs<0?"Too Soon To Update":"Ready For Next Update",children:(0,L.jsx)("div",{className:"material-icons-round smol",style:{color:Vs<0?"orange":"lime",marginLeft:"-5px"},children:"timer"})}),["stealth","rsa"].includes(e.type)&&!F.IN.includes(e.type)&&Xe===pr&&rr&&(ut||ft)&&Ts.ownerstamp.length>0&&(0,L.jsx)("button",{className:!["",".","0","1"].includes(Ht)&&[e.type].includes(Ht)?"button-tiny blink":"button-tiny",onClick:function(){""===Ht&&ci(["text",e.type],at,Te,!0),Qt(e.type)},"data-tooltip":[e.type,".","0","1"].includes(Ht)?[".","","0","1"].includes(Ht)?"1"===Ht?"Record Updated":"0"===Ht?"No New Update":"."===Ht?"Please Wait to Refresh again":"-"===Ht?"No New Update":"Click to Refresh":"Refresh in Progress":e.value.toLowerCase()===Ts[e.type].toLowerCase()?"Record in Sync with ".concat("gateway"===Ja?"Gateway":"IPNS"):"Record not in Sync. Click to refresh",children:(0,L.jsx)("div",{className:"material-icons-round smol",style:{color:[e.type,".","0","1"].includes(Ht)?[".","","0","1"].includes(Ht)?"1"===Ht?"lime":"0"===Ht?"yellow":"."===Ht?"white":"-"===Ht?"yellow":"cyan":"white":e.value.toLowerCase()===Ts[e.type].toLowerCase()?"lightgreen":"orange",marginLeft:"-5px"},children:"sync"})}),e.state&&(0,L.jsx)("div",{className:"material-icons-round smol emphasis",style:{color:ce&&Xs?"orangered":"lime",marginLeft:"-5px"},children:ce&&Xs?"cancel":"task_alt"})]}),(0,L.jsx)("button",{className:"button",disabled:F.IN.includes(e.type)||!rn[e.key].active||e.state||!rr||!Pt.includes(String(rr)),style:{alignSelf:"flex-end",height:"25px",width:"auto",marginBottom:"6px"},onClick:function(){Ut(!0),"stealth"===e.type&&ms({modalData:void 0,trigger:!1}),fn(e.type),xn("1"),oa(!0)},"data-tooltip":e.tooltip,children:(0,L.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"13px"},children:[e.label,"\xa0",(0,L.jsx)("span",{className:"material-icons-round smoller",children:"manage_history"})]})})]}),(0,L.jsx)("input",{className:"inputextra",id:e.key,placeholder:F.IN.includes(e.type)?"Temporarily Unavailable":e.value,type:"text",disabled:!e.editable||F.IN.includes(e.type)||!Pt.includes(String(rr)),style:{background:zt&&!F.IN.includes(e.type)&&Pt.includes(String(rr))?"linear-gradient(90deg, rgba(0,50,0,0.5) 0%, rgba(25,50,25,0.5) 50%, rgba(0,50,0,0.5) 100%)":"linear-gradient(90deg, rgba(100,0,0,0.5) 0%, rgba(100,25,25,0.5) 50%, rgba(100,0,0,0.5) 100%)",fontFamily:"SF Mono",fontWeight:"400",fontSize:"14px",width:"100%",wordWrap:"break-word",textAlign:"left",marginTop:"-10px",marginBottom:"-5px",color:"lightgreen",cursor:"copy"}},e.key)]}),(0,L.jsx)("hr",{style:{marginTop:"5px"}})]},e.key)})),(0,L.jsx)("hr",{style:{marginTop:"5px"}}),(0,L.jsxs)("div",{className:"flex-column",style:{marginBottom:"15px",marginTop:"-15px"},children:[(0,L.jsx)(le,{children:(0,L.jsx)("span",{className:"material-icons-round miui",style:{color:zt?"lightgreen":"orange",fontSize:"76px"},children:"security"})}),(0,L.jsx)("span",{style:{color:"cyan",fontSize:"13px",fontWeight:"700",marginTop:"5px"},children:"Send Stealth Payment From"}),(0,L.jsxs)("div",{style:{marginBottom:"15px",marginTop:"5px"},children:[(0,L.jsx)("span",{style:{color:"white",fontSize:"20px",fontWeight:"700",fontFamily:"SF Mono"},children:Te.split(".eth")[0]}),(0,L.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"15px",color:"cyan"},children:"."}),(0,L.jsx)("span",{style:{fontFamily:"Spotnik",fontSize:"11px",color:"cyan",fontWeight:"700",letterSpacing:"0px",marginTop:"13px"},children:"ETH"})]}),!_e&&(0,L.jsxs)("div",{className:"flex-column",style:{width:"100%",marginLeft:"32px"},children:[(0,L.jsx)("input",{id:"decrypt",placeholder:"enter payee .eth",type:"text",disabled:!zt,style:{background:zt?"linear-gradient(90deg, rgba(0,50,0,0.5) 0%, rgba(25,50,25,0.5) 50%, rgba(0,50,0,0.5) 100%)":"linear-gradient(90deg, rgba(100,0,0,0.5) 0%, rgba(100,25,25,0.5) 50%, rgba(100,0,0,0.5) 100%)",outline:"none",border:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"130%",wordWrap:"break-word",textAlign:"center",color:ke?"lime":"white",cursor:"copy",marginLeft:"-15%",marginTop:"15px"},onChange:function(e){var t;(t=e.target.value).endsWith(".eth")?Ne(t):Ne("")}},"decrypt"),(0,L.jsx)("hr",{style:{marginTop:"0",marginLeft:"-15%",width:"130%"}})]}),_e&&(0,L.jsxs)("div",{className:"flex-column",children:[(0,L.jsxs)("div",{className:"flex-column",style:{width:"450px",marginLeft:"3px"},children:[(0,L.jsx)("input",{id:"amount",type:"text",value:Ae,style:{background:"0.0"===Ae?"linear-gradient(90deg, rgba(100,0,0,0.5) 0%, rgba(100,25,25,0.5) 50%, rgba(100,0,0,0.5) 100%)":"linear-gradient(90deg, rgba(0,50,0,0.5) 0%, rgba(25,50,25,0.5) 50%, rgba(0,50,0,0.5) 100%)",marginBottom:"10px",outline:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"90%",paddingRight:"32px",wordWrap:"break-word",textAlign:"left",color:"0.0"===Ae?"grey":"lime",cursor:"copy"}},"amount"),(0,L.jsx)("hr",{style:{marginTop:"-5px",marginLeft:"0",width:"90%"}})]}),(0,L.jsx)("div",{className:"flex-row",style:{width:"200%"},children:(0,L.jsxs)("div",{className:"flex-column",children:[(0,L.jsxs)("div",{className:"flex-row",style:{width:"450px",marginLeft:"3px"},children:[(0,L.jsx)("input",{id:"pay",type:"text",value:_e,style:{background:_e===F.DR?"linear-gradient(90deg, rgba(100,0,0,0.5) 0%, rgba(100,25,25,0.5) 50%, rgba(100,0,0,0.5) 100%)":"linear-gradient(90deg, rgba(0,50,0,0.5) 0%, rgba(25,50,25,0.5) 50%, rgba(0,50,0,0.5) 100%)",outline:"none",padding:"7px",borderRadius:"3px",fontFamily:"SF Mono",letterSpacing:"-0.5px",fontWeight:"400",fontSize:"15px",width:"90%",paddingRight:"32px",wordWrap:"break-word",textAlign:"left",color:_e===F.DR?"grey":"lime",cursor:"copy"}},"pay"),(0,L.jsx)("button",{className:"button-empty",onClick:function(){F.vQ("pay")},hidden:_e===F.DR,"data-tooltip":"Copy Address",style:{marginLeft:"-25px",color:"lime"},children:(0,L.jsx)("span",{className:"material-icons-round",style:{fontSize:"22px",fontWeight:"700"},children:"content_copy"})})]}),(0,L.jsx)("hr",{style:{marginTop:"5px",marginLeft:"0",width:"90%"}})]})})]}),(0,L.jsxs)("div",{children:[(0,L.jsx)("button",{className:"button",style:{height:"33px",width:_e?"80px":"120px",padding:"5px",marginTop:"10px",fontSize:"16px",fontWeight:"700",backgroundImage:_e&&_e!==F.DR?"linear-gradient(81deg, rgba(0,154,0,1) 0%, rgba(0,182,24,1) 52%, rgba(0,154,0,1) 100%)":"linear-gradient(112deg, rgba(190,95,65,1) 0%, rgba(191,41,36,1) 48%, rgba(203,111,0,1) 100%)"},onClick:function(){return _e&&_e!==F.DR?null===Mr||void 0===Mr?void 0:Mr():function(){Ma(["Searching For Payment",""]),D(!0);var e=function(){var e=(0,f.Z)(x().mark((function e(){var t;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,dr.getResolver(ke);case 2:if(null===(t=e.sent)||void 0===t||!t.address){e.next=8;break}return e.next=6,t.getText("stealth").then((function(e){e?(Ma(["Decrypting Payment Data",""]),Ut(!0),Pn(!0),Ce(e)):(D(!1),De(F.DR),We("0.0"),Ma(["Payer Has No Payment For You",""]),Xr(),Sa("orangered"))})).catch((function(){D(!1),De(F.DR),We("0.0"),Ma(["Error Fetching Payment Data",""]),Xr(),Sa("orangered")}));case 6:e.next=14;break;case 8:D(!1),De(F.DR),We("0.0"),Ma(["Payer Has No Resolver",""]),Xr(),Sa("orangered");case 14:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}()},disabled:!ke||_e===F.DR,hidden:!zt,"data-tooltip":_e&&_e!==F.DR?"Send Transaction":"Fetch and Decrypt",children:(0,L.jsxs)("div",{className:"flex-row",style:{fontSize:"14px"},children:[_e?"Pay":"Decrypt","\xa0",(0,L.jsx)("span",{className:"material-icons-round smoller",children:"lock_open"})]})}),(0,L.jsx)("button",{className:"button",style:{height:"33px",width:"110px",padding:"5px",marginTop:"20px",fontSize:"16px",fontWeight:"700",marginLeft:"20px",background:"red"},onClick:function(){return De("")},disabled:!ke,hidden:!_e,"data-tooltip":"Cancel Transaction",children:(0,L.jsxs)("div",{className:"flex-row",style:{fontSize:"14px"},children:["Cancel","\xa0",(0,L.jsx)("span",{className:"material-icons-round smoller",children:"cancel"})]})})]})]})]})}),ya.length>1&&(0,L.jsx)("div",{style:{marginTop:"-10px",marginBottom:"40px"},children:(0,L.jsx)("button",{className:"button flex-column",hidden:ya.length<2,disabled:!rr||!Pt.includes(String(rr))||ma===F.RY(),style:{alignSelf:"flex-end",height:"25px",width:"auto",marginTop:"-3px"},onClick:function(){Ut(!0),oa(!0),fn("records"),xn("1"),oa(!0)},"data-tooltip":"Set Multiple Records in One Click",children:(0,L.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"15px"},children:["Edit All","\xa0",(0,L.jsx)("span",{className:"material-icons-round smoller",children:"manage_history"})]})})})]})}),(0,L.jsxs)("div",{id:"modal-inner",children:[(0,L.jsx)(A.Z,{color:wa,icon:ga,onClose:function(){return Be(!1)},show:Le,position:"",children:wn}),(0,L.jsx)(Y.Z,{color:wa,icon:ga,onClose:function(){return Ge(!1)},show:Ke,handleTrigger:function(e){gs((function(t){return oe(oe({},t),{},{trigger:e})}))},handleModalData:function(e){gs((function(t){return oe(oe({},t),{},{modalData:e})}))},children:Dn}),(0,L.jsx)(H,{handleTrigger:function(e){ms((function(t){return oe(oe({},t),{},{trigger:e})})),e?xn("1"):(xn("0"),fn("")),Pa(!1)},handleModalData:function(e){ms((function(t){return oe(oe({},t),{},{modalData:e})}))},onClose:function(){Pa(!1)},show:Ca,children:""}),(0,L.jsx)(W.Z,{handleTrigger:function(e){ys((function(t){return oe(oe({},t),{},{trigger:e})})),e?xn("1"):(xn("0"),fn("")),Ut(!1)},handleModalData:function(e){ys((function(t){return oe(oe({},t),{},{modalData:e})}))},onClose:function(){Ut(!1)},show:qt,children:[Te,Ja]}),(0,L.jsx)(J.Z,{onClose:function(){me(!1),ns(!0)},color:wa,show:ce&&!w,title:"cancel",children:Na[0]})]})]})}):null;return y?T.createPortal(gi,document.getElementById("modal")):null}},59595:function(e,t,n){"use strict";var a,s,r,i,o,p=n(71383),l=n(16835),y=n(67294),u=n(73935),d=n(14141),c=n(85518),m=n(85893),f=d.ZP.div(a||(a=(0,p.Z)(["\n padding-top: 0px;\n padding-left: ",";\n padding-right: ",";\n padding-bottom: 5px;\n margin-top: 0px;\n margin-left: ",";\n margin-right: ",";\n margin-bottom: ",";\n display: flex;\n justify-content: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 18px;\n font-weight: 700;\n line-height: 22px;\n max-width: ",";\n"])),c.tq?"10px":"20px",c.tq?"10px":"20px",c.tq?"10px":"20px",c.tq?"10px":"20px",c.tq?"15px":"20px",(c.tq,"400px")),b=d.ZP.div(s||(s=(0,p.Z)(["\n margin-top: -15px;\n font-size: 20px;\n display: flex;\n justify-content: center;\n font-weight: 700;\n margin-bottom: 15px;\n color: white;\n"]))),h=d.ZP.div(r||(r=(0,p.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),g=d.ZP.div(i||(i=(0,p.Z)(["\n position: fixed; \n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: auto;\n max-width: ",";\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n"])),c.tq?"90%":"60%"),x=d.ZP.div(o||(o=(0,p.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"])));t.Z=function(e){var t=e.icon,n=e.color,a=e.show,s=e.onClose,r=e.children,i=e.handleModalData,o=e.handleTrigger,p=y.useState(!1),d=(0,l.Z)(p,2),c=d[0],v=d[1];y.useEffect((function(){v(!0)}),[]);var T=function(e){i("0"),o(!0),e.preventDefault(),s()},w=a?(0,m.jsx)(x,{children:(0,m.jsxs)(g,{children:[(0,m.jsx)(h,{children:(0,m.jsx)("a",{href:"#",onClick:T,children:(0,m.jsx)("span",{className:"material-icons",style:{margin:"4px"},children:"close"})})}),t&&(0,m.jsx)(b,{children:(0,m.jsx)("span",{className:"material-icons",style:{marginTop:"4px",fontSize:"68px",color:n},children:t})}),(0,m.jsx)(f,{dangerouslySetInnerHTML:{__html:r}}),(0,m.jsx)(f,{children:(0,m.jsx)("div",{className:"flex-row",style:{marginLeft:"0px"},children:(0,m.jsx)("button",{className:"button-option",style:{height:"35px",width:"105px"},onClick:T,"data-tooltip":"Continue",children:(0,m.jsxs)("div",{className:"flex-row",style:{fontSize:"15px",fontWeight:"700"},children:["OK","\xa0",(0,m.jsx)("span",{className:"material-icons chonk",children:"done_all"})]})})})})]})}):null;return c?u.createPortal(w,document.getElementById("modal")):null}},92675:function(e,t,n){"use strict";var a,s,r,i,o,p=n(71383),l=n(16835),y=n(67294),u=n(73935),d=n(14141),c=n(85893),m=d.ZP.div(a||(a=(0,p.Z)(["\n padding-top: 10px;\n padding-left: 20px;\n padding-right: 40px;\n padding-bottom: 20px;\n display: flex;\n justify-content: center;\n height: 500px;\n overflow-y: auto;\n"]))),f=d.ZP.div(s||(s=(0,p.Z)(["\n padding-top: 20px;\n font-size: 22px;\n display: flex;\n justify-content: center;\n font-weight: 800;\n margin-bottom: 20px;\n"]))),b=d.ZP.div(r||(r=(0,p.Z)(["\n display: flex;\n justify-content: flex-end;\n font-size: 20px;\n"]))),h=d.ZP.div(i||(i=(0,p.Z)(["\n background: linear-gradient(112deg, rgba(66,46,40,1) 0%, rgba(0,0,0,1) 48%, rgba(70,63,55,1) 100%);\n background-size: 400% 400%;\n width: 500px;\n height: 600px;\n border-radius: 6px;\n padding: 15px;\n overflow-y: initial !important\n padding-bottom: 20px;\n"]))),g=d.ZP.div(o||(o=(0,p.Z)(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n background-size: contain;\n"])));t.Z=function(e){var t=e.show,n=e.onClose,a=y.useState(!1),s=(0,l.Z)(a,2),r=s[0],i=s[1];y.useEffect((function(){i(!0)}),[]);var o=t?(0,c.jsx)(g,{children:(0,c.jsxs)(h,{children:[(0,c.jsx)(b,{children:(0,c.jsx)("a",{href:"#",onClick:function(e){e.preventDefault(),n()},children:(0,c.jsx)("span",{className:"material-icons",style:{marginTop:"4px"},children:"close"})})}),(0,c.jsx)(f,{children:(0,c.jsx)("span",{className:"material-icons miui-small",style:{marginTop:"4px",color:"white"},children:"gavel"})}),(0,c.jsx)(m,{})]})}):null;return r?u.createPortal(o,document.getElementById("modal")):null}},40342:function(e,t,n){"use strict";n(67294);var a=n(85893);t.Z=function(e){var t=e.variable,n=e.mobile;return(0,a.jsxs)("button",{className:"button-tiny",style:{color:"lightgreen",marginRight:"15px",fontSize:"16px",display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center"},"data-tooltip":"Total Gas Saved by Off-chain Records",children:[(0,a.jsx)("div",{className:"material-icons-round smol",style:{color:"lime",fontSize:n?"18px":"22px",marginRight:"5px"},children:"energy_savings_leaf"}),(0,a.jsx)("div",{children:(0,a.jsxs)("span",{style:{fontFamily:"SF Mono",color:"white",fontSize:n?"14px":"16px",fontWeight:"700"},children:[t||"0.00","\xa0",(0,a.jsx)("span",{style:{fontFamily:"Spotnik",fontSize:n?"12px":"14px",fontWeight:"700"},children:"ETH"})]})})]})}},62012:function(e,t,n){"use strict";n.d(t,{gk:function(){return qe},Bf:function(){return Ue},qB:function(){return Ke},K5:function(){return Le},RY:function(){return Be},iJ:function(){return ae},wU:function(){return ne},IN:function(){return M},hh:function(){return ye},bt:function(){return re},K0:function(){return ce},Hc:function(){return xe},vc:function(){return k},NA:function(){return he},vQ:function(){return ge},U8:function(){return ie},T5:function(){return Qe},vb:function(){return be},qP:function(){return de},O:function(){return pe},Th:function(){return C},yc:function(){return P},ID:function(){return N},yt:function(){return fe},TN:function(){return Ge},Wp:function(){return I},Kv:function(){return O},s8:function(){return Ae},Q1:function(){return Se},tr:function(){return je},MP:function(){return _e},rv:function(){return ze},fp:function(){return Oe},Iu:function(){return Ce},Jh:function(){return Ne},xb:function(){return ve},Io:function(){return Pe},wE:function(){return Me},Yo:function(){return De},K9:function(){return we},$o:function(){return Ee},V4:function(){return ke},A2:function(){return Ie},L3:function(){return Re},CB:function(){return Ze},MS:function(){return We},UW:function(){return Fe},IQ:function(){return Ye},Ap:function(){return se},O1:function(){return Je},hc:function(){return me},z7:function(){return E},Zv:function(){return Te},t8:function(){return Z},IX:function(){return R},YR:function(){return te},A7:function(){return oe},DR:function(){return _},dR:function(){return D}});var a=n(50029),s=n(59499),r=n(87794),i=n.n(r),o=n(63356),p=n(57734),l=JSON.parse('[{"inputs":[{"internalType":"contract ENS","name":"_old","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"label","type":"bytes32"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"NewOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"resolver","type":"address"}],"name":"NewResolver","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"NewTTL","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"old","outputs":[{"internalType":"contract ENS","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"recordExists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"resolver","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setRecord","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"resolver","type":"address"}],"name":"setResolver","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"label","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"}],"name":"setSubnodeOwner","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"label","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setSubnodeRecord","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setTTL","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"ttl","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"payable":false,"stateMutability":"view","type":"function"}]'),y=JSON.parse('[{"inputs":[{"internalType":"contract ENS","name":"_ens","type":"address"},{"internalType":"bytes32","name":"_baseNode","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"controller","type":"address"}],"name":"ControllerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"controller","type":"address"}],"name":"ControllerRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"expires","type":"uint256"}],"name":"NameMigrated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"expires","type":"uint256"}],"name":"NameRegistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"expires","type":"uint256"}],"name":"NameRenewed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[],"name":"GRACE_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"addController","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"available","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"baseNode","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"controllers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ens","outputs":[{"internalType":"contract ENS","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"nameExpires","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"reclaim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"register","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"registerOnly","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"removeController","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"renew","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"resolver","type":"address"}],"name":"setResolver","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]'),u=JSON.parse('[{"inputs":[{"internalType":"contract ENS","name":"_ens","type":"address"},{"internalType":"contract INameWrapper","name":"wrapperAddress","type":"address"},{"internalType":"address","name":"_trustedETHController","type":"address"},{"internalType":"address","name":"_trustedReverseRegistrar","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"contentType","type":"uint256"}],"name":"ABIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"a","type":"address"}],"name":"AddrChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"coinType","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"newAddress","type":"bytes"}],"name":"AddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":true,"internalType":"bool","name":"approved","type":"bool"}],"name":"Approved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"hash","type":"bytes"}],"name":"ContenthashChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"uint16","name":"resource","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"record","type":"bytes"}],"name":"DNSRecordChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"uint16","name":"resource","type":"uint16"}],"name":"DNSRecordDeleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"lastzonehash","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"zonehash","type":"bytes"}],"name":"DNSZonehashChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"bytes4","name":"interfaceID","type":"bytes4"},{"indexed":false,"internalType":"address","name":"implementer","type":"address"}],"name":"InterfaceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"NameChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"x","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"y","type":"bytes32"}],"name":"PubkeyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"string","name":"indexedKey","type":"string"},{"indexed":false,"internalType":"string","name":"key","type":"string"},{"indexed":false,"internalType":"string","name":"value","type":"string"}],"name":"TextChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"newVersion","type":"uint64"}],"name":"VersionChanged","type":"event"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"contentTypes","type":"uint256"}],"name":"ABI","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"addr","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"coinType","type":"uint256"}],"name":"addr","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"delegate","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"clearRecords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"contenthash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"name","type":"bytes32"},{"internalType":"uint16","name":"resource","type":"uint16"}],"name":"dnsRecord","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"name","type":"bytes32"}],"name":"hasDNSRecords","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"name":"interfaceImplementer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"delegate","type":"address"}],"name":"isApprovedFor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"nodehash","type":"bytes32"},{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicallWithNodeCheck","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"pubkey","outputs":[{"internalType":"bytes32","name":"x","type":"bytes32"},{"internalType":"bytes32","name":"y","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"recordVersions","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"contentType","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setABI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"coinType","type":"uint256"},{"internalType":"bytes","name":"a","type":"bytes"}],"name":"setAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"a","type":"address"}],"name":"setAddr","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":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"hash","type":"bytes"}],"name":"setContenthash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setDNSRecords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes4","name":"interfaceID","type":"bytes4"},{"internalType":"address","name":"implementer","type":"address"}],"name":"setInterface","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"newName","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"x","type":"bytes32"},{"internalType":"bytes32","name":"y","type":"bytes32"}],"name":"setPubkey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"},{"internalType":"string","name":"value","type":"string"}],"name":"setText","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"hash","type":"bytes"}],"name":"setZonehash","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":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"}],"name":"text","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"zonehash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"}]'),d=JSON.parse('[{"inputs":[{"internalType":"contract ENS","name":"_ens","type":"address"},{"internalType":"contract INameWrapper","name":"wrapperAddress","type":"address"},{"internalType":"address","name":"_trustedETHController","type":"address"},{"internalType":"address","name":"_trustedReverseRegistrar","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"contentType","type":"uint256"}],"name":"ABIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"a","type":"address"}],"name":"AddrChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"coinType","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"newAddress","type":"bytes"}],"name":"AddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":true,"internalType":"bool","name":"approved","type":"bool"}],"name":"Approved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"hash","type":"bytes"}],"name":"ContenthashChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"uint16","name":"resource","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"record","type":"bytes"}],"name":"DNSRecordChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"uint16","name":"resource","type":"uint16"}],"name":"DNSRecordDeleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"lastzonehash","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"zonehash","type":"bytes"}],"name":"DNSZonehashChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"bytes4","name":"interfaceID","type":"bytes4"},{"indexed":false,"internalType":"address","name":"implementer","type":"address"}],"name":"InterfaceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"NameChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"x","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"y","type":"bytes32"}],"name":"PubkeyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"string","name":"indexedKey","type":"string"},{"indexed":false,"internalType":"string","name":"key","type":"string"},{"indexed":false,"internalType":"string","name":"value","type":"string"}],"name":"TextChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"newVersion","type":"uint64"}],"name":"VersionChanged","type":"event"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"contentTypes","type":"uint256"}],"name":"ABI","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"addr","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"coinType","type":"uint256"}],"name":"addr","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"delegate","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"clearRecords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"contenthash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"name","type":"bytes32"},{"internalType":"uint16","name":"resource","type":"uint16"}],"name":"dnsRecord","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"name","type":"bytes32"}],"name":"hasDNSRecords","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"name":"interfaceImplementer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"delegate","type":"address"}],"name":"isApprovedFor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"nodehash","type":"bytes32"},{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicallWithNodeCheck","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"pubkey","outputs":[{"internalType":"bytes32","name":"x","type":"bytes32"},{"internalType":"bytes32","name":"y","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"recordVersions","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"resolve","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"contentType","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setABI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"coinType","type":"uint256"},{"internalType":"bytes","name":"a","type":"bytes"}],"name":"setAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"a","type":"address"}],"name":"setAddr","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":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"hash","type":"bytes"}],"name":"setContenthash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setDNSRecords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes4","name":"interfaceID","type":"bytes4"},{"internalType":"address","name":"implementer","type":"address"}],"name":"setInterface","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"newName","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"x","type":"bytes32"},{"internalType":"bytes32","name":"y","type":"bytes32"}],"name":"setPubkey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"},{"internalType":"string","name":"value","type":"string"}],"name":"setText","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"hash","type":"bytes"}],"name":"setZonehash","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":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"}],"name":"text","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"zonehash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"}]'),c=JSON.parse('[{"inputs":[{"internalType":"contract ENS","name":"_ens","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"contentType","type":"uint256"}],"name":"ABIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"a","type":"address"}],"name":"AddrChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"coinType","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"newAddress","type":"bytes"}],"name":"AddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"bool","name":"isAuthorised","type":"bool"}],"name":"AuthorisationChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"hash","type":"bytes"}],"name":"ContenthashChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"uint16","name":"resource","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"record","type":"bytes"}],"name":"DNSRecordChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"uint16","name":"resource","type":"uint16"}],"name":"DNSRecordDeleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"DNSZoneCleared","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"bytes4","name":"interfaceID","type":"bytes4"},{"indexed":false,"internalType":"address","name":"implementer","type":"address"}],"name":"InterfaceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"NameChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"x","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"y","type":"bytes32"}],"name":"PubkeyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"string","name":"indexedKey","type":"string"},{"indexed":false,"internalType":"string","name":"key","type":"string"}],"name":"TextChanged","type":"event"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"contentTypes","type":"uint256"}],"name":"ABI","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"addr","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"coinType","type":"uint256"}],"name":"addr","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"authorisations","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"clearDNSZone","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"contenthash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"name","type":"bytes32"},{"internalType":"uint16","name":"resource","type":"uint16"}],"name":"dnsRecord","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"name","type":"bytes32"}],"name":"hasDNSRecords","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"name":"interfaceImplementer","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"pubkey","outputs":[{"internalType":"bytes32","name":"x","type":"bytes32"},{"internalType":"bytes32","name":"y","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"contentType","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setABI","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"coinType","type":"uint256"},{"internalType":"bytes","name":"a","type":"bytes"}],"name":"setAddr","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"a","type":"address"}],"name":"setAddr","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"target","type":"address"},{"internalType":"bool","name":"isAuthorised","type":"bool"}],"name":"setAuthorisation","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"hash","type":"bytes"}],"name":"setContenthash","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setDNSRecords","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes4","name":"interfaceID","type":"bytes4"},{"internalType":"address","name":"implementer","type":"address"}],"name":"setInterface","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"name","type":"string"}],"name":"setName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"x","type":"bytes32"},{"internalType":"bytes32","name":"y","type":"bytes32"}],"name":"setPubkey","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"},{"internalType":"string","name":"value","type":"string"}],"name":"setText","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"}],"name":"text","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"}]'),m=JSON.parse('[{"inputs":[{"internalType":"contract ENS","name":"_ens","type":"address"},{"internalType":"contract INameWrapper","name":"wrapperAddress","type":"address"},{"internalType":"address","name":"_trustedETHController","type":"address"},{"internalType":"address","name":"_trustedReverseRegistrar","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"uint256","name":"contentType","type":"uint256"}],"name":"ABIChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"a","type":"address"}],"name":"AddrChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"coinType","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"newAddress","type":"bytes"}],"name":"AddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":true,"internalType":"bool","name":"approved","type":"bool"}],"name":"Approved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"hash","type":"bytes"}],"name":"ContenthashChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"uint16","name":"resource","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"record","type":"bytes"}],"name":"DNSRecordChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"uint16","name":"resource","type":"uint16"}],"name":"DNSRecordDeleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"lastzonehash","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"zonehash","type":"bytes"}],"name":"DNSZonehashChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"bytes4","name":"interfaceID","type":"bytes4"},{"indexed":false,"internalType":"address","name":"implementer","type":"address"}],"name":"InterfaceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"NameChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"x","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"y","type":"bytes32"}],"name":"PubkeyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"string","name":"indexedKey","type":"string"},{"indexed":false,"internalType":"string","name":"key","type":"string"},{"indexed":false,"internalType":"string","name":"value","type":"string"}],"name":"TextChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"newVersion","type":"uint64"}],"name":"VersionChanged","type":"event"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"contentTypes","type":"uint256"}],"name":"ABI","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"addr","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"coinType","type":"uint256"}],"name":"addr","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"delegate","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"clearRecords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"contenthash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"name","type":"bytes32"},{"internalType":"uint16","name":"resource","type":"uint16"}],"name":"dnsRecord","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"name","type":"bytes32"}],"name":"hasDNSRecords","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes4","name":"interfaceID","type":"bytes4"}],"name":"interfaceImplementer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"delegate","type":"address"}],"name":"isApprovedFor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"nodehash","type":"bytes32"},{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicallWithNodeCheck","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"pubkey","outputs":[{"internalType":"bytes32","name":"x","type":"bytes32"},{"internalType":"bytes32","name":"y","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"recordVersions","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"contentType","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setABI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint256","name":"coinType","type":"uint256"},{"internalType":"bytes","name":"a","type":"bytes"}],"name":"setAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"a","type":"address"}],"name":"setAddr","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":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"hash","type":"bytes"}],"name":"setContenthash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setDNSRecords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes4","name":"interfaceID","type":"bytes4"},{"internalType":"address","name":"implementer","type":"address"}],"name":"setInterface","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"newName","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes32","name":"x","type":"bytes32"},{"internalType":"bytes32","name":"y","type":"bytes32"}],"name":"setPubkey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"},{"internalType":"string","name":"value","type":"string"}],"name":"setText","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"bytes","name":"hash","type":"bytes"}],"name":"setZonehash","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":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"string","name":"key","type":"string"}],"name":"text","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"zonehash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"}]'),f=JSON.parse('[{"inputs":[{"internalType":"contract ENS","name":"_ens","type":"address"},{"internalType":"contract IBaseRegistrar","name":"_registrar","type":"address"},{"internalType":"contract IMetadataService","name":"_metadataService","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CannotUpgrade","type":"error"},{"inputs":[],"name":"IncompatibleParent","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"IncorrectTargetOwner","type":"error"},{"inputs":[],"name":"IncorrectTokenType","type":"error"},{"inputs":[{"internalType":"bytes32","name":"labelHash","type":"bytes32"},{"internalType":"bytes32","name":"expectedLabelhash","type":"bytes32"}],"name":"LabelMismatch","type":"error"},{"inputs":[{"internalType":"string","name":"label","type":"string"}],"name":"LabelTooLong","type":"error"},{"inputs":[],"name":"LabelTooShort","type":"error"},{"inputs":[],"name":"NameIsNotWrapped","type":"error"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"OperationProhibited","type":"error"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"addr","type":"address"}],"name":"Unauthorised","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"controller","type":"address"},{"indexed":false,"internalType":"bool","name":"active","type":"bool"}],"name":"ControllerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"ExpiryExtended","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint32","name":"fuses","type":"uint32"}],"name":"FusesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"NameUnwrapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint32","name":"fuses","type":"uint32"},{"indexed":false,"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"NameWrapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_tokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint32","name":"fuseMask","type":"uint32"}],"name":"allFusesBurned","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"addr","type":"address"}],"name":"canExtendSubnames","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"addr","type":"address"}],"name":"canModifyName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"controllers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ens","outputs":[{"internalType":"contract ENS","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"bytes32","name":"labelhash","type":"bytes32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"extendExpiry","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"operator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getData","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint32","name":"fuses","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"bytes32","name":"labelhash","type":"bytes32"}],"name":"isWrapped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"isWrapped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataService","outputs":[{"internalType":"contract IMetadataService","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"names","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"recoverFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"wrappedOwner","type":"address"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint16","name":"ownerControlledFuses","type":"uint16"}],"name":"registerAndWrapETH2LD","outputs":[{"internalType":"uint256","name":"registrarExpiry","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"registrar","outputs":[{"internalType":"contract IBaseRegistrar","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"renew","outputs":[{"internalType":"uint256","name":"expires","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"bytes32","name":"labelhash","type":"bytes32"},{"internalType":"uint32","name":"fuses","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"setChildFuses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"},{"internalType":"bool","name":"active","type":"bool"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint16","name":"ownerControlledFuses","type":"uint16"}],"name":"setFuses","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMetadataService","name":"_metadataService","type":"address"}],"name":"setMetadataService","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setRecord","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"resolver","type":"address"}],"name":"setResolver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint32","name":"fuses","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"setSubnodeOwner","outputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"},{"internalType":"uint32","name":"fuses","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"setSubnodeRecord","outputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setTTL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract INameWrapperUpgrade","name":"_upgradeAddress","type":"address"}],"name":"setUpgradeContract","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"bytes32","name":"labelhash","type":"bytes32"},{"internalType":"address","name":"controller","type":"address"}],"name":"unwrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"labelhash","type":"bytes32"},{"internalType":"address","name":"registrant","type":"address"},{"internalType":"address","name":"controller","type":"address"}],"name":"unwrapETH2LD","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"name","type":"bytes"},{"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"upgradeContract","outputs":[{"internalType":"contract INameWrapperUpgrade","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"name","type":"bytes"},{"internalType":"address","name":"wrappedOwner","type":"address"},{"internalType":"address","name":"resolver","type":"address"}],"name":"wrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"wrappedOwner","type":"address"},{"internalType":"uint16","name":"ownerControlledFuses","type":"uint16"},{"internalType":"address","name":"resolver","type":"address"}],"name":"wrapETH2LD","outputs":[{"internalType":"uint64","name":"expiry","type":"uint64"}],"stateMutability":"nonpayable","type":"function"}]'),b=JSON.parse('[{"inputs":[{"internalType":"contract ENS","name":"_ens","type":"address"},{"internalType":"contract IBaseRegistrar","name":"_registrar","type":"address"},{"internalType":"contract IMetadataService","name":"_metadataService","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CannotUpgrade","type":"error"},{"inputs":[],"name":"IncompatibleParent","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"IncorrectTargetOwner","type":"error"},{"inputs":[],"name":"IncorrectTokenType","type":"error"},{"inputs":[{"internalType":"bytes32","name":"labelHash","type":"bytes32"},{"internalType":"bytes32","name":"expectedLabelhash","type":"bytes32"}],"name":"LabelMismatch","type":"error"},{"inputs":[{"internalType":"string","name":"label","type":"string"}],"name":"LabelTooLong","type":"error"},{"inputs":[],"name":"LabelTooShort","type":"error"},{"inputs":[],"name":"NameIsNotWrapped","type":"error"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"OperationProhibited","type":"error"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"addr","type":"address"}],"name":"Unauthorised","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"controller","type":"address"},{"indexed":false,"internalType":"bool","name":"active","type":"bool"}],"name":"ControllerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"ExpiryExtended","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"uint32","name":"fuses","type":"uint32"}],"name":"FusesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"NameUnwrapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"name","type":"bytes"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint32","name":"fuses","type":"uint32"},{"indexed":false,"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"NameWrapped","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_tokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint32","name":"fuseMask","type":"uint32"}],"name":"allFusesBurned","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"addr","type":"address"}],"name":"canExtendSubnames","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"addr","type":"address"}],"name":"canModifyName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"controllers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ens","outputs":[{"internalType":"contract ENS","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"bytes32","name":"labelhash","type":"bytes32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"extendExpiry","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"operator","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getData","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint32","name":"fuses","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"bytes32","name":"labelhash","type":"bytes32"}],"name":"isWrapped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"name":"isWrapped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataService","outputs":[{"internalType":"contract IMetadataService","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"names","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"recoverFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"wrappedOwner","type":"address"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint16","name":"ownerControlledFuses","type":"uint16"}],"name":"registerAndWrapETH2LD","outputs":[{"internalType":"uint256","name":"registrarExpiry","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"registrar","outputs":[{"internalType":"contract IBaseRegistrar","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"renew","outputs":[{"internalType":"uint256","name":"expires","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"bytes32","name":"labelhash","type":"bytes32"},{"internalType":"uint32","name":"fuses","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"setChildFuses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"},{"internalType":"bool","name":"active","type":"bool"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint16","name":"ownerControlledFuses","type":"uint16"}],"name":"setFuses","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMetadataService","name":"_metadataService","type":"address"}],"name":"setMetadataService","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setRecord","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"address","name":"resolver","type":"address"}],"name":"setResolver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint32","name":"fuses","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"setSubnodeOwner","outputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"resolver","type":"address"},{"internalType":"uint64","name":"ttl","type":"uint64"},{"internalType":"uint32","name":"fuses","type":"uint32"},{"internalType":"uint64","name":"expiry","type":"uint64"}],"name":"setSubnodeRecord","outputs":[{"internalType":"bytes32","name":"node","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"node","type":"bytes32"},{"internalType":"uint64","name":"ttl","type":"uint64"}],"name":"setTTL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract INameWrapperUpgrade","name":"_upgradeAddress","type":"address"}],"name":"setUpgradeContract","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"parentNode","type":"bytes32"},{"internalType":"bytes32","name":"labelhash","type":"bytes32"},{"internalType":"address","name":"controller","type":"address"}],"name":"unwrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"labelhash","type":"bytes32"},{"internalType":"address","name":"registrant","type":"address"},{"internalType":"address","name":"controller","type":"address"}],"name":"unwrapETH2LD","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"name","type":"bytes"},{"internalType":"bytes","name":"extraData","type":"bytes"}],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"upgradeContract","outputs":[{"internalType":"contract INameWrapperUpgrade","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"name","type":"bytes"},{"internalType":"address","name":"wrappedOwner","type":"address"},{"internalType":"address","name":"resolver","type":"address"}],"name":"wrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"label","type":"string"},{"internalType":"address","name":"wrappedOwner","type":"address"},{"internalType":"uint16","name":"ownerControlledFuses","type":"uint16"},{"internalType":"address","name":"resolver","type":"address"}],"name":"wrapETH2LD","outputs":[{"internalType":"uint64","name":"expiry","type":"uint64"}],"stateMutability":"nonpayable","type":"function"}]'),h=JSON.parse('[{"inputs":[{"internalType":"address","name":"_gateway","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"BadConfig","type":"error"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"InvalidRequest","type":"error"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"InvalidSignature","type":"error"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"NotAuthorised","type":"error"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"string[]","name":"_gateways","type":"string[]"},{"internalType":"bytes","name":"_data","type":"bytes"},{"internalType":"bytes4","name":"_callbackFunction","type":"bytes4"},{"internalType":"bytes","name":"_extradata","type":"bytes"}],"name":"OffchainLookup","type":"error"},{"inputs":[],"name":"PlsFundDevs","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":true,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovedSigner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAddr","type":"address"},{"indexed":true,"internalType":"address","name":"newAddr","type":"address"}],"name":"GatewayUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes4","name":"sig","type":"bytes4"},{"indexed":true,"internalType":"bool","name":"status","type":"bool"}],"name":"InterfaceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"contenthash","type":"bytes"}],"name":"RecordhashUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"},{"indexed":true,"internalType":"uint256","name":"value","type":"uint256"}],"name":"ThankYou","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddr","type":"address"},{"indexed":true,"internalType":"bool","name":"status","type":"bool"}],"name":"UpdatedWrapper","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"ENS","outputs":[{"internalType":"contract iENS","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"response","type":"bytes"},{"internalType":"bytes","name":"extradata","type":"bytes"}],"name":"__callback","outputs":[{"internalType":"bytes","name":"result","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"address","name":"_signer","type":"address"},{"internalType":"bool","name":"_approval","type":"bool"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"address","name":"_signer","type":"address"}],"name":"approved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_approvedSigner","type":"address"},{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"string","name":"_domain","type":"string"}],"name":"approvedSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gateway","outputs":[{"internalType":"contract iGatewayManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"}],"name":"getRecordhash","outputs":[{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_message","type":"string"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"getSigner","outputs":[{"internalType":"address","name":"_signer","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWrapper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_node","type":"bytes32[]"},{"internalType":"address[]","name":"_signer","type":"address[]"},{"internalType":"bool[]","name":"_approval","type":"bool[]"}],"name":"multiApprove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerhashFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"recordhash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_encoded","type":"bytes"},{"internalType":"bytes","name":"_requested","type":"bytes"}],"name":"redirectService","outputs":[{"internalType":"bytes4","name":"_selector","type":"bytes4"},{"internalType":"bytes32","name":"_namehash","type":"bytes32"},{"internalType":"bytes","name":"_redirectRequest","type":"bytes"},{"internalType":"string","name":"domain","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"name","type":"bytes"},{"internalType":"bytes","name":"request","type":"bytes"}],"name":"resolve","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"_token","type":"uint256"}],"name":"safeWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"string[]","name":"_subdomain","type":"string[]"},{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"name":"setDeepSubRecordhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"name":"setOwnerhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"name":"setRecordhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_recordhash","type":"bytes32"}],"name":"setShortOwnerhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"bytes32","name":"_recordhash","type":"bytes32"}],"name":"setShortRecordhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"string","name":"_subdomain","type":"string"},{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"name":"setSubRecordhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"updateChainID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gateway","type":"address"}],"name":"updateGateway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_sig","type":"bytes4"},{"internalType":"bool","name":"_set","type":"bool"}],"name":"updateInterface","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wei","type":"uint256"}],"name":"updateOwnerhashFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"bool","name":"_set","type":"bool"}],"name":"updateWrapper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"_balance","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]'),g=JSON.parse('[{"inputs":[{"internalType":"address","name":"_gateway","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"BadConfig","type":"error"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"InvalidRequest","type":"error"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"InvalidSignature","type":"error"},{"inputs":[{"internalType":"string","name":"_message","type":"string"}],"name":"NotAuthorised","type":"error"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"string[]","name":"_gateways","type":"string[]"},{"internalType":"bytes","name":"_data","type":"bytes"},{"internalType":"bytes4","name":"_callbackFunction","type":"bytes4"},{"internalType":"bytes","name":"_extradata","type":"bytes"}],"name":"OffchainLookup","type":"error"},{"inputs":[],"name":"PlsFundDevs","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":true,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovedSigner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAddr","type":"address"},{"indexed":true,"internalType":"address","name":"newAddr","type":"address"}],"name":"GatewayUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes4","name":"sig","type":"bytes4"},{"indexed":true,"internalType":"bool","name":"status","type":"bool"}],"name":"InterfaceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"bytes32","name":"node","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"contenthash","type":"bytes"}],"name":"RecordhashUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"},{"indexed":true,"internalType":"uint256","name":"value","type":"uint256"}],"name":"ThankYou","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddr","type":"address"},{"indexed":true,"internalType":"bool","name":"status","type":"bool"}],"name":"UpdatedWrapper","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"ENS","outputs":[{"internalType":"contract iENS","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"response","type":"bytes"},{"internalType":"bytes","name":"extradata","type":"bytes"}],"name":"__callback","outputs":[{"internalType":"bytes","name":"result","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"address","name":"_signer","type":"address"},{"internalType":"bool","name":"_approval","type":"bool"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"address","name":"_signer","type":"address"}],"name":"approved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_approvedSigner","type":"address"},{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"string","name":"_domain","type":"string"}],"name":"approvedSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gateway","outputs":[{"internalType":"contract iGatewayManager","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"}],"name":"getRecordhash","outputs":[{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_message","type":"string"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"getSigner","outputs":[{"internalType":"address","name":"_signer","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedSigner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWrapper","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_node","type":"bytes32[]"},{"internalType":"address[]","name":"_signer","type":"address[]"},{"internalType":"bool[]","name":"_approval","type":"bool[]"}],"name":"multiApprove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerhashFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"recordhash","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_encoded","type":"bytes"},{"internalType":"bytes","name":"_requested","type":"bytes"}],"name":"redirectService","outputs":[{"internalType":"bytes4","name":"_selector","type":"bytes4"},{"internalType":"bytes32","name":"_namehash","type":"bytes32"},{"internalType":"bytes","name":"_redirectRequest","type":"bytes"},{"internalType":"string","name":"domain","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"name","type":"bytes"},{"internalType":"bytes","name":"request","type":"bytes"}],"name":"resolve","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"_token","type":"uint256"}],"name":"safeWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"string[]","name":"_subdomain","type":"string[]"},{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"name":"setDeepSubRecordhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"name":"setOwnerhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"name":"setRecordhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_recordhash","type":"bytes32"}],"name":"setShortOwnerhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"bytes32","name":"_recordhash","type":"bytes32"}],"name":"setShortRecordhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_node","type":"bytes32"},{"internalType":"string","name":"_subdomain","type":"string"},{"internalType":"bytes","name":"_recordhash","type":"bytes"}],"name":"setSubRecordhash","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"updateChainID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_gateway","type":"address"}],"name":"updateGateway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_sig","type":"bytes4"},{"internalType":"bool","name":"_set","type":"bool"}],"name":"updateInterface","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_wei","type":"uint256"}],"name":"updateOwnerhashFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"bool","name":"_set","type":"bool"}],"name":"updateWrapper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"_balance","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]'),x=n(67191),v=n(21429);n(34155);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function w(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i=!0,o=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){o=!0,r=e},f:function(){try{i||null==n.return||n.return()}finally{if(o)throw r}}}}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);nenergy_savings_leaf

Gasless ENS Records','hub

Decentralised Records Storage on IPFS','recycling

Unlimited Record Updates With IPNS','badge

Dynamic Records and Private Payments','

Enjoy ENS Hassle Free'],ue=[h,g],de=[{addressOrName:pe[0],contractInterface:le[0]},{addressOrName:pe[1],contractInterface:le[1]},{addressOrName:pe[2],contractInterface:le[2]},{addressOrName:pe[3],contractInterface:le[3]},{addressOrName:pe[4],contractInterface:le[4]},{addressOrName:pe[5],contractInterface:le[5]},{addressOrName:pe[6],contractInterface:le[6]},{addressOrName:pe[7],contractInterface:le[7]}],ce=[{addressOrName:re[0],contractInterface:ue[0]},{addressOrName:re[1],contractInterface:ue[1]}];function me(e){var t=document.getElementById("overlay");t&&(t.style.display="block",setTimeout((function(){!function(){var e=document.getElementById("overlay");e&&(e.style.display="none")}()}),1e3*e))}function fe(e){return"08011240"+e[0]+e[1]}function be(e){return e&&!e.startsWith("https://")?x.vb("ipns://".concat(e)).encoded:""}function he(e,t){var n=document.createElement("input");n.value=e,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n);var a=document.getElementById(t);a&&(a.style.color,a.style.color="white",setTimeout((function(){"lightgreen"===a.style.color?a.style.color="white":a.style.color="lightgreen"}),2e3))}function ge(e){var t=document.getElementById(e);t.select(),t.setSelectionRange(0,99999),navigator.clipboard.writeText(t.value).then((function(){})).catch((function(e){console.error("ERROR:",e)}))}function xe(e){return new Promise((function(t,n){var a=new Image;a.onload=function(){t(!0)},a.onerror=function(){console.error("Image Failed to Load"),n(!1)},a.src=e}))}function ve(e){for(var t in e)if(e.hasOwnProperty(t)&&""!==e[t])return!1;return!0}function Te(e){return e.slice(0,2)+(e.slice(2,6)+"..."+e.slice(-4))}function we(e){return e.endsWith(".eth")&&e.length<=36}function Se(e){return e.startsWith("0x")&&42===e.length&&B.test(e.split("0x")[1])}function je(e){return L.test(e)||e.startsWith("ipfs://")&&(W.test(e)||z.test(e))||e.startsWith("eip155:")}function ke(e){return e.length>0}function Ne(e){return G.test(e)}function Me(e){return q.test(e)}function Ze(e){return L.test(e)}function Re(e){return U.test(e)}function Ce(e){return H.test(e)}function Pe(e){return J.test(e)}function Ee(e){return V.test(e)||G.test(e)}function _e(e){return V.test(e)}function De(e){return Y.test(e)}function Oe(e){return $.test(e)}function Ie(e){return Q.test(e)}function Ae(e){return X.test(e)}function We(e){return K.test(e)}function ze(e){var t=e.substring(0,7),n=e.substring(0,8);return"ipns://"===t&&A.test(e.substring(7))||"ipfs://"===t&&W.test(e.substring(7))||"ipfs://"===t&&z.test(e.substring(7))||"onion://"===n&&F.test(e.substring(8))}function Fe(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&!["revision","version"].includes(n)&&e[n]&&t.push(Number(e[n]));return Math.max.apply(Math,t)}function Le(){var e,t={},n=S(Z);try{for(n.s();!(e=n.n()).done;){var a=e.value;k.includes(a)||(t[a]="")}}catch(s){n.e(s)}finally{n.f()}return t}function Be(){var e,t={},n=S(R);try{for(n.s();!(e=n.n()).done;){t[e.value]=""}}catch(a){n.e(a)}finally{n.f()}return t}function qe(){var e,t={},n=S(Z);try{for(n.s();!(e=n.n()).done;){var a=e.value;t[a]=!![].concat(k,["revision"]).includes(a)}}catch(s){n.e(s)}finally{n.f()}return t}var Ue={type:"",addr:"",contenthash:"",avatar:"",revision:"",version:"",timestamp:w({},Le()),queue:1,ownerstamp:[]},Ke={type:"",stealth:"",rsa:"",revision:"",version:"",timestamp:w({},Be()),queue:1,ownerstamp:[]};function Ge(e,t){return He.apply(this,arguments)}function He(){return(He=(0,a.Z)(i().mark((function e(t,n){var a,s;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("https://".concat(t,".ipfs2.eth.limo/revision.json?t=").concat(String(n)));case 3:if((a=e.sent).ok){e.next=7;break}return console.error("Error:","Fetch Gone Wrong"),e.abrupt("return",{_value:"//",_sequence:""});case 7:return e.next=9,a.json();case 9:return s=e.sent,e.abrupt("return",{_value:s.ipfs?"/ipfs/".concat(s.ipfs):"//",_sequence:s.sequence||""});case 13:return e.prev=13,e.t0=e.catch(0),console.error("Error:",e.t0),e.abrupt("return",{_value:"//",_sequence:""});case 17:case"end":return e.stop()}}),e,null,[[0,13]])})))).apply(this,arguments)}function Je(e){for(var t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",a=n.length,s=0;s=4?n="0x".concat(r().encode("ipfs-ns",t)):"ipns"===e?n="0x".concat(r().encode("ipns-ns",t)):"bzz"===e&&t.length>=4?n="0x".concat(r().fromSwarm(t)):"onion"===e&&16===t.length?n="0x".concat(r().encode("onion",t)):"onion3"===e&&56===t.length?n="0x".concat(r().encode("onion3",t)):"sia"===e&&46===t.length?n="0x".concat(r().encode("skynet-ns",t)):"arweave"===e&&43===t.length?n="0x".concat(r().encode("arweave-ns",t)):a="Invalid content id"}catch(s){a=s instanceof Error?s.message:String(s)}return{encoded:n,error:a}}(n[1],n[2])}},36490:function(e,t,n){"use strict";n.d(t,{x_:function(){return u}});var a=n(50029),s=n(87794),r=n.n(s),i=n(24978),o=n(35689),p=n(26894),l=n(11606),y=n(27760);n(21429);try{fetch}catch(c){}function u(e,t,n,a){return d.apply(this,arguments)}function d(){return(d=(0,a.Z)(r().mark((function e(t,n,a,s){var u,d,c,m,f,b,h,g;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(a.length<64)){e.next=2;break}throw new Error("SIGNATURE TOO SHORT; LENGTH SHOULD BE 65 BYTES");case 2:return u=(0,l.J)(i.UG.hexToBytes(a.toLowerCase().startsWith("0x")?a.slice(2):a)),d="".concat(n,":").concat(t),c=(0,l.J)("".concat(d,":").concat(s||"",":").concat(a.slice(-64))),m=(0,p.Di)(l.J,u,c,d,42),f=o.P6.hashToPrivateScalar(m).toString(16).padStart(64,"0"),e.t0=i.UG,e.next=10,o.$3(f);case 10:return e.t1=e.sent,b=e.t0.bytesToHex.call(e.t0,e.t1),h=y.P6.bytesToHex(y.P6.hashToPrivateKey(m)),g=y.P6.bytesToHex(y.$3(h)),e.abrupt("return",[[f,b],[h,g]]);case 15:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},71775:function(e,t,n){"use strict";n.d(t,{I7:function(){return d},Yy:function(){return m},cU:function(){return y}});var a=n(50029),s=n(87794),r=n.n(s),i=n(62012),o=n(64146),p=n(27586),l=n(16441);function y(e,t,n){return u.apply(this,arguments)}function u(){return(u=(0,a.Z)(r().mark((function e(t,n,a){var s,y,u;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=new o.CH(n.addressOrName,n.contractInterface,i.Ap),e.next=3,s.getRecordhash(p.VM(t));case 3:return y=e.sent,e.next=6,s.getRecordhash(l.hexZeroPad(a,32).toLowerCase());case 6:return u=e.sent,e.abrupt("return",new Promise((function(e,t){y?e("0x"===String(y)||String(y)===String(u)?"0":String(y).startsWith("0x6874")?"2":"1"):t(new Error("Failed to fetch Recordhash"))})));case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function d(e,t,n){return c.apply(this,arguments)}function c(){return(c=(0,a.Z)(r().mark((function e(t,n,a){var s,y,u;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=new o.CH(n.addressOrName,n.contractInterface,i.Ap),e.next=3,s.getRecordhash(p.VM(t));case 3:return y=e.sent,e.next=6,s.getRecordhash(l.hexZeroPad(a,32).toLowerCase());case 6:return u=e.sent,e.abrupt("return",new Promise((function(e,t){y?e("0x"===String(y)?["0x",!1]:String(y)===String(u)?[String(u),!1]:[String(y),!0]):t(new Error("Failed to fetch Recordhash"))})));case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(e,t){return f.apply(this,arguments)}function f(){return(f=(0,a.Z)(r().mark((function e(t,n){var a,s;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=new o.CH(t.addressOrName,t.contractInterface,i.Ap),e.next=3,a.getRecordhash(l.hexZeroPad(n,32).toLowerCase());case 3:return s=e.sent,e.abrupt("return",new Promise((function(e,t){s?e("0x"!==String(s)?String(s).startsWith("0x6874")?"2":"1":"0"):t(new Error("Failed to fetch Ownerhash"))})));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},88677:function(){},62808:function(){},43094:function(){},95856:function(){},69159:function(){},46601:function(){},33397:function(){},62678:function(){},25819:function(){},24112:function(){}}]); \ No newline at end of file diff --git a/out/_next/static/chunks/main-235b4afd80b524a5.js b/out/_next/static/chunks/main-235b4afd80b524a5.js index 0ee9632d..9e434c41 100644 --- a/out/_next/static/chunks/main-235b4afd80b524a5.js +++ b/out/_next/static/chunks/main-235b4afd80b524a5.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{13143:function(){"use strict";try{self["workbox:window:6.5.4"]&&_()}catch(e){}function e(e,t){return new Promise((function(r){var n=new MessageChannel;n.port1.onmessage=function(e){r(e.data)},e.postMessage(t,[n.port2])}))}function t(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}try{self["workbox:core:6.5.4"]&&_()}catch(e){}var o=function(){var e=this;this.promise=new Promise((function(t,r){e.resolve=t,e.reject=r}))};function a(e,t){var r=location.href;return new URL(e,r).href===new URL(t,r).href}var i=function(e,t){this.type=e,Object.assign(this,t)};function u(e,t,r){return r?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}function c(){}var s={type:"SKIP_WAITING"};function l(e,t){if(!t)return e&&e.then?e.then(c):Promise.resolve()}var f=function(r){var n,c;function f(e,t){var n,c;return void 0===t&&(t={}),(n=r.call(this)||this).nn={},n.tn=0,n.rn=new o,n.en=new o,n.on=new o,n.un=0,n.an=new Set,n.cn=function(){var e=n.fn,t=e.installing;n.tn>0||!a(t.scriptURL,n.sn.toString())||performance.now()>n.un+6e4?(n.vn=t,e.removeEventListener("updatefound",n.cn)):(n.hn=t,n.an.add(t),n.rn.resolve(t)),++n.tn,t.addEventListener("statechange",n.ln)},n.ln=function(e){var t=n.fn,r=e.target,o=r.state,a=r===n.vn,u={sw:r,isExternal:a,originalEvent:e};!a&&n.mn&&(u.isUpdate=!0),n.dispatchEvent(new i(o,u)),"installed"===o?n.wn=self.setTimeout((function(){"installed"===o&&t.waiting===r&&n.dispatchEvent(new i("waiting",u))}),200):"activating"===o&&(clearTimeout(n.wn),a||n.en.resolve(r))},n.dn=function(e){var t=n.hn,r=t!==navigator.serviceWorker.controller;n.dispatchEvent(new i("controlling",{isExternal:r,originalEvent:e,sw:t,isUpdate:n.mn})),r||n.on.resolve(t)},n.gn=(c=function(e){var t=e.data,r=e.ports,o=e.source;return u(n.getSW(),(function(){n.an.has(o)&&n.dispatchEvent(new i("message",{data:t,originalEvent:e,ports:r,sw:o}))}))},function(){for(var e=[],t=0;te.put("/",new Response("",{status:200}))))})),window.workbox=new f(window.location.origin+"/sw.js",{scope:"/"}),window.workbox.addEventListener("installed",(async({isUpdate:e})=>{if(!e){const e=await caches.open("start-url"),t=await fetch("/");let r=t;t.redirected&&(r=new Response(t.body,{status:200,statusText:"OK",headers:t.headers})),await e.put("/",r)}})),window.workbox.addEventListener("installed",(async()=>{const e=window.performance.getEntriesByType("resource").map((e=>e.name)).filter((e=>e.startsWith(`${window.location.origin}/ccip2-eth-client/_next/data/`)&&e.endsWith(".json"))),t=await caches.open("next-data");e.forEach((e=>t.add(e)))})),window.workbox.register();{const e=function(e){if(window.navigator.onLine)return"/"===e?fetch("/").then((function(e){return e.redirected?Promise.resolve():caches.open("start-url").then((t=>t.put("/",e)))})):void 0},t=history.pushState;history.pushState=function(){t.apply(history,arguments),e(arguments[2])};const r=history.replaceState;history.replaceState=function(){r.apply(history,arguments),e(arguments[2])},window.addEventListener("online",(()=>{e(window.location.pathname)}))}window.addEventListener("online",(()=>{location.reload()}))}},63133:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=null;return{mountedInstances:new Set,updateHead:function(t){var r=e=Promise.resolve().then((function(){if(r===e){e=null;var a={};t.forEach((function(e){if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'.concat(e.props["data-href"],'"]')))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}var t=a[e.type]||[];t.push(e),a[e.type]=t}));var i=a.title?a.title[0]:null,u="";if(i){var c=i.props.children;u="string"===typeof c?c:Array.isArray(c)?c.join(""):""}u!==document.title&&(document.title=u),["meta","base","link","style","script"].forEach((function(e){!function(e,t){var r=document.getElementsByTagName("head")[0],a=r.querySelector("meta[name=next-head-count]");0;for(var i=Number(a.content),u=[],c=0,s=a.previousElementSibling;c0&&void 0!==u[0]?u[0]:{},I=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=I,G=I.defaultLocale,t=I.assetPrefix||"",r.p="".concat(t,"/ccip2-eth-client/_next/"),g.setConfig({serverRuntimeConfig:{},publicRuntimeConfig:I.runtimeConfig||{}}),D=b.getURL(),v.hasBasePath(D)&&(D=v.delBasePath(D)),I.scriptLoader&&(a=r(97829),(0,a.initScriptLoader)(I.scriptLoader)),W=new x.default(I.buildId,t),i=function(e){var t=o(e,2),r=t[0],n=t[1];return W.routeLoader.onEntrypoint(r,n)},window.__NEXT_P&&window.__NEXT_P.map((function(e){return setTimeout((function(){return i(e)}),0)})),window.__NEXT_P=[],window.__NEXT_P.push=i,(F=_.default()).getIsSsr=function(){return T.isSsr},q=document.getElementById("__next"),e.abrupt("return",{assetPrefix:t});case 21:case"end":return e.stop()}}),e)}))),X.apply(this,arguments)}function K(){return(K=L(n.mark((function e(r){var o,a,i,u,c,s,l;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=I.err,e.prev=1,e.next=4,W.routeLoader.whenEntrypoint("/_app");case 4:if(!("error"in(a=e.sent))){e.next=7;break}throw a.error;case 7:i=a.component,u=a.exports,B=i,c=u&&u.reportWebVitals,H=function(e){var t,r=e.id,n=e.name,o=e.startTime,a=e.value,i=e.duration,u=e.entryType,s=e.entries,l="".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12);s&&s.length&&(t=s[0].startTime);var f={id:r||l,name:n,startTime:o||t,value:null==a?i:a,label:"mark"===u||"measure"===u?"custom":"web-vital"};null===c||void 0===c||c(f),k.trackWebVitalMetric(f)},e.next=15;break;case 15:return e.next=17,W.routeLoader.whenEntrypoint(I.page);case 17:e.t0=e.sent;case 18:if(!("error"in(s=e.t0))){e.next=21;break}throw s.error;case 21:z=s.component,!!s.exports.__next_rsc__,e.next=27;break;case 27:e.next=32;break;case 29:e.prev=29,e.t1=e.catch(1),o=O.getProperError(e.t1);case 32:if(!window.__NEXT_PRELOADREADY){e.next=36;break}return e.next=36,window.__NEXT_PRELOADREADY(I.dynamicIds);case 36:if(t.router=T=E.createRouter(I.page,I.query,D,{initialProps:I.props,pageLoader:W,App:B,Component:z,wrapApp:ue,err:o,isFallback:Boolean(I.isFallback),subscription:function(e,t,r){return Y(Object.assign({},e,{App:t,scroll:r}))},locale:I.locale,locales:I.locales,defaultLocale:G,domainLocales:I.domainLocales,isPreview:I.isPreview,isRsc:I.rsc}),l={App:B,initial:!0,Component:z,props:I.props,err:o},!(null===r||void 0===r?void 0:r.beforeRender)){e.next=41;break}return e.next=41,r.beforeRender();case 41:Y(l);case 42:case"end":return e.stop()}}),e,null,[[1,29]])})))).apply(this,arguments)}function Y(e){return Q.apply(this,arguments)}function Q(){return(Q=L(n.mark((function e(t){var r;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.err){e.next=4;break}return e.next=3,J(t);case 3:return e.abrupt("return");case 4:return e.prev=4,e.next=7,ce(t);case 7:e.next=17;break;case 9:if(e.prev=9,e.t0=e.catch(4),!(r=O.getProperError(e.t0)).cancelled){e.next=14;break}throw r;case 14:return e.next=17,J(A({},t,{err:r}));case 17:case"end":return e.stop()}}),e,null,[[4,9]])})))).apply(this,arguments)}function J(e){var t=e.App,n=e.err;return console.error(n),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),W.loadPage("/_error").then((function(e){var t=e.page,n=e.styleSheets;return(null===ie||void 0===ie?void 0:ie.Component)===t?r.e(9894).then(r.bind(r,89894)).then((function(e){return{ErrorComponent:e.default,styleSheets:[]}})):{ErrorComponent:t,styleSheets:n}})).then((function(r){var o=r.ErrorComponent,a=r.styleSheets,i=ue(t),u={Component:o,AppTree:i,router:T,ctx:{err:n,pathname:I.page,query:I.query,asPath:D,AppTree:i}};return Promise.resolve(e.props?e.props:b.loadGetInitialProps(t,u)).then((function(t){return ce(A({},e,{err:n,Component:o,styleSheets:a,props:t}))}))}))}var Z=null,ee=!0;function te(){b.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),H&&performance.getEntriesByName("Next.js-hydration").forEach(H),ne())}function re(){if(b.ST){performance.mark("afterRender");var e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),H&&(performance.getEntriesByName("Next.js-render").forEach(H),performance.getEntriesByName("Next.js-route-change-to-render").forEach(H)),ne(),["Next.js-route-change-to-render","Next.js-render"].forEach((function(e){return performance.clearMeasures(e)})))}}function ne(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach((function(e){return performance.clearMarks(e)}))}function oe(e){var t=e.children;return f.default.createElement($,{fn:function(e){return J({App:B,err:e}).catch((function(e){return console.error("Error rendering page: ",e)}))}},f.default.createElement(h.RouterContext.Provider,{value:E.makePublicRouterInstance(T)},f.default.createElement(p.HeadManagerContext.Provider,{value:F},f.default.createElement(R.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"",loader:"akamai",experimentalLayoutRaw:!1}},t))))}function ae(e,t){return f.default.createElement(e,Object.assign({},t))}var ie,ue=function(e){return function(t){var r=A({},t,{Component:z,err:I.err,router:T});return f.default.createElement(oe,null,ae(e,r))}};function ce(e){var t=e.App,n=e.Component,o=e.props,a=e.err,i=e.__N_RSC,u="initial"in e?void 0:e.styleSheets;n=n||ie.Component;var c=A({},o=o||ie.props,{Component:!!i?undefined:n,err:a,router:T});ie=c;var s,l=!1,p=new Promise((function(e,t){U&&U(),s=function(){U=null,e()},U=function(){l=!0,U=null;var e=new Error("Cancel rendering route");e.cancelled=!0,t(e)}}));function d(){s()}!function(){if(!u)return!1;var e=V(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map((function(e){return e.getAttribute("data-n-href")}))),r=document.querySelector("noscript[data-n-css]"),n=null===r||void 0===r?void 0:r.getAttribute("data-n-css");u.forEach((function(e){var r=e.href,o=e.text;if(!t.has(r)){var a=document.createElement("style");a.setAttribute("data-n-href",r),a.setAttribute("media","x"),n&&a.setAttribute("nonce",n),document.head.appendChild(a),a.appendChild(document.createTextNode(o))}}))}();var h=f.default.createElement(f.default.Fragment,null,f.default.createElement(le,{callback:function(){if(u&&!l){for(var t=new Set(u.map((function(e){return e.href}))),r=V(document.querySelectorAll("style[data-n-href]")),n=r.map((function(e){return e.getAttribute("data-n-href")})),o=0;o=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){c=!0,i=e},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=new Map,d=new Set,h=["onLoad","dangerouslySetInnerHTML","children","onError","strategy"],v=function(e){var t=e.src,r=e.id,n=e.onLoad,a=void 0===n?function(){}:n,i=e.dangerouslySetInnerHTML,c=e.children,s=void 0===c?"":c,l=e.strategy,f=void 0===l?"afterInteractive":l,v=e.onError,m=r||t;if(!m||!d.has(m)){if(p.has(t))return d.add(m),void p.get(t).then(a,v);var y=document.createElement("script"),g=new Promise((function(e,t){y.addEventListener("load",(function(t){e(),a&&a.call(this,t)})),y.addEventListener("error",(function(e){t(e)}))})).catch((function(e){v&&v(e)}));t&&p.set(t,g),d.add(m),i?y.innerHTML=i.__html||"":s?y.textContent="string"===typeof s?s:Array.isArray(s)?s.join(""):"":t&&(y.src=t);for(var b=0,w=Object.entries(e);b>>0,1)},emit:function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o-1||r>-1)&&(e=e.substring(0,t>-1?t:r)),e}function A(e){return function(e,t){return(e=C(e))===t||e.startsWith(t+"/")}(e,"")}function T(e){return function(e,t){if(!e.startsWith("/")||!t)return e;var r=C(e);return f.normalizePathTrailingSlash("".concat(t).concat(r))+e.slice(r.length)}(e,"")}function N(e){return(e=e.slice("".length)).startsWith("/")||(e="/".concat(e)),e}function I(e){if(e.startsWith("/")||e.startsWith("#")||e.startsWith("?"))return!0;try{var t=g.getLocationOrigin(),r=new URL(e,t);return r.origin===t&&A(r.pathname)}catch(_){return!1}}function D(e,t,r){var n="",o=E.getRouteRegex(e),a=o.groups,i=(t!==e?S.getRouteMatcher(o)(t):"")||r;n=e;var u=Object.keys(a);return u.every((function(e){var t=i[e]||"",r=a[e],o=r.repeat,u=r.optional,c="[".concat(o?"...":"").concat(e,"]");return u&&(c="".concat(t?"":"/","[").concat(c,"]")),o&&!Array.isArray(t)&&(t=[t]),(u||e in i)&&(n=n.replace(c,o?t.map((function(e){return encodeURIComponent(e)})).join("/"):encodeURIComponent(t))||"/")}))||(n=""),{params:u,result:n}}function W(e,t){var r={};return Object.keys(e).forEach((function(n){t.includes(n)||(r[n]=e[n])})),r}function q(e,t,r){var n,o="string"===typeof t?t:k.formatWithValidation(t),a=o.match(/^[a-zA-Z]{1,}:\/\//),i=a?o.slice(a[0].length):o;if((i.split("?")[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href passed to next/router: ".concat(o,", repeated forward-slashes (//) or backslashes \\ are not valid in the href"));var u=g.normalizeRepeatedSlashes(i);o=(a?a[0]:"")+u}if(!I(o))return r?[o]:o;try{n=new URL(o.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(_){n=new URL("/","http://n")}try{var c=new URL(o,n);c.pathname=f.normalizePathTrailingSlash(c.pathname);var s="";if(b.isDynamicRoute(c.pathname)&&c.searchParams&&r){var l=x.searchParamsToUrlQuery(c.searchParams),p=D(c.pathname,c.pathname,l),d=p.result,h=p.params;d&&(s=k.formatWithValidation({pathname:d,hash:c.hash,query:W(l,h)}))}var v=c.origin===n.origin?c.href.slice(c.origin.length):c.href;return r?[v,s||v]:v}catch(m){return r?[o]:o}}function F(e){var t=g.getLocationOrigin();return e.startsWith(t)?e.substring(t.length):e}function U(e,t,r){var n=q(e,t,!0),o=c(n,2),a=o[0],i=o[1],u=g.getLocationOrigin(),s=a.startsWith(u),l=i&&i.startsWith(u);a=F(a),i=i?F(i):i;var f=s?a:T(a),p=r?F(q(e,r)):i||a;return{url:f,as:l?p:T(p)}}function B(e,t){var r=f.removePathTrailingSlash(v.denormalizePagePath(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some((function(t){if(b.isDynamicRoute(t)&&E.getRouteRegex(t).re.test(r))return e=t,!0})),f.removePathTrailingSlash(e))}var H=Symbol("SSG_DATA_NOT_FOUND");function z(e,t,r){return fetch(e,{credentials:"same-origin"}).then((function(n){if(!n.ok){if(t>1&&n.status>=500)return z(e,t-1,r);if(404===n.status)return n.json().then((function(e){if(e.notFound)return{notFound:H};throw new Error("Failed to load static props")}));throw new Error("Failed to load static props")}return r.text?n.text():n.json()}))}function V(e,t,r,n,o){var a=new URL(e,window.location.href).href;return void 0!==n[a]?n[a]:n[a]=z(e,t?3:1,{text:r}).catch((function(e){throw t||p.markAssetError(e),e})).then((function(e){return o||delete n[a],e})).catch((function(e){throw delete n[a],e}))}var G=function(){function e(t,r,n,o){var a=this,u=o.initialProps,c=o.pageLoader,s=o.App,l=o.wrapApp,p=o.Component,d=o.err,h=o.subscription,v=o.isFallback,m=o.locale,y=(o.locales,o.defaultLocale,o.domainLocales,o.isPreview),_=o.isRsc;i(this,e),this.sdc={},this.sdr={},this.sde={},this._idx=0,this.onPopState=function(e){var t=e.state;if(t){if(t.__N){var r=t.url,n=t.as,o=t.options,i=t.idx;a._idx=i;var u=w.parseRelativeUrl(r).pathname;a.isSsr&&n===T(a.asPath)&&u===T(a.pathname)||a._bps&&!a._bps(t)||a.change("replaceState",r,n,Object.assign({},o,{shallow:o.shallow&&a._shallow,locale:o.locale||a.defaultLocale}),undefined)}}else{var c=a.pathname,s=a.query;a.changeState("replaceState",k.formatWithValidation({pathname:T(c),query:s}),g.getURL())}};var x=f.removePathTrailingSlash(t);this.components={},"/_error"!==t&&(this.components[x]={Component:p,initial:!0,props:u,err:d,__N_SSG:u&&u.__N_SSG,__N_SSP:u&&u.__N_SSP,__N_RSC:!!_}),this.components["/_app"]={Component:s,styleSheets:[]},this.events=e.events,this.pageLoader=c;var P=b.isDynamicRoute(t)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=h,this.clc=null,this._wrapApp=l,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!P&&!self.location.search),this.state={route:x,pathname:t,query:r,asPath:P?t:n,isPreview:!!y,locale:void 0,isFallback:v},!n.startsWith("//")){var S={locale:m};S._shouldResolveHref=n!==t,this.changeState("replaceState",k.formatWithValidation({pathname:T(t),query:r}),g.getURL(),S)}window.addEventListener("popstate",this.onPopState)}return u(e,[{key:"reload",value:function(){window.location.reload()}},{key:"back",value:function(){window.history.back()}},{key:"push",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var n=U(this,e,t);return e=n.url,t=n.as,this.change("pushState",e,t,r)}},{key:"replace",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=U(this,e,t);return e=n.url,t=n.as,this.change("replaceState",e,t,r)}},{key:"change",value:function(){var t=a(n.mark((function t(r,o,a,i,u){var s,v,m,y,_,x,P,O,R,j,q,F,z,V,G,$,X,K,Y,Q,J,Z,ee,te,re,ne,oe,ae,ie,ue,ce,se,le,fe,pe,de,he,ve,me,ye,ge,be,we,_e,xe,Pe;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(I(o)){t.next=3;break}return window.location.href=o,t.abrupt("return",!1);case 3:s=i._h||i._shouldResolveHref||C(o)===C(a),v=l({},this.state),i._h&&(this.isReady=!0),m=v.locale,t.next=19;break;case 19:if(i._h||(this.isSsr=!1),g.ST&&performance.mark("routeChange"),y=i.shallow,_=void 0!==y&&y,x=i.scroll,P=void 0===x||x,O={shallow:_},this._inFlightRoute&&this.abortComponentLoad(this._inFlightRoute,O),a=T(L(A(a)?N(a):a,i.locale,this.defaultLocale)),R=M(A(a)?N(a):a,v.locale),this._inFlightRoute=a,j=m!==v.locale,i._h||!this.onlyAHashChange(R)||j){t.next=36;break}return v.asPath=R,e.events.emit("hashChangeStart",a,O),this.changeState(r,o,a,l(l({},i),{},{scroll:!1})),P&&this.scrollToHash(R),this.set(v,this.components[v.route],null),e.events.emit("hashChangeComplete",a,O),t.abrupt("return",!0);case 36:return q=w.parseRelativeUrl(o),F=q.pathname,z=q.query,t.prev=38,t.next=41,Promise.all([this.pageLoader.getPageList(),p.getClientBuildManifest(),this.pageLoader.getMiddlewareList()]);case 41:G=t.sent,$=c(G,2),V=$[0],$[1].__rewrites,t.next=51;break;case 47:return t.prev=47,t.t0=t.catch(38),window.location.href=a,t.abrupt("return",!1);case 51:if(this.urlIsNew(R)||j||(r="replaceState"),X=a,F=F?f.removePathTrailingSlash(N(F)):F,!s||"/_error"===F){t.next=67;break}i._shouldResolveHref=!0,t.next=65;break;case 61:X=K.asPath,K.matchedPage&&K.resolvedHref&&(F=K.resolvedHref,q.pathname=T(F),o=k.formatWithValidation(q)),t.next=67;break;case 65:q.pathname=B(F,V),q.pathname!==F&&(F=q.pathname,q.pathname=T(F),o=k.formatWithValidation(q));case 67:if(I(a)){t.next=72;break}t.next=70;break;case 70:return window.location.href=a,t.abrupt("return",!1);case 72:if(X=M(N(X),v.locale),i.shallow&&1!==i._h||1===i._h&&!b.isDynamicRoute(f.removePathTrailingSlash(F))){t.next=97;break}return t.next=76,this._preflightRequest({as:a,cache:!0,pages:V,pathname:F,query:z,locale:v.locale,isPreview:v.isPreview});case 76:if("rewrite"!==(Y=t.sent).type){t.next=85;break}z=l(l({},z),Y.parsedAs.query),X=Y.asPath,F=Y.resolvedHref,q.pathname=Y.resolvedHref,o=k.formatWithValidation(q),t.next=97;break;case 85:if("redirect"!==Y.type||!Y.newAs){t.next=89;break}return t.abrupt("return",this.change(r,Y.newUrl,Y.newAs,i));case 89:if("redirect"!==Y.type||!Y.destination){t.next=94;break}return window.location.href=Y.destination,t.abrupt("return",new Promise((function(){})));case 94:if("refresh"!==Y.type||a===window.location.pathname){t.next=97;break}return window.location.href=a,t.abrupt("return",new Promise((function(){})));case 97:if(Q=f.removePathTrailingSlash(F),!b.isDynamicRoute(Q)){t.next=113;break}if(J=w.parseRelativeUrl(X),Z=J.pathname,ee=E.getRouteRegex(Q),te=S.getRouteMatcher(ee)(Z),ne=(re=Q===Z)?D(Q,Z,z):{},te&&(!re||ne.result)){t.next=112;break}if(!((oe=Object.keys(ee.groups).filter((function(e){return!z[e]}))).length>0)){t.next=110;break}throw new Error((re?"The provided `href` (".concat(o,") value is missing query values (").concat(oe.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat(Z,") is incompatible with the `href` value (").concat(Q,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(re?"href-interpolation-failed":"incompatible-href-as"));case 110:t.next=113;break;case 112:re?a=k.formatWithValidation(Object.assign({},J,{pathname:ne.result,query:W(z,ne.params)})):Object.assign(z,te);case 113:return e.events.emit("routeChangeStart",a,O),t.prev=114,t.next=117,this.getRouteInfo(Q,F,z,a,X,O,v.locale,v.isPreview);case 117:if(ue=t.sent,se=(ce=ue).error,le=ce.props,fe=ce.__N_SSG,pe=ce.__N_SSP,(de=ue.Component)&&de.unstable_scriptLoader&&[].concat(de.unstable_scriptLoader()).forEach((function(e){d.handleClientScriptLoad(e.props)})),!fe&&!pe||!le){t.next=145;break}if(!le.pageProps||!le.pageProps.__N_REDIRECT){t.next=131;break}if(!(he=le.pageProps.__N_REDIRECT).startsWith("/")||!1===le.pageProps.__N_REDIRECT_BASE_PATH){t.next=129;break}return(ve=w.parseRelativeUrl(he)).pathname=B(ve.pathname,V),me=U(this,he,he),ye=me.url,ge=me.as,t.abrupt("return",this.change(r,ye,ge,i));case 129:return window.location.href=he,t.abrupt("return",new Promise((function(){})));case 131:if(v.isPreview=!!le.__N_PREVIEW,le.notFound!==H){t.next=145;break}return t.prev=133,t.next=136,this.fetchComponent("/404");case 136:be="/404",t.next=142;break;case 139:t.prev=139,t.t1=t.catch(133),be="/_error";case 142:return t.next=144,this.getRouteInfo(be,be,z,a,X,{shallow:!1},v.locale,v.isPreview);case 144:ue=t.sent;case 145:return e.events.emit("beforeHistoryChange",a,O),this.changeState(r,o,a,i),i._h&&"/_error"===F&&500===(null===(ae=self.__NEXT_DATA__.props)||void 0===ae||null===(ie=ae.pageProps)||void 0===ie?void 0:ie.statusCode)&&(null===le||void 0===le?void 0:le.pageProps)&&(le.pageProps.statusCode=500),we=i.shallow&&v.route===Q,xe=null!==(_e=i.scroll)&&void 0!==_e?_e:!we,Pe=xe?{x:0,y:0}:null,t.next=153,this.set(l(l({},v),{},{route:Q,pathname:F,query:z,asPath:R,isFallback:!1}),ue,null!==u&&void 0!==u?u:Pe).catch((function(e){if(!e.cancelled)throw e;se=se||e}));case 153:if(!se){t.next=156;break}throw e.events.emit("routeChangeError",se,R,O),se;case 156:return e.events.emit("routeChangeComplete",a,O),t.abrupt("return",!0);case 161:if(t.prev=161,t.t2=t.catch(114),!h.default(t.t2)||!t.t2.cancelled){t.next=165;break}return t.abrupt("return",!1);case 165:throw t.t2;case 166:case"end":return t.stop()}}),t,this,[[38,47],[114,161],[133,139]])})));return function(e,r,n,o,a){return t.apply(this,arguments)}}()},{key:"changeState",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};"pushState"===e&&g.getURL()===r||(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,idx:this._idx="pushState"!==e?this._idx:this._idx+1},"",r))}},{key:"handleRouteInfoError",value:function(){var t=a(n.mark((function t(r,o,a,i,u,c){var s,l,f,d;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r.cancelled){t.next=2;break}throw r;case 2:if(!p.isAssetError(r)&&!c){t.next=6;break}throw e.events.emit("routeChangeError",r,i,u),window.location.href=i,j();case 6:if(t.prev=6,"undefined"!==typeof s&&"undefined"!==typeof l){t.next=13;break}return t.next=10,this.fetchComponent("/_error");case 10:f=t.sent,s=f.page,l=f.styleSheets;case 13:if((d={props:undefined,Component:s,styleSheets:l,err:r,error:r}).props){t.next=25;break}return t.prev=15,t.next=18,this.getInitialProps(s,{err:r,pathname:o,query:a});case 18:d.props=t.sent,t.next=25;break;case 21:t.prev=21,t.t0=t.catch(15),console.error("Error in error page `getInitialProps`: ",t.t0),d.props={};case 25:return t.abrupt("return",d);case 28:return t.prev=28,t.t1=t.catch(6),t.abrupt("return",this.handleRouteInfoError(h.default(t.t1)?t.t1:new Error(t.t1+""),o,a,i,u,!0));case 31:case"end":return t.stop()}}),t,this,[[6,28],[15,21]])})));return function(e,r,n,o,a,i){return t.apply(this,arguments)}}()},{key:"getRouteInfo",value:function(){var e=a(n.mark((function e(t,r,o,a,i,u,c,s){var l,f,p,d,v,m,y,g,b,w,_,x,P,S=this;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,l=this.components[t],!u.shallow||!l||this.route!==t){e.next=4;break}return e.abrupt("return",l);case 4:if(f=void 0,l&&!("initial"in l)&&(f=l),e.t0=f,e.t0){e.next=11;break}return e.next=10,this.fetchComponent(t).then((function(e){return{Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP,__N_RSC:!!e.mod.__next_rsc__}}));case 10:e.t0=e.sent;case 11:p=e.t0,d=p.Component,v=p.__N_SSG,m=p.__N_SSP,y=p.__N_RSC,e.next=17;break;case 17:return b=m&&y,(v||m||y)&&(g=this.pageLoader.getDataHref({href:k.formatWithValidation({pathname:r,query:o}),asPath:i,ssg:v,flight:b,locale:c})),e.next=21,this._getData((function(){return(v||m||y)&&!b?V(g,S.isSsr,!1,v?S.sdc:S.sdr,!!v&&!s):S.getInitialProps(d,{pathname:r,query:o,asPath:a,locale:c,locales:S.locales,defaultLocale:S.defaultLocale})}));case 21:if(w=e.sent,!y){e.next=33;break}if(!b){e.next=31;break}return e.next=26,this._getData((function(){return S._getFlightData(g)}));case 26:_=e.sent,x=_.data,w.pageProps=Object.assign(w.pageProps,{__flight__:x}),e.next=33;break;case 31:P=w.__flight__,w.pageProps=Object.assign({},w.pageProps,{__flight__:P});case 33:return p.props=w,this.components[t]=p,e.abrupt("return",p);case 38:return e.prev=38,e.t1=e.catch(0),e.abrupt("return",this.handleRouteInfoError(h.getProperError(e.t1),r,o,a,u));case 41:case"end":return e.stop()}}),e,this,[[0,38]])})));return function(t,r,n,o,a,i,u,c){return e.apply(this,arguments)}}()},{key:"set",value:function(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}},{key:"beforePopState",value:function(e){this._bps=e}},{key:"onlyAHashChange",value:function(e){if(!this.asPath)return!1;var t=this.asPath.split("#"),r=c(t,2),n=r[0],o=r[1],a=e.split("#"),i=c(a,2),u=i[0],s=i[1];return!(!s||n!==u||o!==s)||n===u&&o!==s}},{key:"scrollToHash",value:function(e){var t=e.split("#"),r=c(t,2)[1],n=void 0===r?"":r;if(""!==n&&"top"!==n){var o=document.getElementById(n);if(o)o.scrollIntoView();else{var a=document.getElementsByName(n)[0];a&&a.scrollIntoView()}}else window.scrollTo(0,0)}},{key:"urlIsNew",value:function(e){return this.asPath!==e}},{key:"prefetch",value:function(){var e=a(n.mark((function e(t){var r,o,a,i,u,c,s,p,d,h,v,m,y=this,g=arguments;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=g.length>1&&void 0!==g[1]?g[1]:t,o=g.length>2&&void 0!==g[2]?g[2]:{},a=w.parseRelativeUrl(t),i=a.pathname,u=a.query,e.next=7,this.pageLoader.getPageList();case 7:c=e.sent,s=r,e.next=21;break;case 12:if(d=e.sent,p=d.__rewrites,!(h=P.default(T(L(r,this.locale)),c,p,a.query,(function(e){return B(e,c)}),this.locales)).externalDest){e.next=17;break}return e.abrupt("return");case 17:s=M(N(h.asPath),this.locale),h.matchedPage&&h.resolvedHref&&(i=h.resolvedHref,a.pathname=i,t=k.formatWithValidation(a)),e.next=23;break;case 21:a.pathname=B(a.pathname,c),a.pathname!==i&&(i=a.pathname,a.pathname=i,t=k.formatWithValidation(a));case 23:e.next=25;break;case 25:return e.next=27,this._preflightRequest({as:T(r),cache:!0,pages:c,pathname:i,query:u,locale:this.locale,isPreview:this.isPreview});case 27:return"rewrite"===(v=e.sent).type&&(a.pathname=v.resolvedHref,i=v.resolvedHref,u=l(l({},u),v.parsedAs.query),s=v.asPath,t=k.formatWithValidation(a)),m=f.removePathTrailingSlash(i),e.next=32,Promise.all([this.pageLoader._isSsg(m).then((function(e){return!!e&&V(y.pageLoader.getDataHref({href:t,asPath:s,ssg:!0,locale:"undefined"!==typeof o.locale?o.locale:y.locale}),!1,!1,y.sdc,!0)})),this.pageLoader[o.priority?"loadPage":"prefetch"](m)]);case 32:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"fetchComponent",value:function(){var e=a(n.mark((function e(t){var r,o,a,i,u=this;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=!1,o=this.clc=function(){r=!0},a=function(){if(r){var e=new Error('Abort fetching component for route: "'.concat(t,'"'));throw e.cancelled=!0,e}o===u.clc&&(u.clc=null)},e.prev=3,e.next=6,this.pageLoader.loadPage(t);case 6:return i=e.sent,a(),e.abrupt("return",i);case 11:throw e.prev=11,e.t0=e.catch(3),a(),e.t0;case 15:case"end":return e.stop()}}),e,this,[[3,11]])})));return function(t){return e.apply(this,arguments)}}()},{key:"_getData",value:function(e){var t=this,r=!1,n=function(){r=!0};return this.clc=n,e().then((function(e){if(n===t.clc&&(t.clc=null),r){var o=new Error("Loading initial props cancelled");throw o.cancelled=!0,o}return e}))}},{key:"_getFlightData",value:function(e){return V(e,!0,!0,this.sdc,!1).then((function(e){return{data:e}}))}},{key:"_preflightRequest",value:function(){var e=a(n.mark((function e(t){var r,o,a,i,u,s,l,p,d,h,v,y,g;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=C(t.as),o=M(A(r)?N(r):r,t.locale),e.next=4,this.pageLoader.getMiddlewareList();case 4:if(a=e.sent,a.some((function(e){var t=c(e,2),r=t[0],n=t[1];return S.getRouteMatcher(O.getMiddlewareRegex(r,!n))(o)}))){e.next=8;break}return e.abrupt("return",{type:"next"});case 8:return i=L(t.as,t.locale),e.prev=9,e.next=12,this._getPreflightData({preflightHref:i,shouldCache:t.cache,isPreview:t.isPreview});case 12:u=e.sent,e.next=18;break;case 15:return e.prev=15,e.t0=e.catch(9),e.abrupt("return",{type:"redirect",destination:t.as});case 18:if(!u.rewrite){e.next=25;break}if(u.rewrite.startsWith("/")){e.next=21;break}return e.abrupt("return",{type:"redirect",destination:t.as});case 21:return s=w.parseRelativeUrl(m.normalizeLocalePath(A(u.rewrite)?N(u.rewrite):u.rewrite,this.locales).pathname),l=f.removePathTrailingSlash(s.pathname),t.pages.includes(l)?(p=!0,d=l):(d=B(l,t.pages))!==s.pathname&&t.pages.includes(d)&&(p=!0),e.abrupt("return",{type:"rewrite",asPath:s.pathname,parsedAs:s,matchedPage:p,resolvedHref:d});case 25:if(!u.redirect){e.next=31;break}if(!u.redirect.startsWith("/")){e.next=30;break}return h=f.removePathTrailingSlash(m.normalizeLocalePath(A(u.redirect)?N(u.redirect):u.redirect,this.locales).pathname),v=U(this,h,h),y=v.url,g=v.as,e.abrupt("return",{type:"redirect",newUrl:y,newAs:g});case 30:return e.abrupt("return",{type:"redirect",destination:u.redirect});case 31:if(!u.refresh||u.ssr){e.next=33;break}return e.abrupt("return",{type:"refresh"});case 33:return e.abrupt("return",{type:"next"});case 34:case"end":return e.stop()}}),e,this,[[9,15]])})));return function(t){return e.apply(this,arguments)}}()},{key:"_getPreflightData",value:function(e){var t=this,r=e.preflightHref,n=e.shouldCache,o=void 0!==n&&n,a=e.isPreview,i=new URL(r,window.location.href).href;return!a&&o&&this.sde[i]?Promise.resolve(this.sde[i]):fetch(r,{method:"HEAD",credentials:"same-origin",headers:{"x-middleware-preflight":"1"}}).then((function(e){if(!e.ok)throw new Error("Failed to preflight request");return{cache:e.headers.get("x-middleware-cache"),redirect:e.headers.get("Location"),refresh:e.headers.has("x-middleware-refresh"),rewrite:e.headers.get("x-middleware-rewrite"),ssr:!!e.headers.get("x-middleware-ssr")}})).then((function(e){return o&&"no-cache"!==e.cache&&(t.sde[i]=e),e})).catch((function(e){throw delete t.sde[i],e}))}},{key:"getInitialProps",value:function(e,t){var r=this.components["/_app"].Component,n=this._wrapApp(r);return t.AppTree=n,g.loadGetInitialProps(r,{AppTree:n,Component:e,router:this,ctx:t})}},{key:"abortComponentLoad",value:function(t,r){this.clc&&(e.events.emit("routeChangeError",j(),t,r),this.clc(),this.clc=null)}},{key:"route",get:function(){return this.state.route}},{key:"pathname",get:function(){return this.state.pathname}},{key:"query",get:function(){return this.state.query}},{key:"asPath",get:function(){return this.state.asPath}},{key:"locale",get:function(){return this.state.locale}},{key:"isFallback",get:function(){return this.state.isFallback}},{key:"isPreview",get:function(){return this.state.isPreview}}]),e}();t.default=G,G.events=y.default()},17389:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=a,t.formatWithValidation=function(e){0;return a(e)},t.urlObjectKeys=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(24470));var o=/https?|ftp|gopher|file/;function a(e){var t=e.auth,r=e.hostname,a=e.protocol||"",i=e.pathname||"",u=e.hash||"",c=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"[".concat(r,"]"):r),e.port&&(s+=":"+e.port)),c&&"object"===typeof c&&(c=String(n.urlQueryToSearchParams(c)));var l=e.search||c&&"?".concat(c)||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||o.test(a))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s=""),u&&"#"!==u[0]&&(u="#"+u),l&&"?"!==l[0]&&(l="?"+l),i=i.replace(/[?#]/g,encodeURIComponent),l=l.replace("#","%23"),"".concat(a).concat(s).concat(i).concat(l).concat(u)}t.urlObjectKeys=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"]},60838:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r="/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index".concat(e):"".concat(e);return r+t}},70837:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMiddlewareRegex=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=n.getParametrizedRoute(e),o=t?"(?!_next).*":"",a=t?"(?:(/.*)?)":"";if("routeKeys"in r)return"/"===r.parameterizedRoute?{groups:{},namedRegex:"^/".concat(o,"$"),re:new RegExp("^/".concat(o,"$")),routeKeys:{}}:{groups:r.groups,namedRegex:"^".concat(r.namedParameterizedRoute).concat(a,"$"),re:new RegExp("^".concat(r.parameterizedRoute).concat(a,"$")),routeKeys:r.routeKeys};if("/"===r.parameterizedRoute)return{groups:{},re:new RegExp("^/".concat(o,"$"))};return{groups:{},re:new RegExp("^".concat(r.parameterizedRoute).concat(a,"$"))}};var n=r(75566)},27722:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getMiddlewareRegex",{enumerable:!0,get:function(){return n.getMiddlewareRegex}}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o.getRouteMatcher}}),Object.defineProperty(t,"getRouteRegex",{enumerable:!0,get:function(){return a.getRouteRegex}}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return i.getSortedRoutes}}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return u.isDynamicRoute}});var n=r(70837),o=r(50859),a=r(75566),i=r(10125),u=r(52829)},52829:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return r.test(e)};var r=/\/\[[^/]+?\](?=\/|$)/},22226:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){var r=new URL(n.getLocationOrigin()),a=t?new URL(t,r):r,i=new URL(e,a),u=i.pathname,c=i.searchParams,s=i.search,l=i.hash,f=i.href;if(i.origin!==r.origin)throw new Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:u,query:o.searchParamsToUrlQuery(c),search:s,hash:l,href:f.slice(r.origin.length)}};var n=r(67206),o=r(24470)},24470:function(e,t,r){"use strict";var n=r(85696);function o(e){return"string"===typeof e||"number"===typeof e&&!isNaN(e)||"boolean"===typeof e?String(e):""}Object.defineProperty(t,"__esModule",{value:!0}),t.searchParamsToUrlQuery=function(e){var t={};return e.forEach((function(e,r){"undefined"===typeof t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]})),t},t.urlQueryToSearchParams=function(e){var t=new URLSearchParams;return Object.entries(e).forEach((function(e){var r=n(e,2),a=r[0],i=r[1];Array.isArray(i)?i.forEach((function(e){return t.append(a,o(e))})):t.set(a,o(i))})),t},t.assign=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:"/",r=n(this.children.keys()).sort();null!==this.slugName&&r.splice(r.indexOf("[]"),1),null!==this.restSlugName&&r.splice(r.indexOf("[...]"),1),null!==this.optionalRestSlugName&&r.splice(r.indexOf("[[...]]"),1);var o=r.map((function(r){return e.children.get(r)._smoosh("".concat(t).concat(r,"/"))})).reduce((function(e,t){return[].concat(n(e),n(t))}),[]);if(null!==this.slugName&&o.push.apply(o,n(this.children.get("[]")._smoosh("".concat(t,"[").concat(this.slugName,"]/")))),!this.placeholder){var a="/"===t?"/":t.slice(0,-1);if(null!=this.optionalRestSlugName)throw new Error('You cannot define a route with the same specificity as a optional catch-all route ("'.concat(a,'" and "').concat(a,"[[...").concat(this.optionalRestSlugName,']]").'));o.unshift(a)}return null!==this.restSlugName&&o.push.apply(o,n(this.children.get("[...]")._smoosh("".concat(t,"[...").concat(this.restSlugName,"]/")))),null!==this.optionalRestSlugName&&o.push.apply(o,n(this.children.get("[[...]]")._smoosh("".concat(t,"[[...").concat(this.optionalRestSlugName,"]]/")))),o}},{key:"_insert",value:function(t,r,n){if(0!==t.length){if(n)throw new Error("Catch-all must be the last part of the URL.");var o=t[0];if(o.startsWith("[")&&o.endsWith("]")){var a=function(e,t){if(null!==e&&e!==t)throw new Error("You cannot use different slug names for the same dynamic path ('".concat(e,"' !== '").concat(t,"')."));r.forEach((function(e){if(e===t)throw new Error('You cannot have the same slug name "'.concat(t,'" repeat within a single dynamic path'));if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw new Error('You cannot have the slug names "'.concat(e,'" and "').concat(t,'" differ only by non-word symbols within a single dynamic path'))})),r.push(t)},i=o.slice(1,-1),u=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),u=!0),i.startsWith("...")&&(i=i.substring(3),n=!0),i.startsWith("[")||i.endsWith("]"))throw new Error("Segment names may not start or end with extra brackets ('".concat(i,"')."));if(i.startsWith("."))throw new Error("Segment names may not start with erroneous periods ('".concat(i,"')."));if(n)if(u){if(null!=this.restSlugName)throw new Error('You cannot use both an required and optional catch-all route at the same level ("[...'.concat(this.restSlugName,']" and "').concat(t[0],'" ).'));a(this.optionalRestSlugName,i),this.optionalRestSlugName=i,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'.concat(this.optionalRestSlugName,']]" and "').concat(t[0],'").'));a(this.restSlugName,i),this.restSlugName=i,o="[...]"}else{if(u)throw new Error('Optional route parameters are not yet supported ("'.concat(t[0],'").'));a(this.slugName,i),this.slugName=i,o="[]"}}this.children.has(o)||this.children.set(o,new e),this.children.get(o)._insert(t.slice(1),r,n)}else this.placeholder=!1}}]),e}()},62156:function(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.setConfig=function(e){r=e},t.default=void 0;t.default=function(){return r}},67206:function(e,t,r){"use strict";var n=r(87794),o=r(33227),a=r(85971),i=r(52715),u=r(91193),c=r(36558),s=r(49376);function l(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=u(e);if(t){var o=u(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return i(this,r)}}function f(){var e=window.location,t=e.protocol,r=e.hostname,n=e.port;return"".concat(t,"//").concat(r).concat(n?":"+n:"")}function p(e){return"string"===typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function h(e,t){return v.apply(this,arguments)}function v(){return(v=s(n.mark((function e(t,r){var o,a,i;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.next=4;break;case 4:if(o=r.res||r.ctx&&r.ctx.res,t.getInitialProps){e.next=12;break}if(!r.ctx||!r.Component){e.next=11;break}return e.next=9,h(r.Component,r.ctx);case 9:return e.t0=e.sent,e.abrupt("return",{pageProps:e.t0});case 11:return e.abrupt("return",{});case 12:return e.next=14,t.getInitialProps(r);case 14:if(a=e.sent,!o||!d(o)){e.next=17;break}return e.abrupt("return",a);case 17:if(a){e.next=20;break}throw i='"'.concat(p(t),'.getInitialProps()" should resolve to an object. But found "').concat(a,'" instead.'),new Error(i);case 20:return e.abrupt("return",a);case 22:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.execOnce=function(e){var t,r=!1;return function(){return r||(r=!0,t=e.apply(void 0,arguments)),t}},t.getLocationOrigin=f,t.getURL=function(){var e=window.location.href,t=f();return e.substring(t.length)},t.getDisplayName=p,t.isResSent=d,t.normalizeRepeatedSlashes=function(e){var t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?".concat(t.slice(1).join("?")):"")},t.loadGetInitialProps=h,t.ST=t.SP=t.warnOnce=void 0;t.warnOnce=function(e){};var m="undefined"!==typeof performance;t.SP=m;var y=m&&"function"===typeof performance.mark&&"function"===typeof performance.measure;t.ST=y;var g=function(e){a(r,e);var t=l(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(c(Error));t.DecodeError=g;var b=function(e){a(r,e);var t=l(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(c(Error));t.NormalizeError=b},40037:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))})},90479:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:R(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(r){Function("r","regeneratorRuntime = r")(t)}},38745:function(e){!function(){var t={106:function(e,t){!function(e){"use strict";var t,r,n,o,a=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)}},i=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var r=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return r.observe({type:e,buffered:!0}),r}}catch(e){}},u=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},c=function(e){addEventListener("pageshow",(function(t){t.persisted&&e(t)}),!0)},s=function(e,t,r){var n;return function(o){t.value>=0&&(o||r)&&(t.delta=t.value-(n||0),(t.delta||void 0===n)&&(n=t.value,e(t)))}},l=-1,f=function(){return"hidden"===document.visibilityState?0:1/0},p=function(){u((function(e){var t=e.timeStamp;l=t}),!0)},d=function(){return l<0&&(l=f(),p(),c((function(){setTimeout((function(){l=f(),p()}),0)}))),{get firstHiddenTime(){return l}}},h=function(e,t){var r,n=d(),o=a("FCP"),u=function(e){"first-contentful-paint"===e.name&&(f&&f.disconnect(),e.startTime=0&&r1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var r=function(){b(e,t),o()},n=function(){o()},o=function(){removeEventListener("pointerup",r,y),removeEventListener("pointercancel",n,y)};addEventListener("pointerup",r,y),addEventListener("pointercancel",n,y)}(t,e):b(t,e)}},x=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,_,y)}))},P=new Set;e.getCLS=function(e,t){v||(h((function(e){m=e.value})),v=!0);var r,n=function(t){m>-1&&e(t)},o=a("CLS",0),l=0,f=[],p=function(e){if(!e.hadRecentInput){var t=f[0],n=f[f.length-1];l&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(l+=e.value,f.push(e)):(l=e.value,f=[e]),l>o.value&&(o.value=l,o.entries=f,r())}},d=i("layout-shift",p);d&&(r=s(n,o,t),u((function(){d.takeRecords().map(p),r(!0)})),c((function(){l=0,m=-1,o=a("CLS",0),r=s(n,o,t)})))},e.getFCP=h,e.getFID=function(e,n){var l,f=d(),p=a("FID"),h=function(e){e.startTimee.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}try{self["workbox:core:6.5.4"]&&_()}catch(e){}var o=function(){var e=this;this.promise=new Promise((function(t,r){e.resolve=t,e.reject=r}))};function a(e,t){var r=location.href;return new URL(e,r).href===new URL(t,r).href}var i=function(e,t){this.type=e,Object.assign(this,t)};function u(e,t,r){return r?t?t(e):e:(e&&e.then||(e=Promise.resolve(e)),t?e.then(t):e)}function c(){}var s={type:"SKIP_WAITING"};function l(e,t){if(!t)return e&&e.then?e.then(c):Promise.resolve()}var f=function(r){var n,c;function f(e,t){var n,c;return void 0===t&&(t={}),(n=r.call(this)||this).nn={},n.tn=0,n.rn=new o,n.en=new o,n.on=new o,n.un=0,n.an=new Set,n.cn=function(){var e=n.fn,t=e.installing;n.tn>0||!a(t.scriptURL,n.sn.toString())||performance.now()>n.un+6e4?(n.vn=t,e.removeEventListener("updatefound",n.cn)):(n.hn=t,n.an.add(t),n.rn.resolve(t)),++n.tn,t.addEventListener("statechange",n.ln)},n.ln=function(e){var t=n.fn,r=e.target,o=r.state,a=r===n.vn,u={sw:r,isExternal:a,originalEvent:e};!a&&n.mn&&(u.isUpdate=!0),n.dispatchEvent(new i(o,u)),"installed"===o?n.wn=self.setTimeout((function(){"installed"===o&&t.waiting===r&&n.dispatchEvent(new i("waiting",u))}),200):"activating"===o&&(clearTimeout(n.wn),a||n.en.resolve(r))},n.dn=function(e){var t=n.hn,r=t!==navigator.serviceWorker.controller;n.dispatchEvent(new i("controlling",{isExternal:r,originalEvent:e,sw:t,isUpdate:n.mn})),r||n.on.resolve(t)},n.gn=(c=function(e){var t=e.data,r=e.ports,o=e.source;return u(n.getSW(),(function(){n.an.has(o)&&n.dispatchEvent(new i("message",{data:t,originalEvent:e,ports:r,sw:o}))}))},function(){for(var e=[],t=0;te.put("/",new Response("",{status:200}))))})),window.workbox=new f(window.location.origin+"/sw.js",{scope:"/"}),window.workbox.addEventListener("installed",(async({isUpdate:e})=>{if(!e){const e=await caches.open("start-url"),t=await fetch("/");let r=t;t.redirected&&(r=new Response(t.body,{status:200,statusText:"OK",headers:t.headers})),await e.put("/",r)}})),window.workbox.addEventListener("installed",(async()=>{const e=window.performance.getEntriesByType("resource").map((e=>e.name)).filter((e=>e.startsWith(`${window.location.origin}/_next/data/`)&&e.endsWith(".json"))),t=await caches.open("next-data");e.forEach((e=>t.add(e)))})),window.workbox.register();{const e=function(e){if(window.navigator.onLine)return"/"===e?fetch("/").then((function(e){return e.redirected?Promise.resolve():caches.open("start-url").then((t=>t.put("/",e)))})):void 0},t=history.pushState;history.pushState=function(){t.apply(history,arguments),e(arguments[2])};const r=history.replaceState;history.replaceState=function(){r.apply(history,arguments),e(arguments[2])},window.addEventListener("online",(()=>{e(window.location.pathname)}))}window.addEventListener("online",(()=>{location.reload()}))}},63133:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=null;return{mountedInstances:new Set,updateHead:function(t){var r=e=Promise.resolve().then((function(){if(r===e){e=null;var a={};t.forEach((function(e){if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'.concat(e.props["data-href"],'"]')))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}var t=a[e.type]||[];t.push(e),a[e.type]=t}));var i=a.title?a.title[0]:null,u="";if(i){var c=i.props.children;u="string"===typeof c?c:Array.isArray(c)?c.join(""):""}u!==document.title&&(document.title=u),["meta","base","link","style","script"].forEach((function(e){!function(e,t){var r=document.getElementsByTagName("head")[0],a=r.querySelector("meta[name=next-head-count]");0;for(var i=Number(a.content),u=[],c=0,s=a.previousElementSibling;c0&&void 0!==u[0]?u[0]:{},I=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=I,G=I.defaultLocale,t=I.assetPrefix||"",r.p="".concat(t,"/_next/"),g.setConfig({serverRuntimeConfig:{},publicRuntimeConfig:I.runtimeConfig||{}}),D=b.getURL(),v.hasBasePath(D)&&(D=v.delBasePath(D)),I.scriptLoader&&(a=r(97829),(0,a.initScriptLoader)(I.scriptLoader)),W=new x.default(I.buildId,t),i=function(e){var t=o(e,2),r=t[0],n=t[1];return W.routeLoader.onEntrypoint(r,n)},window.__NEXT_P&&window.__NEXT_P.map((function(e){return setTimeout((function(){return i(e)}),0)})),window.__NEXT_P=[],window.__NEXT_P.push=i,(F=_.default()).getIsSsr=function(){return T.isSsr},q=document.getElementById("__next"),e.abrupt("return",{assetPrefix:t});case 21:case"end":return e.stop()}}),e)}))),X.apply(this,arguments)}function K(){return(K=L(n.mark((function e(r){var o,a,i,u,c,s,l;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=I.err,e.prev=1,e.next=4,W.routeLoader.whenEntrypoint("/_app");case 4:if(!("error"in(a=e.sent))){e.next=7;break}throw a.error;case 7:i=a.component,u=a.exports,B=i,c=u&&u.reportWebVitals,H=function(e){var t,r=e.id,n=e.name,o=e.startTime,a=e.value,i=e.duration,u=e.entryType,s=e.entries,l="".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12);s&&s.length&&(t=s[0].startTime);var f={id:r||l,name:n,startTime:o||t,value:null==a?i:a,label:"mark"===u||"measure"===u?"custom":"web-vital"};null===c||void 0===c||c(f),k.trackWebVitalMetric(f)},e.next=15;break;case 15:return e.next=17,W.routeLoader.whenEntrypoint(I.page);case 17:e.t0=e.sent;case 18:if(!("error"in(s=e.t0))){e.next=21;break}throw s.error;case 21:z=s.component,!!s.exports.__next_rsc__,e.next=27;break;case 27:e.next=32;break;case 29:e.prev=29,e.t1=e.catch(1),o=O.getProperError(e.t1);case 32:if(!window.__NEXT_PRELOADREADY){e.next=36;break}return e.next=36,window.__NEXT_PRELOADREADY(I.dynamicIds);case 36:if(t.router=T=E.createRouter(I.page,I.query,D,{initialProps:I.props,pageLoader:W,App:B,Component:z,wrapApp:ue,err:o,isFallback:Boolean(I.isFallback),subscription:function(e,t,r){return Y(Object.assign({},e,{App:t,scroll:r}))},locale:I.locale,locales:I.locales,defaultLocale:G,domainLocales:I.domainLocales,isPreview:I.isPreview,isRsc:I.rsc}),l={App:B,initial:!0,Component:z,props:I.props,err:o},!(null===r||void 0===r?void 0:r.beforeRender)){e.next=41;break}return e.next=41,r.beforeRender();case 41:Y(l);case 42:case"end":return e.stop()}}),e,null,[[1,29]])})))).apply(this,arguments)}function Y(e){return Q.apply(this,arguments)}function Q(){return(Q=L(n.mark((function e(t){var r;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.err){e.next=4;break}return e.next=3,J(t);case 3:return e.abrupt("return");case 4:return e.prev=4,e.next=7,ce(t);case 7:e.next=17;break;case 9:if(e.prev=9,e.t0=e.catch(4),!(r=O.getProperError(e.t0)).cancelled){e.next=14;break}throw r;case 14:return e.next=17,J(A({},t,{err:r}));case 17:case"end":return e.stop()}}),e,null,[[4,9]])})))).apply(this,arguments)}function J(e){var t=e.App,n=e.err;return console.error(n),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),W.loadPage("/_error").then((function(e){var t=e.page,n=e.styleSheets;return(null===ie||void 0===ie?void 0:ie.Component)===t?r.e(9894).then(r.bind(r,89894)).then((function(e){return{ErrorComponent:e.default,styleSheets:[]}})):{ErrorComponent:t,styleSheets:n}})).then((function(r){var o=r.ErrorComponent,a=r.styleSheets,i=ue(t),u={Component:o,AppTree:i,router:T,ctx:{err:n,pathname:I.page,query:I.query,asPath:D,AppTree:i}};return Promise.resolve(e.props?e.props:b.loadGetInitialProps(t,u)).then((function(t){return ce(A({},e,{err:n,Component:o,styleSheets:a,props:t}))}))}))}var Z=null,ee=!0;function te(){b.ST&&(performance.mark("afterHydrate"),performance.measure("Next.js-before-hydration","navigationStart","beforeRender"),performance.measure("Next.js-hydration","beforeRender","afterHydrate"),H&&performance.getEntriesByName("Next.js-hydration").forEach(H),ne())}function re(){if(b.ST){performance.mark("afterRender");var e=performance.getEntriesByName("routeChange","mark");e.length&&(performance.measure("Next.js-route-change-to-render",e[0].name,"beforeRender"),performance.measure("Next.js-render","beforeRender","afterRender"),H&&(performance.getEntriesByName("Next.js-render").forEach(H),performance.getEntriesByName("Next.js-route-change-to-render").forEach(H)),ne(),["Next.js-route-change-to-render","Next.js-render"].forEach((function(e){return performance.clearMeasures(e)})))}}function ne(){["beforeRender","afterHydrate","afterRender","routeChange"].forEach((function(e){return performance.clearMarks(e)}))}function oe(e){var t=e.children;return f.default.createElement($,{fn:function(e){return J({App:B,err:e}).catch((function(e){return console.error("Error rendering page: ",e)}))}},f.default.createElement(h.RouterContext.Provider,{value:E.makePublicRouterInstance(T)},f.default.createElement(p.HeadManagerContext.Provider,{value:F},f.default.createElement(R.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"",loader:"akamai",experimentalLayoutRaw:!1}},t))))}function ae(e,t){return f.default.createElement(e,Object.assign({},t))}var ie,ue=function(e){return function(t){var r=A({},t,{Component:z,err:I.err,router:T});return f.default.createElement(oe,null,ae(e,r))}};function ce(e){var t=e.App,n=e.Component,o=e.props,a=e.err,i=e.__N_RSC,u="initial"in e?void 0:e.styleSheets;n=n||ie.Component;var c=A({},o=o||ie.props,{Component:!!i?undefined:n,err:a,router:T});ie=c;var s,l=!1,p=new Promise((function(e,t){U&&U(),s=function(){U=null,e()},U=function(){l=!0,U=null;var e=new Error("Cancel rendering route");e.cancelled=!0,t(e)}}));function d(){s()}!function(){if(!u)return!1;var e=V(document.querySelectorAll("style[data-n-href]")),t=new Set(e.map((function(e){return e.getAttribute("data-n-href")}))),r=document.querySelector("noscript[data-n-css]"),n=null===r||void 0===r?void 0:r.getAttribute("data-n-css");u.forEach((function(e){var r=e.href,o=e.text;if(!t.has(r)){var a=document.createElement("style");a.setAttribute("data-n-href",r),a.setAttribute("media","x"),n&&a.setAttribute("nonce",n),document.head.appendChild(a),a.appendChild(document.createTextNode(o))}}))}();var h=f.default.createElement(f.default.Fragment,null,f.default.createElement(le,{callback:function(){if(u&&!l){for(var t=new Set(u.map((function(e){return e.href}))),r=V(document.querySelectorAll("style[data-n-href]")),n=r.map((function(e){return e.getAttribute("data-n-href")})),o=0;o=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){c=!0,i=e},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var p=new Map,d=new Set,h=["onLoad","dangerouslySetInnerHTML","children","onError","strategy"],v=function(e){var t=e.src,r=e.id,n=e.onLoad,a=void 0===n?function(){}:n,i=e.dangerouslySetInnerHTML,c=e.children,s=void 0===c?"":c,l=e.strategy,f=void 0===l?"afterInteractive":l,v=e.onError,m=r||t;if(!m||!d.has(m)){if(p.has(t))return d.add(m),void p.get(t).then(a,v);var y=document.createElement("script"),g=new Promise((function(e,t){y.addEventListener("load",(function(t){e(),a&&a.call(this,t)})),y.addEventListener("error",(function(e){t(e)}))})).catch((function(e){v&&v(e)}));t&&p.set(t,g),d.add(m),i?y.innerHTML=i.__html||"":s?y.textContent="string"===typeof s?s:Array.isArray(s)?s.join(""):"":t&&(y.src=t);for(var b=0,w=Object.entries(e);b>>0,1)},emit:function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o-1||r>-1)&&(e=e.substring(0,t>-1?t:r)),e}function A(e){return function(e,t){return(e=C(e))===t||e.startsWith(t+"/")}(e,"")}function T(e){return function(e,t){if(!e.startsWith("/")||!t)return e;var r=C(e);return f.normalizePathTrailingSlash("".concat(t).concat(r))+e.slice(r.length)}(e,"")}function N(e){return(e=e.slice("".length)).startsWith("/")||(e="/".concat(e)),e}function I(e){if(e.startsWith("/")||e.startsWith("#")||e.startsWith("?"))return!0;try{var t=g.getLocationOrigin(),r=new URL(e,t);return r.origin===t&&A(r.pathname)}catch(_){return!1}}function D(e,t,r){var n="",o=E.getRouteRegex(e),a=o.groups,i=(t!==e?S.getRouteMatcher(o)(t):"")||r;n=e;var u=Object.keys(a);return u.every((function(e){var t=i[e]||"",r=a[e],o=r.repeat,u=r.optional,c="[".concat(o?"...":"").concat(e,"]");return u&&(c="".concat(t?"":"/","[").concat(c,"]")),o&&!Array.isArray(t)&&(t=[t]),(u||e in i)&&(n=n.replace(c,o?t.map((function(e){return encodeURIComponent(e)})).join("/"):encodeURIComponent(t))||"/")}))||(n=""),{params:u,result:n}}function W(e,t){var r={};return Object.keys(e).forEach((function(n){t.includes(n)||(r[n]=e[n])})),r}function q(e,t,r){var n,o="string"===typeof t?t:k.formatWithValidation(t),a=o.match(/^[a-zA-Z]{1,}:\/\//),i=a?o.slice(a[0].length):o;if((i.split("?")[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href passed to next/router: ".concat(o,", repeated forward-slashes (//) or backslashes \\ are not valid in the href"));var u=g.normalizeRepeatedSlashes(i);o=(a?a[0]:"")+u}if(!I(o))return r?[o]:o;try{n=new URL(o.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(_){n=new URL("/","http://n")}try{var c=new URL(o,n);c.pathname=f.normalizePathTrailingSlash(c.pathname);var s="";if(b.isDynamicRoute(c.pathname)&&c.searchParams&&r){var l=x.searchParamsToUrlQuery(c.searchParams),p=D(c.pathname,c.pathname,l),d=p.result,h=p.params;d&&(s=k.formatWithValidation({pathname:d,hash:c.hash,query:W(l,h)}))}var v=c.origin===n.origin?c.href.slice(c.origin.length):c.href;return r?[v,s||v]:v}catch(m){return r?[o]:o}}function F(e){var t=g.getLocationOrigin();return e.startsWith(t)?e.substring(t.length):e}function U(e,t,r){var n=q(e,t,!0),o=c(n,2),a=o[0],i=o[1],u=g.getLocationOrigin(),s=a.startsWith(u),l=i&&i.startsWith(u);a=F(a),i=i?F(i):i;var f=s?a:T(a),p=r?F(q(e,r)):i||a;return{url:f,as:l?p:T(p)}}function B(e,t){var r=f.removePathTrailingSlash(v.denormalizePagePath(e));return"/404"===r||"/_error"===r?e:(t.includes(r)||t.some((function(t){if(b.isDynamicRoute(t)&&E.getRouteRegex(t).re.test(r))return e=t,!0})),f.removePathTrailingSlash(e))}var H=Symbol("SSG_DATA_NOT_FOUND");function z(e,t,r){return fetch(e,{credentials:"same-origin"}).then((function(n){if(!n.ok){if(t>1&&n.status>=500)return z(e,t-1,r);if(404===n.status)return n.json().then((function(e){if(e.notFound)return{notFound:H};throw new Error("Failed to load static props")}));throw new Error("Failed to load static props")}return r.text?n.text():n.json()}))}function V(e,t,r,n,o){var a=new URL(e,window.location.href).href;return void 0!==n[a]?n[a]:n[a]=z(e,t?3:1,{text:r}).catch((function(e){throw t||p.markAssetError(e),e})).then((function(e){return o||delete n[a],e})).catch((function(e){throw delete n[a],e}))}var G=function(){function e(t,r,n,o){var a=this,u=o.initialProps,c=o.pageLoader,s=o.App,l=o.wrapApp,p=o.Component,d=o.err,h=o.subscription,v=o.isFallback,m=o.locale,y=(o.locales,o.defaultLocale,o.domainLocales,o.isPreview),_=o.isRsc;i(this,e),this.sdc={},this.sdr={},this.sde={},this._idx=0,this.onPopState=function(e){var t=e.state;if(t){if(t.__N){var r=t.url,n=t.as,o=t.options,i=t.idx;a._idx=i;var u=w.parseRelativeUrl(r).pathname;a.isSsr&&n===T(a.asPath)&&u===T(a.pathname)||a._bps&&!a._bps(t)||a.change("replaceState",r,n,Object.assign({},o,{shallow:o.shallow&&a._shallow,locale:o.locale||a.defaultLocale}),undefined)}}else{var c=a.pathname,s=a.query;a.changeState("replaceState",k.formatWithValidation({pathname:T(c),query:s}),g.getURL())}};var x=f.removePathTrailingSlash(t);this.components={},"/_error"!==t&&(this.components[x]={Component:p,initial:!0,props:u,err:d,__N_SSG:u&&u.__N_SSG,__N_SSP:u&&u.__N_SSP,__N_RSC:!!_}),this.components["/_app"]={Component:s,styleSheets:[]},this.events=e.events,this.pageLoader=c;var P=b.isDynamicRoute(t)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=h,this.clc=null,this._wrapApp=l,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||!P&&!self.location.search),this.state={route:x,pathname:t,query:r,asPath:P?t:n,isPreview:!!y,locale:void 0,isFallback:v},!n.startsWith("//")){var S={locale:m};S._shouldResolveHref=n!==t,this.changeState("replaceState",k.formatWithValidation({pathname:T(t),query:r}),g.getURL(),S)}window.addEventListener("popstate",this.onPopState)}return u(e,[{key:"reload",value:function(){window.location.reload()}},{key:"back",value:function(){window.history.back()}},{key:"push",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var n=U(this,e,t);return e=n.url,t=n.as,this.change("pushState",e,t,r)}},{key:"replace",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=U(this,e,t);return e=n.url,t=n.as,this.change("replaceState",e,t,r)}},{key:"change",value:function(){var t=a(n.mark((function t(r,o,a,i,u){var s,v,m,y,_,x,P,O,R,j,q,F,z,V,G,$,X,K,Y,Q,J,Z,ee,te,re,ne,oe,ae,ie,ue,ce,se,le,fe,pe,de,he,ve,me,ye,ge,be,we,_e,xe,Pe;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(I(o)){t.next=3;break}return window.location.href=o,t.abrupt("return",!1);case 3:s=i._h||i._shouldResolveHref||C(o)===C(a),v=l({},this.state),i._h&&(this.isReady=!0),m=v.locale,t.next=19;break;case 19:if(i._h||(this.isSsr=!1),g.ST&&performance.mark("routeChange"),y=i.shallow,_=void 0!==y&&y,x=i.scroll,P=void 0===x||x,O={shallow:_},this._inFlightRoute&&this.abortComponentLoad(this._inFlightRoute,O),a=T(L(A(a)?N(a):a,i.locale,this.defaultLocale)),R=M(A(a)?N(a):a,v.locale),this._inFlightRoute=a,j=m!==v.locale,i._h||!this.onlyAHashChange(R)||j){t.next=36;break}return v.asPath=R,e.events.emit("hashChangeStart",a,O),this.changeState(r,o,a,l(l({},i),{},{scroll:!1})),P&&this.scrollToHash(R),this.set(v,this.components[v.route],null),e.events.emit("hashChangeComplete",a,O),t.abrupt("return",!0);case 36:return q=w.parseRelativeUrl(o),F=q.pathname,z=q.query,t.prev=38,t.next=41,Promise.all([this.pageLoader.getPageList(),p.getClientBuildManifest(),this.pageLoader.getMiddlewareList()]);case 41:G=t.sent,$=c(G,2),V=$[0],$[1].__rewrites,t.next=51;break;case 47:return t.prev=47,t.t0=t.catch(38),window.location.href=a,t.abrupt("return",!1);case 51:if(this.urlIsNew(R)||j||(r="replaceState"),X=a,F=F?f.removePathTrailingSlash(N(F)):F,!s||"/_error"===F){t.next=67;break}i._shouldResolveHref=!0,t.next=65;break;case 61:X=K.asPath,K.matchedPage&&K.resolvedHref&&(F=K.resolvedHref,q.pathname=T(F),o=k.formatWithValidation(q)),t.next=67;break;case 65:q.pathname=B(F,V),q.pathname!==F&&(F=q.pathname,q.pathname=T(F),o=k.formatWithValidation(q));case 67:if(I(a)){t.next=72;break}t.next=70;break;case 70:return window.location.href=a,t.abrupt("return",!1);case 72:if(X=M(N(X),v.locale),i.shallow&&1!==i._h||1===i._h&&!b.isDynamicRoute(f.removePathTrailingSlash(F))){t.next=97;break}return t.next=76,this._preflightRequest({as:a,cache:!0,pages:V,pathname:F,query:z,locale:v.locale,isPreview:v.isPreview});case 76:if("rewrite"!==(Y=t.sent).type){t.next=85;break}z=l(l({},z),Y.parsedAs.query),X=Y.asPath,F=Y.resolvedHref,q.pathname=Y.resolvedHref,o=k.formatWithValidation(q),t.next=97;break;case 85:if("redirect"!==Y.type||!Y.newAs){t.next=89;break}return t.abrupt("return",this.change(r,Y.newUrl,Y.newAs,i));case 89:if("redirect"!==Y.type||!Y.destination){t.next=94;break}return window.location.href=Y.destination,t.abrupt("return",new Promise((function(){})));case 94:if("refresh"!==Y.type||a===window.location.pathname){t.next=97;break}return window.location.href=a,t.abrupt("return",new Promise((function(){})));case 97:if(Q=f.removePathTrailingSlash(F),!b.isDynamicRoute(Q)){t.next=113;break}if(J=w.parseRelativeUrl(X),Z=J.pathname,ee=E.getRouteRegex(Q),te=S.getRouteMatcher(ee)(Z),ne=(re=Q===Z)?D(Q,Z,z):{},te&&(!re||ne.result)){t.next=112;break}if(!((oe=Object.keys(ee.groups).filter((function(e){return!z[e]}))).length>0)){t.next=110;break}throw new Error((re?"The provided `href` (".concat(o,") value is missing query values (").concat(oe.join(", "),") to be interpolated properly. "):"The provided `as` value (".concat(Z,") is incompatible with the `href` value (").concat(Q,"). "))+"Read more: https://nextjs.org/docs/messages/".concat(re?"href-interpolation-failed":"incompatible-href-as"));case 110:t.next=113;break;case 112:re?a=k.formatWithValidation(Object.assign({},J,{pathname:ne.result,query:W(z,ne.params)})):Object.assign(z,te);case 113:return e.events.emit("routeChangeStart",a,O),t.prev=114,t.next=117,this.getRouteInfo(Q,F,z,a,X,O,v.locale,v.isPreview);case 117:if(ue=t.sent,se=(ce=ue).error,le=ce.props,fe=ce.__N_SSG,pe=ce.__N_SSP,(de=ue.Component)&&de.unstable_scriptLoader&&[].concat(de.unstable_scriptLoader()).forEach((function(e){d.handleClientScriptLoad(e.props)})),!fe&&!pe||!le){t.next=145;break}if(!le.pageProps||!le.pageProps.__N_REDIRECT){t.next=131;break}if(!(he=le.pageProps.__N_REDIRECT).startsWith("/")||!1===le.pageProps.__N_REDIRECT_BASE_PATH){t.next=129;break}return(ve=w.parseRelativeUrl(he)).pathname=B(ve.pathname,V),me=U(this,he,he),ye=me.url,ge=me.as,t.abrupt("return",this.change(r,ye,ge,i));case 129:return window.location.href=he,t.abrupt("return",new Promise((function(){})));case 131:if(v.isPreview=!!le.__N_PREVIEW,le.notFound!==H){t.next=145;break}return t.prev=133,t.next=136,this.fetchComponent("/404");case 136:be="/404",t.next=142;break;case 139:t.prev=139,t.t1=t.catch(133),be="/_error";case 142:return t.next=144,this.getRouteInfo(be,be,z,a,X,{shallow:!1},v.locale,v.isPreview);case 144:ue=t.sent;case 145:return e.events.emit("beforeHistoryChange",a,O),this.changeState(r,o,a,i),i._h&&"/_error"===F&&500===(null===(ae=self.__NEXT_DATA__.props)||void 0===ae||null===(ie=ae.pageProps)||void 0===ie?void 0:ie.statusCode)&&(null===le||void 0===le?void 0:le.pageProps)&&(le.pageProps.statusCode=500),we=i.shallow&&v.route===Q,xe=null!==(_e=i.scroll)&&void 0!==_e?_e:!we,Pe=xe?{x:0,y:0}:null,t.next=153,this.set(l(l({},v),{},{route:Q,pathname:F,query:z,asPath:R,isFallback:!1}),ue,null!==u&&void 0!==u?u:Pe).catch((function(e){if(!e.cancelled)throw e;se=se||e}));case 153:if(!se){t.next=156;break}throw e.events.emit("routeChangeError",se,R,O),se;case 156:return e.events.emit("routeChangeComplete",a,O),t.abrupt("return",!0);case 161:if(t.prev=161,t.t2=t.catch(114),!h.default(t.t2)||!t.t2.cancelled){t.next=165;break}return t.abrupt("return",!1);case 165:throw t.t2;case 166:case"end":return t.stop()}}),t,this,[[38,47],[114,161],[133,139]])})));return function(e,r,n,o,a){return t.apply(this,arguments)}}()},{key:"changeState",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};"pushState"===e&&g.getURL()===r||(this._shallow=n.shallow,window.history[e]({url:t,as:r,options:n,__N:!0,idx:this._idx="pushState"!==e?this._idx:this._idx+1},"",r))}},{key:"handleRouteInfoError",value:function(){var t=a(n.mark((function t(r,o,a,i,u,c){var s,l,f,d;return n.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r.cancelled){t.next=2;break}throw r;case 2:if(!p.isAssetError(r)&&!c){t.next=6;break}throw e.events.emit("routeChangeError",r,i,u),window.location.href=i,j();case 6:if(t.prev=6,"undefined"!==typeof s&&"undefined"!==typeof l){t.next=13;break}return t.next=10,this.fetchComponent("/_error");case 10:f=t.sent,s=f.page,l=f.styleSheets;case 13:if((d={props:undefined,Component:s,styleSheets:l,err:r,error:r}).props){t.next=25;break}return t.prev=15,t.next=18,this.getInitialProps(s,{err:r,pathname:o,query:a});case 18:d.props=t.sent,t.next=25;break;case 21:t.prev=21,t.t0=t.catch(15),console.error("Error in error page `getInitialProps`: ",t.t0),d.props={};case 25:return t.abrupt("return",d);case 28:return t.prev=28,t.t1=t.catch(6),t.abrupt("return",this.handleRouteInfoError(h.default(t.t1)?t.t1:new Error(t.t1+""),o,a,i,u,!0));case 31:case"end":return t.stop()}}),t,this,[[6,28],[15,21]])})));return function(e,r,n,o,a,i){return t.apply(this,arguments)}}()},{key:"getRouteInfo",value:function(){var e=a(n.mark((function e(t,r,o,a,i,u,c,s){var l,f,p,d,v,m,y,g,b,w,_,x,P,S=this;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,l=this.components[t],!u.shallow||!l||this.route!==t){e.next=4;break}return e.abrupt("return",l);case 4:if(f=void 0,l&&!("initial"in l)&&(f=l),e.t0=f,e.t0){e.next=11;break}return e.next=10,this.fetchComponent(t).then((function(e){return{Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP,__N_RSC:!!e.mod.__next_rsc__}}));case 10:e.t0=e.sent;case 11:p=e.t0,d=p.Component,v=p.__N_SSG,m=p.__N_SSP,y=p.__N_RSC,e.next=17;break;case 17:return b=m&&y,(v||m||y)&&(g=this.pageLoader.getDataHref({href:k.formatWithValidation({pathname:r,query:o}),asPath:i,ssg:v,flight:b,locale:c})),e.next=21,this._getData((function(){return(v||m||y)&&!b?V(g,S.isSsr,!1,v?S.sdc:S.sdr,!!v&&!s):S.getInitialProps(d,{pathname:r,query:o,asPath:a,locale:c,locales:S.locales,defaultLocale:S.defaultLocale})}));case 21:if(w=e.sent,!y){e.next=33;break}if(!b){e.next=31;break}return e.next=26,this._getData((function(){return S._getFlightData(g)}));case 26:_=e.sent,x=_.data,w.pageProps=Object.assign(w.pageProps,{__flight__:x}),e.next=33;break;case 31:P=w.__flight__,w.pageProps=Object.assign({},w.pageProps,{__flight__:P});case 33:return p.props=w,this.components[t]=p,e.abrupt("return",p);case 38:return e.prev=38,e.t1=e.catch(0),e.abrupt("return",this.handleRouteInfoError(h.getProperError(e.t1),r,o,a,u));case 41:case"end":return e.stop()}}),e,this,[[0,38]])})));return function(t,r,n,o,a,i,u,c){return e.apply(this,arguments)}}()},{key:"set",value:function(e,t,r){return this.state=e,this.sub(t,this.components["/_app"].Component,r)}},{key:"beforePopState",value:function(e){this._bps=e}},{key:"onlyAHashChange",value:function(e){if(!this.asPath)return!1;var t=this.asPath.split("#"),r=c(t,2),n=r[0],o=r[1],a=e.split("#"),i=c(a,2),u=i[0],s=i[1];return!(!s||n!==u||o!==s)||n===u&&o!==s}},{key:"scrollToHash",value:function(e){var t=e.split("#"),r=c(t,2)[1],n=void 0===r?"":r;if(""!==n&&"top"!==n){var o=document.getElementById(n);if(o)o.scrollIntoView();else{var a=document.getElementsByName(n)[0];a&&a.scrollIntoView()}}else window.scrollTo(0,0)}},{key:"urlIsNew",value:function(e){return this.asPath!==e}},{key:"prefetch",value:function(){var e=a(n.mark((function e(t){var r,o,a,i,u,c,s,p,d,h,v,m,y=this,g=arguments;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=g.length>1&&void 0!==g[1]?g[1]:t,o=g.length>2&&void 0!==g[2]?g[2]:{},a=w.parseRelativeUrl(t),i=a.pathname,u=a.query,e.next=7,this.pageLoader.getPageList();case 7:c=e.sent,s=r,e.next=21;break;case 12:if(d=e.sent,p=d.__rewrites,!(h=P.default(T(L(r,this.locale)),c,p,a.query,(function(e){return B(e,c)}),this.locales)).externalDest){e.next=17;break}return e.abrupt("return");case 17:s=M(N(h.asPath),this.locale),h.matchedPage&&h.resolvedHref&&(i=h.resolvedHref,a.pathname=i,t=k.formatWithValidation(a)),e.next=23;break;case 21:a.pathname=B(a.pathname,c),a.pathname!==i&&(i=a.pathname,a.pathname=i,t=k.formatWithValidation(a));case 23:e.next=25;break;case 25:return e.next=27,this._preflightRequest({as:T(r),cache:!0,pages:c,pathname:i,query:u,locale:this.locale,isPreview:this.isPreview});case 27:return"rewrite"===(v=e.sent).type&&(a.pathname=v.resolvedHref,i=v.resolvedHref,u=l(l({},u),v.parsedAs.query),s=v.asPath,t=k.formatWithValidation(a)),m=f.removePathTrailingSlash(i),e.next=32,Promise.all([this.pageLoader._isSsg(m).then((function(e){return!!e&&V(y.pageLoader.getDataHref({href:t,asPath:s,ssg:!0,locale:"undefined"!==typeof o.locale?o.locale:y.locale}),!1,!1,y.sdc,!0)})),this.pageLoader[o.priority?"loadPage":"prefetch"](m)]);case 32:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"fetchComponent",value:function(){var e=a(n.mark((function e(t){var r,o,a,i,u=this;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=!1,o=this.clc=function(){r=!0},a=function(){if(r){var e=new Error('Abort fetching component for route: "'.concat(t,'"'));throw e.cancelled=!0,e}o===u.clc&&(u.clc=null)},e.prev=3,e.next=6,this.pageLoader.loadPage(t);case 6:return i=e.sent,a(),e.abrupt("return",i);case 11:throw e.prev=11,e.t0=e.catch(3),a(),e.t0;case 15:case"end":return e.stop()}}),e,this,[[3,11]])})));return function(t){return e.apply(this,arguments)}}()},{key:"_getData",value:function(e){var t=this,r=!1,n=function(){r=!0};return this.clc=n,e().then((function(e){if(n===t.clc&&(t.clc=null),r){var o=new Error("Loading initial props cancelled");throw o.cancelled=!0,o}return e}))}},{key:"_getFlightData",value:function(e){return V(e,!0,!0,this.sdc,!1).then((function(e){return{data:e}}))}},{key:"_preflightRequest",value:function(){var e=a(n.mark((function e(t){var r,o,a,i,u,s,l,p,d,h,v,y,g;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=C(t.as),o=M(A(r)?N(r):r,t.locale),e.next=4,this.pageLoader.getMiddlewareList();case 4:if(a=e.sent,a.some((function(e){var t=c(e,2),r=t[0],n=t[1];return S.getRouteMatcher(O.getMiddlewareRegex(r,!n))(o)}))){e.next=8;break}return e.abrupt("return",{type:"next"});case 8:return i=L(t.as,t.locale),e.prev=9,e.next=12,this._getPreflightData({preflightHref:i,shouldCache:t.cache,isPreview:t.isPreview});case 12:u=e.sent,e.next=18;break;case 15:return e.prev=15,e.t0=e.catch(9),e.abrupt("return",{type:"redirect",destination:t.as});case 18:if(!u.rewrite){e.next=25;break}if(u.rewrite.startsWith("/")){e.next=21;break}return e.abrupt("return",{type:"redirect",destination:t.as});case 21:return s=w.parseRelativeUrl(m.normalizeLocalePath(A(u.rewrite)?N(u.rewrite):u.rewrite,this.locales).pathname),l=f.removePathTrailingSlash(s.pathname),t.pages.includes(l)?(p=!0,d=l):(d=B(l,t.pages))!==s.pathname&&t.pages.includes(d)&&(p=!0),e.abrupt("return",{type:"rewrite",asPath:s.pathname,parsedAs:s,matchedPage:p,resolvedHref:d});case 25:if(!u.redirect){e.next=31;break}if(!u.redirect.startsWith("/")){e.next=30;break}return h=f.removePathTrailingSlash(m.normalizeLocalePath(A(u.redirect)?N(u.redirect):u.redirect,this.locales).pathname),v=U(this,h,h),y=v.url,g=v.as,e.abrupt("return",{type:"redirect",newUrl:y,newAs:g});case 30:return e.abrupt("return",{type:"redirect",destination:u.redirect});case 31:if(!u.refresh||u.ssr){e.next=33;break}return e.abrupt("return",{type:"refresh"});case 33:return e.abrupt("return",{type:"next"});case 34:case"end":return e.stop()}}),e,this,[[9,15]])})));return function(t){return e.apply(this,arguments)}}()},{key:"_getPreflightData",value:function(e){var t=this,r=e.preflightHref,n=e.shouldCache,o=void 0!==n&&n,a=e.isPreview,i=new URL(r,window.location.href).href;return!a&&o&&this.sde[i]?Promise.resolve(this.sde[i]):fetch(r,{method:"HEAD",credentials:"same-origin",headers:{"x-middleware-preflight":"1"}}).then((function(e){if(!e.ok)throw new Error("Failed to preflight request");return{cache:e.headers.get("x-middleware-cache"),redirect:e.headers.get("Location"),refresh:e.headers.has("x-middleware-refresh"),rewrite:e.headers.get("x-middleware-rewrite"),ssr:!!e.headers.get("x-middleware-ssr")}})).then((function(e){return o&&"no-cache"!==e.cache&&(t.sde[i]=e),e})).catch((function(e){throw delete t.sde[i],e}))}},{key:"getInitialProps",value:function(e,t){var r=this.components["/_app"].Component,n=this._wrapApp(r);return t.AppTree=n,g.loadGetInitialProps(r,{AppTree:n,Component:e,router:this,ctx:t})}},{key:"abortComponentLoad",value:function(t,r){this.clc&&(e.events.emit("routeChangeError",j(),t,r),this.clc(),this.clc=null)}},{key:"route",get:function(){return this.state.route}},{key:"pathname",get:function(){return this.state.pathname}},{key:"query",get:function(){return this.state.query}},{key:"asPath",get:function(){return this.state.asPath}},{key:"locale",get:function(){return this.state.locale}},{key:"isFallback",get:function(){return this.state.isFallback}},{key:"isPreview",get:function(){return this.state.isPreview}}]),e}();t.default=G,G.events=y.default()},17389:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatUrl=a,t.formatWithValidation=function(e){0;return a(e)},t.urlObjectKeys=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(24470));var o=/https?|ftp|gopher|file/;function a(e){var t=e.auth,r=e.hostname,a=e.protocol||"",i=e.pathname||"",u=e.hash||"",c=e.query||"",s=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?s=t+e.host:r&&(s=t+(~r.indexOf(":")?"[".concat(r,"]"):r),e.port&&(s+=":"+e.port)),c&&"object"===typeof c&&(c=String(n.urlQueryToSearchParams(c)));var l=e.search||c&&"?".concat(c)||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||o.test(a))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s=""),u&&"#"!==u[0]&&(u="#"+u),l&&"?"!==l[0]&&(l="?"+l),i=i.replace(/[?#]/g,encodeURIComponent),l=l.replace("#","%23"),"".concat(a).concat(s).concat(i).concat(l).concat(u)}t.urlObjectKeys=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"]},60838:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r="/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index".concat(e):"".concat(e);return r+t}},70837:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMiddlewareRegex=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=n.getParametrizedRoute(e),o=t?"(?!_next).*":"",a=t?"(?:(/.*)?)":"";if("routeKeys"in r)return"/"===r.parameterizedRoute?{groups:{},namedRegex:"^/".concat(o,"$"),re:new RegExp("^/".concat(o,"$")),routeKeys:{}}:{groups:r.groups,namedRegex:"^".concat(r.namedParameterizedRoute).concat(a,"$"),re:new RegExp("^".concat(r.parameterizedRoute).concat(a,"$")),routeKeys:r.routeKeys};if("/"===r.parameterizedRoute)return{groups:{},re:new RegExp("^/".concat(o,"$"))};return{groups:{},re:new RegExp("^".concat(r.parameterizedRoute).concat(a,"$"))}};var n=r(75566)},27722:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getMiddlewareRegex",{enumerable:!0,get:function(){return n.getMiddlewareRegex}}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return o.getRouteMatcher}}),Object.defineProperty(t,"getRouteRegex",{enumerable:!0,get:function(){return a.getRouteRegex}}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return i.getSortedRoutes}}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return u.isDynamicRoute}});var n=r(70837),o=r(50859),a=r(75566),i=r(10125),u=r(52829)},52829:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDynamicRoute=function(e){return r.test(e)};var r=/\/\[[^/]+?\](?=\/|$)/},22226:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelativeUrl=function(e,t){var r=new URL(n.getLocationOrigin()),a=t?new URL(t,r):r,i=new URL(e,a),u=i.pathname,c=i.searchParams,s=i.search,l=i.hash,f=i.href;if(i.origin!==r.origin)throw new Error("invariant: invalid relative URL, router received ".concat(e));return{pathname:u,query:o.searchParamsToUrlQuery(c),search:s,hash:l,href:f.slice(r.origin.length)}};var n=r(67206),o=r(24470)},24470:function(e,t,r){"use strict";var n=r(85696);function o(e){return"string"===typeof e||"number"===typeof e&&!isNaN(e)||"boolean"===typeof e?String(e):""}Object.defineProperty(t,"__esModule",{value:!0}),t.searchParamsToUrlQuery=function(e){var t={};return e.forEach((function(e,r){"undefined"===typeof t[r]?t[r]=e:Array.isArray(t[r])?t[r].push(e):t[r]=[t[r],e]})),t},t.urlQueryToSearchParams=function(e){var t=new URLSearchParams;return Object.entries(e).forEach((function(e){var r=n(e,2),a=r[0],i=r[1];Array.isArray(i)?i.forEach((function(e){return t.append(a,o(e))})):t.set(a,o(i))})),t},t.assign=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:"/",r=n(this.children.keys()).sort();null!==this.slugName&&r.splice(r.indexOf("[]"),1),null!==this.restSlugName&&r.splice(r.indexOf("[...]"),1),null!==this.optionalRestSlugName&&r.splice(r.indexOf("[[...]]"),1);var o=r.map((function(r){return e.children.get(r)._smoosh("".concat(t).concat(r,"/"))})).reduce((function(e,t){return[].concat(n(e),n(t))}),[]);if(null!==this.slugName&&o.push.apply(o,n(this.children.get("[]")._smoosh("".concat(t,"[").concat(this.slugName,"]/")))),!this.placeholder){var a="/"===t?"/":t.slice(0,-1);if(null!=this.optionalRestSlugName)throw new Error('You cannot define a route with the same specificity as a optional catch-all route ("'.concat(a,'" and "').concat(a,"[[...").concat(this.optionalRestSlugName,']]").'));o.unshift(a)}return null!==this.restSlugName&&o.push.apply(o,n(this.children.get("[...]")._smoosh("".concat(t,"[...").concat(this.restSlugName,"]/")))),null!==this.optionalRestSlugName&&o.push.apply(o,n(this.children.get("[[...]]")._smoosh("".concat(t,"[[...").concat(this.optionalRestSlugName,"]]/")))),o}},{key:"_insert",value:function(t,r,n){if(0!==t.length){if(n)throw new Error("Catch-all must be the last part of the URL.");var o=t[0];if(o.startsWith("[")&&o.endsWith("]")){var a=function(e,t){if(null!==e&&e!==t)throw new Error("You cannot use different slug names for the same dynamic path ('".concat(e,"' !== '").concat(t,"')."));r.forEach((function(e){if(e===t)throw new Error('You cannot have the same slug name "'.concat(t,'" repeat within a single dynamic path'));if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw new Error('You cannot have the slug names "'.concat(e,'" and "').concat(t,'" differ only by non-word symbols within a single dynamic path'))})),r.push(t)},i=o.slice(1,-1),u=!1;if(i.startsWith("[")&&i.endsWith("]")&&(i=i.slice(1,-1),u=!0),i.startsWith("...")&&(i=i.substring(3),n=!0),i.startsWith("[")||i.endsWith("]"))throw new Error("Segment names may not start or end with extra brackets ('".concat(i,"')."));if(i.startsWith("."))throw new Error("Segment names may not start with erroneous periods ('".concat(i,"')."));if(n)if(u){if(null!=this.restSlugName)throw new Error('You cannot use both an required and optional catch-all route at the same level ("[...'.concat(this.restSlugName,']" and "').concat(t[0],'" ).'));a(this.optionalRestSlugName,i),this.optionalRestSlugName=i,o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'.concat(this.optionalRestSlugName,']]" and "').concat(t[0],'").'));a(this.restSlugName,i),this.restSlugName=i,o="[...]"}else{if(u)throw new Error('Optional route parameters are not yet supported ("'.concat(t[0],'").'));a(this.slugName,i),this.slugName=i,o="[]"}}this.children.has(o)||this.children.set(o,new e),this.children.get(o)._insert(t.slice(1),r,n)}else this.placeholder=!1}}]),e}()},62156:function(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.setConfig=function(e){r=e},t.default=void 0;t.default=function(){return r}},67206:function(e,t,r){"use strict";var n=r(87794),o=r(33227),a=r(85971),i=r(52715),u=r(91193),c=r(36558),s=r(49376);function l(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=u(e);if(t){var o=u(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return i(this,r)}}function f(){var e=window.location,t=e.protocol,r=e.hostname,n=e.port;return"".concat(t,"//").concat(r).concat(n?":"+n:"")}function p(e){return"string"===typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function h(e,t){return v.apply(this,arguments)}function v(){return(v=s(n.mark((function e(t,r){var o,a,i;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.next=4;break;case 4:if(o=r.res||r.ctx&&r.ctx.res,t.getInitialProps){e.next=12;break}if(!r.ctx||!r.Component){e.next=11;break}return e.next=9,h(r.Component,r.ctx);case 9:return e.t0=e.sent,e.abrupt("return",{pageProps:e.t0});case 11:return e.abrupt("return",{});case 12:return e.next=14,t.getInitialProps(r);case 14:if(a=e.sent,!o||!d(o)){e.next=17;break}return e.abrupt("return",a);case 17:if(a){e.next=20;break}throw i='"'.concat(p(t),'.getInitialProps()" should resolve to an object. But found "').concat(a,'" instead.'),new Error(i);case 20:return e.abrupt("return",a);case 22:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.execOnce=function(e){var t,r=!1;return function(){return r||(r=!0,t=e.apply(void 0,arguments)),t}},t.getLocationOrigin=f,t.getURL=function(){var e=window.location.href,t=f();return e.substring(t.length)},t.getDisplayName=p,t.isResSent=d,t.normalizeRepeatedSlashes=function(e){var t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?".concat(t.slice(1).join("?")):"")},t.loadGetInitialProps=h,t.ST=t.SP=t.warnOnce=void 0;t.warnOnce=function(e){};var m="undefined"!==typeof performance;t.SP=m;var y=m&&"function"===typeof performance.mark&&"function"===typeof performance.measure;t.ST=y;var g=function(e){a(r,e);var t=l(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(c(Error));t.DecodeError=g;var b=function(e){a(r,e);var t=l(r);function r(){return o(this,r),t.apply(this,arguments)}return r}(c(Error));t.NormalizeError=b},40037:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))})},90479:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:R(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(r){Function("r","regeneratorRuntime = r")(t)}},38745:function(e){!function(){var t={106:function(e,t){!function(e){"use strict";var t,r,n,o,a=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)}},i=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var r=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return r.observe({type:e,buffered:!0}),r}}catch(e){}},u=function(e,t){var r=function r(n){"pagehide"!==n.type&&"hidden"!==document.visibilityState||(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},c=function(e){addEventListener("pageshow",(function(t){t.persisted&&e(t)}),!0)},s=function(e,t,r){var n;return function(o){t.value>=0&&(o||r)&&(t.delta=t.value-(n||0),(t.delta||void 0===n)&&(n=t.value,e(t)))}},l=-1,f=function(){return"hidden"===document.visibilityState?0:1/0},p=function(){u((function(e){var t=e.timeStamp;l=t}),!0)},d=function(){return l<0&&(l=f(),p(),c((function(){setTimeout((function(){l=f(),p()}),0)}))),{get firstHiddenTime(){return l}}},h=function(e,t){var r,n=d(),o=a("FCP"),u=function(e){"first-contentful-paint"===e.name&&(f&&f.disconnect(),e.startTime=0&&r1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var r=function(){b(e,t),o()},n=function(){o()},o=function(){removeEventListener("pointerup",r,y),removeEventListener("pointercancel",n,y)};addEventListener("pointerup",r,y),addEventListener("pointercancel",n,y)}(t,e):b(t,e)}},x=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(t){return e(t,_,y)}))},P=new Set;e.getCLS=function(e,t){v||(h((function(e){m=e.value})),v=!0);var r,n=function(t){m>-1&&e(t)},o=a("CLS",0),l=0,f=[],p=function(e){if(!e.hadRecentInput){var t=f[0],n=f[f.length-1];l&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(l+=e.value,f.push(e)):(l=e.value,f=[e]),l>o.value&&(o.value=l,o.entries=f,r())}},d=i("layout-shift",p);d&&(r=s(n,o,t),u((function(){d.takeRecords().map(p),r(!0)})),c((function(){l=0,m=-1,o=a("CLS",0),r=s(n,o,t)})))},e.getFCP=h,e.getFID=function(e,n){var l,f=d(),p=a("FID"),h=function(e){e.startTimeExports Key for Ownerhash
')},"data-tooltip":"Export Ownerhash Key",children:(0,F.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px",marginTop:"21px"},children:"info_outline"})})]}),(0,F.jsxs)("div",{className:"flex-row",style:{marginLeft:"25px"},children:[(0,F.jsx)("button",{className:"button-option",style:{height:"35px",width:"175px",marginTop:"15px",fontSize:"15px",fontWeight:"700"},onClick:function(){a("1"),s(!0),n()},"data-tooltip":"Export Recordhash Key",children:(0,F.jsxs)("div",{className:"flex-row",children:["Recordhash","\xa0",(0,F.jsx)("span",{className:"material-icons chonk",children:"create"})]})}),(0,F.jsx)("button",{className:"button-tiny",onClick:function(){u(!0),y('Exports Key for Recordhash')},"data-tooltip":"Export Recordhash Key",children:(0,F.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px",marginTop:"16px"},children:"info_outline"})})]}),(0,F.jsxs)("div",{className:"flex-row",style:{marginLeft:"25px"},children:[(0,F.jsx)("button",{className:"button-option",style:{height:"35px",width:"175px",marginTop:"15px",fontSize:"15px",fontWeight:"700"},onClick:function(){a("2"),s(!0),n()},"data-tooltip":"Export Gateway Key",children:(0,F.jsxs)("div",{className:"flex-row",children:["HTTP Gateway","\xa0",(0,F.jsx)("span",{className:"material-icons chonk",children:"dns"})]})}),(0,F.jsx)("button",{className:"button-tiny",onClick:function(){u(!0),y('Exports Key for HTTP Gateway')},"data-tooltip":"Export Gateway Key",children:(0,F.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px",marginTop:"16px"},children:"info_outline"})})]})]})]}),(0,F.jsx)("div",{id:"modal-inner",children:(0,F.jsx)(Z.Z,{color:"cyan",icon:"info",onClose:function(){return u(!1)},show:h,position:"",children:g})})]}):null;return r?A.createPortal(v,document.getElementById("modal")):null},J=n(62012),Q=n(71775),$=n(36490),ee=n(45887),te=n(24978),ne=n(67191);function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function se(e){for(var t=1;tun&&Tt>0&&xn(Tt)}),[Tt]),f.useEffect((function(){Ss&&Es&&String(Es)!==J.DR&&(String(Es)===J.O["1"===is?7:3]?Ss&&String(Ss)!==J.DR&&ct(String(Ss)):ct(String(Es))),"OWNER"!==He&&setTimeout((function(){Re(!1),Tn(!1)}),2e3)}),[Ve,at,js,He,Ss,ws,Es]),f.useEffect((function(){xs&&"ownerhash_IPNS"===ba?Ft(xs):xs&&"ownerhash_Signer"===ba?Gt(xs):xs&&"export_IPNS"===ba?Ft(xs):xs&&"export_Signer"===ba&&Gt(xs)}),[xs,ba]),f.useEffect((function(){if(rt&&rt===a&&pt.length>0){Tn(!0);var e=[];[].push(pt.split(".eth")[0]);var t=function(){var t=(0,c.Z)(h().mark((function t(){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:J.Ap.getResolver(pt).then((function(t){e.push({key:1,name:pt.split(".eth")[0],migrated:(null===t||void 0===t?void 0:t.address)===os?"1/2":"0"}),e.length>0&&(An&&"0x"!==String(An)&&String(An)!==String(Un)&&"1/2"===e[0].migrated?e[0].migrated="1":Un&&"0x"!==String(Un)&&"1/2"===e[0].migrated&&(e[0].migrated="3/4"),vn(Sn),p(e),Ae(!0),setTimeout((function(){Re(!1)}),1e3))}));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}else rt&&rt!==a&&pt.length>0?(Re(!1),Ae(!1),Ke(!0),ue("You do not have Manager permission"),de(!0)):rt&&rt===J.DR&&pt.length>0&&!Ds&&(Re(!1),Ae(!1),Ke(!0),ue("Name not Registered or Expired"),de(!0))}),[rt,a,pt,An,Un,Sn,Ds,Ts]),f.useEffect((function(){Ga.trigger&&Ga.modalData&&(ka(!1),"0"===Ga.modalData?(ga("eth:".concat(a)),la(!0)):"1"===Ga.modalData&&Pa(!0))}),[Ga]),f.useEffect((function(){ns.trigger&&void 0!==ns.modalData&&(Na(ns.modalData),Ea("ownerhash_HTTP"),Jn(["0x","0x"]),ta(["0x","0x"]))}),[ns]),f.useEffect((function(){Qa.trigger&&Qa.modalData&&(fa(!1),"0"===Qa.modalData?(ga("eth:".concat(a)),la(!0)):["1","2"].includes(Qa.modalData)?(ga(""),la(!0)):ga("0"))}),[Qa]),f.useEffect((function(){if(Zs&&"0x"!==String(Zs)){var e="";(e=String(Zs).startsWith(J.Kv)?"ipns://".concat(ne.K5(String(Zs)).decoded):w.ZN(String(Zs))).startsWith("https://"),Mn("".concat(e))}}),[Zs]),f.useEffect((function(){if(ks&&"0x"!==String(ks)){var e="";(e=String(ks).startsWith(J.Kv)?"ipns://".concat(ne.K5(String(ks)).decoded):w.ZN(String(ks))).startsWith("https://"),Yn("".concat(e))}}),[ks]),f.useEffect((function(){if(pt){var e=j.VM(pt),t=v.O$.from(e),n=b.keccak256(w.Y0(pt.split(".eth")[0]));et(e),st(String(t)),Xe(String(v.O$.from(n)))}}),[pt]);var Us=(0,g.BX)({hash:null===Os||void 0===Os?void 0:Os.hash}),Ys=Us.isSuccess,Gs=Us.isError,Vs=Us.isLoading,Xs=(0,g.BX)({hash:null===Ls||void 0===Ls?void 0:Ls.hash}),Js=Xs.isSuccess,Qs=Xs.isError,$s=Xs.isLoading;return f.useEffect((function(){if(Ys&&Rs){var e=function(){var e=(0,c.Z)(h().mark((function e(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ds(void 0,{},"","");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}fs(Ys,Rs,Sn,ja)}),[Ys,Rs,Sn,ja]),f.useEffect((function(){fs(Js,Bs,Sn,ja)}),[Js,Bs,Sn,ja]),f.useEffect((function(){Vs&&!Gs&&(Re(!0),zn("Waiting for Confirmation")),!Vs&&Gs&&(Jt?Jt&&Qt(!1):(zn("Transaction Failed"),In(!0),Ct(0)),Re(!1))}),[Vs,Gs]),f.useEffect((function(){$s&&!Qs&&(Re(!0),zn("Waiting for Confirmation")),!$s&&Qs&&(Jt?Jt&&Qt(!1):(zn("Transaction Failed"),In(!0),Ct(0)),Re(!1))}),[$s,Qs]),f.useEffect((function(){Ps&&!Is?(Re(!0),On(!1),zn("Waiting for Transaction"),Jt&&Qt(!1)):!Ps&&Is&&(Jt?Jt&&Qt(!1):(hs(),zn("Transaction Declined By User"),Ae(!1)),Ha({modalData:void 0,trigger:!1}))}),[Ps,Is]),f.useEffect((function(){zs&&!qs?(Re(!0),On(!1),zn("Waiting for Transaction"),Jt&&Qt(!1)):!zs&&qs&&(Jt?Jt&&Qt(!1):(hs(),zn("Transaction Declined By User"),Ae(!1)),Ha({modalData:void 0,trigger:!1}))}),[zs,qs]),f.useEffect((function(){"UTILS"===He&&(gs&&!ms?(Re(!0),zn("Waiting for Signature"),Jt&&Qt(!1)):ms&&!gs&&(Jt?Jt&&Qt(!1):(zn("Signature Failed"),hs()),Ha({modalData:void 0,trigger:!1}),$a({modalData:void 0,trigger:!1})))}),[gs,ms,He]),(0,F.jsxs)("div",{className:"page flex-column-sans-align",style:{maxWidth:"100%"},children:[!D.tq&&(0,F.jsx)("div",{style:{margin:"20px",width:"40%",display:"flex",justifyContent:"flex-start"},children:(0,F.jsx)("img",{className:"avatar",alt:"corner-account",src:"logo.png"})}),(0,F.jsxs)(x(),{children:[(0,F.jsx)("title",{children:"NameSys - Off-chain Records Manager"}),(0,F.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width, user-scalable=no"}),(0,F.jsx)("link",{rel:"shortcut icon",href:"logo.png"}),(0,F.jsx)("link",{rel:"preload",as:"style",href:"https://fonts.googleapis.com/icon?family=Material+Icons"}),(0,F.jsx)("link",{rel:"preload",href:"SF-Mono.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),(0,F.jsx)("link",{rel:"preload",href:"Spotnik.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"})]}),(0,F.jsx)("div",{style:{fontFamily:"Rajdhani"}}),(0,F.jsx)("div",{style:{fontFamily:"SF Mono"}}),(0,F.jsx)("div",{style:{fontFamily:"Spotnik"}}),(0,F.jsx)("div",{id:"overlay",className:"overlay",children:(0,F.jsxs)("div",{className:"overlay-content overlay-content-alt",children:[(0,F.jsx)(K.Z,{height:75,width:75}),(0,F.jsx)("div",{style:{marginTop:"20px"},children:(0,F.jsx)("span",{children:"PLEASE WAIT"})})]})}),(0,F.jsx)("div",{children:(0,F.jsxs)("div",{style:{display:"flex",flexDirection:"row",alignItems:"space-between",width:"100%"},children:[(0,F.jsxs)("div",{style:{display:"flex",flexDirection:D.tq?"column":"row",marginLeft:D.tq?"25px":"9%",marginRight:"auto",marginTop:D.tq?"25px":"-7%"},children:[(0,F.jsx)("div",{style:{marginRight:D.tq?"20px":"40px"},children:(0,F.jsx)("button",{className:"button",onClick:function(){window.location.href="/ccip2-eth-client/",ta([]),Jn([]),ia("")},"data-tooltip":"Homepage",children:(0,F.jsxs)("div",{className:"flex-sans-direction",children:[(D.tq,"Home"),(0,F.jsx)("span",{className:"material-icons-round",style:{marginLeft:"3px"},children:"home"})]})})}),(0,F.jsx)("div",{style:{marginLeft:D.tq?"-20px":"-30px",marginTop:D.tq?"-25px":"0px"},children:(0,F.jsx)(L.Z,{variable:xt,mobile:D.tq})})]}),(0,F.jsxs)("div",{className:"connect-button",style:{marginLeft:"auto",display:"flex",flexDirection:"row",marginTop:D.tq?"25px":"-7%"},children:[(0,F.jsx)("button",{className:"button clear",onClick:function(){window.scrollTo(0,0),M(!0),ta([]),Jn([]),ia("")},style:{marginRight:10,display:"none"},"data-tooltip":"Learn more",children:(0,F.jsxs)("div",{className:"flex-row",children:["about",(0,F.jsx)("span",{className:"material-icons-round",style:{marginLeft:"3px"},children:"info"})]})}),(0,F.jsx)("button",{className:"button clear",onClick:function(){window.scrollTo(0,0),oe(!0),ta([]),Jn([]),ia("")},style:{marginRight:10,display:"none"},"data-tooltip":"Terms of Use",children:(0,F.jsxs)("div",{className:"flex-row",children:["terms",(0,F.jsx)("span",{children:"\xa0"}),(0,F.jsx)("span",{className:"material-icons-round",children:"gavel"})]})}),!D.tq&&(0,F.jsx)("div",{children:(0,F.jsx)(m.NL,{label:"connect"})}),D.tq&&(0,F.jsx)("div",{children:(0,F.jsx)(m.NL,{label:"connect"})})]})]})}),(0,F.jsx)("div",{className:"container",style:{maxWidth:"inherit",margin:"50px 0 0 0"},children:(0,F.jsxs)("div",{className:D.tq||tn?"none":"heading-alt",style:{flex:"1 1 auto",marginTop:i?"30px":"0"},children:[(0,F.jsx)("div",{style:{marginTop:"-120px"},children:(0,F.jsxs)("div",{className:"flex-column",style:{paddingTop:"100px"},children:[!D.tq&&i&&(0,F.jsxs)("div",{children:[(0,F.jsx)("img",{className:"icon-ccip2",alt:"sample-icon",src:"logo.png",hidden:!0}),(0,F.jsx)("div",{className:"flex-column",style:{fontSize:"54px",color:"#ff2600",marginBottom:"20px",fontWeight:"700"},children:"NameSys"}),(0,F.jsx)("div",{className:"flex-column",style:{fontSize:22,color:"#fc4e14",margin:"-10px 0 5px 0",fontWeight:"700"},children:"Advanced"})]}),!D.tq&&(s||!i)&&(0,F.jsxs)("div",{style:{marginTop:"-30px",marginBottom:"10px"},children:[(0,F.jsx)("img",{className:"icon-ccip2",alt:"sample-icon",src:"logo.png",hidden:!0}),(0,F.jsx)("div",{className:"flex-column",style:{fontSize:"44px",color:"#ff2600",marginBottom:"20px",marginTop:"30px",fontWeight:"700"},children:"NameSys"}),(0,F.jsx)("div",{className:"flex-column",style:{fontSize:26,color:"#ff2600",fontWeight:"700",margin:"-10px 0 5px 0"},children:"Advanced"})]}),D.tq&&i&&(0,F.jsxs)("div",{className:"flex-column",children:[(0,F.jsx)("img",{className:"icon-ccip2",alt:"sample-icon",src:"logo.png",style:{marginBottom:"7px"}}),(0,F.jsx)("div",{className:"flex-column",style:{fontSize:"52px",color:"#ff2600",marginBottom:"20px",fontWeight:"700"},children:"NameSys"}),(0,F.jsx)("div",{className:"flex-column",style:{fontSize:26,color:"#fc4e14",marginTop:"-10px",fontWeight:"700"},children:"Advanced"})]}),D.tq&&(s||!i)&&(0,F.jsxs)("div",{className:"flex-column",style:{marginTop:"-30px",marginBottom:"50px"},children:[(0,F.jsx)("img",{className:"icon-ccip2",alt:"sample-icon",src:"logo.png",style:{marginBottom:"7px"}}),(0,F.jsx)("div",{className:"flex-column",style:{fontSize:"40px",color:"#ff2600",marginTop:"10px",fontWeight:"700"},children:"NameSys"})]})]})}),i&&(0,F.jsx)("div",{style:{marginBottom:"0px"},children:(0,F.jsx)("div",{className:"content-slider",children:(0,F.jsx)("div",{className:"slider",children:(0,F.jsx)("div",{className:"mask",children:(0,F.jsx)("ul",{children:J.hh.map((function(e,t){return(0,F.jsx)("li",{className:"anim".concat(t+1),children:(0,F.jsx)("div",{className:"carousal-item",children:(0,F.jsx)("div",{dangerouslySetInnerHTML:{__html:e}})})},t)}))})})})})}),(s||!i)&&(0,F.jsxs)("div",{className:"flex-sans-direction",style:{marginBottom:"50px",marginTop:D.tq?"-35px":"2px"},children:[(0,F.jsx)("button",{onClick:function(){Ue("OWNER"),yn.length>0?p(yn):console.error("BUG"),Xe(""),st(""),ht(""),Ae(!1),ct(""),yn.length>0?Re(!1):Re(!Le),de(!1),ta([]),Jn([]),ia(""),Ct(0),yn&&Ae(!0)},className:"button-header",disabled:"OWNER"===He||Pe,"data-tooltip":"Show names that you can manage",children:(0,F.jsxs)("div",{className:"flex-sans-direction",children:["NAMES",(0,F.jsx)("span",{className:"material-icons-round",style:{marginLeft:"3px"},children:"manage_accounts"})]})}),(0,F.jsx)("button",{onClick:function(){"SEARCH"!==He&&vn(Sn),p([]),Ue("UTILS"),Ae(!1),ct(""),Re(!0),ht(""),de(!1),ta([]),Jn([]),ia(""),zn("Please Wait"),Ct(0)},className:"button-header",disabled:"UTILS"===He||Pe,"data-tooltip":"NameSys Utility Functions",children:(0,F.jsxs)("div",{className:"flex-sans-direction",children:["UTILS",(0,F.jsx)("span",{className:"material-icons-round",style:{marginLeft:"3px"},children:"supervised_user_circle"})]})}),(0,F.jsx)("button",{onClick:function(){"UTILS"!==He&&vn(Sn),p([]),Ue("SEARCH"),Ae(!1),ct(""),Re(!0),ht(""),Jn([]),ta([]),ia(""),de(!1),zn("Please Wait"),Ct(0)},className:"button-header",disabled:"SEARCH"===He||Pe,"data-tooltip":"Search for an ENS name",children:(0,F.jsxs)("div",{className:"flex-sans-direction",children:["SEARCH",(0,F.jsx)("span",{className:"material-icons-round",style:{marginLeft:"3px"},children:"search"})]})})]}),Pe&&(s||!i)&&(0,F.jsx)("div",{children:(0,F.jsxs)("div",{className:"flex-column",style:{marginTop:"50px",marginBottom:"200px"},children:[(0,F.jsx)("div",{className:"flex-column",style:{paddingBottom:"10px"},children:(0,F.jsx)(K.Z,{height:60,width:60})}),(0,F.jsxs)("div",{className:"flex-column",style:{marginTop:"10px"},children:[(0,F.jsx)("div",{style:{color:"#ff2600",fontWeight:"700"},children:"OWNER"!==He?"".concat(Kn):_a.modalData?"Please wait":"".concat(Kn)}),(0,F.jsxs)("div",{style:{color:"white",fontWeight:"700",marginTop:"10px"},children:[(0,F.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"22px"},children:"UTILS"===He?Ot>0?"".concat(Ot):"":"OWNER"===He?_a.modalData?"":"".concat(un):""}),(0,F.jsx)("span",{style:{fontSize:"19px"},children:"UTILS"===He?Ot>0?" Of ":"":"OWNER"===He?_a.modalData?"":" Of ":""}),(0,F.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"22px"},children:"UTILS"===He?Ot>0?"".concat(ba.startsWith("export")?"2"===Qa.modalData?"1":"2":"1"):"":"OWNER"===He?_a.modalData?"":"".concat(It):""})]})]})]})}),Pe&&"OWNER"===He&&l.length>0&&(s||!i)&&!Le&&!Wn&&(0,F.jsx)("div",{children:(0,F.jsxs)("div",{className:"flex-column",style:{marginTop:"50px",marginBottom:"200px"},children:[(0,F.jsx)("div",{className:"flex-column",style:{paddingBottom:"10px"},children:(0,F.jsx)(K.Z,{height:60,width:60})}),(0,F.jsx)("div",{className:"flex-column",style:{marginTop:"10px"},children:(0,F.jsx)("div",{style:{color:"#ff2600",fontWeight:"700"},children:"Please Wait"})})]})}),!Pe&&"OWNER"===He&&l.length>0&&(s||!i)&&!Le&&(0,F.jsxs)("div",{children:[(0,F.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"18px",color:"cyan",marginBottom:"25px",fontWeight:"700",marginTop:D.tq?"-10px":"0"},children:[(0,F.jsx)("span",{style:{marginRight:"5px"},children:"Names You Manage"}),(0,F.jsx)("button",{className:"button-tiny emphasis-smol",onClick:function(){G(!0),jt("info"),bt("cyan"),Bt('This list does not contain Wrapped Names or Freshly Registered Names or Subdomains or Legacy Names that you Manage but do not Own. Please use the Search tab to find missing names.')},"data-tooltip":"Enlighten me",children:(0,F.jsx)("div",{className:"material-icons-round smol",style:{color:"orange"},children:"info_outline"})})]}),"OWNER"===He&&!Pe&&qe&&(0,F.jsx)("div",{className:"list-container",style:{maxHeight:"520px",overflowY:"auto",marginBottom:"50px"},children:(0,F.jsx)(_.Z,{label:"edit",items:l,onItemClickStealth:Hs,onItemClickPreview:Fs})})]}),!Pe&&"SEARCH"===He&&l.length>0&&(s||!i)&&!Le&&(0,F.jsxs)("div",{children:[(0,F.jsx)("div",{className:"flex-sans-direction",style:{fontSize:"18px",color:"cyan",marginBottom:"25px",fontWeight:"700"},children:"search result"}),(0,F.jsx)("div",{className:"list-container",style:{maxHeight:"520px",overflowY:"auto",marginBottom:"50px"},children:(0,F.jsx)(_.Z,{label:"edit",items:l,onItemClickStealth:Hs,onItemClickPreview:Fs})})]}),!Pe&&"UTILS"===He&&!qe&&l&&(s||!i)&&(0,F.jsxs)("div",{children:[(0,F.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"18px",color:"cyan",marginBottom:"25px",fontWeight:"700"},children:[(0,F.jsx)("span",{style:{marginRight:"5px"},children:"NameSys Utilities"}),(0,F.jsx)("button",{className:"button-tiny",onClick:function(){G(!0),jt("info"),bt("cyan"),Bt('NameSys Utility Functions to set Ownerhash and Export Keys')},"data-tooltip":"Enlighten me",children:(0,F.jsx)("div",{className:"material-icons-round smol",style:{color:"cyan"},children:"info_outline"})})]}),(0,F.jsxs)("div",{className:"export-container flex-column",style:{maxHeight:"520px",overflowY:"auto",marginBottom:"30px"},children:[(0,F.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"18px",color:"cyan",marginBottom:"25px",fontWeight:"700"},children:[(0,F.jsx)("span",{style:{marginRight:"5px"},children:"Ownerhash Setter"}),(0,F.jsx)("button",{className:"button-tiny",onClick:function(){G(!0),jt("info"),bt("cyan"),Bt('Sets Ownerhash For All Names in a Wallet')},"data-tooltip":"Set New Ownerhash",children:(0,F.jsx)("div",{className:"material-icons-round smol",style:{color:"cyan"},children:"info_outline"})})]}),(0,F.jsx)("input",{style:{width:"90%",color:"rgb(50, 205, 50, 0.75)"},type:"text",placeholder:"Click on 'SET'",disabled:!0,value:"ipns://"===Un?"":Un,id:"owner-hash"}),(0,F.jsxs)("div",{className:"flex-row",children:[(0,F.jsx)("button",{className:"button",style:{height:"38px",width:"80px",marginTop:"18px",marginLeft:"15px"},type:"submit","data-tooltip":"Set New Ownerhash",onClick:function(){ka(!0),Ea("ownerhash"),Jn([]),ta([]),ia(""),Ft(""),Gt(""),Ae(!1),zn("")},children:(0,F.jsxs)("div",{className:"flex-sans-direction",children:[(0,F.jsx)("span",{children:"SET"}),(0,F.jsx)("span",{className:"material-icons-round",style:{fontSize:"22px",fontWeight:"700",marginLeft:"3px"},children:"settings"})]})}),(Ys||Gs)&&!Vs&&(0,F.jsx)("div",{className:"material-icons-round smol",style:{color:Ys?"lime":"orangered",marginLeft:"10px",marginTop:"18px",fontSize:"20px"},children:Ys?"task_alt":"cancel"}),(Js||Qs)&&!$s&&(0,F.jsx)("div",{className:"material-icons-round smol",style:{color:Js?"lime":"orangered",marginLeft:"10px",marginTop:"18px",fontSize:"20px"},children:Js?"task_alt":"cancel"})]})]}),(0,F.jsxs)("div",{className:"hash-container flex-column",style:{maxHeight:"520px",overflowY:"auto",marginBottom:"70px"},children:[(0,F.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"18px",color:"cyan",marginBottom:"25px",fontWeight:"700"},children:[(0,F.jsx)("span",{style:{marginRight:"5px"},children:"Private Key Exporter"}),(0,F.jsx)("button",{className:"button-tiny",onClick:function(){G(!0),jt("info"),bt("cyan"),Bt('Export your IPNS and/or Records Signer Keys')},"data-tooltip":"Export Keys",children:(0,F.jsx)("div",{className:"material-icons-round smol",style:{color:"cyan"},children:"info_outline"})})]}),(0,F.jsxs)("div",{style:{width:"90%",alignItems:"flex-start"},children:[(0,F.jsx)("span",{style:{color:"skyblue",fontSize:"12px",fontWeight:"700"},children:"IPNS PRIVATE KEY"}),(0,F.jsxs)("div",{className:"flex-sans-direction",style:{marginTop:"2px",width:"100%"},children:[(0,F.jsx)("input",{style:{width:"100%",paddingRight:"32px",fontWeight:"400",textAlign:"left",color:"IPNS PRIVATE KEY COPIED!"===Xn[0]?"lime":"rgb(255, 255, 150, 0.75)"},type:"text",placeholder:"IPNS Private Key",value:ba.startsWith("export")?ba.endsWith("HTTP")?"":"0x"!==Xn[0]?Xn[0]:"":"",id:"export-ipns",disabled:!0}),(0,F.jsx)("button",{className:"button-empty",onClick:function(){J.vQ("export-ipns"),bt("lime"),Jn(["IPNS PRIVATE KEY COPIED!","COPIED!"])},"data-tooltip":"Copy IPNS Key",style:{marginLeft:"-25px",color:!wt||Xn[0]||Xn[1]?"cyan":wt},hidden:!Xn[0]||"0x"===Xn[0],children:(0,F.jsx)("span",{className:"material-icons-round",style:{fontSize:"22px",fontWeight:"700"},children:"content_copy"})})]})]}),(0,F.jsxs)("div",{style:{width:"90%",alignItems:"flex-start",marginTop:"10px"},children:[(0,F.jsx)("span",{style:{color:"skyblue",fontSize:"12px",fontWeight:"700"},children:"CCIP MANAGER KEY"}),(0,F.jsxs)("div",{className:"flex-sans-direction",style:{marginTop:"2px",width:"100%"},children:[(0,F.jsx)("input",{style:{width:"100%",paddingRight:"32px",fontWeight:"400",textAlign:"left",color:"RECORDS SIGNER KEY COPIED!"===ea[0]?"lime":"rgb(255, 255, 150, 0.75)"},type:"text",placeholder:"CCIP Manager Key",value:ba.startsWith("export")?ea[0]:"",id:"export-ccip",disabled:!0}),(0,F.jsx)("button",{className:"button-empty",onClick:function(){J.vQ("export-ccip"),bt("lime"),ta(["RECORDS SIGNER KEY COPIED!","COPIED!"])},"data-tooltip":"Copy Manager Key",style:{marginLeft:"-25px",color:!wt||ea[0]||ea[1]?"cyan":wt},hidden:!ea[0],children:(0,F.jsx)("span",{className:"material-icons-round",style:{fontSize:"22px",fontWeight:"700"},children:"content_copy"})})]})]}),(0,F.jsxs)("div",{style:{width:"90%",alignItems:"flex-start",marginTop:"10px"},children:[(0,F.jsx)("span",{style:{color:"skyblue",fontSize:"12px",fontWeight:"700"},children:"IPNS ENCODED KEY"}),(0,F.jsxs)("div",{className:"flex-sans-direction",style:{marginTop:"2px",width:"100%"},children:[(0,F.jsx)("input",{style:{width:"100%",paddingRight:"32px",fontWeight:"400",textAlign:"left",color:"IPNS ENCODED KEY COPIED!"===sa?"lime":"rgb(255, 255, 150, 0.75)"},type:"text",placeholder:"IPNS Encoded Key",value:ba.startsWith("export")?sa:"",id:"export-encoded",disabled:!0}),(0,F.jsx)("button",{className:"button-empty",onClick:function(){J.vQ("export-encoded"),bt("lime"),ia("IPNS ENCODED KEY COPIED!")},"data-tooltip":"Copy Manager Key",style:{marginLeft:"-25px",color:wt&&!sa?wt:"cyan"},hidden:!sa,children:(0,F.jsx)("span",{className:"material-icons-round",style:{fontSize:"22px",fontWeight:"700"},children:"content_copy"})})]})]}),(0,F.jsxs)("div",{className:"flex-row",children:[(0,F.jsx)("button",{className:"button",style:{height:"38px",width:"115px",marginLeft:"15px",marginTop:"20px"},type:"submit","data-tooltip":"Export Keys",onClick:function(){fa(!0),Ea("export"),Jn([]),ta([]),ia(""),Ft(""),Gt(""),zn("")},children:(0,F.jsxs)("div",{className:"flex-sans-direction",children:[(0,F.jsx)("span",{children:"EXPORT"}),(0,F.jsx)("span",{className:"material-icons-round",style:{fontSize:"22px",fontWeight:"700",marginLeft:"5px"},children:"file_download"})]})}),(0,F.jsx)("div",{className:"material-icons-round smol",style:{color:sa||Xn[0]||ea[0]?"lime":ms?"orangered":"",marginLeft:"10px",marginTop:"18px",fontSize:"20px"},children:sa||Xn[0]||ea[0]?"task_alt":ms?"cancel":""})]})]})]}),!Pe&&"SEARCH"===He&&l&&(s||!i)&&(0,F.jsxs)("div",{children:[(0,F.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"18px",color:"cyan",marginBottom:"25px",marginTop:l?"-15px":"0px"},children:[(0,F.jsx)("span",{style:{marginRight:"5px"},children:"search names"}),(0,F.jsx)("button",{className:"button-tiny",onClick:function(){G(!0),jt("info"),bt("cyan"),Bt('Search for a Subdomain or a Wrapped Domain or a Legacy name that you Manage but do not Own')},"data-tooltip":"Enlighten me",children:(0,F.jsx)("div",{className:"material-icons-round smol",style:{color:"cyan"},children:"info_outline"})})]}),(0,F.jsx)("div",{className:"search-container",style:{maxHeight:"520px",overflowY:"auto",marginBottom:"50px"},children:(0,F.jsx)(z.R,{onSearch:function(e){p([]),Re(!0),nn(!0),pn(e),ht(e),Ke(!1)}})})]}),!Pe&&Le&&"OWNER"===He&&!le&&(0,F.jsx)("div",{children:(0,F.jsxs)("div",{className:"flex-column",style:{fontSize:"22px",color:"#ff2600",marginBottom:"25px",fontWeight:"700"},children:[(0,F.jsx)("span",{className:"material-icons-round miui-smaller",children:"warning"}),(0,F.jsx)("br",{}),"No Names Found"]})}),!Dn&&!rt&&pt&&"OWNER"!==He&&!Pe&&!le&&(0,F.jsx)("div",{children:(0,F.jsxs)("div",{className:"flex-column",style:{fontSize:"22px",color:"#ff2600",marginBottom:"25px",fontWeight:"700"},children:[(0,F.jsx)("span",{className:"material-icons-round miui-smaller",children:"warning"}),(0,F.jsx)("br",{}),"No Names Found"]})}),(0,F.jsxs)("div",{className:"flex-sans-direction",style:{color:"#ff2600",top:"auto",left:D.tq?"32%":"14%",transform:D.tq?"translateX(-72%)":"translateX(-92%)",bottom:10},children:[(0,F.jsxs)("div",{className:"flex-row",style:{marginRight:"15px"},children:[(0,F.jsx)("span",{className:"material-icons-round",style:{marginRight:"3px"},children:"source"}),(0,F.jsx)("a",{href:"https://github.com/namesys-eth/ccip2-eth-client",className:"footer-text",target:"_blank",rel:"noreferrer",children:"GitHub"})]}),(0,F.jsxs)("div",{className:"flex-row",children:[(0,F.jsx)("span",{className:"material-icons-round",style:{marginRight:"3px"},children:"info_outline"}),(0,F.jsx)("a",{href:"https://github.com/namesys-eth/ccip2-eth-resources/blob/main/docs/GUIDE.md",className:"footer-text",target:"_blank",rel:"noreferrer",children:"Help"})]})]}),(0,F.jsxs)("div",{id:"modal",children:[ge&&(0,F.jsx)(W.Z,{onClose:function(){return ye(!1)},show:ge,_ENS_:Ee,chain:is,handleParentTrigger:function(e){La((function(t){return se(se({},t),{},{trigger:e})}))},handleParentModalData:function(e){La((function(t){return se(se({},t),{},{modalData:e})}))}}),Ne&&(0,F.jsx)(O.Z,{onClose:function(){return Se(!1)},show:Ne,_ENS_:ke,chain:is,handleParentTrigger:function(e){qa((function(t){return se(se({},t),{},{trigger:e})}))},handleParentModalData:function(e){qa((function(t){return se(se({},t),{},{modalData:e})}))}}),(0,F.jsx)(C.Z,{onClose:function(){return M(!1)},show:A}),(0,F.jsx)(k.Z,{onClose:function(){return oe(!1)},show:ie}),(0,F.jsx)(R.Z,{onClose:function(){In(!1),Qt(!0)},color:"red",show:Rn&&!Pe,title:"cancel",children:Kn}),(0,F.jsx)(R.Z,{onClose:function(){de(!1),Xe(""),st(""),ht(""),ct("")},color:"red",show:le&&!tn&&!Pe,title:"block",children:fe}),(0,F.jsx)(R.Z,{onClose:function(){de(!1),Xe(""),st(""),ht(""),ct("")},color:"red",show:le&&tn&&!Pe,title:"block",children:fe}),(0,F.jsx)(I.Z,{handleTrigger:function(e){as((function(t){return se(se({},t),{},{trigger:e})}))},handleModalData:function(e){as((function(t){return se(se({},t),{},{modalData:e})}))},onClose:function(){Pa(!1)},show:Ca,children:void 0}),(0,F.jsx)(P.Z,{handleTrigger:function(e){Ha((function(t){return se(se({},t),{},{trigger:e})}))},handleModalData:function(e){Ha((function(t){return se(se({},t),{},{modalData:e})}))},onClose:function(){la(!1)},show:ca,children:[ma,"ownerhash"]}),(0,F.jsx)(B.Z,{handleTrigger:function(e){Va((function(t){return se(se({},t),{},{trigger:e})}))},handleModalData:function(e){Va((function(t){return se(se({},t),{},{modalData:e})}))},onClose:function(){ka(!1)},show:Za&&!ca,children:"0"}),(0,F.jsx)(X,{handleTrigger:function(e){$a((function(t){return se(se({},t),{},{trigger:e})}))},handleModalData:function(e){$a((function(t){return se(se({},t),{},{modalData:e})}))},onClose:function(){fa(!1)},show:ha,children:""}),(0,F.jsx)(Z.Z,{color:wt,icon:vt,onClose:function(){return G(!1)},show:Y,position:"",children:zt})]})]})})]})}},682:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account",function(){return n(64994)}])}},function(e){e.O(0,[8543,1731,8764,6724,8109,6845,9361,9774,2888,179],(function(){return t=682,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7966],{64994:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ie}});var a,s,i,o,r,c=n(50029),l=n(59499),d=n(16835),p=n(87794),h=n.n(p),f=n(67294),u=n(9008),x=n.n(u),m=n(56974),g=n(69077),y=n(64146),v=n(2593),j=n(27586),N=n(16441),S=n(84243),w=n(29251),b=n(38197),E=n(31886),D=n(85518),T=n(56371),Z=n(22794),k=n(92675),W=n(6440),O=n(46822),C=n(92673),P=n(41894),R=n(64637),I=n(27921),_=n(58595),L=n(40342),K=n(89479),z=n(17586),B=n(88006),q=n(71383),A=n(73935),M=n(14141),F=n(85893),H=M.ZP.div(a||(a=(0,q.Z)(["\n padding-top: 10px;\n padding-left: 50px;\n padding-right: 50px;\n padding-bottom: 25px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n height: auto;\n overflow-y: auto;\n color: white;\n font-size: 14px;\n font-weight: 700;\n"]))),U=M.ZP.div(s||(s=(0,q.Z)(["\n margin-top: -10px;\n font-size: 17px;\n display: flex;\n justify-content: center;\n flex-direction: column;\n font-weight: 700;\n margin-bottom: 0px;\n color: white;\n padding-left: 20px;\n padding-right: 20px;\n color: cyan;\n"]))),Y=M.ZP.div(i||(i=(0,q.Z)(["\n display: flex;\n justify-content: flex-end;\n"]))),G=M.ZP.div(o||(o=(0,q.Z)(["\n background: rgba(66,46,40,1);\n background-size: 400% 400%;\n width: 450px;\n border-radius: 6px;\n overflow-y: initial !important\n display: flex;\n text-align: center;\n justify-content: center;\n padding: 5px;\n"]))),V=M.ZP.div(r||(r=(0,q.Z)(["\n position: absolute;\n top: -60px;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(0, 0, 0, 1);\n"]))),X=function(e){var t=e.show,n=e.onClose,a=(e.children,e.handleModalData),s=e.handleTrigger,i=f.useState(!1),o=(0,d.Z)(i,2),r=o[0],c=o[1],l=f.useState(!1),p=(0,d.Z)(l,2),h=p[0],u=p[1],x=f.useState(""),m=(0,d.Z)(x,2),g=m[0],y=m[1];f.useEffect((function(){c(!0)}),[]);var v=t?(0,F.jsxs)(V,{children:[(0,F.jsxs)(G,{children:[(0,F.jsx)(Y,{children:(0,F.jsx)("a",{href:"#",onClick:function(e){a(void 0),s(!1),e.preventDefault(),n()},children:(0,F.jsx)("span",{className:"material-icons",children:"close"})})}),t&&(0,F.jsxs)(U,{children:[(0,F.jsx)("div",{className:"material-icons",style:{marginTop:"4px",fontSize:"66px"},children:"accessible_forward"}),(0,F.jsx)("div",{style:{marginTop:"15px"},children:"Choose Storage to Export Key For"})]}),(0,F.jsxs)(H,{children:[(0,F.jsxs)("div",{className:"flex-row",style:{marginLeft:"25px"},children:[(0,F.jsx)("button",{className:"button-option",style:{height:"35px",width:"175px",marginTop:"15px",fontSize:"15px",fontWeight:"700"},onClick:function(){a("0"),s(!0),n()},"data-tooltip":"Export Ownerhash Key",children:(0,F.jsxs)("div",{className:"flex-row",children:["Ownerhash","\xa0",(0,F.jsx)("span",{className:"material-icons chonk",children:"recycling"})]})}),(0,F.jsx)("button",{className:"button-tiny",onClick:function(){u(!0),y('Exports Key for Ownerhash')},"data-tooltip":"Export Ownerhash Key",children:(0,F.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px",marginTop:"21px"},children:"info_outline"})})]}),(0,F.jsxs)("div",{className:"flex-row",style:{marginLeft:"25px"},children:[(0,F.jsx)("button",{className:"button-option",style:{height:"35px",width:"175px",marginTop:"15px",fontSize:"15px",fontWeight:"700"},onClick:function(){a("1"),s(!0),n()},"data-tooltip":"Export Recordhash Key",children:(0,F.jsxs)("div",{className:"flex-row",children:["Recordhash","\xa0",(0,F.jsx)("span",{className:"material-icons chonk",children:"create"})]})}),(0,F.jsx)("button",{className:"button-tiny",onClick:function(){u(!0),y('Exports Key for Recordhash')},"data-tooltip":"Export Recordhash Key",children:(0,F.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px",marginTop:"16px"},children:"info_outline"})})]}),(0,F.jsxs)("div",{className:"flex-row",style:{marginLeft:"25px"},children:[(0,F.jsx)("button",{className:"button-option",style:{height:"35px",width:"175px",marginTop:"15px",fontSize:"15px",fontWeight:"700"},onClick:function(){a("2"),s(!0),n()},"data-tooltip":"Export Gateway Key",children:(0,F.jsxs)("div",{className:"flex-row",children:["HTTP Gateway","\xa0",(0,F.jsx)("span",{className:"material-icons chonk",children:"dns"})]})}),(0,F.jsx)("button",{className:"button-tiny",onClick:function(){u(!0),y('Exports Key for HTTP Gateway')},"data-tooltip":"Export Gateway Key",children:(0,F.jsx)("div",{className:"material-icons smol",style:{color:"cyan",marginLeft:"5px",marginTop:"16px"},children:"info_outline"})})]})]})]}),(0,F.jsx)("div",{id:"modal-inner",children:(0,F.jsx)(Z.Z,{color:"cyan",icon:"info",onClose:function(){return u(!1)},show:h,position:"",children:g})})]}):null;return r?A.createPortal(v,document.getElementById("modal")):null},J=n(62012),Q=n(71775),$=n(36490),ee=n(45887),te=n(24978),ne=n(67191);function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function se(e){for(var t=1;tun&&Tt>0&&xn(Tt)}),[Tt]),f.useEffect((function(){Ss&&Es&&String(Es)!==J.DR&&(String(Es)===J.O["1"===is?7:3]?Ss&&String(Ss)!==J.DR&&ct(String(Ss)):ct(String(Es))),"OWNER"!==He&&setTimeout((function(){Re(!1),Tn(!1)}),2e3)}),[Ve,at,js,He,Ss,ws,Es]),f.useEffect((function(){xs&&"ownerhash_IPNS"===ba?Ft(xs):xs&&"ownerhash_Signer"===ba?Gt(xs):xs&&"export_IPNS"===ba?Ft(xs):xs&&"export_Signer"===ba&&Gt(xs)}),[xs,ba]),f.useEffect((function(){if(rt&&rt===a&&pt.length>0){Tn(!0);var e=[];[].push(pt.split(".eth")[0]);var t=function(){var t=(0,c.Z)(h().mark((function t(){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:J.Ap.getResolver(pt).then((function(t){e.push({key:1,name:pt.split(".eth")[0],migrated:(null===t||void 0===t?void 0:t.address)===os?"1/2":"0"}),e.length>0&&(An&&"0x"!==String(An)&&String(An)!==String(Un)&&"1/2"===e[0].migrated?e[0].migrated="1":Un&&"0x"!==String(Un)&&"1/2"===e[0].migrated&&(e[0].migrated="3/4"),vn(Sn),p(e),Ae(!0),setTimeout((function(){Re(!1)}),1e3))}));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}else rt&&rt!==a&&pt.length>0?(Re(!1),Ae(!1),Ke(!0),ue("You do not have Manager permission"),de(!0)):rt&&rt===J.DR&&pt.length>0&&!Ds&&(Re(!1),Ae(!1),Ke(!0),ue("Name not Registered or Expired"),de(!0))}),[rt,a,pt,An,Un,Sn,Ds,Ts]),f.useEffect((function(){Ga.trigger&&Ga.modalData&&(ka(!1),"0"===Ga.modalData?(ga("eth:".concat(a)),la(!0)):"1"===Ga.modalData&&Pa(!0))}),[Ga]),f.useEffect((function(){ns.trigger&&void 0!==ns.modalData&&(Na(ns.modalData),Ea("ownerhash_HTTP"),Jn(["0x","0x"]),ta(["0x","0x"]))}),[ns]),f.useEffect((function(){Qa.trigger&&Qa.modalData&&(fa(!1),"0"===Qa.modalData?(ga("eth:".concat(a)),la(!0)):["1","2"].includes(Qa.modalData)?(ga(""),la(!0)):ga("0"))}),[Qa]),f.useEffect((function(){if(Zs&&"0x"!==String(Zs)){var e="";(e=String(Zs).startsWith(J.Kv)?"ipns://".concat(ne.K5(String(Zs)).decoded):w.ZN(String(Zs))).startsWith("https://"),Mn("".concat(e))}}),[Zs]),f.useEffect((function(){if(ks&&"0x"!==String(ks)){var e="";(e=String(ks).startsWith(J.Kv)?"ipns://".concat(ne.K5(String(ks)).decoded):w.ZN(String(ks))).startsWith("https://"),Yn("".concat(e))}}),[ks]),f.useEffect((function(){if(pt){var e=j.VM(pt),t=v.O$.from(e),n=b.keccak256(w.Y0(pt.split(".eth")[0]));et(e),st(String(t)),Xe(String(v.O$.from(n)))}}),[pt]);var Us=(0,g.BX)({hash:null===Os||void 0===Os?void 0:Os.hash}),Ys=Us.isSuccess,Gs=Us.isError,Vs=Us.isLoading,Xs=(0,g.BX)({hash:null===Ls||void 0===Ls?void 0:Ls.hash}),Js=Xs.isSuccess,Qs=Xs.isError,$s=Xs.isLoading;return f.useEffect((function(){if(Ys&&Rs){var e=function(){var e=(0,c.Z)(h().mark((function e(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ds(void 0,{},"","");case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}fs(Ys,Rs,Sn,ja)}),[Ys,Rs,Sn,ja]),f.useEffect((function(){fs(Js,Bs,Sn,ja)}),[Js,Bs,Sn,ja]),f.useEffect((function(){Vs&&!Gs&&(Re(!0),zn("Waiting for Confirmation")),!Vs&&Gs&&(Jt?Jt&&Qt(!1):(zn("Transaction Failed"),In(!0),Ct(0)),Re(!1))}),[Vs,Gs]),f.useEffect((function(){$s&&!Qs&&(Re(!0),zn("Waiting for Confirmation")),!$s&&Qs&&(Jt?Jt&&Qt(!1):(zn("Transaction Failed"),In(!0),Ct(0)),Re(!1))}),[$s,Qs]),f.useEffect((function(){Ps&&!Is?(Re(!0),On(!1),zn("Waiting for Transaction"),Jt&&Qt(!1)):!Ps&&Is&&(Jt?Jt&&Qt(!1):(hs(),zn("Transaction Declined By User"),Ae(!1)),Ha({modalData:void 0,trigger:!1}))}),[Ps,Is]),f.useEffect((function(){zs&&!qs?(Re(!0),On(!1),zn("Waiting for Transaction"),Jt&&Qt(!1)):!zs&&qs&&(Jt?Jt&&Qt(!1):(hs(),zn("Transaction Declined By User"),Ae(!1)),Ha({modalData:void 0,trigger:!1}))}),[zs,qs]),f.useEffect((function(){"UTILS"===He&&(gs&&!ms?(Re(!0),zn("Waiting for Signature"),Jt&&Qt(!1)):ms&&!gs&&(Jt?Jt&&Qt(!1):(zn("Signature Failed"),hs()),Ha({modalData:void 0,trigger:!1}),$a({modalData:void 0,trigger:!1})))}),[gs,ms,He]),(0,F.jsxs)("div",{className:"page flex-column-sans-align",style:{maxWidth:"100%"},children:[!D.tq&&(0,F.jsx)("div",{style:{margin:"20px",width:"40%",display:"flex",justifyContent:"flex-start"},children:(0,F.jsx)("img",{className:"avatar",alt:"corner-account",src:"logo.png"})}),(0,F.jsxs)(x(),{children:[(0,F.jsx)("title",{children:"NameSys - Off-chain Records Manager"}),(0,F.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width, user-scalable=no"}),(0,F.jsx)("link",{rel:"shortcut icon",href:"logo.png"}),(0,F.jsx)("link",{rel:"preload",as:"style",href:"https://fonts.googleapis.com/icon?family=Material+Icons"}),(0,F.jsx)("link",{rel:"preload",href:"SF-Mono.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),(0,F.jsx)("link",{rel:"preload",href:"Spotnik.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"})]}),(0,F.jsx)("div",{style:{fontFamily:"Rajdhani"}}),(0,F.jsx)("div",{style:{fontFamily:"SF Mono"}}),(0,F.jsx)("div",{style:{fontFamily:"Spotnik"}}),(0,F.jsx)("div",{id:"overlay",className:"overlay",children:(0,F.jsxs)("div",{className:"overlay-content overlay-content-alt",children:[(0,F.jsx)(K.Z,{height:75,width:75}),(0,F.jsx)("div",{style:{marginTop:"20px"},children:(0,F.jsx)("span",{children:"PLEASE WAIT"})})]})}),(0,F.jsx)("div",{children:(0,F.jsxs)("div",{style:{display:"flex",flexDirection:"row",alignItems:"space-between",width:"100%"},children:[(0,F.jsxs)("div",{style:{display:"flex",flexDirection:D.tq?"column":"row",marginLeft:D.tq?"25px":"9%",marginRight:"auto",marginTop:D.tq?"25px":"-7%"},children:[(0,F.jsx)("div",{style:{marginRight:D.tq?"20px":"40px"},children:(0,F.jsx)("button",{className:"button",onClick:function(){window.location.href="/",ta([]),Jn([]),ia("")},"data-tooltip":"Homepage",children:(0,F.jsxs)("div",{className:"flex-sans-direction",children:[(D.tq,"Home"),(0,F.jsx)("span",{className:"material-icons-round",style:{marginLeft:"3px"},children:"home"})]})})}),(0,F.jsx)("div",{style:{marginLeft:D.tq?"-20px":"-30px",marginTop:D.tq?"-25px":"0px"},children:(0,F.jsx)(L.Z,{variable:xt,mobile:D.tq})})]}),(0,F.jsxs)("div",{className:"connect-button",style:{marginLeft:"auto",display:"flex",flexDirection:"row",marginTop:D.tq?"25px":"-7%"},children:[(0,F.jsx)("button",{className:"button clear",onClick:function(){window.scrollTo(0,0),M(!0),ta([]),Jn([]),ia("")},style:{marginRight:10,display:"none"},"data-tooltip":"Learn more",children:(0,F.jsxs)("div",{className:"flex-row",children:["about",(0,F.jsx)("span",{className:"material-icons-round",style:{marginLeft:"3px"},children:"info"})]})}),(0,F.jsx)("button",{className:"button clear",onClick:function(){window.scrollTo(0,0),oe(!0),ta([]),Jn([]),ia("")},style:{marginRight:10,display:"none"},"data-tooltip":"Terms of Use",children:(0,F.jsxs)("div",{className:"flex-row",children:["terms",(0,F.jsx)("span",{children:"\xa0"}),(0,F.jsx)("span",{className:"material-icons-round",children:"gavel"})]})}),!D.tq&&(0,F.jsx)("div",{children:(0,F.jsx)(m.NL,{label:"connect"})}),D.tq&&(0,F.jsx)("div",{children:(0,F.jsx)(m.NL,{label:"connect"})})]})]})}),(0,F.jsx)("div",{className:"container",style:{maxWidth:"inherit",margin:"50px 0 0 0"},children:(0,F.jsxs)("div",{className:D.tq||tn?"none":"heading-alt",style:{flex:"1 1 auto",marginTop:i?"30px":"0"},children:[(0,F.jsx)("div",{style:{marginTop:"-120px"},children:(0,F.jsxs)("div",{className:"flex-column",style:{paddingTop:"100px"},children:[!D.tq&&i&&(0,F.jsxs)("div",{children:[(0,F.jsx)("img",{className:"icon-ccip2",alt:"sample-icon",src:"logo.png",hidden:!0}),(0,F.jsx)("div",{className:"flex-column",style:{fontSize:"54px",color:"#ff2600",marginBottom:"20px",fontWeight:"700"},children:"NameSys"}),(0,F.jsx)("div",{className:"flex-column",style:{fontSize:22,color:"#fc4e14",margin:"-10px 0 5px 0",fontWeight:"700"},children:"Advanced"})]}),!D.tq&&(s||!i)&&(0,F.jsxs)("div",{style:{marginTop:"-30px",marginBottom:"10px"},children:[(0,F.jsx)("img",{className:"icon-ccip2",alt:"sample-icon",src:"logo.png",hidden:!0}),(0,F.jsx)("div",{className:"flex-column",style:{fontSize:"44px",color:"#ff2600",marginBottom:"20px",marginTop:"30px",fontWeight:"700"},children:"NameSys"}),(0,F.jsx)("div",{className:"flex-column",style:{fontSize:26,color:"#ff2600",fontWeight:"700",margin:"-10px 0 5px 0"},children:"Advanced"})]}),D.tq&&i&&(0,F.jsxs)("div",{className:"flex-column",children:[(0,F.jsx)("img",{className:"icon-ccip2",alt:"sample-icon",src:"logo.png",style:{marginBottom:"7px"}}),(0,F.jsx)("div",{className:"flex-column",style:{fontSize:"52px",color:"#ff2600",marginBottom:"20px",fontWeight:"700"},children:"NameSys"}),(0,F.jsx)("div",{className:"flex-column",style:{fontSize:26,color:"#fc4e14",marginTop:"-10px",fontWeight:"700"},children:"Advanced"})]}),D.tq&&(s||!i)&&(0,F.jsxs)("div",{className:"flex-column",style:{marginTop:"-30px",marginBottom:"50px"},children:[(0,F.jsx)("img",{className:"icon-ccip2",alt:"sample-icon",src:"logo.png",style:{marginBottom:"7px"}}),(0,F.jsx)("div",{className:"flex-column",style:{fontSize:"40px",color:"#ff2600",marginTop:"10px",fontWeight:"700"},children:"NameSys"})]})]})}),i&&(0,F.jsx)("div",{style:{marginBottom:"0px"},children:(0,F.jsx)("div",{className:"content-slider",children:(0,F.jsx)("div",{className:"slider",children:(0,F.jsx)("div",{className:"mask",children:(0,F.jsx)("ul",{children:J.hh.map((function(e,t){return(0,F.jsx)("li",{className:"anim".concat(t+1),children:(0,F.jsx)("div",{className:"carousal-item",children:(0,F.jsx)("div",{dangerouslySetInnerHTML:{__html:e}})})},t)}))})})})})}),(s||!i)&&(0,F.jsxs)("div",{className:"flex-sans-direction",style:{marginBottom:"50px",marginTop:D.tq?"-35px":"2px"},children:[(0,F.jsx)("button",{onClick:function(){Ue("OWNER"),yn.length>0?p(yn):console.error("BUG"),Xe(""),st(""),ht(""),Ae(!1),ct(""),yn.length>0?Re(!1):Re(!Le),de(!1),ta([]),Jn([]),ia(""),Ct(0),yn&&Ae(!0)},className:"button-header",disabled:"OWNER"===He||Pe,"data-tooltip":"Show names that you can manage",children:(0,F.jsxs)("div",{className:"flex-sans-direction",children:["NAMES",(0,F.jsx)("span",{className:"material-icons-round",style:{marginLeft:"3px"},children:"manage_accounts"})]})}),(0,F.jsx)("button",{onClick:function(){"SEARCH"!==He&&vn(Sn),p([]),Ue("UTILS"),Ae(!1),ct(""),Re(!0),ht(""),de(!1),ta([]),Jn([]),ia(""),zn("Please Wait"),Ct(0)},className:"button-header",disabled:"UTILS"===He||Pe,"data-tooltip":"NameSys Utility Functions",children:(0,F.jsxs)("div",{className:"flex-sans-direction",children:["UTILS",(0,F.jsx)("span",{className:"material-icons-round",style:{marginLeft:"3px"},children:"supervised_user_circle"})]})}),(0,F.jsx)("button",{onClick:function(){"UTILS"!==He&&vn(Sn),p([]),Ue("SEARCH"),Ae(!1),ct(""),Re(!0),ht(""),Jn([]),ta([]),ia(""),de(!1),zn("Please Wait"),Ct(0)},className:"button-header",disabled:"SEARCH"===He||Pe,"data-tooltip":"Search for an ENS name",children:(0,F.jsxs)("div",{className:"flex-sans-direction",children:["SEARCH",(0,F.jsx)("span",{className:"material-icons-round",style:{marginLeft:"3px"},children:"search"})]})})]}),Pe&&(s||!i)&&(0,F.jsx)("div",{children:(0,F.jsxs)("div",{className:"flex-column",style:{marginTop:"50px",marginBottom:"200px"},children:[(0,F.jsx)("div",{className:"flex-column",style:{paddingBottom:"10px"},children:(0,F.jsx)(K.Z,{height:60,width:60})}),(0,F.jsxs)("div",{className:"flex-column",style:{marginTop:"10px"},children:[(0,F.jsx)("div",{style:{color:"#ff2600",fontWeight:"700"},children:"OWNER"!==He?"".concat(Kn):_a.modalData?"Please wait":"".concat(Kn)}),(0,F.jsxs)("div",{style:{color:"white",fontWeight:"700",marginTop:"10px"},children:[(0,F.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"22px"},children:"UTILS"===He?Ot>0?"".concat(Ot):"":"OWNER"===He?_a.modalData?"":"".concat(un):""}),(0,F.jsx)("span",{style:{fontSize:"19px"},children:"UTILS"===He?Ot>0?" Of ":"":"OWNER"===He?_a.modalData?"":" Of ":""}),(0,F.jsx)("span",{style:{fontFamily:"SF Mono",fontSize:"22px"},children:"UTILS"===He?Ot>0?"".concat(ba.startsWith("export")?"2"===Qa.modalData?"1":"2":"1"):"":"OWNER"===He?_a.modalData?"":"".concat(It):""})]})]})]})}),Pe&&"OWNER"===He&&l.length>0&&(s||!i)&&!Le&&!Wn&&(0,F.jsx)("div",{children:(0,F.jsxs)("div",{className:"flex-column",style:{marginTop:"50px",marginBottom:"200px"},children:[(0,F.jsx)("div",{className:"flex-column",style:{paddingBottom:"10px"},children:(0,F.jsx)(K.Z,{height:60,width:60})}),(0,F.jsx)("div",{className:"flex-column",style:{marginTop:"10px"},children:(0,F.jsx)("div",{style:{color:"#ff2600",fontWeight:"700"},children:"Please Wait"})})]})}),!Pe&&"OWNER"===He&&l.length>0&&(s||!i)&&!Le&&(0,F.jsxs)("div",{children:[(0,F.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"18px",color:"cyan",marginBottom:"25px",fontWeight:"700",marginTop:D.tq?"-10px":"0"},children:[(0,F.jsx)("span",{style:{marginRight:"5px"},children:"Names You Manage"}),(0,F.jsx)("button",{className:"button-tiny emphasis-smol",onClick:function(){G(!0),jt("info"),bt("cyan"),Bt('This list does not contain Wrapped Names or Freshly Registered Names or Subdomains or Legacy Names that you Manage but do not Own. Please use the Search tab to find missing names.')},"data-tooltip":"Enlighten me",children:(0,F.jsx)("div",{className:"material-icons-round smol",style:{color:"orange"},children:"info_outline"})})]}),"OWNER"===He&&!Pe&&qe&&(0,F.jsx)("div",{className:"list-container",style:{maxHeight:"520px",overflowY:"auto",marginBottom:"50px"},children:(0,F.jsx)(_.Z,{label:"edit",items:l,onItemClickStealth:Hs,onItemClickPreview:Fs})})]}),!Pe&&"SEARCH"===He&&l.length>0&&(s||!i)&&!Le&&(0,F.jsxs)("div",{children:[(0,F.jsx)("div",{className:"flex-sans-direction",style:{fontSize:"18px",color:"cyan",marginBottom:"25px",fontWeight:"700"},children:"search result"}),(0,F.jsx)("div",{className:"list-container",style:{maxHeight:"520px",overflowY:"auto",marginBottom:"50px"},children:(0,F.jsx)(_.Z,{label:"edit",items:l,onItemClickStealth:Hs,onItemClickPreview:Fs})})]}),!Pe&&"UTILS"===He&&!qe&&l&&(s||!i)&&(0,F.jsxs)("div",{children:[(0,F.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"18px",color:"cyan",marginBottom:"25px",fontWeight:"700"},children:[(0,F.jsx)("span",{style:{marginRight:"5px"},children:"NameSys Utilities"}),(0,F.jsx)("button",{className:"button-tiny",onClick:function(){G(!0),jt("info"),bt("cyan"),Bt('NameSys Utility Functions to set Ownerhash and Export Keys')},"data-tooltip":"Enlighten me",children:(0,F.jsx)("div",{className:"material-icons-round smol",style:{color:"cyan"},children:"info_outline"})})]}),(0,F.jsxs)("div",{className:"export-container flex-column",style:{maxHeight:"520px",overflowY:"auto",marginBottom:"30px"},children:[(0,F.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"18px",color:"cyan",marginBottom:"25px",fontWeight:"700"},children:[(0,F.jsx)("span",{style:{marginRight:"5px"},children:"Ownerhash Setter"}),(0,F.jsx)("button",{className:"button-tiny",onClick:function(){G(!0),jt("info"),bt("cyan"),Bt('Sets Ownerhash For All Names in a Wallet')},"data-tooltip":"Set New Ownerhash",children:(0,F.jsx)("div",{className:"material-icons-round smol",style:{color:"cyan"},children:"info_outline"})})]}),(0,F.jsx)("input",{style:{width:"90%",color:"rgb(50, 205, 50, 0.75)"},type:"text",placeholder:"Click on 'SET'",disabled:!0,value:"ipns://"===Un?"":Un,id:"owner-hash"}),(0,F.jsxs)("div",{className:"flex-row",children:[(0,F.jsx)("button",{className:"button",style:{height:"38px",width:"80px",marginTop:"18px",marginLeft:"15px"},type:"submit","data-tooltip":"Set New Ownerhash",onClick:function(){ka(!0),Ea("ownerhash"),Jn([]),ta([]),ia(""),Ft(""),Gt(""),Ae(!1),zn("")},children:(0,F.jsxs)("div",{className:"flex-sans-direction",children:[(0,F.jsx)("span",{children:"SET"}),(0,F.jsx)("span",{className:"material-icons-round",style:{fontSize:"22px",fontWeight:"700",marginLeft:"3px"},children:"settings"})]})}),(Ys||Gs)&&!Vs&&(0,F.jsx)("div",{className:"material-icons-round smol",style:{color:Ys?"lime":"orangered",marginLeft:"10px",marginTop:"18px",fontSize:"20px"},children:Ys?"task_alt":"cancel"}),(Js||Qs)&&!$s&&(0,F.jsx)("div",{className:"material-icons-round smol",style:{color:Js?"lime":"orangered",marginLeft:"10px",marginTop:"18px",fontSize:"20px"},children:Js?"task_alt":"cancel"})]})]}),(0,F.jsxs)("div",{className:"hash-container flex-column",style:{maxHeight:"520px",overflowY:"auto",marginBottom:"70px"},children:[(0,F.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"18px",color:"cyan",marginBottom:"25px",fontWeight:"700"},children:[(0,F.jsx)("span",{style:{marginRight:"5px"},children:"Private Key Exporter"}),(0,F.jsx)("button",{className:"button-tiny",onClick:function(){G(!0),jt("info"),bt("cyan"),Bt('Export your IPNS and/or Records Signer Keys')},"data-tooltip":"Export Keys",children:(0,F.jsx)("div",{className:"material-icons-round smol",style:{color:"cyan"},children:"info_outline"})})]}),(0,F.jsxs)("div",{style:{width:"90%",alignItems:"flex-start"},children:[(0,F.jsx)("span",{style:{color:"skyblue",fontSize:"12px",fontWeight:"700"},children:"IPNS PRIVATE KEY"}),(0,F.jsxs)("div",{className:"flex-sans-direction",style:{marginTop:"2px",width:"100%"},children:[(0,F.jsx)("input",{style:{width:"100%",paddingRight:"32px",fontWeight:"400",textAlign:"left",color:"IPNS PRIVATE KEY COPIED!"===Xn[0]?"lime":"rgb(255, 255, 150, 0.75)"},type:"text",placeholder:"IPNS Private Key",value:ba.startsWith("export")?ba.endsWith("HTTP")?"":"0x"!==Xn[0]?Xn[0]:"":"",id:"export-ipns",disabled:!0}),(0,F.jsx)("button",{className:"button-empty",onClick:function(){J.vQ("export-ipns"),bt("lime"),Jn(["IPNS PRIVATE KEY COPIED!","COPIED!"])},"data-tooltip":"Copy IPNS Key",style:{marginLeft:"-25px",color:!wt||Xn[0]||Xn[1]?"cyan":wt},hidden:!Xn[0]||"0x"===Xn[0],children:(0,F.jsx)("span",{className:"material-icons-round",style:{fontSize:"22px",fontWeight:"700"},children:"content_copy"})})]})]}),(0,F.jsxs)("div",{style:{width:"90%",alignItems:"flex-start",marginTop:"10px"},children:[(0,F.jsx)("span",{style:{color:"skyblue",fontSize:"12px",fontWeight:"700"},children:"CCIP MANAGER KEY"}),(0,F.jsxs)("div",{className:"flex-sans-direction",style:{marginTop:"2px",width:"100%"},children:[(0,F.jsx)("input",{style:{width:"100%",paddingRight:"32px",fontWeight:"400",textAlign:"left",color:"RECORDS SIGNER KEY COPIED!"===ea[0]?"lime":"rgb(255, 255, 150, 0.75)"},type:"text",placeholder:"CCIP Manager Key",value:ba.startsWith("export")?ea[0]:"",id:"export-ccip",disabled:!0}),(0,F.jsx)("button",{className:"button-empty",onClick:function(){J.vQ("export-ccip"),bt("lime"),ta(["RECORDS SIGNER KEY COPIED!","COPIED!"])},"data-tooltip":"Copy Manager Key",style:{marginLeft:"-25px",color:!wt||ea[0]||ea[1]?"cyan":wt},hidden:!ea[0],children:(0,F.jsx)("span",{className:"material-icons-round",style:{fontSize:"22px",fontWeight:"700"},children:"content_copy"})})]})]}),(0,F.jsxs)("div",{style:{width:"90%",alignItems:"flex-start",marginTop:"10px"},children:[(0,F.jsx)("span",{style:{color:"skyblue",fontSize:"12px",fontWeight:"700"},children:"IPNS ENCODED KEY"}),(0,F.jsxs)("div",{className:"flex-sans-direction",style:{marginTop:"2px",width:"100%"},children:[(0,F.jsx)("input",{style:{width:"100%",paddingRight:"32px",fontWeight:"400",textAlign:"left",color:"IPNS ENCODED KEY COPIED!"===sa?"lime":"rgb(255, 255, 150, 0.75)"},type:"text",placeholder:"IPNS Encoded Key",value:ba.startsWith("export")?sa:"",id:"export-encoded",disabled:!0}),(0,F.jsx)("button",{className:"button-empty",onClick:function(){J.vQ("export-encoded"),bt("lime"),ia("IPNS ENCODED KEY COPIED!")},"data-tooltip":"Copy Manager Key",style:{marginLeft:"-25px",color:wt&&!sa?wt:"cyan"},hidden:!sa,children:(0,F.jsx)("span",{className:"material-icons-round",style:{fontSize:"22px",fontWeight:"700"},children:"content_copy"})})]})]}),(0,F.jsxs)("div",{className:"flex-row",children:[(0,F.jsx)("button",{className:"button",style:{height:"38px",width:"115px",marginLeft:"15px",marginTop:"20px"},type:"submit","data-tooltip":"Export Keys",onClick:function(){fa(!0),Ea("export"),Jn([]),ta([]),ia(""),Ft(""),Gt(""),zn("")},children:(0,F.jsxs)("div",{className:"flex-sans-direction",children:[(0,F.jsx)("span",{children:"EXPORT"}),(0,F.jsx)("span",{className:"material-icons-round",style:{fontSize:"22px",fontWeight:"700",marginLeft:"5px"},children:"file_download"})]})}),(0,F.jsx)("div",{className:"material-icons-round smol",style:{color:sa||Xn[0]||ea[0]?"lime":ms?"orangered":"",marginLeft:"10px",marginTop:"18px",fontSize:"20px"},children:sa||Xn[0]||ea[0]?"task_alt":ms?"cancel":""})]})]})]}),!Pe&&"SEARCH"===He&&l&&(s||!i)&&(0,F.jsxs)("div",{children:[(0,F.jsxs)("div",{className:"flex-sans-direction",style:{fontSize:"18px",color:"cyan",marginBottom:"25px",marginTop:l?"-15px":"0px"},children:[(0,F.jsx)("span",{style:{marginRight:"5px"},children:"search names"}),(0,F.jsx)("button",{className:"button-tiny",onClick:function(){G(!0),jt("info"),bt("cyan"),Bt('Search for a Subdomain or a Wrapped Domain or a Legacy name that you Manage but do not Own')},"data-tooltip":"Enlighten me",children:(0,F.jsx)("div",{className:"material-icons-round smol",style:{color:"cyan"},children:"info_outline"})})]}),(0,F.jsx)("div",{className:"search-container",style:{maxHeight:"520px",overflowY:"auto",marginBottom:"50px"},children:(0,F.jsx)(z.R,{onSearch:function(e){p([]),Re(!0),nn(!0),pn(e),ht(e),Ke(!1)}})})]}),!Pe&&Le&&"OWNER"===He&&!le&&(0,F.jsx)("div",{children:(0,F.jsxs)("div",{className:"flex-column",style:{fontSize:"22px",color:"#ff2600",marginBottom:"25px",fontWeight:"700"},children:[(0,F.jsx)("span",{className:"material-icons-round miui-smaller",children:"warning"}),(0,F.jsx)("br",{}),"No Names Found"]})}),!Dn&&!rt&&pt&&"OWNER"!==He&&!Pe&&!le&&(0,F.jsx)("div",{children:(0,F.jsxs)("div",{className:"flex-column",style:{fontSize:"22px",color:"#ff2600",marginBottom:"25px",fontWeight:"700"},children:[(0,F.jsx)("span",{className:"material-icons-round miui-smaller",children:"warning"}),(0,F.jsx)("br",{}),"No Names Found"]})}),(0,F.jsxs)("div",{className:"flex-sans-direction",style:{color:"#ff2600",top:"auto",left:D.tq?"32%":"14%",transform:D.tq?"translateX(-72%)":"translateX(-92%)",bottom:10},children:[(0,F.jsxs)("div",{className:"flex-row",style:{marginRight:"15px"},children:[(0,F.jsx)("span",{className:"material-icons-round",style:{marginRight:"3px"},children:"source"}),(0,F.jsx)("a",{href:"https://github.com/namesys-eth/ccip2-eth-client",className:"footer-text",target:"_blank",rel:"noreferrer",children:"GitHub"})]}),(0,F.jsxs)("div",{className:"flex-row",children:[(0,F.jsx)("span",{className:"material-icons-round",style:{marginRight:"3px"},children:"info_outline"}),(0,F.jsx)("a",{href:"https://github.com/namesys-eth/ccip2-eth-resources/blob/main/docs/GUIDE.md",className:"footer-text",target:"_blank",rel:"noreferrer",children:"Help"})]})]}),(0,F.jsxs)("div",{id:"modal",children:[ge&&(0,F.jsx)(W.Z,{onClose:function(){return ye(!1)},show:ge,_ENS_:Ee,chain:is,handleParentTrigger:function(e){La((function(t){return se(se({},t),{},{trigger:e})}))},handleParentModalData:function(e){La((function(t){return se(se({},t),{},{modalData:e})}))}}),Ne&&(0,F.jsx)(O.Z,{onClose:function(){return Se(!1)},show:Ne,_ENS_:ke,chain:is,handleParentTrigger:function(e){qa((function(t){return se(se({},t),{},{trigger:e})}))},handleParentModalData:function(e){qa((function(t){return se(se({},t),{},{modalData:e})}))}}),(0,F.jsx)(C.Z,{onClose:function(){return M(!1)},show:A}),(0,F.jsx)(k.Z,{onClose:function(){return oe(!1)},show:ie}),(0,F.jsx)(R.Z,{onClose:function(){In(!1),Qt(!0)},color:"red",show:Rn&&!Pe,title:"cancel",children:Kn}),(0,F.jsx)(R.Z,{onClose:function(){de(!1),Xe(""),st(""),ht(""),ct("")},color:"red",show:le&&!tn&&!Pe,title:"block",children:fe}),(0,F.jsx)(R.Z,{onClose:function(){de(!1),Xe(""),st(""),ht(""),ct("")},color:"red",show:le&&tn&&!Pe,title:"block",children:fe}),(0,F.jsx)(I.Z,{handleTrigger:function(e){as((function(t){return se(se({},t),{},{trigger:e})}))},handleModalData:function(e){as((function(t){return se(se({},t),{},{modalData:e})}))},onClose:function(){Pa(!1)},show:Ca,children:void 0}),(0,F.jsx)(P.Z,{handleTrigger:function(e){Ha((function(t){return se(se({},t),{},{trigger:e})}))},handleModalData:function(e){Ha((function(t){return se(se({},t),{},{modalData:e})}))},onClose:function(){la(!1)},show:ca,children:[ma,"ownerhash"]}),(0,F.jsx)(B.Z,{handleTrigger:function(e){Va((function(t){return se(se({},t),{},{trigger:e})}))},handleModalData:function(e){Va((function(t){return se(se({},t),{},{modalData:e})}))},onClose:function(){ka(!1)},show:Za&&!ca,children:"0"}),(0,F.jsx)(X,{handleTrigger:function(e){$a((function(t){return se(se({},t),{},{trigger:e})}))},handleModalData:function(e){$a((function(t){return se(se({},t),{},{modalData:e})}))},onClose:function(){fa(!1)},show:ha,children:""}),(0,F.jsx)(Z.Z,{color:wt,icon:vt,onClose:function(){return G(!1)},show:Y,position:"",children:zt})]})]})})]})}},682:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account",function(){return n(64994)}])}},function(e){e.O(0,[8543,1731,8764,6724,8109,6845,9361,9774,2888,179],(function(){return t=682,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file diff --git a/out/_next/static/chunks/pages/index-747411878630625b.js b/out/_next/static/chunks/pages/index-747411878630625b.js index 66d5d15a..8cc8f6d7 100644 --- a/out/_next/static/chunks/pages/index-747411878630625b.js +++ b/out/_next/static/chunks/pages/index-747411878630625b.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{55006:function(e,t,n){"use strict";n.r(t);var r=n(50029),a=n(59499),s=n(16835),i=n(87794),o=n.n(i),c=n(67294),l=n(9008),d=n.n(l),u=n(56974),f=n(69077),p=n(64146),x=n(9279),h=n(27586),m=n(16441),g=n(29251),v=n(2593),j=n(38197),y=n(85518),S=n(22794),w=n(92675),N=n(6440),b=n(46822),Z=n(92673),k=n(64637),q=n(58595),O=n(40342),D=n(89479),E=n(17586),P=n(62012),W=n(71775),R=n(67191),C=n(85893);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t0){var e=[];[].push(et.split(".eth")[0]);var t=function(){var t=(0,r.Z)(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:P.Ap.getResolver(et).then((function(t){e.push({key:1,name:et.split(".eth")[0],migrated:(null===t||void 0===t?void 0:t.address)===Xt?"1/2":"0"}),e.length>0&&(bt&&"ipns://"!==String(bt)&&"1/2"===e[0].migrated?e[0].migrated=String(bt).startsWith("https://")?"4/5":"1":Ot&&"ipns://"!==String(Ot)&&"1/2"===e[0].migrated&&(e[0].migrated=String(Ot).startsWith("https://")?"4/5":"3/4"),I(e),Pe(!0),Te(!0))}));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}}),[et,bt,Ot]),c.useEffect((function(){mn&&mn!==vn&&t?String(mn).startsWith(P.Wp)?Zt(g.ZN(String(mn))):Zt("ipns://".concat(R.K5(String(mn)).decoded)):Zt("")}),[mn,vn]),c.useEffect((function(){vn&&t?String(vn).startsWith(P.Wp)?Dt(g.ZN(String(vn))):Dt("ipns://".concat(R.K5(String(vn)).decoded)):Dt("")}),[vn]),c.useEffect((function(){Ee&&Ce?"0x"!==Wt&&Wt!==P.DR?(Q(!1),Ne(!0),setTimeout((function(){Ne(!1)}),5e3),qe(!1)):(setTimeout((function(){Ne(!1)}),2e3),re("Name not Registered Or Expired Or in Grace"),Q(!0),qe(!0),tt("")):Ce?(setTimeout((function(){Ne(!1)}),2e3),re("Name not Registered Or Expired Or in Grace"),Q(!0),qe(!0)):Ne(!0)}),[Ee,Wt,Ce]),c.useEffect((function(){if(et)try{var e=h.VM(et),t=v.O$.from(e);Ge(String(t));var n=j.keccak256(g.Y0(et.split(".eth")[0]));Be(e),Ae(String(v.O$.from(n)))}catch(r){}}),[et,Wt,Xe]);return(0,C.jsxs)("div",{className:"page flex-column-sans-align",style:{maxWidth:"100vw"},children:[!y.tq&&(0,C.jsx)("div",{style:{margin:"20px",width:"40%",display:"flex",justifyContent:"flex-start"},children:(0,C.jsx)("img",{className:"avatar",alt:"corner-index",src:"logo.png"})}),(0,C.jsxs)(d(),{children:[(0,C.jsx)("title",{children:"NameSys - Off-Chain Records Manager"}),(0,C.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width"}),(0,C.jsx)("meta",{name:"description",content:"NameSys"}),(0,C.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,C.jsx)("link",{rel:"shortcut icon",href:"logo.png"}),(0,C.jsx)("link",{rel:"preload",href:"https://fonts.googleapis.com/icon?family=Material+Icons",as:"style"}),(0,C.jsx)("link",{rel:"preload",href:"SF-Mono.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),(0,C.jsx)("link",{rel:"preload",href:"Spotnik.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),(0,C.jsx)("link",{rel:"preload",href:"Rajdhani.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"})]}),(0,C.jsx)("div",{style:{fontFamily:"Rajdhani"}}),(0,C.jsx)("div",{style:{fontFamily:"SF Mono"}}),(0,C.jsx)("div",{style:{fontFamily:"Spotnik"}}),(0,C.jsx)("div",{id:"overlay",className:"overlay",children:(0,C.jsxs)("div",{className:"overlay-content",children:[(0,C.jsx)(D.Z,{height:y.tq?50:75,width:y.tq?50:75}),(0,C.jsx)("div",{style:{marginTop:"20px"},children:(0,C.jsx)("span",{children:"PLEASE WAIT"})})]})}),(0,C.jsx)("div",{children:(0,C.jsxs)("div",{style:{display:"flex",flexDirection:"row",alignItems:"space-between",width:"100%"},children:[(0,C.jsxs)("div",{style:{display:"flex",flexDirection:y.tq?"column":"row",marginLeft:y.tq?"25px":"9%",marginRight:"auto",marginTop:y.tq?"25px":"-7%"},children:[(0,C.jsx)("div",{style:{marginRight:y.tq?"20px":"40px"},children:(0,C.jsx)("button",{className:"button",onClick:function(){window.location.href="/ccip2-eth-client/account.html"},"data-tooltip":"My Names",disabled:a,hidden:y.tq,children:(0,C.jsxs)("div",{className:"flex-sans-direction",children:[y.tq?"Names":"My Names","\xa0",(0,C.jsx)("span",{className:"material-icons",children:"admin_panel_settings"})]})})}),(0,C.jsx)("div",{style:{marginLeft:y.tq?"-20px":"-30px",marginTop:y.tq?"-25px":"0px"},children:(0,C.jsx)(O.Z,{variable:at,mobile:y.tq})})]}),(0,C.jsxs)("div",{className:"connect-button",style:{marginLeft:"auto",display:"flex",flexDirection:y.tq?"column":"row",marginTop:y.tq?"-5px":"-7%"},children:[(0,C.jsxs)("div",{style:{marginRight:y.tq?"10px":"15px",marginTop:y.tq?"10px":"6px",color:"#ff2600",fontFamily:"SF Mono",fontSize:y.tq?"13px":"18px"},children:[(0,C.jsx)("span",{style:{fontFamily:"Spotnik",fontSize:y.tq?"7.5px":"12px",fontWeight:"700",marginRight:"2px"},children:"v"}),"1.3",(0,C.jsx)("span",{style:{fontFamily:"Spotnik",fontSize:y.tq?"10px":"15px",fontWeight:"700",marginLeft:"2px"},children:""})]}),(0,C.jsx)("button",{className:"button clear",onClick:function(){window.scrollTo(0,0),F(!0)},style:{marginRight:10,display:"none"},"data-tooltip":"Learn more",children:(0,C.jsxs)("div",{className:"flex-row",children:["about",(0,C.jsx)("span",{style:{fontFamily:"SF Mono"},children:"\xa0"}),(0,C.jsx)("span",{className:"material-icons",children:"info"})]})}),(0,C.jsx)("button",{className:"button clear",onClick:function(){window.scrollTo(0,0),V(!0)},style:{marginRight:10,display:"none"},"data-tooltip":"Terms of Use",children:(0,C.jsxs)("div",{className:"flex-row",children:["terms","\xa0",(0,C.jsx)("span",{className:"material-icons",children:"gavel"})]})}),!y.tq&&(0,C.jsx)("div",{children:(0,C.jsx)(u.NL,{label:"connect"})}),y.tq&&(0,C.jsx)("div",{children:(0,C.jsx)(u.NL,{label:"connect"})})]})]})}),(0,C.jsx)("div",{className:"container",style:{maxWidth:"inherit",marginTop:_t?"0px":"40px"},children:(0,C.jsxs)("div",{className:y.tq||_t?!y.tq&&_t?"heading":"none":"heading",style:{flex:"1 1 auto"},children:[(0,C.jsx)("div",{style:{marginTop:"-120px"},children:(0,C.jsxs)("div",{style:{display:"flex",justifyContent:"center",textAlign:"center",paddingTop:"100px"},children:[!y.tq&&(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:"flex-column",style:{fontSize:_t?"46px":"50px",marginTop:_t?"20px":"28px",color:"#ff2600",marginBottom:"10px",fontWeight:"700"},children:"NameSys"}),(0,C.jsx)("div",{className:"flex-column",style:{fontSize:_t?"24px":"28px",marginTop:"0px",color:"#fc4e14",fontWeight:"700"},children:"Advanced"})]}),y.tq&&(0,C.jsxs)("div",{children:[(0,C.jsx)("img",{className:_t?"icon-ccip2-mobile":"icon-ccip2",alt:"sample-icon",src:"logo.png"}),(0,C.jsx)("div",{className:"flex-column",style:{fontSize:_t?"36px":"44px",marginTop:"10px",color:"#ff2600"},children:"NameSys"}),(0,C.jsx)("div",{className:"flex-column",style:{fontSize:_t?"20px":"24px",fontWeight:700,color:"#fc4e14",marginTop:"5px"},children:"Advanced"}),(0,C.jsx)("div",{style:{},children:(0,C.jsx)("button",{className:"button",onClick:function(){window.location.href="/ccip2-eth-client/account.html"},"data-tooltip":"My Names",disabled:a,style:{marginTop:"15px",marginBottom:"-10px"},children:(0,C.jsxs)("div",{className:"flex-sans-direction",children:["My Names","\xa0",(0,C.jsx)("span",{className:"material-icons",children:"admin_panel_settings"})]})})})]})]})}),(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),(0,C.jsx)("div",{className:"main-search-container",style:{maxHeight:"520px",overflowY:"auto",marginBottom:"50px"},children:(0,C.jsx)(E.j,{onSearch:function(e){Ne(!0),tt(e),I([]),Ae(""),Ge(""),$e(""),St("search"),Zt(""),Rt(""),It(!0),t||Dt("")}})}),!_t&&(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:"content-slider",children:(0,C.jsx)("div",{className:"slider",children:(0,C.jsx)("div",{className:"mask",children:(0,C.jsx)("ul",{children:P.hh.map((function(e,t){return(0,C.jsx)("li",{className:"anim".concat(t+1),children:(0,C.jsx)("div",{className:"carousal-item",children:(0,C.jsx)("div",{dangerouslySetInnerHTML:{__html:e}})})},t)}))})})})}),(0,C.jsxs)("div",{className:"flex-column",style:{paddingBottom:"10px",top:"auto",left:y.tq?"43%":"47%",bottom:10,position:"fixed"},children:[(0,C.jsx)("span",{style:{color:"#fc4e14",fontWeight:"700",fontSize:y.tq?"10px":"14px",paddingBottom:"5px"},children:"Funded By"}),(0,C.jsx)("span",{style:{color:"skyblue",fontWeight:"700",fontSize:y.tq?"13px":"20px"},children:"ENS DAO"})]})]}),we&&_t&&(0,C.jsx)("div",{children:(0,C.jsxs)("div",{className:"flex-column",style:{marginTop:"-10px",marginBottom:"200px"},children:[(0,C.jsx)("div",{className:"flex-column",style:{paddingBottom:"10px"},children:(0,C.jsx)(D.Z,{height:y.tq?35:50,width:y.tq?35:50})}),(0,C.jsx)("div",{style:{marginTop:"10px"},children:(0,C.jsx)("span",{style:{fontSize:y.tq?"17px":"22px",color:"#ff2600",fontWeight:"700"},children:"Please Wait"})})]})}),!we&&T.length>0&&!ke&&_t&&(0,C.jsxs)("div",{children:[(0,C.jsxs)("div",{style:{alignItems:"center",justifyContent:"center",display:"flex",fontSize:"18px",color:"lightblue",marginBottom:"25px",fontWeight:"700"},children:[(0,C.jsx)("span",{style:{marginRight:"5px"},children:"search results"}),(0,C.jsx)("button",{className:"button-tiny",onClick:function(){K(!0),lt("info"),pt("lightblue"),Ft(""),gt("Search results for your query")},children:(0,C.jsx)("div",{className:"material-icons smol",style:{color:"lightblue"},children:"info_outline"})})]}),(0,C.jsx)("div",{className:"list-container",style:{maxHeight:"520px",overflowY:"auto",marginBottom:"50px"},children:(0,C.jsx)(q.Z,{label:a&&!n||Xe!==t?"view":"edit",items:T,onItemClickStealth:function(e){je("".concat(e))},onItemClickPreview:function(e){he("".concat(e,":"))}})})]}),(0,C.jsxs)("div",{className:"flex-sans-direction",style:{color:"#ff2600",top:"auto",left:y.tq?"3.5%":"1%",bottom:10,position:"fixed"},children:[(0,C.jsx)("div",{className:"flex-row",style:{marginRight:y.tq?"5px":"15px"},children:(0,C.jsxs)("a",{href:"https://github.com/namesys-eth",className:"footer-text flex-row",target:"_blank",rel:"noreferrer",children:[(0,C.jsx)("span",{className:"material-icons",style:{marginRight:"5px",color:"#ff2600"},children:"source"}),(0,C.jsx)("span",{hidden:y.tq,children:"GitHub"})]})}),(0,C.jsx)("div",{className:"flex-row",children:(0,C.jsxs)("a",{href:"readme/readme.htm?src=https://namesys-eth.github.io/ccip2-eth-resources/GUIDE.md",className:"footer-text flex-row",target:"_blank",rel:"noreferrer",children:[(0,C.jsx)("span",{className:"material-icons",style:{marginRight:"5px",color:"#ff2600"},children:"info_outline"}),(0,C.jsx)("span",{hidden:y.tq,children:"Help"})]})})]}),(0,C.jsxs)("div",{id:"modal",children:[ie&&(0,C.jsx)(N.Z,{onClose:function(){return oe(!1)},show:ie,_ENS_:xe,chain:P.wU.chainId,handleParentTrigger:function(e){Kt((function(t){return _(_({},t),{},{trigger:e})}))},handleParentModalData:function(e){Kt((function(t){return _(_({},t),{},{modalData:e})}))}}),de&&(0,C.jsx)(b.Z,{onClose:function(){return ue(!1)},show:de,_ENS_:ve,chain:P.wU.chainId,handleParentTrigger:function(e){Vt((function(t){return _(_({},t),{},{trigger:e})}))},handleParentModalData:function(e){Vt((function(t){return _(_({},t),{},{modalData:e})}))}}),(0,C.jsx)(Z.Z,{onClose:function(){return F(!1)},show:M}),(0,C.jsx)(w.Z,{onClose:function(){return V(!1)},show:Y}),(0,C.jsx)(k.Z,{onClose:function(){Q(!1),Ae(""),Ge(""),tt(""),$e("")},color:"red",show:J&&"search"===yt&&!we,title:"block",children:ne}),(0,C.jsx)(S.Z,{color:ft,icon:ct,onClose:function(){return K(!1)},show:H,position:Mt,children:mt})]})]})})]})}},48312:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(55006)}])}},function(e){e.O(0,[8543,1731,8764,6724,8109,6845,9361,9774,2888,179],(function(){return t=48312,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{55006:function(e,t,n){"use strict";n.r(t);var r=n(50029),a=n(59499),s=n(16835),i=n(87794),o=n.n(i),c=n(67294),l=n(9008),d=n.n(l),u=n(56974),f=n(69077),p=n(64146),x=n(9279),h=n(27586),m=n(16441),g=n(29251),v=n(2593),j=n(38197),y=n(85518),S=n(22794),w=n(92675),N=n(6440),b=n(46822),Z=n(92673),k=n(64637),q=n(58595),O=n(40342),D=n(89479),E=n(17586),P=n(62012),W=n(71775),R=n(67191),C=n(85893);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t0){var e=[];[].push(et.split(".eth")[0]);var t=function(){var t=(0,r.Z)(o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:P.Ap.getResolver(et).then((function(t){e.push({key:1,name:et.split(".eth")[0],migrated:(null===t||void 0===t?void 0:t.address)===Xt?"1/2":"0"}),e.length>0&&(bt&&"ipns://"!==String(bt)&&"1/2"===e[0].migrated?e[0].migrated=String(bt).startsWith("https://")?"4/5":"1":Ot&&"ipns://"!==String(Ot)&&"1/2"===e[0].migrated&&(e[0].migrated=String(Ot).startsWith("https://")?"4/5":"3/4"),I(e),Pe(!0),Te(!0))}));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();t()}}),[et,bt,Ot]),c.useEffect((function(){mn&&mn!==vn&&t?String(mn).startsWith(P.Wp)?Zt(g.ZN(String(mn))):Zt("ipns://".concat(R.K5(String(mn)).decoded)):Zt("")}),[mn,vn]),c.useEffect((function(){vn&&t?String(vn).startsWith(P.Wp)?Dt(g.ZN(String(vn))):Dt("ipns://".concat(R.K5(String(vn)).decoded)):Dt("")}),[vn]),c.useEffect((function(){Ee&&Ce?"0x"!==Wt&&Wt!==P.DR?(Q(!1),Ne(!0),setTimeout((function(){Ne(!1)}),5e3),qe(!1)):(setTimeout((function(){Ne(!1)}),2e3),re("Name not Registered Or Expired Or in Grace"),Q(!0),qe(!0),tt("")):Ce?(setTimeout((function(){Ne(!1)}),2e3),re("Name not Registered Or Expired Or in Grace"),Q(!0),qe(!0)):Ne(!0)}),[Ee,Wt,Ce]),c.useEffect((function(){if(et)try{var e=h.VM(et),t=v.O$.from(e);Ge(String(t));var n=j.keccak256(g.Y0(et.split(".eth")[0]));Be(e),Ae(String(v.O$.from(n)))}catch(r){}}),[et,Wt,Xe]);return(0,C.jsxs)("div",{className:"page flex-column-sans-align",style:{maxWidth:"100vw"},children:[!y.tq&&(0,C.jsx)("div",{style:{margin:"20px",width:"40%",display:"flex",justifyContent:"flex-start"},children:(0,C.jsx)("img",{className:"avatar",alt:"corner-index",src:"logo.png"})}),(0,C.jsxs)(d(),{children:[(0,C.jsx)("title",{children:"NameSys - Off-Chain Records Manager"}),(0,C.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width"}),(0,C.jsx)("meta",{name:"description",content:"NameSys"}),(0,C.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,C.jsx)("link",{rel:"shortcut icon",href:"logo.png"}),(0,C.jsx)("link",{rel:"preload",href:"https://fonts.googleapis.com/icon?family=Material+Icons",as:"style"}),(0,C.jsx)("link",{rel:"preload",href:"SF-Mono.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),(0,C.jsx)("link",{rel:"preload",href:"Spotnik.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"}),(0,C.jsx)("link",{rel:"preload",href:"Rajdhani.woff2",as:"font",type:"font/woff2",crossOrigin:"anonymous"})]}),(0,C.jsx)("div",{style:{fontFamily:"Rajdhani"}}),(0,C.jsx)("div",{style:{fontFamily:"SF Mono"}}),(0,C.jsx)("div",{style:{fontFamily:"Spotnik"}}),(0,C.jsx)("div",{id:"overlay",className:"overlay",children:(0,C.jsxs)("div",{className:"overlay-content",children:[(0,C.jsx)(D.Z,{height:y.tq?50:75,width:y.tq?50:75}),(0,C.jsx)("div",{style:{marginTop:"20px"},children:(0,C.jsx)("span",{children:"PLEASE WAIT"})})]})}),(0,C.jsx)("div",{children:(0,C.jsxs)("div",{style:{display:"flex",flexDirection:"row",alignItems:"space-between",width:"100%"},children:[(0,C.jsxs)("div",{style:{display:"flex",flexDirection:y.tq?"column":"row",marginLeft:y.tq?"25px":"9%",marginRight:"auto",marginTop:y.tq?"25px":"-7%"},children:[(0,C.jsx)("div",{style:{marginRight:y.tq?"20px":"40px"},children:(0,C.jsx)("button",{className:"button",onClick:function(){window.location.href="/account.html"},"data-tooltip":"My Names",disabled:a,hidden:y.tq,children:(0,C.jsxs)("div",{className:"flex-sans-direction",children:[y.tq?"Names":"My Names","\xa0",(0,C.jsx)("span",{className:"material-icons",children:"admin_panel_settings"})]})})}),(0,C.jsx)("div",{style:{marginLeft:y.tq?"-20px":"-30px",marginTop:y.tq?"-25px":"0px"},children:(0,C.jsx)(O.Z,{variable:at,mobile:y.tq})})]}),(0,C.jsxs)("div",{className:"connect-button",style:{marginLeft:"auto",display:"flex",flexDirection:y.tq?"column":"row",marginTop:y.tq?"-5px":"-7%"},children:[(0,C.jsxs)("div",{style:{marginRight:y.tq?"10px":"15px",marginTop:y.tq?"10px":"6px",color:"#ff2600",fontFamily:"SF Mono",fontSize:y.tq?"13px":"18px"},children:[(0,C.jsx)("span",{style:{fontFamily:"Spotnik",fontSize:y.tq?"7.5px":"12px",fontWeight:"700",marginRight:"2px"},children:"v"}),"1.3",(0,C.jsx)("span",{style:{fontFamily:"Spotnik",fontSize:y.tq?"10px":"15px",fontWeight:"700",marginLeft:"2px"},children:""})]}),(0,C.jsx)("button",{className:"button clear",onClick:function(){window.scrollTo(0,0),F(!0)},style:{marginRight:10,display:"none"},"data-tooltip":"Learn more",children:(0,C.jsxs)("div",{className:"flex-row",children:["about",(0,C.jsx)("span",{style:{fontFamily:"SF Mono"},children:"\xa0"}),(0,C.jsx)("span",{className:"material-icons",children:"info"})]})}),(0,C.jsx)("button",{className:"button clear",onClick:function(){window.scrollTo(0,0),V(!0)},style:{marginRight:10,display:"none"},"data-tooltip":"Terms of Use",children:(0,C.jsxs)("div",{className:"flex-row",children:["terms","\xa0",(0,C.jsx)("span",{className:"material-icons",children:"gavel"})]})}),!y.tq&&(0,C.jsx)("div",{children:(0,C.jsx)(u.NL,{label:"connect"})}),y.tq&&(0,C.jsx)("div",{children:(0,C.jsx)(u.NL,{label:"connect"})})]})]})}),(0,C.jsx)("div",{className:"container",style:{maxWidth:"inherit",marginTop:_t?"0px":"40px"},children:(0,C.jsxs)("div",{className:y.tq||_t?!y.tq&&_t?"heading":"none":"heading",style:{flex:"1 1 auto"},children:[(0,C.jsx)("div",{style:{marginTop:"-120px"},children:(0,C.jsxs)("div",{style:{display:"flex",justifyContent:"center",textAlign:"center",paddingTop:"100px"},children:[!y.tq&&(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:"flex-column",style:{fontSize:_t?"46px":"50px",marginTop:_t?"20px":"28px",color:"#ff2600",marginBottom:"10px",fontWeight:"700"},children:"NameSys"}),(0,C.jsx)("div",{className:"flex-column",style:{fontSize:_t?"24px":"28px",marginTop:"0px",color:"#fc4e14",fontWeight:"700"},children:"Advanced"})]}),y.tq&&(0,C.jsxs)("div",{children:[(0,C.jsx)("img",{className:_t?"icon-ccip2-mobile":"icon-ccip2",alt:"sample-icon",src:"logo.png"}),(0,C.jsx)("div",{className:"flex-column",style:{fontSize:_t?"36px":"44px",marginTop:"10px",color:"#ff2600"},children:"NameSys"}),(0,C.jsx)("div",{className:"flex-column",style:{fontSize:_t?"20px":"24px",fontWeight:700,color:"#fc4e14",marginTop:"5px"},children:"Advanced"}),(0,C.jsx)("div",{style:{},children:(0,C.jsx)("button",{className:"button",onClick:function(){window.location.href="/account.html"},"data-tooltip":"My Names",disabled:a,style:{marginTop:"15px",marginBottom:"-10px"},children:(0,C.jsxs)("div",{className:"flex-sans-direction",children:["My Names","\xa0",(0,C.jsx)("span",{className:"material-icons",children:"admin_panel_settings"})]})})})]})]})}),(0,C.jsx)("br",{}),(0,C.jsx)("br",{}),(0,C.jsx)("div",{className:"main-search-container",style:{maxHeight:"520px",overflowY:"auto",marginBottom:"50px"},children:(0,C.jsx)(E.j,{onSearch:function(e){Ne(!0),tt(e),I([]),Ae(""),Ge(""),$e(""),St("search"),Zt(""),Rt(""),It(!0),t||Dt("")}})}),!_t&&(0,C.jsxs)("div",{children:[(0,C.jsx)("div",{className:"content-slider",children:(0,C.jsx)("div",{className:"slider",children:(0,C.jsx)("div",{className:"mask",children:(0,C.jsx)("ul",{children:P.hh.map((function(e,t){return(0,C.jsx)("li",{className:"anim".concat(t+1),children:(0,C.jsx)("div",{className:"carousal-item",children:(0,C.jsx)("div",{dangerouslySetInnerHTML:{__html:e}})})},t)}))})})})}),(0,C.jsxs)("div",{className:"flex-column",style:{paddingBottom:"10px",top:"auto",left:y.tq?"43%":"47%",bottom:10,position:"fixed"},children:[(0,C.jsx)("span",{style:{color:"#fc4e14",fontWeight:"700",fontSize:y.tq?"10px":"14px",paddingBottom:"5px"},children:"Funded By"}),(0,C.jsx)("span",{style:{color:"skyblue",fontWeight:"700",fontSize:y.tq?"13px":"20px"},children:"ENS DAO"})]})]}),we&&_t&&(0,C.jsx)("div",{children:(0,C.jsxs)("div",{className:"flex-column",style:{marginTop:"-10px",marginBottom:"200px"},children:[(0,C.jsx)("div",{className:"flex-column",style:{paddingBottom:"10px"},children:(0,C.jsx)(D.Z,{height:y.tq?35:50,width:y.tq?35:50})}),(0,C.jsx)("div",{style:{marginTop:"10px"},children:(0,C.jsx)("span",{style:{fontSize:y.tq?"17px":"22px",color:"#ff2600",fontWeight:"700"},children:"Please Wait"})})]})}),!we&&T.length>0&&!ke&&_t&&(0,C.jsxs)("div",{children:[(0,C.jsxs)("div",{style:{alignItems:"center",justifyContent:"center",display:"flex",fontSize:"18px",color:"lightblue",marginBottom:"25px",fontWeight:"700"},children:[(0,C.jsx)("span",{style:{marginRight:"5px"},children:"search results"}),(0,C.jsx)("button",{className:"button-tiny",onClick:function(){K(!0),lt("info"),pt("lightblue"),Ft(""),gt("Search results for your query")},children:(0,C.jsx)("div",{className:"material-icons smol",style:{color:"lightblue"},children:"info_outline"})})]}),(0,C.jsx)("div",{className:"list-container",style:{maxHeight:"520px",overflowY:"auto",marginBottom:"50px"},children:(0,C.jsx)(q.Z,{label:a&&!n||Xe!==t?"view":"edit",items:T,onItemClickStealth:function(e){je("".concat(e))},onItemClickPreview:function(e){he("".concat(e,":"))}})})]}),(0,C.jsxs)("div",{className:"flex-sans-direction",style:{color:"#ff2600",top:"auto",left:y.tq?"3.5%":"1%",bottom:10,position:"fixed"},children:[(0,C.jsx)("div",{className:"flex-row",style:{marginRight:y.tq?"5px":"15px"},children:(0,C.jsxs)("a",{href:"https://github.com/namesys-eth",className:"footer-text flex-row",target:"_blank",rel:"noreferrer",children:[(0,C.jsx)("span",{className:"material-icons",style:{marginRight:"5px",color:"#ff2600"},children:"source"}),(0,C.jsx)("span",{hidden:y.tq,children:"GitHub"})]})}),(0,C.jsx)("div",{className:"flex-row",children:(0,C.jsxs)("a",{href:"readme/readme.htm?src=https://namesys-eth.github.io/ccip2-eth-resources/GUIDE.md",className:"footer-text flex-row",target:"_blank",rel:"noreferrer",children:[(0,C.jsx)("span",{className:"material-icons",style:{marginRight:"5px",color:"#ff2600"},children:"info_outline"}),(0,C.jsx)("span",{hidden:y.tq,children:"Help"})]})})]}),(0,C.jsxs)("div",{id:"modal",children:[ie&&(0,C.jsx)(N.Z,{onClose:function(){return oe(!1)},show:ie,_ENS_:xe,chain:P.wU.chainId,handleParentTrigger:function(e){Kt((function(t){return _(_({},t),{},{trigger:e})}))},handleParentModalData:function(e){Kt((function(t){return _(_({},t),{},{modalData:e})}))}}),de&&(0,C.jsx)(b.Z,{onClose:function(){return ue(!1)},show:de,_ENS_:ve,chain:P.wU.chainId,handleParentTrigger:function(e){Vt((function(t){return _(_({},t),{},{trigger:e})}))},handleParentModalData:function(e){Vt((function(t){return _(_({},t),{},{modalData:e})}))}}),(0,C.jsx)(Z.Z,{onClose:function(){return F(!1)},show:M}),(0,C.jsx)(w.Z,{onClose:function(){return V(!1)},show:Y}),(0,C.jsx)(k.Z,{onClose:function(){Q(!1),Ae(""),Ge(""),tt(""),$e("")},color:"red",show:J&&"search"===yt&&!we,title:"block",children:ne}),(0,C.jsx)(S.Z,{color:ft,icon:ct,onClose:function(){return K(!1)},show:H,position:Mt,children:mt})]})]})})]})}},48312:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(55006)}])}},function(e){e.O(0,[8543,1731,8764,6724,8109,6845,9361,9774,2888,179],(function(){return t=48312,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file diff --git a/out/_next/static/chunks/webpack-f3550438b5914a35.js b/out/_next/static/chunks/webpack-f3550438b5914a35.js index 5406b892..90f361e7 100644 --- a/out/_next/static/chunks/webpack-f3550438b5914a35.js +++ b/out/_next/static/chunks/webpack-f3550438b5914a35.js @@ -1 +1 @@ -!function(){"use strict";var e={},t={};function n(r){var f=t[r];if(void 0!==f)return f.exports;var o=t[r]={id:r,loaded:!1,exports:{}},a=!0;try{e[r].call(o.exports,o,o.exports,n),a=!1}finally{a&&delete t[r]}return o.loaded=!0,o.exports}n.m=e,n.amdO={},function(){var e=[];n.O=function(t,r,f,o){if(!r){var a=1/0;for(d=0;d=o)&&Object.keys(n.O).every((function(e){return n.O[e](r[i])}))?r.splice(i--,1):(c=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[r,f,o]}}(),n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,f){if(1&f&&(r=this(r)),8&f)return r;if("object"===typeof r&&r){if(4&f&&r.__esModule)return r;if(16&f&&"function"===typeof r.then)return r}var o=Object.create(null);n.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&f&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((function(e){a[e]=function(){return r[e]}}));return a.default=function(){return r},n.d(o,a),o}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return 8764===e?"static/chunks/8764-593a836a579a1569.js":8109===e?"static/chunks/8109-b8b92f519975c722.js":"static/chunks/"+e+"."+{422:"f3ae5e81cac2c390",514:"d2f047fea62adf58",556:"bab5f5b7ff8ff120",704:"484bcd9e0a7f5626",794:"f18da82915d63734",934:"405a73de74b58e27",1088:"04d87f92e05f23c7",1608:"ec04f07937386922",1711:"ae2b84d9f5645069",1727:"af62bd633f21ee69",1748:"f63b451fd93f590b",1894:"cb9fc6e84f74d522",1950:"c8039f3dc9bb92f5",2027:"038de301f3a28eb2",2174:"f6baa39611ece47e",2393:"7fa35c587e17bdcc",2408:"65866dff31d90fde",2604:"250be1a3b8354750",2746:"0a838d09eabc5b43",2898:"f370a64b5af02f0b",3200:"07a96119d145f2e1",3525:"53072abba3ca74b8",3747:"d43c02005a549a55",4253:"6be69df622e36e45",4419:"c4f2007bfe36ec14",5119:"33e08a0525159056",5488:"ea86c6ce443ba3bd",5806:"7abe5840ceba140e",5811:"de38455bb64d9835",5939:"0a433dc6f963fc41",6237:"f7b1d24c812922e4",6253:"dcdff54f0dceda1f",6328:"ea13afa99496d818",6538:"b10481f17e2d2cf9",6551:"432f96462db0d036",6847:"a575059dbc72db1a",7682:"b0a3567fac8e0052",7749:"f08d55bab5fc0f34",8137:"d6c500ddcf42e542",8881:"8c985300b37d631a",9223:"882cd6b61a640a13",9343:"ccb30e1e9ae409dc",9894:"c93f7cb64c560417",9941:"44044767831d9eb0"}[e]+".js"},n.miniCssF=function(e){return"static/css/b355ced14f31177f.css"},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="_N_E:";n.l=function(r,f,o,a){if(e[r])e[r].push(f);else{var c,i;if(void 0!==o)for(var u=document.getElementsByTagName("script"),d=0;d=o)&&Object.keys(n.O).every((function(e){return n.O[e](r[i])}))?r.splice(i--,1):(c=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[r,f,o]}}(),n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,f){if(1&f&&(r=this(r)),8&f)return r;if("object"===typeof r&&r){if(4&f&&r.__esModule)return r;if(16&f&&"function"===typeof r.then)return r}var o=Object.create(null);n.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&f&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((function(e){a[e]=function(){return r[e]}}));return a.default=function(){return r},n.d(o,a),o}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return 8764===e?"static/chunks/8764-593a836a579a1569.js":8109===e?"static/chunks/8109-b8b92f519975c722.js":"static/chunks/"+e+"."+{422:"f3ae5e81cac2c390",514:"d2f047fea62adf58",556:"bab5f5b7ff8ff120",704:"484bcd9e0a7f5626",794:"f18da82915d63734",934:"405a73de74b58e27",1088:"04d87f92e05f23c7",1608:"ec04f07937386922",1711:"ae2b84d9f5645069",1727:"af62bd633f21ee69",1748:"f63b451fd93f590b",1894:"cb9fc6e84f74d522",1950:"c8039f3dc9bb92f5",2027:"038de301f3a28eb2",2174:"f6baa39611ece47e",2393:"7fa35c587e17bdcc",2408:"65866dff31d90fde",2604:"250be1a3b8354750",2746:"0a838d09eabc5b43",2898:"f370a64b5af02f0b",3200:"07a96119d145f2e1",3525:"53072abba3ca74b8",3747:"d43c02005a549a55",4253:"6be69df622e36e45",4419:"c4f2007bfe36ec14",5119:"33e08a0525159056",5488:"ea86c6ce443ba3bd",5806:"7abe5840ceba140e",5811:"de38455bb64d9835",5939:"0a433dc6f963fc41",6237:"f7b1d24c812922e4",6253:"dcdff54f0dceda1f",6328:"ea13afa99496d818",6538:"b10481f17e2d2cf9",6551:"432f96462db0d036",6847:"a575059dbc72db1a",7682:"b0a3567fac8e0052",7749:"f08d55bab5fc0f34",8137:"d6c500ddcf42e542",8881:"8c985300b37d631a",9223:"882cd6b61a640a13",9343:"ccb30e1e9ae409dc",9894:"c93f7cb64c560417",9941:"44044767831d9eb0"}[e]+".js"},n.miniCssF=function(e){return"static/css/b355ced14f31177f.css"},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="_N_E:";n.l=function(r,f,o,a){if(e[r])e[r].push(f);else{var c,i;if(void 0!==o)for(var u=document.getElementsByTagName("script"),d=0;d*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--cui-gutter-x) * .5);padding-left:calc(var(--cui-gutter-x) * .5);margin-top:var(--cui-gutter-y)}.badge{--cui-badge-padding-x:0.65em;--cui-badge-padding-y:0.35em;--cui-badge-font-size:0.75em;--cui-badge-font-weight:700;--cui-badge-color:hsla(0,0%,100%,.87);--cui-badge-border-radius:0.375rem;display:inline-block;padding:var(--cui-badge-padding-y) var(--cui-badge-padding-x);font-size:var(--cui-badge-font-size);font-weight:var(--cui-badge-font-weight);line-height:1;color:var(--cui-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--cui-badge-border-radius,0)}.badge:empty{display:none}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.modal .modal-inner{--cui-modal-zindex:5;--cui-modal-width:500px;--cui-modal-padding:1rem;--cui-modal-margin:0.5rem;--cui-modal-color:unset;--cui-modal-bg:#fff;--cui-modal-border-color:var(--cui-border-color-translucent);--cui-modal-border-width:1px;--cui-modal-border-radius:0.5rem;--cui-modal-box-shadow:0 0.125rem 0.25rem rgba(0,0,21,.075);--cui-modal-inner-border-radius:calc(0.5rem - 1px);--cui-modal-header-padding-x:1rem;--cui-modal-header-padding-y:1rem;--cui-modal-header-padding:1rem 1rem;--cui-modal-header-border-color:var(--cui-border-color);--cui-modal-header-border-width:1px;--cui-modal-title-line-height:1.5;--cui-modal-footer-gap:0.5rem;--cui-modal-footer-bg: ;--cui-modal-footer-border-color:var(--cui-border-color);--cui-modal-footer-border-width:1px;position:fixed;top:0;left:0;z-index:var(--cui-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}@media (min-width:576px){.modal .modal-inner{--cui-modal-margin:1.75rem;--cui-modal-box-shadow:0 0.5rem 1rem rgba(0,0,21,.15)}}@keyframes spinner-border{to{transform:rotate(1turn)}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentColor;opacity:.5}@keyframes placeholder-glow{50%{opacity:.2}}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0;mask-position:-200% 0}}.emphasis-smol{animation:blink-smol 3s linear infinite}.emphasis-smol:hover{animation:none;transform:scale(1.5)}@keyframes blink-smol{0%,to{opacity:1;transform:scale(1.5)}25%,75%{opacity:.75;transform:scale(1.25)}50%{opacity:0;transform:scale(1)}}.emphasis{animation:blink-guide 3s linear infinite}.emphasis:hover{animation:none}@keyframes blink-guide{0%,to{opacity:1;transform:scale(1.2)}25%,75%{opacity:.75;transform:scale(1.1)}50%{opacity:0;transform:scale(1)}}.blink{animation:blinker 1s linear infinite}@keyframes blinker{50%{opacity:0}}.icon{display:inline-block;color:inherit;text-align:center;vertical-align:-.125rem;fill:currentColor}.icon:not(.icon-c-s):not(.icon-custom-size){width:1rem;height:1rem;font-size:1rem}.border{border:var(--cui-border-width) var(--cui-border-style) var(--cui-border-color)!important}.scrollable-div::-webkit-scrollbar{width:12px}.scrollable-div::-webkit-scrollbar-track{background:#f1f1f163}.scrollable-div::-webkit-scrollbar-thumb,.scrollable-div::-webkit-scrollbar-thumb:hover{background:#ff8c56}.scrollable-div{scrollbar-width:thin;scrollbar-color:#ff5100 #f1f1f150}[data-rk] .iekbcc0{border:0;box-sizing:border-box;font-size:100%;line-height:normal;margin:0;padding:0;text-align:left;vertical-align:baseline;-webkit-tap-highlight-color:transparent}[data-rk] .iekbcc1{list-style:none}[data-rk] .iekbcc2{quotes:none}[data-rk] .iekbcc2:after,[data-rk] .iekbcc2:before{content:""}[data-rk] .iekbcc3{border-collapse:collapse;border-spacing:0}[data-rk] .iekbcc4{-webkit-appearance:none;-moz-appearance:none;appearance:none}[data-rk] .iekbcc5{outline:none}[data-rk] .iekbcc5::-moz-placeholder{opacity:1}[data-rk] .iekbcc5:-ms-input-placeholder{opacity:1}[data-rk] .iekbcc5::placeholder{opacity:1}[data-rk] .iekbcc6{background-color:transparent;color:inherit}[data-rk] .iekbcc7:disabled{opacity:1}[data-rk] .iekbcc7::-ms-expand,[data-rk] .iekbcc8::-ms-clear{display:none}[data-rk] .iekbcc8::-webkit-search-cancel-button{-webkit-appearance:none}[data-rk] .iekbcc9{background:none;cursor:pointer;text-align:left}[data-rk] .iekbcca{color:inherit;text-decoration:none}[data-rk] .ju367v0{align-items:flex-start}[data-rk] .ju367v2{align-items:flex-end}[data-rk] .ju367v4{align-items:center}[data-rk] .ju367v6{display:none}[data-rk] .ju367v6,[data-rk] .ju367v8{font-family:SF Mono;font-weight:600;letter-spacing:0;font-size:18px}[data-rk] .ju367v8{display:block}[data-rk] .ju367va{display:flex}[data-rk] .ju367vc{display:inline}[data-rk] .ju367ve{align-self:flex-start}[data-rk] .ju367vf{align-self:flex-end}[data-rk] .ju367vg{align-self:center}[data-rk] .ju367vh{background-size:cover}[data-rk] .ju367vi{border-radius:1px}[data-rk] .ju367vj{border-radius:6px}[data-rk] .ju367vk{border-radius:10px}[data-rk] .ju367vl{border-radius:13px}[data-rk] .ju367vm{border-radius:var(--rk-radii-actionButton)}[data-rk] .ju367vn{border-radius:var(--rk-radii-connectButton)}[data-rk] .ju367vo{border-radius:var(--rk-radii-menuButton)}[data-rk] .ju367vp{border-radius:var(--rk-radii-modal)}[data-rk] .ju367vq{border-radius:var(--rk-radii-modalMobile)}[data-rk] .ju367vr{border-radius:25%}[data-rk] .ju367vs{border-radius:9999px}[data-rk] .ju367vt{border-style:solid}[data-rk] .ju367vu{border-width:0}[data-rk] .ju367vv{border-width:1px}[data-rk] .ju367vw{border-width:2px}[data-rk] .ju367vx{border-width:4px}[data-rk] .ju367vy{cursor:pointer}[data-rk] .ju367vz{flex-direction:row}[data-rk] .ju367v10{flex-direction:column}[data-rk] .ju367v11{font-family:var(--rk-fonts-body)}[data-rk] .ju367v12{font-size:12px;line-height:18px}[data-rk] .ju367v13{font-size:13px;line-height:18px}[data-rk] .ju367v14{font-size:14px;line-height:18px}[data-rk] .ju367v15{font-size:16px;line-height:20px}[data-rk] .ju367v16{font-size:18px;line-height:24px}[data-rk] .ju367v17{font-size:20px;line-height:24px}[data-rk] .ju367v18{font-size:23px;line-height:29px}[data-rk] .ju367v19{font-weight:400}[data-rk] .ju367v1a{font-weight:500}[data-rk] .ju367v1b{font-weight:600}[data-rk] .ju367v1c{font-weight:700}[data-rk] .ju367v1d{font-weight:800}[data-rk] .ju367v1e{gap:0}[data-rk] .ju367v1f{gap:1px}[data-rk] .ju367v1g{gap:2px}[data-rk] .ju367v1h{gap:3px}[data-rk] .ju367v1i{gap:4px}[data-rk] .ju367v1j{gap:5px}[data-rk] .ju367v1k{gap:6px}[data-rk] .ju367v1l{gap:8px}[data-rk] .ju367v1m{gap:10px}[data-rk] .ju367v1n{gap:12px}[data-rk] .ju367v1o{gap:14px}[data-rk] .ju367v1p{gap:16px}[data-rk] .ju367v1q{gap:18px}[data-rk] .ju367v1r{gap:20px}[data-rk] .ju367v1s{gap:24px}[data-rk] .ju367v1t{gap:28px}[data-rk] .ju367v1u{gap:32px}[data-rk] .ju367v1v{gap:36px}[data-rk] .ju367v1w{gap:44px}[data-rk] .ju367v1x{gap:64px}[data-rk] .ju367v1y{gap:-1px}[data-rk] .ju367v1z{height:1px}[data-rk] .ju367v20{height:2px}[data-rk] .ju367v21{height:4px}[data-rk] .ju367v22{height:8px}[data-rk] .ju367v23{height:12px}[data-rk] .ju367v24{height:20px}[data-rk] .ju367v25{height:24px}[data-rk] .ju367v26{height:28px}[data-rk] .ju367v27{height:30px}[data-rk] .ju367v28{height:32px}[data-rk] .ju367v29{height:34px}[data-rk] .ju367v2a{height:36px}[data-rk] .ju367v2b{height:40px}[data-rk] .ju367v2c{height:44px}[data-rk] .ju367v2d{height:48px}[data-rk] .ju367v2e{height:54px}[data-rk] .ju367v2f{height:60px}[data-rk] .ju367v2g{height:200px}[data-rk] .ju367v2h{height:100%}[data-rk] .ju367v2i{height:-moz-max-content;height:max-content}[data-rk] .ju367v2j{justify-content:flex-start}[data-rk] .ju367v2k{justify-content:flex-end}[data-rk] .ju367v2l{justify-content:center}[data-rk] .ju367v2m{justify-content:space-between}[data-rk] .ju367v2n{justify-content:space-around}[data-rk] .ju367v2o{text-align:left}[data-rk] .ju367v2p{text-align:center}[data-rk] .ju367v2q{text-align:inherit}[data-rk] .ju367v2r{margin-bottom:0}[data-rk] .ju367v2s{margin-bottom:1px}[data-rk] .ju367v2t{margin-bottom:2px}[data-rk] .ju367v2u{margin-bottom:3px}[data-rk] .ju367v2v{margin-bottom:4px}[data-rk] .ju367v2w{margin-bottom:5px}[data-rk] .ju367v2x{margin-bottom:6px}[data-rk] .ju367v2y{margin-bottom:8px}[data-rk] .ju367v2z{margin-bottom:10px}[data-rk] .ju367v30{margin-bottom:12px}[data-rk] .ju367v31{margin-bottom:14px}[data-rk] .ju367v32{margin-bottom:16px}[data-rk] .ju367v33{margin-bottom:18px}[data-rk] .ju367v34{margin-bottom:20px}[data-rk] .ju367v35{margin-bottom:24px}[data-rk] .ju367v36{margin-bottom:28px}[data-rk] .ju367v37{margin-bottom:32px}[data-rk] .ju367v38{margin-bottom:36px}[data-rk] .ju367v39{margin-bottom:44px}[data-rk] .ju367v3a{margin-bottom:64px}[data-rk] .ju367v3b{margin-bottom:-1px}[data-rk] .ju367v3c{margin-left:0}[data-rk] .ju367v3d{margin-left:1px}[data-rk] .ju367v3e{margin-left:2px}[data-rk] .ju367v3f{margin-left:3px}[data-rk] .ju367v3g{margin-left:4px}[data-rk] .ju367v3h{margin-left:5px}[data-rk] .ju367v3i{margin-left:6px}[data-rk] .ju367v3j{margin-left:8px}[data-rk] .ju367v3k{margin-left:10px}[data-rk] .ju367v3l{margin-left:12px}[data-rk] .ju367v3m{margin-left:14px}[data-rk] .ju367v3n{margin-left:16px}[data-rk] .ju367v3o{margin-left:18px}[data-rk] .ju367v3p{margin-left:20px}[data-rk] .ju367v3q{margin-left:24px}[data-rk] .ju367v3r{margin-left:28px}[data-rk] .ju367v3s{margin-left:32px}[data-rk] .ju367v3t{margin-left:36px}[data-rk] .ju367v3u{margin-left:44px}[data-rk] .ju367v3v{margin-left:64px}[data-rk] .ju367v3w{margin-left:-1px}[data-rk] .ju367v3x{margin-right:0}[data-rk] .ju367v3y{margin-right:1px}[data-rk] .ju367v3z{margin-right:2px}[data-rk] .ju367v40{margin-right:3px}[data-rk] .ju367v41{margin-right:4px}[data-rk] .ju367v42{margin-right:5px}[data-rk] .ju367v43{margin-right:6px}[data-rk] .ju367v44{margin-right:8px}[data-rk] .ju367v45{margin-right:10px}[data-rk] .ju367v46{margin-right:12px}[data-rk] .ju367v47{margin-right:14px}[data-rk] .ju367v48{margin-right:16px}[data-rk] .ju367v49{margin-right:18px}[data-rk] .ju367v4a{margin-right:20px}[data-rk] .ju367v4b{margin-right:24px}[data-rk] .ju367v4c{margin-right:28px}[data-rk] .ju367v4d{margin-right:32px}[data-rk] .ju367v4e{margin-right:36px}[data-rk] .ju367v4f{margin-right:44px}[data-rk] .ju367v4g{margin-right:64px}[data-rk] .ju367v4h{margin-right:-1px}[data-rk] .ju367v4i{margin-top:0}[data-rk] .ju367v4j{margin-top:1px}[data-rk] .ju367v4k{margin-top:2px}[data-rk] .ju367v4l{margin-top:3px}[data-rk] .ju367v4m{margin-top:4px}[data-rk] .ju367v4n{margin-top:5px}[data-rk] .ju367v4o{margin-top:6px}[data-rk] .ju367v4p{margin-top:8px}[data-rk] .ju367v4q{margin-top:10px}[data-rk] .ju367v4r{margin-top:12px}[data-rk] .ju367v4s{margin-top:14px}[data-rk] .ju367v4t{margin-top:16px}[data-rk] .ju367v4u{margin-top:18px}[data-rk] .ju367v4v{margin-top:20px}[data-rk] .ju367v4w{margin-top:24px}[data-rk] .ju367v4x{margin-top:28px}[data-rk] .ju367v4y{margin-top:32px}[data-rk] .ju367v4z{margin-top:36px}[data-rk] .ju367v50{margin-top:44px}[data-rk] .ju367v51{margin-top:64px}[data-rk] .ju367v52{margin-top:-1px}[data-rk] .ju367v53{max-width:1px}[data-rk] .ju367v54{max-width:2px}[data-rk] .ju367v55{max-width:4px}[data-rk] .ju367v56{max-width:8px}[data-rk] .ju367v57{max-width:12px}[data-rk] .ju367v58{max-width:20px}[data-rk] .ju367v59{max-width:24px}[data-rk] .ju367v5a{max-width:28px}[data-rk] .ju367v5b{max-width:30px}[data-rk] .ju367v5c{max-width:32px}[data-rk] .ju367v5d{max-width:34px}[data-rk] .ju367v5e{max-width:36px}[data-rk] .ju367v5f{max-width:40px}[data-rk] .ju367v5g{max-width:44px}[data-rk] .ju367v5h{max-width:48px}[data-rk] .ju367v5i{max-width:54px}[data-rk] .ju367v5j{max-width:60px}[data-rk] .ju367v5k{max-width:200px}[data-rk] .ju367v5l{max-width:100%}[data-rk] .ju367v5m{max-width:-moz-max-content;max-width:max-content}[data-rk] .ju367v5n{min-width:1px}[data-rk] .ju367v5o{min-width:2px}[data-rk] .ju367v5p{min-width:4px}[data-rk] .ju367v5q{min-width:8px}[data-rk] .ju367v5r{min-width:12px}[data-rk] .ju367v5s{min-width:20px}[data-rk] .ju367v5t{min-width:24px}[data-rk] .ju367v5u{min-width:28px}[data-rk] .ju367v5v{min-width:30px}[data-rk] .ju367v5w{min-width:32px}[data-rk] .ju367v5x{min-width:34px}[data-rk] .ju367v5y{min-width:36px}[data-rk] .ju367v5z{min-width:40px}[data-rk] .ju367v60{min-width:44px}[data-rk] .ju367v61{min-width:48px}[data-rk] .ju367v62{min-width:54px}[data-rk] .ju367v63{min-width:60px}[data-rk] .ju367v64{min-width:200px}[data-rk] .ju367v65{min-width:100%}[data-rk] .ju367v66{min-width:-moz-max-content;min-width:max-content}[data-rk] .ju367v67{overflow:hidden}[data-rk] .ju367v68{padding-bottom:0}[data-rk] .ju367v69{padding-bottom:1px}[data-rk] .ju367v6a{padding-bottom:2px}[data-rk] .ju367v6b{padding-bottom:3px}[data-rk] .ju367v6c{padding-bottom:4px}[data-rk] .ju367v6d{padding-bottom:5px}[data-rk] .ju367v6e{padding-bottom:6px}[data-rk] .ju367v6f{padding-bottom:8px;font-family:SF Mono;font-weight:600;letter-spacing:0;font-size:18px}[data-rk] .ju367v6g{padding-bottom:10px}[data-rk] .ju367v6h{padding-bottom:12px}[data-rk] .ju367v6i{padding-bottom:14px}[data-rk] .ju367v6j{padding-bottom:16px}[data-rk] .ju367v6k{padding-bottom:18px}[data-rk] .ju367v6l{padding-bottom:20px}[data-rk] .ju367v6m{padding-bottom:24px}[data-rk] .ju367v6n{padding-bottom:28px}[data-rk] .ju367v6o{padding-bottom:32px}[data-rk] .ju367v6p{padding-bottom:36px}[data-rk] .ju367v6q{padding-bottom:44px}[data-rk] .ju367v6r{padding-bottom:64px}[data-rk] .ju367v6s{padding-bottom:-1px}[data-rk] .ju367v6t{padding-left:0}[data-rk] .ju367v6u{padding-left:1px}[data-rk] .ju367v6v{padding-left:2px}[data-rk] .ju367v6w{padding-left:3px}[data-rk] .ju367v6x{padding-left:4px}[data-rk] .ju367v6y{padding-left:5px}[data-rk] .ju367v6z{padding-left:6px}[data-rk] .ju367v70{padding-left:8px}[data-rk] .ju367v71{padding-left:10px}[data-rk] .ju367v72{padding-left:12px;font-family:SF Mono;font-weight:600;letter-spacing:0;font-size:18px}[data-rk] .ju367v73{padding-left:14px}[data-rk] .ju367v74{padding-left:16px}[data-rk] .ju367v75{padding-left:18px}[data-rk] .ju367v76{padding-left:20px}[data-rk] .ju367v77{padding-left:24px}[data-rk] .ju367v78{padding-left:28px}[data-rk] .ju367v79{padding-left:32px}[data-rk] .ju367v7a{padding-left:36px}[data-rk] .ju367v7b{padding-left:44px}[data-rk] .ju367v7c{padding-left:64px}[data-rk] .ju367v7d{padding-left:-1px}[data-rk] .ju367v7e{padding-right:0}[data-rk] .ju367v7f{padding-right:1px}[data-rk] .ju367v7g{padding-right:2px}[data-rk] .ju367v7h{padding-right:3px}[data-rk] .ju367v7i{padding-right:4px}[data-rk] .ju367v7j{padding-right:5px}[data-rk] .ju367v7k{padding-right:6px}[data-rk] .ju367v7l{padding-right:8px;font-family:SF Mono;font-weight:600;letter-spacing:0;font-size:18px}[data-rk] .ju367v7m{padding-right:10px}[data-rk] .ju367v7n{padding-right:12px}[data-rk] .ju367v7o{padding-right:14px}[data-rk] .ju367v7p{padding-right:16px}[data-rk] .ju367v7q{padding-right:18px}[data-rk] .ju367v7r{padding-right:20px}[data-rk] .ju367v7s{padding-right:24px}[data-rk] .ju367v7t{padding-right:28px}[data-rk] .ju367v7u{padding-right:32px}[data-rk] .ju367v7v{padding-right:36px}[data-rk] .ju367v7w{padding-right:44px}[data-rk] .ju367v7x{padding-right:64px}[data-rk] .ju367v7y{padding-right:-1px}[data-rk] .ju367v7z{padding-top:0}[data-rk] .ju367v80{padding-top:1px;font-family:SF Mono;font-weight:600;letter-spacing:0;font-size:18px}[data-rk] .ju367v81{padding-top:2px}[data-rk] .ju367v82{padding-top:3px}[data-rk] .ju367v83{padding-top:4px}[data-rk] .ju367v84{padding-top:5px}[data-rk] .ju367v85{padding-top:6px}[data-rk] .ju367v86{padding-top:8px;font-family:SF Mono;font-weight:600;letter-spacing:0;font-size:18px}[data-rk] .ju367v87{padding-top:10px}[data-rk] .ju367v88{padding-top:12px}[data-rk] .ju367v89{padding-top:14px}[data-rk] .ju367v8a{padding-top:16px}[data-rk] .ju367v8b{padding-top:18px}[data-rk] .ju367v8c{padding-top:20px}[data-rk] .ju367v8d{padding-top:24px}[data-rk] .ju367v8e{padding-top:28px}[data-rk] .ju367v8f{padding-top:32px}[data-rk] .ju367v8g{padding-top:36px}[data-rk] .ju367v8h{padding-top:44px}[data-rk] .ju367v8i{padding-top:64px}[data-rk] .ju367v8j{padding-top:-1px}[data-rk] .ju367v8k{position:absolute}[data-rk] .ju367v8l{position:fixed}[data-rk] .ju367v8m{position:relative;font-family:Spotnik}[data-rk] .ju367v8n{right:0}[data-rk] .ju367v8o{transition:.125s ease}[data-rk] .ju367v8p{transition:transform .125s ease}[data-rk] .ju367v8q{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-rk] .ju367v8r{width:1px}[data-rk] .ju367v8s{width:2px}[data-rk] .ju367v8t{width:4px}[data-rk] .ju367v8u{width:8px}[data-rk] .ju367v8v{width:12px}[data-rk] .ju367v8w{width:20px}[data-rk] .ju367v8x{width:24px}[data-rk] .ju367v8y{width:28px}[data-rk] .ju367v8z{width:30px}[data-rk] .ju367v90{width:32px}[data-rk] .ju367v91{width:34px}[data-rk] .ju367v92{width:36px}[data-rk] .ju367v93{width:40px}[data-rk] .ju367v94{width:44px}[data-rk] .ju367v95{width:48px}[data-rk] .ju367v96{width:54px}[data-rk] .ju367v97{width:60px}[data-rk] .ju367v98{width:200px}[data-rk] .ju367v99{width:100%}[data-rk] .ju367v9a{width:-moz-max-content;width:max-content}[data-rk] .ju367v9b{-webkit-backdrop-filter:var(--rk-blurs-modalOverlay);backdrop-filter:var(--rk-blurs-modalOverlay)}[data-rk] .ju367v9c,[data-rk] .ju367v9d:hover,[data-rk] .ju367v9e:active{background:var(--rk-colors-accentColor)}[data-rk] .ju367v9f,[data-rk] .ju367v9g:hover,[data-rk] .ju367v9h:active{background:var(--rk-colors-accentColorForeground)}[data-rk] .ju367v9i,[data-rk] .ju367v9j:hover,[data-rk] .ju367v9k:active{background:var(--rk-colors-actionButtonBorder)}[data-rk] .ju367v9l,[data-rk] .ju367v9m:hover,[data-rk] .ju367v9n:active{background:var(--rk-colors-actionButtonBorderMobile)}[data-rk] .ju367v9o,[data-rk] .ju367v9p:hover,[data-rk] .ju367v9q:active{background:var(--rk-colors-actionButtonSecondaryBackground)}[data-rk] .ju367v9r,[data-rk] .ju367v9s:hover,[data-rk] .ju367v9t:active{background:var(--rk-colors-closeButton)}[data-rk] .ju367v9u,[data-rk] .ju367v9v:hover,[data-rk] .ju367v9w:active{background:var(--rk-colors-closeButtonBackground)}[data-rk] .ju367v9x,[data-rk] .ju367v9y:hover,[data-rk] .ju367v9z:active{background:var(--rk-colors-connectButtonBackground)}[data-rk] .ju367va0,[data-rk] .ju367va1:hover,[data-rk] .ju367va2:active{background:var(--rk-colors-connectButtonBackgroundError)}[data-rk] .ju367va3,[data-rk] .ju367va4:hover,[data-rk] .ju367va5:active{background:var(--rk-colors-connectButtonInnerBackground)}[data-rk] .ju367va6,[data-rk] .ju367va7:hover,[data-rk] .ju367va8:active{background:var(--rk-colors-connectButtonText)}[data-rk] .ju367va9,[data-rk] .ju367vaa:hover,[data-rk] .ju367vab:active{background:var(--rk-colors-connectButtonTextError)}[data-rk] .ju367vac,[data-rk] .ju367vad:hover,[data-rk] .ju367vae:active{background:var(--rk-colors-connectionIndicator)}[data-rk] .ju367vaf,[data-rk] .ju367vag:hover,[data-rk] .ju367vah:active{background:var(--rk-colors-downloadBottomCardBackground)}[data-rk] .ju367vai,[data-rk] .ju367vaj:hover,[data-rk] .ju367vak:active{background:var(--rk-colors-downloadTopCardBackground)}[data-rk] .ju367val,[data-rk] .ju367vam:hover,[data-rk] .ju367van:active{background:var(--rk-colors-error)}[data-rk] .ju367vao,[data-rk] .ju367vap:hover,[data-rk] .ju367vaq:active{background:var(--rk-colors-generalBorder)}[data-rk] .ju367var,[data-rk] .ju367vas:hover,[data-rk] .ju367vat:active{background:var(--rk-colors-generalBorderDim)}[data-rk] .ju367vau,[data-rk] .ju367vav:hover,[data-rk] .ju367vaw:active{background:var(--rk-colors-menuItemBackground)}[data-rk] .ju367vax,[data-rk] .ju367vay:hover,[data-rk] .ju367vaz:active{background:var(--rk-colors-modalBackdrop)}[data-rk] .ju367vb0,[data-rk] .ju367vb1:hover,[data-rk] .ju367vb2:active{background:var(--rk-colors-modalBackground)}[data-rk] .ju367vb3,[data-rk] .ju367vb4:hover,[data-rk] .ju367vb5:active{background:var(--rk-colors-modalBorder)}[data-rk] .ju367vb6,[data-rk] .ju367vb7:hover,[data-rk] .ju367vb8:active{background:var(--rk-colors-modalText)}[data-rk] .ju367vb9,[data-rk] .ju367vba:hover,[data-rk] .ju367vbb:active{background:var(--rk-colors-modalTextDim)}[data-rk] .ju367vbc,[data-rk] .ju367vbd:hover,[data-rk] .ju367vbe:active{background:var(--rk-colors-modalTextSecondary)}[data-rk] .ju367vbf,[data-rk] .ju367vbg:hover,[data-rk] .ju367vbh:active{background:var(--rk-colors-profileAction)}[data-rk] .ju367vbi,[data-rk] .ju367vbj:hover,[data-rk] .ju367vbk:active{background:var(--rk-colors-profileActionHover)}[data-rk] .ju367vbl,[data-rk] .ju367vbm:hover,[data-rk] .ju367vbn:active{background:var(--rk-colors-profileForeground)}[data-rk] .ju367vbo,[data-rk] .ju367vbp:hover,[data-rk] .ju367vbq:active{background:var(--rk-colors-selectedOptionBorder)}[data-rk] .ju367vbr,[data-rk] .ju367vbs:hover,[data-rk] .ju367vbt:active{background:var(--rk-colors-standby)}[data-rk] .ju367vbu,[data-rk] .ju367vbv:hover,[data-rk] .ju367vbw:active{border-color:var(--rk-colors-accentColor)}[data-rk] .ju367vbx,[data-rk] .ju367vby:hover,[data-rk] .ju367vbz:active{border-color:var(--rk-colors-accentColorForeground)}[data-rk] .ju367vc0,[data-rk] .ju367vc1:hover,[data-rk] .ju367vc2:active{border-color:var(--rk-colors-actionButtonBorder)}[data-rk] .ju367vc3,[data-rk] .ju367vc4:hover,[data-rk] .ju367vc5:active{border-color:var(--rk-colors-actionButtonBorderMobile)}[data-rk] .ju367vc6,[data-rk] .ju367vc7:hover,[data-rk] .ju367vc8:active{border-color:var(--rk-colors-actionButtonSecondaryBackground)}[data-rk] .ju367vc9,[data-rk] .ju367vca:hover,[data-rk] .ju367vcb:active{border-color:var(--rk-colors-closeButton)}[data-rk] .ju367vcc,[data-rk] .ju367vcd:hover,[data-rk] .ju367vce:active{border-color:var(--rk-colors-closeButtonBackground)}[data-rk] .ju367vcf,[data-rk] .ju367vcg:hover,[data-rk] .ju367vch:active{border-color:var(--rk-colors-connectButtonBackground)}[data-rk] .ju367vci,[data-rk] .ju367vcj:hover,[data-rk] .ju367vck:active{border-color:var(--rk-colors-connectButtonBackgroundError)}[data-rk] .ju367vcl,[data-rk] .ju367vcm:hover,[data-rk] .ju367vcn:active{border-color:var(--rk-colors-connectButtonInnerBackground)}[data-rk] .ju367vco,[data-rk] .ju367vcp:hover,[data-rk] .ju367vcq:active{border-color:var(--rk-colors-connectButtonText)}[data-rk] .ju367vcr,[data-rk] .ju367vcs:hover,[data-rk] .ju367vct:active{border-color:var(--rk-colors-connectButtonTextError)}[data-rk] .ju367vcu,[data-rk] .ju367vcv:hover,[data-rk] .ju367vcw:active{border-color:var(--rk-colors-connectionIndicator)}[data-rk] .ju367vcx,[data-rk] .ju367vcy:hover,[data-rk] .ju367vcz:active{border-color:var(--rk-colors-downloadBottomCardBackground)}[data-rk] .ju367vd0,[data-rk] .ju367vd1:hover,[data-rk] .ju367vd2:active{border-color:var(--rk-colors-downloadTopCardBackground)}[data-rk] .ju367vd3,[data-rk] .ju367vd4:hover,[data-rk] .ju367vd5:active{border-color:var(--rk-colors-error)}[data-rk] .ju367vd6,[data-rk] .ju367vd7:hover,[data-rk] .ju367vd8:active{border-color:var(--rk-colors-generalBorder)}[data-rk] .ju367vd9,[data-rk] .ju367vda:hover,[data-rk] .ju367vdb:active{border-color:var(--rk-colors-generalBorderDim)}[data-rk] .ju367vdc,[data-rk] .ju367vdd:hover,[data-rk] .ju367vde:active{border-color:var(--rk-colors-menuItemBackground)}[data-rk] .ju367vdf,[data-rk] .ju367vdg:hover,[data-rk] .ju367vdh:active{border-color:var(--rk-colors-modalBackdrop)}[data-rk] .ju367vdi,[data-rk] .ju367vdj:hover,[data-rk] .ju367vdk:active{border-color:var(--rk-colors-modalBackground)}[data-rk] .ju367vdl,[data-rk] .ju367vdm:hover,[data-rk] .ju367vdn:active{border-color:var(--rk-colors-modalBorder)}[data-rk] .ju367vdo,[data-rk] .ju367vdp:hover,[data-rk] .ju367vdq:active{border-color:var(--rk-colors-modalText)}[data-rk] .ju367vdr,[data-rk] .ju367vds:hover,[data-rk] .ju367vdt:active{border-color:var(--rk-colors-modalTextDim)}[data-rk] .ju367vdu,[data-rk] .ju367vdv:hover,[data-rk] .ju367vdw:active{border-color:var(--rk-colors-modalTextSecondary)}[data-rk] .ju367vdx,[data-rk] .ju367vdy:hover,[data-rk] .ju367vdz:active{border-color:var(--rk-colors-profileAction)}[data-rk] .ju367ve0,[data-rk] .ju367ve1:hover,[data-rk] .ju367ve2:active{border-color:var(--rk-colors-profileActionHover)}[data-rk] .ju367ve3,[data-rk] .ju367ve4:hover,[data-rk] .ju367ve5:active{border-color:var(--rk-colors-profileForeground)}[data-rk] .ju367ve6,[data-rk] .ju367ve7:hover,[data-rk] .ju367ve8:active{border-color:var(--rk-colors-selectedOptionBorder)}[data-rk] .ju367ve9,[data-rk] .ju367vea:hover,[data-rk] .ju367veb:active{border-color:var(--rk-colors-standby)}[data-rk] .ju367vec,[data-rk] .ju367ved:hover,[data-rk] .ju367vee:active{box-shadow:var(--rk-shadows-connectButton)}[data-rk] .ju367vef,[data-rk] .ju367veg:hover,[data-rk] .ju367veh:active{box-shadow:var(--rk-shadows-dialog)}[data-rk] .ju367vei,[data-rk] .ju367vej:hover,[data-rk] .ju367vek:active{box-shadow:var(--rk-shadows-profileDetailsAction)}[data-rk] .ju367vel,[data-rk] .ju367vem:hover,[data-rk] .ju367ven:active{box-shadow:var(--rk-shadows-selectedOption)}[data-rk] .ju367veo,[data-rk] .ju367vep:hover,[data-rk] .ju367veq:active{box-shadow:var(--rk-shadows-selectedWallet)}[data-rk] .ju367ver,[data-rk] .ju367ves:hover,[data-rk] .ju367vet:active{box-shadow:var(--rk-shadows-walletLogo)}[data-rk] .ju367veu,[data-rk] .ju367vev:hover,[data-rk] .ju367vew:active{color:var(--rk-colors-accentColor)}[data-rk] .ju367vex,[data-rk] .ju367vey:hover,[data-rk] .ju367vez:active{color:var(--rk-colors-accentColorForeground)}[data-rk] .ju367vf0,[data-rk] .ju367vf1:hover,[data-rk] .ju367vf2:active{color:var(--rk-colors-actionButtonBorder)}[data-rk] .ju367vf3,[data-rk] .ju367vf4:hover,[data-rk] .ju367vf5:active{color:var(--rk-colors-actionButtonBorderMobile)}[data-rk] .ju367vf6,[data-rk] .ju367vf7:hover,[data-rk] .ju367vf8:active{color:var(--rk-colors-actionButtonSecondaryBackground)}[data-rk] .ju367vf9,[data-rk] .ju367vfa:hover,[data-rk] .ju367vfb:active{color:var(--rk-colors-closeButton)}[data-rk] .ju367vfc,[data-rk] .ju367vfd:hover,[data-rk] .ju367vfe:active{color:var(--rk-colors-closeButtonBackground)}[data-rk] .ju367vff,[data-rk] .ju367vfg:hover,[data-rk] .ju367vfh:active{color:var(--rk-colors-connectButtonBackground)}[data-rk] .ju367vfi,[data-rk] .ju367vfj:hover,[data-rk] .ju367vfk:active{color:var(--rk-colors-connectButtonBackgroundError)}[data-rk] .ju367vfl,[data-rk] .ju367vfm:hover,[data-rk] .ju367vfn:active{color:var(--rk-colors-connectButtonInnerBackground)}[data-rk] .ju367vfo,[data-rk] .ju367vfp:hover,[data-rk] .ju367vfq:active{color:var(--rk-colors-connectButtonText)}[data-rk] .ju367vfr,[data-rk] .ju367vfs:hover,[data-rk] .ju367vft:active{color:var(--rk-colors-connectButtonTextError)}[data-rk] .ju367vfu,[data-rk] .ju367vfv:hover,[data-rk] .ju367vfw:active{color:var(--rk-colors-connectionIndicator)}[data-rk] .ju367vfx,[data-rk] .ju367vfy:hover,[data-rk] .ju367vfz:active{color:var(--rk-colors-downloadBottomCardBackground)}[data-rk] .ju367vg0,[data-rk] .ju367vg1:hover,[data-rk] .ju367vg2:active{color:var(--rk-colors-downloadTopCardBackground)}[data-rk] .ju367vg3,[data-rk] .ju367vg4:hover,[data-rk] .ju367vg5:active{color:var(--rk-colors-error)}[data-rk] .ju367vg6,[data-rk] .ju367vg7:hover,[data-rk] .ju367vg8:active{color:var(--rk-colors-generalBorder)}[data-rk] .ju367vg9,[data-rk] .ju367vga:hover,[data-rk] .ju367vgb:active{color:var(--rk-colors-generalBorderDim)}[data-rk] .ju367vgc,[data-rk] .ju367vgd:hover,[data-rk] .ju367vge:active{color:var(--rk-colors-menuItemBackground)}[data-rk] .ju367vgf,[data-rk] .ju367vgg:hover,[data-rk] .ju367vgh:active{color:var(--rk-colors-modalBackdrop)}[data-rk] .ju367vgi,[data-rk] .ju367vgj:hover,[data-rk] .ju367vgk:active{color:var(--rk-colors-modalBackground)}[data-rk] .ju367vgl,[data-rk] .ju367vgm:hover,[data-rk] .ju367vgn:active{color:var(--rk-colors-modalBorder)}[data-rk] .ju367vgo,[data-rk] .ju367vgp:hover,[data-rk] .ju367vgq:active{color:var(--rk-colors-modalText)}[data-rk] .ju367vgr,[data-rk] .ju367vgs:hover,[data-rk] .ju367vgt:active{color:var(--rk-colors-modalTextDim)}[data-rk] .ju367vgu,[data-rk] .ju367vgv:hover,[data-rk] .ju367vgw:active{color:var(--rk-colors-modalTextSecondary)}[data-rk] .ju367vgx,[data-rk] .ju367vgy:hover,[data-rk] .ju367vgz:active{color:var(--rk-colors-profileAction)}[data-rk] .ju367vh0,[data-rk] .ju367vh1:hover,[data-rk] .ju367vh2:active{color:var(--rk-colors-profileActionHover)}[data-rk] .ju367vh3,[data-rk] .ju367vh4:hover,[data-rk] .ju367vh5:active{color:var(--rk-colors-profileForeground)}[data-rk] .ju367vh6,[data-rk] .ju367vh7:hover,[data-rk] .ju367vh8:active{color:var(--rk-colors-selectedOptionBorder)}[data-rk] .ju367vh9,[data-rk] .ju367vha:hover,[data-rk] .ju367vhb:active{color:var(--rk-colors-standby)}@media screen and (min-width:768px){[data-rk] .ju367v1{align-items:flex-start}[data-rk] .ju367v3{align-items:flex-end}[data-rk] .ju367v5{align-items:center}[data-rk] .ju367v7{display:none}[data-rk] .ju367v9{display:block;font-family:SF Mono;font-weight:600;letter-spacing:0;font-size:18px}[data-rk] .ju367vb{display:flex}[data-rk] .ju367vd{display:inline}}[data-rk] ._12cbo8i3,[data-rk] ._12cbo8i3:after{--_12cbo8i0:1;--_12cbo8i1:1}[data-rk] ._12cbo8i3:hover{transform:scale(var(--_12cbo8i0))}[data-rk] ._12cbo8i3:active{transform:scale(var(--_12cbo8i1))}[data-rk] ._12cbo8i3:active:after{content:"";bottom:-1px;display:block;left:-1px;position:absolute;right:-1px;top:-1px;transform:scale(calc((1 / var(--_12cbo8i1)) * var(--_12cbo8i0)))}[data-rk] ._12cbo8i4,[data-rk] ._12cbo8i4:after{--_12cbo8i0:1.025}[data-rk] ._12cbo8i5,[data-rk] ._12cbo8i5:after{--_12cbo8i0:1.1}[data-rk] ._12cbo8i6,[data-rk] ._12cbo8i6:after{--_12cbo8i1:0.95}[data-rk] ._12cbo8i7,[data-rk] ._12cbo8i7:after{--_12cbo8i1:0.9}@keyframes _1luule41{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}[data-rk] ._1luule42{animation:_1luule41 3s linear infinite}[data-rk] ._1luule43{background:conic-gradient(from 180deg at 50% 50%,rgba(72,146,254,0) 0deg,currentColor 282.04deg,rgba(72,146,254,0) 319.86deg,rgba(72,146,254,0) 1turn);height:21px;width:21px}@keyframes _9pm4ki0{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes _9pm4ki1{0%{opacity:0}to{opacity:1}}[data-rk] ._9pm4ki3{animation:_9pm4ki1 .15s ease;bottom:-200px;left:-200px;padding:200px;right:-200px;top:-200px;transform:translateZ(0);z-index:2147483646}[data-rk] ._9pm4ki5{animation:_9pm4ki0 .35s cubic-bezier(.15,1.15,.6,1),_9pm4ki1 .15s ease;max-width:100vw}[data-rk] ._1ckjpok1{box-sizing:content-box;max-width:100vw;width:360px}[data-rk] ._1ckjpok2{width:100vw}[data-rk] ._1ckjpok3{width:768px}[data-rk] ._1ckjpok4{min-width:368px;width:368px}[data-rk] ._1ckjpok6{border-width:0;box-sizing:border-box;width:100vw}@media screen and (min-width:768px){[data-rk] ._1ckjpok1{width:360px}[data-rk] ._1ckjpok2{width:480px}[data-rk] ._1ckjpok3{width:720px}[data-rk] ._1ckjpok4{min-width:368px;width:368px}}@media screen and (max-width:767px){[data-rk] ._1ckjpok7{border-bottom-left-radius:0;border-bottom-right-radius:0;margin-top:-200px;padding-bottom:200px;top:200px}}[data-rk] .v9horb0:hover{background:unset}[data-rk] .g5kl0l0{border-color:transparent}[data-rk] ._1vwt0cg0{background:#fff}[data-rk] ._1vwt0cg2{max-height:454px;overflow-y:auto}[data-rk] ._1vwt0cg3{min-width:246px}[data-rk] ._1vwt0cg4{min-width:100%}@media screen and (min-width:768px){[data-rk] ._1vwt0cg3{min-width:287px}}[data-rk] ._1am14410{overflow:auto;scrollbar-width:none;transform:translateZ(0)}[data-rk] ._1am14410::-webkit-scrollbar{display:none} \ No newline at end of file +@import url("https://fonts.googleapis.com/icon?family=Material+Icons");@import url("https://fonts.googleapis.com/icon?family=Material+Icons+Round");@font-face{font-family:SF Mono;src:url(https://app.namesys.xyz/_next/static/media/SF-Mono.1ef6859c.woff2) format("woff2");font-weight:400;font-style:normal;margin:0;padding:0}@font-face{font-family:Rajdhani;src:url(https://app.namesys.xyz/_next/static/media/Rajdhani.34941911.woff2) format("woff2");font-weight:400;font-style:normal;margin:0;padding:0}@font-face{font-family:SF Mono Unicode;src:url(https://app.namesys.xyz/_next/static/media/SF-Mono.1ef6859c.woff2) format("woff2");font-weight:400;font-style:normal;margin:0;padding:0;unicode-range:U+30-39}@font-face{font-family:Roboto Mono;src:url(https://app.namesys.xyz/_next/static/media/Roboto-Mono.f73e941d.woff2) format("woff2");font-weight:400;font-style:normal;margin:0;padding:0}@font-face{font-family:Bioliquid;src:url(https://app.namesys.xyz/_next/static/media/Bioliquid.f2782572.woff2) format("woff2");font-weight:400;font-style:normal;margin:0;padding:0}@font-face{font-family:Spotnik;src:url(https://app.namesys.xyz/_next/static/media/Spotnik.464dbd09.woff2) format("woff2");font-weight:400;font-style:normal;margin:0;padding:0}body{margin:0;font-family:Spotnik;font-size:22px;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;border-radius:4px!important;color:#000!important;background-image:linear-gradient(135deg,#422e28,#000 25%,#000);background-size:cover;min-height:100vh!important}.heading,body{background-repeat:no-repeat}.heading{background-image:url(/shadow.svg);background-size:2.5%;background-position-x:50%;background-position-y:10%}@media screen and (max-width:1300px){.heading{background-size:0}}.heading-alt{background-image:url(/shadow.svg);background-size:2.5%;background-repeat:no-repeat;background-position-x:50%;background-position-y:4.5%}@media screen and (max-width:1300px){.heading-alt{background-size:0}}.iekbcc0{max-width:197.5vw}.ju367veu{color:#fff!important}.page{max-width:100vw!important;height:auto;border-radius:4px;overflow-x:hidden;position:relative}.avatar{background-size:100% 100%;border-radius:6px;border:solid;border-width:0;width:15%}@media screen and (max-width:1030px){.avatar{width:0;padding-top:50px}}.container{align-items:center;justify-content:center;height:100%;background:transparent;animation:gradient 7s ease infinite;background-size:400% 400%;border:0 solid #646464;border-radius:10px;padding:10px 50px}.mono{font-size:14px;font-weight:600;font-family:SF Mono;color:#90ee90;cursor:copy}@media screen and (max-width:800px){.container{padding:0}}input[type=text].input-main[type=text]{font-family:Spotnik;padding-left:15px;padding-top:15px;padding-bottom:15px;background-color:#000;border-radius:5px;font-size:18px;font-weight:700;color:#fff;outline:none;border:none;width:100%}@media screen and (max-width:800px){input[type=text].input-main[type=text]{font-size:16px;font-weight:700;padding-left:10px;padding-top:15px;padding-bottom:15px}}input[type=text]{font-family:SF Mono;padding-left:7px;padding-top:7px;padding-bottom:7px;background-color:#000;border-radius:5px;font-size:15px;color:#fff;outline:none;border:none}input:disabled{color:gray}.inputextra::-moz-placeholder{color:rgba(144,238,144,.6)}.inputextra:-ms-input-placeholder{color:rgba(144,238,144,.6)}.inputextra::placeholder{color:rgba(144,238,144,.6)}.inputextra_::-moz-placeholder{color:hsla(0,0%,100%,.7)}.inputextra_:-ms-input-placeholder{color:hsla(0,0%,100%,.7)}.inputextra_::placeholder{color:hsla(0,0%,100%,.7)}.inputextra__::-moz-placeholder{color:rgba(255,251,0,.7)}.inputextra__:-ms-input-placeholder{color:rgba(255,251,0,.7)}.inputextra__::placeholder{color:rgba(255,251,0,.7)}.inputextra___::-moz-placeholder{color:rgba(255,111,67,.5)}.inputextra___:-ms-input-placeholder{color:rgba(255,111,67,.5)}.inputextra___::placeholder{color:rgba(255,111,67,.5)}.icon-ens{align-items:center;justify-content:center;width:80.55px;height:90px;margin-bottom:8px}@media screen and (max-width:800px){.icon-ens{margin-top:10px;width:71.6px;height:80px}}.icon-ccip2{width:60px;height:60px;margin-bottom:15px}.icon-ccip2,.icon-ccip2-mobile{align-items:center;justify-content:center}.icon-ccip2-mobile{margin-top:45px;width:30px;height:30px;margin-bottom:-5px}@media screen and (max-width:800px){.icon-ccip2{margin-top:10px;width:60px;height:60px;margin-bottom:-7.5px}}.icon-ens-small{width:16.66px}.icon-ens-small,.icon-vision-small{align-items:center;justify-content:center;height:18px;margin-bottom:-4px;margin-left:13px}.icon-vision-small{width:18px}.icon-godid-small{width:20px;height:20px;margin-bottom:-6px;margin-left:13px}.icon,.icon-godid-small{align-items:center;justify-content:center}.icon{width:13px;height:13px;margin-bottom:-1.5px}.miui{font-size:140px}.miui-small{font-size:60px}.miui-smaller{font-size:40px}.smol{font-size:16px;margin-left:5px;color:cyan}.smoller{font-size:18px}.chonk{font-size:20px}.label{font-family:SF Mono;font-size:15px;font-weight:800;line-height:20px;display:flex;justify-content:center;margin-bottom:3px;cursor:pointer}.list-container{width:40%;margin-left:30%;border-radius:5px;border:0 solid hsla(0,0%,100%,.2);background:hsla(0,35%,60%,.15);padding:25px}@media screen and (max-width:800px){.list-container{width:99%;margin-left:.5%;padding:15px 1px}}.flex-column{flex-direction:column}.flex-column,.flex-row{display:flex;align-items:center;justify-content:center}.flex-row{flex-direction:row}.flex-column-sans-align{display:flex;flex-direction:column;justify-content:center}.flex-row-sans-align{display:flex;flex-direction:row;justify-content:center}.flex-sans-direction{display:flex;align-items:center;justify-content:center}.flex-column-sans-justify{display:flex;align-items:center;flex-direction:column}.flex-row-sans-justify{display:flex;align-items:center;flex-direction:row}.overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.9);z-index:9}.overlay,.overlay-content{display:flex;flex-direction:column;align-items:center;justify-content:center}.overlay-content{margin-top:220px;color:#ff2600;font-size:30px;font-weight:700}.overlay-content-alt{margin-top:220px}.search-container{width:30%;margin-left:35%;border-radius:5px;border:0 solid hsla(0,0%,100%,.2);background-image:linear-gradient(112deg,rgba(190,95,65,.2),rgba(191,41,36,.2) 48%,rgba(203,111,0,.2));padding:25px}@media screen and (max-width:800px){.search-container{width:90%;margin-left:5%}}.export-container{width:30%;margin-left:35%;border-radius:5px;border:0 solid hsla(0,0%,100%,.2);background-image:linear-gradient(112deg,rgba(190,95,65,.2),rgba(191,41,36,.2) 48%,rgba(203,111,0,.2));padding:25px}@media screen and (max-width:800px){.export-container{width:90%;margin-left:5%}}.hash-container{width:30%;margin-left:35%;border-radius:5px;border:0 solid hsla(0,0%,100%,.2);background-image:linear-gradient(112deg,rgba(190,95,65,.2),rgba(191,41,36,.2) 48%,rgba(203,111,0,.2));padding:25px}@media screen and (max-width:800px){.hash-container{width:90%;margin-left:5%}}.main-search-container{width:50%;margin-left:25%;border-radius:5px;border:0 solid hsla(0,0%,100%,.2);background-image:linear-gradient(112deg,rgba(190,95,65,.2),rgba(191,41,36,.2) 48%,rgba(203,111,0,.2));padding:35px}@media screen and (max-width:800px){.main-search-container{width:90%;margin-left:5%}}.button-empty{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;font-family:Spotnik;background:transparent;font-size:15px;font-weight:800;height:40px;padding:0;border-radius:0;align-items:left;color:cyan;transition:all .1s ease}.button-empty:disabled{background:hsla(0,0%,100%,.2);color:#fff;cursor:not-allowed}.button-empty:after{content:attr(data-tooltip);background-color:#000;color:#fff;padding:4px;border-radius:2px;position:absolute;max-width:250px;top:-40%;left:-25%;transform:translateX(-50%);white-space:nowrap;visibility:visible;opacity:0;font-size:10px;transition:opacity .2s ease-in-out}.button-empty:hover:after{visibility:visible;opacity:1}.button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;font-family:Spotnik;background-image:linear-gradient(112deg,#be5f41,#bf2924 48%,#cb6f00);font-size:15px;font-weight:800;height:40px;padding:1px 12px;border-radius:6px;align-items:left;color:#fff;transition:all .1s ease}.button:disabled{background:hsla(0,0%,100%,.2);color:#fff;cursor:not-allowed}.button:after{content:attr(data-tooltip);background-color:#000;color:#fff;padding:4px;border-radius:2px;position:absolute;top:-50%;left:-25%;max-width:250px;transform:translateX(-50%);white-space:nowrap;visibility:visible;opacity:0;font-size:10px;transition:opacity .2s ease-in-out}.button:hover:after{visibility:visible;opacity:1}.button-option{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;font-family:Spotnik;background-image:linear-gradient(112deg,#be5f41,#bf2924 48%,#cb6f00);font-size:15px;font-weight:800;height:40px;padding:1px 12px;border-radius:6px;align-items:left;color:#fff;transition:all .1s ease}.button-option:disabled{background:hsla(0,0%,100%,.2);color:#fff;cursor:not-allowed}.button-option:after{content:attr(data-tooltip);background-color:#000;color:#fff;padding:4px;border-radius:2px;position:absolute;top:-50%;left:5%;max-width:250px;transform:translateX(-50%);white-space:nowrap;visibility:visible;opacity:0;font-size:10px;transition:opacity .2s ease-in-out}.button-option:hover:after{visibility:visible;opacity:1}.clear{color:#fff}@media screen and (max-width:800px){.clear{display:none}}.footer-text{color:#fff;text-decoration:none;font-size:14px;font-weight:700}.footer-text:hover{color:cyan;background-color:transparent;cursor:pointer}.button-header{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;font-family:Spotnik;background-image:linear-gradient(112deg,#be5f41,#bf2924 48%,#cb6f00);font-size:15px;font-weight:800;height:40px;padding:1px 12px;border-radius:6px;align-items:left;color:#fff;transition:all .1s ease;margin-left:10px;margin-right:10px}.button-header:disabled{background-image:linear-gradient(112deg,rgba(190,95,65,.1),rgba(191,41,36,.1) 48%,rgba(203,111,0,.1))}.button-header:after{content:attr(data-tooltip);background-color:#000;color:#fff;padding:4px;border-radius:2px;position:absolute;top:-40%;left:50%;max-width:250px;transform:translateX(-50%);white-space:nowrap;visibility:hidden;opacity:0;font-size:10px;transition:opacity .2s ease-in-out}.button-header:hover:after{visibility:visible;opacity:1}.connect-button{margin-top:-10%;padding-right:40px}@media screen and (max-width:800px){.connect-button{margin-top:-18%;padding-right:20px}}.connect-button-2{margin-top:-10%;padding-right:40px}@media screen and (max-width:800px){.connect-button-2{margin-top:-18%;padding-right:40px}}.button-tiny{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:transparent;font-family:Spotnik;font-size:15px;font-weight:800;height:40px;padding:1px;border-radius:6px;align-items:left;color:#fff;transition:all .1s ease;margin-right:10px}.button-tiny:after{content:attr(data-tooltip);background-color:#000;color:#fff;padding:4px;border-radius:2px;position:absolute;top:-15%;left:110%;max-width:250px;transform:translateX(-50%);white-space:nowrap;visibility:hidden;opacity:0;font-size:10px;transition:opacity .2s ease-in-out}.button-tiny:hover:after{visibility:visible;opacity:1}button:not(:disabled):hover{transform:scale(1.15)}h1{font-size:32px;font-family:Spotnik!important;font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h2{font-family:SF Mono!important}h2,h4{font-size:18px;font-weight:800}h4{font-family:Spotnik}a:link,a:visited{color:#fff;text-decoration:none;border-radius:3px}a:visited{background:hsla(0,0%,100%,.5);padding:2px 5px}@keyframes pulse{0%{opacity:0}to{opacity:"100%"}}@keyframes gradient{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}.carousal-item{display:flex;justify-content:center;text-align:center;background:hsla(0,0%,100%,0);padding:10px;border-radius:6px;font-size:30px;color:#ff2600;font-weight:700;font-family:Spotnik}@media screen and (max-width:800px){.carousal-item{font-size:20px;letter-spacing:0}}img{max-width:100%;height:auto}.content-slider{margin-top:30px;margin-bottom:170px;height:250px;width:100%;justify-content:center;align-items:center}.slider{left:50%;margin-left:-400px;height:100%;overflow:visible;position:relative}@media screen and (max-width:800px){.slider{margin-left:-200px}}.mask{overflow:hidden;height:100%}.slider ul{margin:0;padding:0;position:relative}.slider li{width:800px;height:100%;position:absolute;top:-125px;list-style:none}@media screen and (max-width:800px){.slider li{width:400px}}.slider li.anim1{animation:cycle 15s linear infinite}.slider li.anim2{animation:cycle2 15s linear infinite}.slider li.anim3{animation:cycle3 15s linear infinite}.slider li.anim4{animation:cycle4 15s linear infinite}.slider li.anim5{animation:cycle5 15s linear infinite}.slider:hover li{animation-play-state:paused}@keyframes cycle{0%{top:0}4%{top:0}16%{top:0;opacity:1;z-index:0}20%{top:125px;opacity:0;z-index:0}21%{top:-125px;opacity:0;z-index:-1}50%{top:-125px;opacity:0;z-index:-1}92%{top:-125px;opacity:0;z-index:0}96%{top:-125px;opacity:0}to{top:0;opacity:1}}@keyframes cycle2{0%{top:-125px;opacity:0}16%{top:-125px;opacity:0}20%{top:0;opacity:1}24%{top:0;opacity:1}36%{top:0;opacity:1;z-index:0}40%{top:125px;opacity:0;z-index:0}41%{top:-125px;opacity:0;z-index:-1}to{top:-125px;opacity:0;z-index:-1}}@keyframes cycle3{0%{top:-125px;opacity:0}36%{top:-125px;opacity:0}40%{top:0;opacity:1}44%{top:0;opacity:1}56%{top:0;opacity:1;z-index:0}60%{top:125px;opacity:0;z-index:0}61%{top:-125px;opacity:0;z-index:-1}to{top:-125px;opacity:0;z-index:-1}}@keyframes cycle4{0%{top:-125px;opacity:0}56%{top:-125px;opacity:0}60%{top:0;opacity:1}64%{top:0;opacity:1}76%{top:0;opacity:1;z-index:0}80%{top:125px;opacity:0;z-index:0}81%{top:-125px;opacity:0;z-index:-1}to{top:-125px;opacity:0;z-index:-1}}@keyframes cycle5{0%{top:-125px;opacity:0}76%{top:-125px;opacity:0}80%{top:0;opacity:1}84%{top:0;opacity:1}96%{top:0;opacity:1;z-index:0}to{top:125px;opacity:0;z-index:0}}:root{--cui-blue:#0d6efd;--cui-indigo:#6610f2;--cui-purple:#6f42c1;--cui-pink:#d63384;--cui-red:#dc3545;--cui-orange:#fd7e14;--cui-yellow:#ffc107;--cui-green:#198754;--cui-teal:#20c997;--cui-cyan:#0dcaf0;--cui-black:#000015;--cui-white:#fff;--cui-gray:#8a93a2;--cui-gray-dark:#636f83;--cui-gray-100:#ebedef;--cui-gray-200:#d8dbe0;--cui-gray-300:#c4c9d0;--cui-gray-400:#b1b7c1;--cui-gray-500:#9da5b1;--cui-gray-600:#8a93a2;--cui-gray-700:#768192;--cui-gray-800:#636f83;--cui-gray-900:#4f5d73;--cui-primary:#321fdb;--cui-secondary:#9da5b1;--cui-success:#2eb85c;--cui-info:#39f;--cui-warning:#f9b115;--cui-danger:#e55353;--cui-light:#ebedef;--cui-dark:#4f5d73;--cui-primary-rgb:50,31,219;--cui-secondary-rgb:157,165,177;--cui-success-rgb:46,184,92;--cui-info-rgb:51,153,255;--cui-warning-rgb:249,177,21;--cui-danger-rgb:229,83,83;--cui-light-rgb:235,237,239;--cui-dark-rgb:79,93,115;--cui-white-rgb:255,255,255;--cui-black-rgb:0,0,21;--cui-body-color-rgb:44,56,74;--cui-body-bg-rgb:255,255,255;--cui-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--cui-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--cui-gradient:linear-gradient(180deg,hsla(0,0%,100%,.15),hsla(0,0%,100%,0));--cui-body-font-family:var(--cui-font-sans-serif);--cui-body-font-size:1rem;--cui-body-font-weight:400;--cui-body-line-height:1.5;--cui-body-color:rgba(44,56,74,.95);--cui-body-bg:#fff;--cui-border-width:1px;--cui-border-style:solid;--cui-border-color:#d8dbe0;--cui-border-color-translucent:rgba(0,0,21,.175);--cui-border-radius:0.375rem;--cui-border-radius-sm:0.25rem;--cui-border-radius-lg:0.5rem;--cui-border-radius-xl:1rem;--cui-border-radius-2xl:2rem;--cui-border-radius-pill:50rem;--cui-heading-color:unset;--cui-link-color:#321fdb;--cui-link-hover-color:#2819af;--cui-code-color:#d63384;--cui-highlight-bg:#fff3cd}*,:after,:before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}hr{margin:1rem 0;color:inherit;border:0;border-top:1px solid;opacity:.25}address{font-style:normal;line-height:inherit}address,ul{margin-bottom:1rem}ul{margin-top:0}ul ul{margin-bottom:0}label{display:inline-block}[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator{display:none!important}[type=button],[type=submit],button{-moz-appearance:button;appearance:button;-webkit-appearance:button}[type=button]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}[type=search]{outline-offset:-2px;-moz-appearance:textfield;appearance:textfield;-webkit-appearance:textfield}::-webkit-search-decoration{appearance:none;-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::-webkit-file-upload-button{font:inherit;appearance:button;-webkit-appearance:button}::file-selector-button{font:inherit;-moz-appearance:button;appearance:button;-webkit-appearance:button}[hidden]{display:none!important}.row{--cui-gutter-x:1.5rem;--cui-gutter-y:0;display:flex;flex-wrap:wrap;margin-top:calc(-1 * var(--cui-gutter-y));margin-right:calc(-.5 * var(--cui-gutter-x));margin-left:calc(-.5 * var(--cui-gutter-x))}.row>*{flex-shrink:0;width:100%;max-width:100%;padding-right:calc(var(--cui-gutter-x) * .5);padding-left:calc(var(--cui-gutter-x) * .5);margin-top:var(--cui-gutter-y)}.badge{--cui-badge-padding-x:0.65em;--cui-badge-padding-y:0.35em;--cui-badge-font-size:0.75em;--cui-badge-font-weight:700;--cui-badge-color:hsla(0,0%,100%,.87);--cui-badge-border-radius:0.375rem;display:inline-block;padding:var(--cui-badge-padding-y) var(--cui-badge-padding-x);font-size:var(--cui-badge-font-size);font-weight:var(--cui-badge-font-weight);line-height:1;color:var(--cui-badge-color);text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:var(--cui-badge-border-radius,0)}.badge:empty{display:none}@keyframes progress-bar-stripes{0%{background-position-x:1rem}}.modal .modal-inner{--cui-modal-zindex:5;--cui-modal-width:500px;--cui-modal-padding:1rem;--cui-modal-margin:0.5rem;--cui-modal-color:unset;--cui-modal-bg:#fff;--cui-modal-border-color:var(--cui-border-color-translucent);--cui-modal-border-width:1px;--cui-modal-border-radius:0.5rem;--cui-modal-box-shadow:0 0.125rem 0.25rem rgba(0,0,21,.075);--cui-modal-inner-border-radius:calc(0.5rem - 1px);--cui-modal-header-padding-x:1rem;--cui-modal-header-padding-y:1rem;--cui-modal-header-padding:1rem 1rem;--cui-modal-header-border-color:var(--cui-border-color);--cui-modal-header-border-width:1px;--cui-modal-title-line-height:1.5;--cui-modal-footer-gap:0.5rem;--cui-modal-footer-bg: ;--cui-modal-footer-border-color:var(--cui-border-color);--cui-modal-footer-border-width:1px;position:fixed;top:0;left:0;z-index:var(--cui-modal-zindex);display:none;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;outline:0}@media (min-width:576px){.modal .modal-inner{--cui-modal-margin:1.75rem;--cui-modal-box-shadow:0 0.5rem 1rem rgba(0,0,21,.15)}}@keyframes spinner-border{to{transform:rotate(1turn)}}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.placeholder{display:inline-block;min-height:1em;vertical-align:middle;cursor:wait;background-color:currentColor;opacity:.5}@keyframes placeholder-glow{50%{opacity:.2}}@keyframes placeholder-wave{to{-webkit-mask-position:-200% 0;mask-position:-200% 0}}.emphasis-smol{animation:blink-smol 3s linear infinite}.emphasis-smol:hover{animation:none;transform:scale(1.5)}@keyframes blink-smol{0%,to{opacity:1;transform:scale(1.5)}25%,75%{opacity:.75;transform:scale(1.25)}50%{opacity:0;transform:scale(1)}}.emphasis{animation:blink-guide 3s linear infinite}.emphasis:hover{animation:none}@keyframes blink-guide{0%,to{opacity:1;transform:scale(1.2)}25%,75%{opacity:.75;transform:scale(1.1)}50%{opacity:0;transform:scale(1)}}.blink{animation:blinker 1s linear infinite}@keyframes blinker{50%{opacity:0}}.icon{display:inline-block;color:inherit;text-align:center;vertical-align:-.125rem;fill:currentColor}.icon:not(.icon-c-s):not(.icon-custom-size){width:1rem;height:1rem;font-size:1rem}.border{border:var(--cui-border-width) var(--cui-border-style) var(--cui-border-color)!important}.scrollable-div::-webkit-scrollbar{width:12px}.scrollable-div::-webkit-scrollbar-track{background:#f1f1f163}.scrollable-div::-webkit-scrollbar-thumb,.scrollable-div::-webkit-scrollbar-thumb:hover{background:#ff8c56}.scrollable-div{scrollbar-width:thin;scrollbar-color:#ff5100 #f1f1f150}[data-rk] .iekbcc0{border:0;box-sizing:border-box;font-size:100%;line-height:normal;margin:0;padding:0;text-align:left;vertical-align:baseline;-webkit-tap-highlight-color:transparent}[data-rk] .iekbcc1{list-style:none}[data-rk] .iekbcc2{quotes:none}[data-rk] .iekbcc2:after,[data-rk] .iekbcc2:before{content:""}[data-rk] .iekbcc3{border-collapse:collapse;border-spacing:0}[data-rk] .iekbcc4{-webkit-appearance:none;-moz-appearance:none;appearance:none}[data-rk] .iekbcc5{outline:none}[data-rk] .iekbcc5::-moz-placeholder{opacity:1}[data-rk] .iekbcc5:-ms-input-placeholder{opacity:1}[data-rk] .iekbcc5::placeholder{opacity:1}[data-rk] .iekbcc6{background-color:transparent;color:inherit}[data-rk] .iekbcc7:disabled{opacity:1}[data-rk] .iekbcc7::-ms-expand,[data-rk] .iekbcc8::-ms-clear{display:none}[data-rk] .iekbcc8::-webkit-search-cancel-button{-webkit-appearance:none}[data-rk] .iekbcc9{background:none;cursor:pointer;text-align:left}[data-rk] .iekbcca{color:inherit;text-decoration:none}[data-rk] .ju367v0{align-items:flex-start}[data-rk] .ju367v2{align-items:flex-end}[data-rk] .ju367v4{align-items:center}[data-rk] .ju367v6{display:none}[data-rk] .ju367v6,[data-rk] .ju367v8{font-family:SF Mono;font-weight:600;letter-spacing:0;font-size:18px}[data-rk] .ju367v8{display:block}[data-rk] .ju367va{display:flex}[data-rk] .ju367vc{display:inline}[data-rk] .ju367ve{align-self:flex-start}[data-rk] .ju367vf{align-self:flex-end}[data-rk] .ju367vg{align-self:center}[data-rk] .ju367vh{background-size:cover}[data-rk] .ju367vi{border-radius:1px}[data-rk] .ju367vj{border-radius:6px}[data-rk] .ju367vk{border-radius:10px}[data-rk] .ju367vl{border-radius:13px}[data-rk] .ju367vm{border-radius:var(--rk-radii-actionButton)}[data-rk] .ju367vn{border-radius:var(--rk-radii-connectButton)}[data-rk] .ju367vo{border-radius:var(--rk-radii-menuButton)}[data-rk] .ju367vp{border-radius:var(--rk-radii-modal)}[data-rk] .ju367vq{border-radius:var(--rk-radii-modalMobile)}[data-rk] .ju367vr{border-radius:25%}[data-rk] .ju367vs{border-radius:9999px}[data-rk] .ju367vt{border-style:solid}[data-rk] .ju367vu{border-width:0}[data-rk] .ju367vv{border-width:1px}[data-rk] .ju367vw{border-width:2px}[data-rk] .ju367vx{border-width:4px}[data-rk] .ju367vy{cursor:pointer}[data-rk] .ju367vz{flex-direction:row}[data-rk] .ju367v10{flex-direction:column}[data-rk] .ju367v11{font-family:var(--rk-fonts-body)}[data-rk] .ju367v12{font-size:12px;line-height:18px}[data-rk] .ju367v13{font-size:13px;line-height:18px}[data-rk] .ju367v14{font-size:14px;line-height:18px}[data-rk] .ju367v15{font-size:16px;line-height:20px}[data-rk] .ju367v16{font-size:18px;line-height:24px}[data-rk] .ju367v17{font-size:20px;line-height:24px}[data-rk] .ju367v18{font-size:23px;line-height:29px}[data-rk] .ju367v19{font-weight:400}[data-rk] .ju367v1a{font-weight:500}[data-rk] .ju367v1b{font-weight:600}[data-rk] .ju367v1c{font-weight:700}[data-rk] .ju367v1d{font-weight:800}[data-rk] .ju367v1e{gap:0}[data-rk] .ju367v1f{gap:1px}[data-rk] .ju367v1g{gap:2px}[data-rk] .ju367v1h{gap:3px}[data-rk] .ju367v1i{gap:4px}[data-rk] .ju367v1j{gap:5px}[data-rk] .ju367v1k{gap:6px}[data-rk] .ju367v1l{gap:8px}[data-rk] .ju367v1m{gap:10px}[data-rk] .ju367v1n{gap:12px}[data-rk] .ju367v1o{gap:14px}[data-rk] .ju367v1p{gap:16px}[data-rk] .ju367v1q{gap:18px}[data-rk] .ju367v1r{gap:20px}[data-rk] .ju367v1s{gap:24px}[data-rk] .ju367v1t{gap:28px}[data-rk] .ju367v1u{gap:32px}[data-rk] .ju367v1v{gap:36px}[data-rk] .ju367v1w{gap:44px}[data-rk] .ju367v1x{gap:64px}[data-rk] .ju367v1y{gap:-1px}[data-rk] .ju367v1z{height:1px}[data-rk] .ju367v20{height:2px}[data-rk] .ju367v21{height:4px}[data-rk] .ju367v22{height:8px}[data-rk] .ju367v23{height:12px}[data-rk] .ju367v24{height:20px}[data-rk] .ju367v25{height:24px}[data-rk] .ju367v26{height:28px}[data-rk] .ju367v27{height:30px}[data-rk] .ju367v28{height:32px}[data-rk] .ju367v29{height:34px}[data-rk] .ju367v2a{height:36px}[data-rk] .ju367v2b{height:40px}[data-rk] .ju367v2c{height:44px}[data-rk] .ju367v2d{height:48px}[data-rk] .ju367v2e{height:54px}[data-rk] .ju367v2f{height:60px}[data-rk] .ju367v2g{height:200px}[data-rk] .ju367v2h{height:100%}[data-rk] .ju367v2i{height:-moz-max-content;height:max-content}[data-rk] .ju367v2j{justify-content:flex-start}[data-rk] .ju367v2k{justify-content:flex-end}[data-rk] .ju367v2l{justify-content:center}[data-rk] .ju367v2m{justify-content:space-between}[data-rk] .ju367v2n{justify-content:space-around}[data-rk] .ju367v2o{text-align:left}[data-rk] .ju367v2p{text-align:center}[data-rk] .ju367v2q{text-align:inherit}[data-rk] .ju367v2r{margin-bottom:0}[data-rk] .ju367v2s{margin-bottom:1px}[data-rk] .ju367v2t{margin-bottom:2px}[data-rk] .ju367v2u{margin-bottom:3px}[data-rk] .ju367v2v{margin-bottom:4px}[data-rk] .ju367v2w{margin-bottom:5px}[data-rk] .ju367v2x{margin-bottom:6px}[data-rk] .ju367v2y{margin-bottom:8px}[data-rk] .ju367v2z{margin-bottom:10px}[data-rk] .ju367v30{margin-bottom:12px}[data-rk] .ju367v31{margin-bottom:14px}[data-rk] .ju367v32{margin-bottom:16px}[data-rk] .ju367v33{margin-bottom:18px}[data-rk] .ju367v34{margin-bottom:20px}[data-rk] .ju367v35{margin-bottom:24px}[data-rk] .ju367v36{margin-bottom:28px}[data-rk] .ju367v37{margin-bottom:32px}[data-rk] .ju367v38{margin-bottom:36px}[data-rk] .ju367v39{margin-bottom:44px}[data-rk] .ju367v3a{margin-bottom:64px}[data-rk] .ju367v3b{margin-bottom:-1px}[data-rk] .ju367v3c{margin-left:0}[data-rk] .ju367v3d{margin-left:1px}[data-rk] .ju367v3e{margin-left:2px}[data-rk] .ju367v3f{margin-left:3px}[data-rk] .ju367v3g{margin-left:4px}[data-rk] .ju367v3h{margin-left:5px}[data-rk] .ju367v3i{margin-left:6px}[data-rk] .ju367v3j{margin-left:8px}[data-rk] .ju367v3k{margin-left:10px}[data-rk] .ju367v3l{margin-left:12px}[data-rk] .ju367v3m{margin-left:14px}[data-rk] .ju367v3n{margin-left:16px}[data-rk] .ju367v3o{margin-left:18px}[data-rk] .ju367v3p{margin-left:20px}[data-rk] .ju367v3q{margin-left:24px}[data-rk] .ju367v3r{margin-left:28px}[data-rk] .ju367v3s{margin-left:32px}[data-rk] .ju367v3t{margin-left:36px}[data-rk] .ju367v3u{margin-left:44px}[data-rk] .ju367v3v{margin-left:64px}[data-rk] .ju367v3w{margin-left:-1px}[data-rk] .ju367v3x{margin-right:0}[data-rk] .ju367v3y{margin-right:1px}[data-rk] .ju367v3z{margin-right:2px}[data-rk] .ju367v40{margin-right:3px}[data-rk] .ju367v41{margin-right:4px}[data-rk] .ju367v42{margin-right:5px}[data-rk] .ju367v43{margin-right:6px}[data-rk] .ju367v44{margin-right:8px}[data-rk] .ju367v45{margin-right:10px}[data-rk] .ju367v46{margin-right:12px}[data-rk] .ju367v47{margin-right:14px}[data-rk] .ju367v48{margin-right:16px}[data-rk] .ju367v49{margin-right:18px}[data-rk] .ju367v4a{margin-right:20px}[data-rk] .ju367v4b{margin-right:24px}[data-rk] .ju367v4c{margin-right:28px}[data-rk] .ju367v4d{margin-right:32px}[data-rk] .ju367v4e{margin-right:36px}[data-rk] .ju367v4f{margin-right:44px}[data-rk] .ju367v4g{margin-right:64px}[data-rk] .ju367v4h{margin-right:-1px}[data-rk] .ju367v4i{margin-top:0}[data-rk] .ju367v4j{margin-top:1px}[data-rk] .ju367v4k{margin-top:2px}[data-rk] .ju367v4l{margin-top:3px}[data-rk] .ju367v4m{margin-top:4px}[data-rk] .ju367v4n{margin-top:5px}[data-rk] .ju367v4o{margin-top:6px}[data-rk] .ju367v4p{margin-top:8px}[data-rk] .ju367v4q{margin-top:10px}[data-rk] .ju367v4r{margin-top:12px}[data-rk] .ju367v4s{margin-top:14px}[data-rk] .ju367v4t{margin-top:16px}[data-rk] .ju367v4u{margin-top:18px}[data-rk] .ju367v4v{margin-top:20px}[data-rk] .ju367v4w{margin-top:24px}[data-rk] .ju367v4x{margin-top:28px}[data-rk] .ju367v4y{margin-top:32px}[data-rk] .ju367v4z{margin-top:36px}[data-rk] .ju367v50{margin-top:44px}[data-rk] .ju367v51{margin-top:64px}[data-rk] .ju367v52{margin-top:-1px}[data-rk] .ju367v53{max-width:1px}[data-rk] .ju367v54{max-width:2px}[data-rk] .ju367v55{max-width:4px}[data-rk] .ju367v56{max-width:8px}[data-rk] .ju367v57{max-width:12px}[data-rk] .ju367v58{max-width:20px}[data-rk] .ju367v59{max-width:24px}[data-rk] .ju367v5a{max-width:28px}[data-rk] .ju367v5b{max-width:30px}[data-rk] .ju367v5c{max-width:32px}[data-rk] .ju367v5d{max-width:34px}[data-rk] .ju367v5e{max-width:36px}[data-rk] .ju367v5f{max-width:40px}[data-rk] .ju367v5g{max-width:44px}[data-rk] .ju367v5h{max-width:48px}[data-rk] .ju367v5i{max-width:54px}[data-rk] .ju367v5j{max-width:60px}[data-rk] .ju367v5k{max-width:200px}[data-rk] .ju367v5l{max-width:100%}[data-rk] .ju367v5m{max-width:-moz-max-content;max-width:max-content}[data-rk] .ju367v5n{min-width:1px}[data-rk] .ju367v5o{min-width:2px}[data-rk] .ju367v5p{min-width:4px}[data-rk] .ju367v5q{min-width:8px}[data-rk] .ju367v5r{min-width:12px}[data-rk] .ju367v5s{min-width:20px}[data-rk] .ju367v5t{min-width:24px}[data-rk] .ju367v5u{min-width:28px}[data-rk] .ju367v5v{min-width:30px}[data-rk] .ju367v5w{min-width:32px}[data-rk] .ju367v5x{min-width:34px}[data-rk] .ju367v5y{min-width:36px}[data-rk] .ju367v5z{min-width:40px}[data-rk] .ju367v60{min-width:44px}[data-rk] .ju367v61{min-width:48px}[data-rk] .ju367v62{min-width:54px}[data-rk] .ju367v63{min-width:60px}[data-rk] .ju367v64{min-width:200px}[data-rk] .ju367v65{min-width:100%}[data-rk] .ju367v66{min-width:-moz-max-content;min-width:max-content}[data-rk] .ju367v67{overflow:hidden}[data-rk] .ju367v68{padding-bottom:0}[data-rk] .ju367v69{padding-bottom:1px}[data-rk] .ju367v6a{padding-bottom:2px}[data-rk] .ju367v6b{padding-bottom:3px}[data-rk] .ju367v6c{padding-bottom:4px}[data-rk] .ju367v6d{padding-bottom:5px}[data-rk] .ju367v6e{padding-bottom:6px}[data-rk] .ju367v6f{padding-bottom:8px;font-family:SF Mono;font-weight:600;letter-spacing:0;font-size:18px}[data-rk] .ju367v6g{padding-bottom:10px}[data-rk] .ju367v6h{padding-bottom:12px}[data-rk] .ju367v6i{padding-bottom:14px}[data-rk] .ju367v6j{padding-bottom:16px}[data-rk] .ju367v6k{padding-bottom:18px}[data-rk] .ju367v6l{padding-bottom:20px}[data-rk] .ju367v6m{padding-bottom:24px}[data-rk] .ju367v6n{padding-bottom:28px}[data-rk] .ju367v6o{padding-bottom:32px}[data-rk] .ju367v6p{padding-bottom:36px}[data-rk] .ju367v6q{padding-bottom:44px}[data-rk] .ju367v6r{padding-bottom:64px}[data-rk] .ju367v6s{padding-bottom:-1px}[data-rk] .ju367v6t{padding-left:0}[data-rk] .ju367v6u{padding-left:1px}[data-rk] .ju367v6v{padding-left:2px}[data-rk] .ju367v6w{padding-left:3px}[data-rk] .ju367v6x{padding-left:4px}[data-rk] .ju367v6y{padding-left:5px}[data-rk] .ju367v6z{padding-left:6px}[data-rk] .ju367v70{padding-left:8px}[data-rk] .ju367v71{padding-left:10px}[data-rk] .ju367v72{padding-left:12px;font-family:SF Mono;font-weight:600;letter-spacing:0;font-size:18px}[data-rk] .ju367v73{padding-left:14px}[data-rk] .ju367v74{padding-left:16px}[data-rk] .ju367v75{padding-left:18px}[data-rk] .ju367v76{padding-left:20px}[data-rk] .ju367v77{padding-left:24px}[data-rk] .ju367v78{padding-left:28px}[data-rk] .ju367v79{padding-left:32px}[data-rk] .ju367v7a{padding-left:36px}[data-rk] .ju367v7b{padding-left:44px}[data-rk] .ju367v7c{padding-left:64px}[data-rk] .ju367v7d{padding-left:-1px}[data-rk] .ju367v7e{padding-right:0}[data-rk] .ju367v7f{padding-right:1px}[data-rk] .ju367v7g{padding-right:2px}[data-rk] .ju367v7h{padding-right:3px}[data-rk] .ju367v7i{padding-right:4px}[data-rk] .ju367v7j{padding-right:5px}[data-rk] .ju367v7k{padding-right:6px}[data-rk] .ju367v7l{padding-right:8px;font-family:SF Mono;font-weight:600;letter-spacing:0;font-size:18px}[data-rk] .ju367v7m{padding-right:10px}[data-rk] .ju367v7n{padding-right:12px}[data-rk] .ju367v7o{padding-right:14px}[data-rk] .ju367v7p{padding-right:16px}[data-rk] .ju367v7q{padding-right:18px}[data-rk] .ju367v7r{padding-right:20px}[data-rk] .ju367v7s{padding-right:24px}[data-rk] .ju367v7t{padding-right:28px}[data-rk] .ju367v7u{padding-right:32px}[data-rk] .ju367v7v{padding-right:36px}[data-rk] .ju367v7w{padding-right:44px}[data-rk] .ju367v7x{padding-right:64px}[data-rk] .ju367v7y{padding-right:-1px}[data-rk] .ju367v7z{padding-top:0}[data-rk] .ju367v80{padding-top:1px;font-family:SF Mono;font-weight:600;letter-spacing:0;font-size:18px}[data-rk] .ju367v81{padding-top:2px}[data-rk] .ju367v82{padding-top:3px}[data-rk] .ju367v83{padding-top:4px}[data-rk] .ju367v84{padding-top:5px}[data-rk] .ju367v85{padding-top:6px}[data-rk] .ju367v86{padding-top:8px;font-family:SF Mono;font-weight:600;letter-spacing:0;font-size:18px}[data-rk] .ju367v87{padding-top:10px}[data-rk] .ju367v88{padding-top:12px}[data-rk] .ju367v89{padding-top:14px}[data-rk] .ju367v8a{padding-top:16px}[data-rk] .ju367v8b{padding-top:18px}[data-rk] .ju367v8c{padding-top:20px}[data-rk] .ju367v8d{padding-top:24px}[data-rk] .ju367v8e{padding-top:28px}[data-rk] .ju367v8f{padding-top:32px}[data-rk] .ju367v8g{padding-top:36px}[data-rk] .ju367v8h{padding-top:44px}[data-rk] .ju367v8i{padding-top:64px}[data-rk] .ju367v8j{padding-top:-1px}[data-rk] .ju367v8k{position:absolute}[data-rk] .ju367v8l{position:fixed}[data-rk] .ju367v8m{position:relative;font-family:Spotnik}[data-rk] .ju367v8n{right:0}[data-rk] .ju367v8o{transition:.125s ease}[data-rk] .ju367v8p{transition:transform .125s ease}[data-rk] .ju367v8q{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-rk] .ju367v8r{width:1px}[data-rk] .ju367v8s{width:2px}[data-rk] .ju367v8t{width:4px}[data-rk] .ju367v8u{width:8px}[data-rk] .ju367v8v{width:12px}[data-rk] .ju367v8w{width:20px}[data-rk] .ju367v8x{width:24px}[data-rk] .ju367v8y{width:28px}[data-rk] .ju367v8z{width:30px}[data-rk] .ju367v90{width:32px}[data-rk] .ju367v91{width:34px}[data-rk] .ju367v92{width:36px}[data-rk] .ju367v93{width:40px}[data-rk] .ju367v94{width:44px}[data-rk] .ju367v95{width:48px}[data-rk] .ju367v96{width:54px}[data-rk] .ju367v97{width:60px}[data-rk] .ju367v98{width:200px}[data-rk] .ju367v99{width:100%}[data-rk] .ju367v9a{width:-moz-max-content;width:max-content}[data-rk] .ju367v9b{-webkit-backdrop-filter:var(--rk-blurs-modalOverlay);backdrop-filter:var(--rk-blurs-modalOverlay)}[data-rk] .ju367v9c,[data-rk] .ju367v9d:hover,[data-rk] .ju367v9e:active{background:var(--rk-colors-accentColor)}[data-rk] .ju367v9f,[data-rk] .ju367v9g:hover,[data-rk] .ju367v9h:active{background:var(--rk-colors-accentColorForeground)}[data-rk] .ju367v9i,[data-rk] .ju367v9j:hover,[data-rk] .ju367v9k:active{background:var(--rk-colors-actionButtonBorder)}[data-rk] .ju367v9l,[data-rk] .ju367v9m:hover,[data-rk] .ju367v9n:active{background:var(--rk-colors-actionButtonBorderMobile)}[data-rk] .ju367v9o,[data-rk] .ju367v9p:hover,[data-rk] .ju367v9q:active{background:var(--rk-colors-actionButtonSecondaryBackground)}[data-rk] .ju367v9r,[data-rk] .ju367v9s:hover,[data-rk] .ju367v9t:active{background:var(--rk-colors-closeButton)}[data-rk] .ju367v9u,[data-rk] .ju367v9v:hover,[data-rk] .ju367v9w:active{background:var(--rk-colors-closeButtonBackground)}[data-rk] .ju367v9x,[data-rk] .ju367v9y:hover,[data-rk] .ju367v9z:active{background:var(--rk-colors-connectButtonBackground)}[data-rk] .ju367va0,[data-rk] .ju367va1:hover,[data-rk] .ju367va2:active{background:var(--rk-colors-connectButtonBackgroundError)}[data-rk] .ju367va3,[data-rk] .ju367va4:hover,[data-rk] .ju367va5:active{background:var(--rk-colors-connectButtonInnerBackground)}[data-rk] .ju367va6,[data-rk] .ju367va7:hover,[data-rk] .ju367va8:active{background:var(--rk-colors-connectButtonText)}[data-rk] .ju367va9,[data-rk] .ju367vaa:hover,[data-rk] .ju367vab:active{background:var(--rk-colors-connectButtonTextError)}[data-rk] .ju367vac,[data-rk] .ju367vad:hover,[data-rk] .ju367vae:active{background:var(--rk-colors-connectionIndicator)}[data-rk] .ju367vaf,[data-rk] .ju367vag:hover,[data-rk] .ju367vah:active{background:var(--rk-colors-downloadBottomCardBackground)}[data-rk] .ju367vai,[data-rk] .ju367vaj:hover,[data-rk] .ju367vak:active{background:var(--rk-colors-downloadTopCardBackground)}[data-rk] .ju367val,[data-rk] .ju367vam:hover,[data-rk] .ju367van:active{background:var(--rk-colors-error)}[data-rk] .ju367vao,[data-rk] .ju367vap:hover,[data-rk] .ju367vaq:active{background:var(--rk-colors-generalBorder)}[data-rk] .ju367var,[data-rk] .ju367vas:hover,[data-rk] .ju367vat:active{background:var(--rk-colors-generalBorderDim)}[data-rk] .ju367vau,[data-rk] .ju367vav:hover,[data-rk] .ju367vaw:active{background:var(--rk-colors-menuItemBackground)}[data-rk] .ju367vax,[data-rk] .ju367vay:hover,[data-rk] .ju367vaz:active{background:var(--rk-colors-modalBackdrop)}[data-rk] .ju367vb0,[data-rk] .ju367vb1:hover,[data-rk] .ju367vb2:active{background:var(--rk-colors-modalBackground)}[data-rk] .ju367vb3,[data-rk] .ju367vb4:hover,[data-rk] .ju367vb5:active{background:var(--rk-colors-modalBorder)}[data-rk] .ju367vb6,[data-rk] .ju367vb7:hover,[data-rk] .ju367vb8:active{background:var(--rk-colors-modalText)}[data-rk] .ju367vb9,[data-rk] .ju367vba:hover,[data-rk] .ju367vbb:active{background:var(--rk-colors-modalTextDim)}[data-rk] .ju367vbc,[data-rk] .ju367vbd:hover,[data-rk] .ju367vbe:active{background:var(--rk-colors-modalTextSecondary)}[data-rk] .ju367vbf,[data-rk] .ju367vbg:hover,[data-rk] .ju367vbh:active{background:var(--rk-colors-profileAction)}[data-rk] .ju367vbi,[data-rk] .ju367vbj:hover,[data-rk] .ju367vbk:active{background:var(--rk-colors-profileActionHover)}[data-rk] .ju367vbl,[data-rk] .ju367vbm:hover,[data-rk] .ju367vbn:active{background:var(--rk-colors-profileForeground)}[data-rk] .ju367vbo,[data-rk] .ju367vbp:hover,[data-rk] .ju367vbq:active{background:var(--rk-colors-selectedOptionBorder)}[data-rk] .ju367vbr,[data-rk] .ju367vbs:hover,[data-rk] .ju367vbt:active{background:var(--rk-colors-standby)}[data-rk] .ju367vbu,[data-rk] .ju367vbv:hover,[data-rk] .ju367vbw:active{border-color:var(--rk-colors-accentColor)}[data-rk] .ju367vbx,[data-rk] .ju367vby:hover,[data-rk] .ju367vbz:active{border-color:var(--rk-colors-accentColorForeground)}[data-rk] .ju367vc0,[data-rk] .ju367vc1:hover,[data-rk] .ju367vc2:active{border-color:var(--rk-colors-actionButtonBorder)}[data-rk] .ju367vc3,[data-rk] .ju367vc4:hover,[data-rk] .ju367vc5:active{border-color:var(--rk-colors-actionButtonBorderMobile)}[data-rk] .ju367vc6,[data-rk] .ju367vc7:hover,[data-rk] .ju367vc8:active{border-color:var(--rk-colors-actionButtonSecondaryBackground)}[data-rk] .ju367vc9,[data-rk] .ju367vca:hover,[data-rk] .ju367vcb:active{border-color:var(--rk-colors-closeButton)}[data-rk] .ju367vcc,[data-rk] .ju367vcd:hover,[data-rk] .ju367vce:active{border-color:var(--rk-colors-closeButtonBackground)}[data-rk] .ju367vcf,[data-rk] .ju367vcg:hover,[data-rk] .ju367vch:active{border-color:var(--rk-colors-connectButtonBackground)}[data-rk] .ju367vci,[data-rk] .ju367vcj:hover,[data-rk] .ju367vck:active{border-color:var(--rk-colors-connectButtonBackgroundError)}[data-rk] .ju367vcl,[data-rk] .ju367vcm:hover,[data-rk] .ju367vcn:active{border-color:var(--rk-colors-connectButtonInnerBackground)}[data-rk] .ju367vco,[data-rk] .ju367vcp:hover,[data-rk] .ju367vcq:active{border-color:var(--rk-colors-connectButtonText)}[data-rk] .ju367vcr,[data-rk] .ju367vcs:hover,[data-rk] .ju367vct:active{border-color:var(--rk-colors-connectButtonTextError)}[data-rk] .ju367vcu,[data-rk] .ju367vcv:hover,[data-rk] .ju367vcw:active{border-color:var(--rk-colors-connectionIndicator)}[data-rk] .ju367vcx,[data-rk] .ju367vcy:hover,[data-rk] .ju367vcz:active{border-color:var(--rk-colors-downloadBottomCardBackground)}[data-rk] .ju367vd0,[data-rk] .ju367vd1:hover,[data-rk] .ju367vd2:active{border-color:var(--rk-colors-downloadTopCardBackground)}[data-rk] .ju367vd3,[data-rk] .ju367vd4:hover,[data-rk] .ju367vd5:active{border-color:var(--rk-colors-error)}[data-rk] .ju367vd6,[data-rk] .ju367vd7:hover,[data-rk] .ju367vd8:active{border-color:var(--rk-colors-generalBorder)}[data-rk] .ju367vd9,[data-rk] .ju367vda:hover,[data-rk] .ju367vdb:active{border-color:var(--rk-colors-generalBorderDim)}[data-rk] .ju367vdc,[data-rk] .ju367vdd:hover,[data-rk] .ju367vde:active{border-color:var(--rk-colors-menuItemBackground)}[data-rk] .ju367vdf,[data-rk] .ju367vdg:hover,[data-rk] .ju367vdh:active{border-color:var(--rk-colors-modalBackdrop)}[data-rk] .ju367vdi,[data-rk] .ju367vdj:hover,[data-rk] .ju367vdk:active{border-color:var(--rk-colors-modalBackground)}[data-rk] .ju367vdl,[data-rk] .ju367vdm:hover,[data-rk] .ju367vdn:active{border-color:var(--rk-colors-modalBorder)}[data-rk] .ju367vdo,[data-rk] .ju367vdp:hover,[data-rk] .ju367vdq:active{border-color:var(--rk-colors-modalText)}[data-rk] .ju367vdr,[data-rk] .ju367vds:hover,[data-rk] .ju367vdt:active{border-color:var(--rk-colors-modalTextDim)}[data-rk] .ju367vdu,[data-rk] .ju367vdv:hover,[data-rk] .ju367vdw:active{border-color:var(--rk-colors-modalTextSecondary)}[data-rk] .ju367vdx,[data-rk] .ju367vdy:hover,[data-rk] .ju367vdz:active{border-color:var(--rk-colors-profileAction)}[data-rk] .ju367ve0,[data-rk] .ju367ve1:hover,[data-rk] .ju367ve2:active{border-color:var(--rk-colors-profileActionHover)}[data-rk] .ju367ve3,[data-rk] .ju367ve4:hover,[data-rk] .ju367ve5:active{border-color:var(--rk-colors-profileForeground)}[data-rk] .ju367ve6,[data-rk] .ju367ve7:hover,[data-rk] .ju367ve8:active{border-color:var(--rk-colors-selectedOptionBorder)}[data-rk] .ju367ve9,[data-rk] .ju367vea:hover,[data-rk] .ju367veb:active{border-color:var(--rk-colors-standby)}[data-rk] .ju367vec,[data-rk] .ju367ved:hover,[data-rk] .ju367vee:active{box-shadow:var(--rk-shadows-connectButton)}[data-rk] .ju367vef,[data-rk] .ju367veg:hover,[data-rk] .ju367veh:active{box-shadow:var(--rk-shadows-dialog)}[data-rk] .ju367vei,[data-rk] .ju367vej:hover,[data-rk] .ju367vek:active{box-shadow:var(--rk-shadows-profileDetailsAction)}[data-rk] .ju367vel,[data-rk] .ju367vem:hover,[data-rk] .ju367ven:active{box-shadow:var(--rk-shadows-selectedOption)}[data-rk] .ju367veo,[data-rk] .ju367vep:hover,[data-rk] .ju367veq:active{box-shadow:var(--rk-shadows-selectedWallet)}[data-rk] .ju367ver,[data-rk] .ju367ves:hover,[data-rk] .ju367vet:active{box-shadow:var(--rk-shadows-walletLogo)}[data-rk] .ju367veu,[data-rk] .ju367vev:hover,[data-rk] .ju367vew:active{color:var(--rk-colors-accentColor)}[data-rk] .ju367vex,[data-rk] .ju367vey:hover,[data-rk] .ju367vez:active{color:var(--rk-colors-accentColorForeground)}[data-rk] .ju367vf0,[data-rk] .ju367vf1:hover,[data-rk] .ju367vf2:active{color:var(--rk-colors-actionButtonBorder)}[data-rk] .ju367vf3,[data-rk] .ju367vf4:hover,[data-rk] .ju367vf5:active{color:var(--rk-colors-actionButtonBorderMobile)}[data-rk] .ju367vf6,[data-rk] .ju367vf7:hover,[data-rk] .ju367vf8:active{color:var(--rk-colors-actionButtonSecondaryBackground)}[data-rk] .ju367vf9,[data-rk] .ju367vfa:hover,[data-rk] .ju367vfb:active{color:var(--rk-colors-closeButton)}[data-rk] .ju367vfc,[data-rk] .ju367vfd:hover,[data-rk] .ju367vfe:active{color:var(--rk-colors-closeButtonBackground)}[data-rk] .ju367vff,[data-rk] .ju367vfg:hover,[data-rk] .ju367vfh:active{color:var(--rk-colors-connectButtonBackground)}[data-rk] .ju367vfi,[data-rk] .ju367vfj:hover,[data-rk] .ju367vfk:active{color:var(--rk-colors-connectButtonBackgroundError)}[data-rk] .ju367vfl,[data-rk] .ju367vfm:hover,[data-rk] .ju367vfn:active{color:var(--rk-colors-connectButtonInnerBackground)}[data-rk] .ju367vfo,[data-rk] .ju367vfp:hover,[data-rk] .ju367vfq:active{color:var(--rk-colors-connectButtonText)}[data-rk] .ju367vfr,[data-rk] .ju367vfs:hover,[data-rk] .ju367vft:active{color:var(--rk-colors-connectButtonTextError)}[data-rk] .ju367vfu,[data-rk] .ju367vfv:hover,[data-rk] .ju367vfw:active{color:var(--rk-colors-connectionIndicator)}[data-rk] .ju367vfx,[data-rk] .ju367vfy:hover,[data-rk] .ju367vfz:active{color:var(--rk-colors-downloadBottomCardBackground)}[data-rk] .ju367vg0,[data-rk] .ju367vg1:hover,[data-rk] .ju367vg2:active{color:var(--rk-colors-downloadTopCardBackground)}[data-rk] .ju367vg3,[data-rk] .ju367vg4:hover,[data-rk] .ju367vg5:active{color:var(--rk-colors-error)}[data-rk] .ju367vg6,[data-rk] .ju367vg7:hover,[data-rk] .ju367vg8:active{color:var(--rk-colors-generalBorder)}[data-rk] .ju367vg9,[data-rk] .ju367vga:hover,[data-rk] .ju367vgb:active{color:var(--rk-colors-generalBorderDim)}[data-rk] .ju367vgc,[data-rk] .ju367vgd:hover,[data-rk] .ju367vge:active{color:var(--rk-colors-menuItemBackground)}[data-rk] .ju367vgf,[data-rk] .ju367vgg:hover,[data-rk] .ju367vgh:active{color:var(--rk-colors-modalBackdrop)}[data-rk] .ju367vgi,[data-rk] .ju367vgj:hover,[data-rk] .ju367vgk:active{color:var(--rk-colors-modalBackground)}[data-rk] .ju367vgl,[data-rk] .ju367vgm:hover,[data-rk] .ju367vgn:active{color:var(--rk-colors-modalBorder)}[data-rk] .ju367vgo,[data-rk] .ju367vgp:hover,[data-rk] .ju367vgq:active{color:var(--rk-colors-modalText)}[data-rk] .ju367vgr,[data-rk] .ju367vgs:hover,[data-rk] .ju367vgt:active{color:var(--rk-colors-modalTextDim)}[data-rk] .ju367vgu,[data-rk] .ju367vgv:hover,[data-rk] .ju367vgw:active{color:var(--rk-colors-modalTextSecondary)}[data-rk] .ju367vgx,[data-rk] .ju367vgy:hover,[data-rk] .ju367vgz:active{color:var(--rk-colors-profileAction)}[data-rk] .ju367vh0,[data-rk] .ju367vh1:hover,[data-rk] .ju367vh2:active{color:var(--rk-colors-profileActionHover)}[data-rk] .ju367vh3,[data-rk] .ju367vh4:hover,[data-rk] .ju367vh5:active{color:var(--rk-colors-profileForeground)}[data-rk] .ju367vh6,[data-rk] .ju367vh7:hover,[data-rk] .ju367vh8:active{color:var(--rk-colors-selectedOptionBorder)}[data-rk] .ju367vh9,[data-rk] .ju367vha:hover,[data-rk] .ju367vhb:active{color:var(--rk-colors-standby)}@media screen and (min-width:768px){[data-rk] .ju367v1{align-items:flex-start}[data-rk] .ju367v3{align-items:flex-end}[data-rk] .ju367v5{align-items:center}[data-rk] .ju367v7{display:none}[data-rk] .ju367v9{display:block;font-family:SF Mono;font-weight:600;letter-spacing:0;font-size:18px}[data-rk] .ju367vb{display:flex}[data-rk] .ju367vd{display:inline}}[data-rk] ._12cbo8i3,[data-rk] ._12cbo8i3:after{--_12cbo8i0:1;--_12cbo8i1:1}[data-rk] ._12cbo8i3:hover{transform:scale(var(--_12cbo8i0))}[data-rk] ._12cbo8i3:active{transform:scale(var(--_12cbo8i1))}[data-rk] ._12cbo8i3:active:after{content:"";bottom:-1px;display:block;left:-1px;position:absolute;right:-1px;top:-1px;transform:scale(calc((1 / var(--_12cbo8i1)) * var(--_12cbo8i0)))}[data-rk] ._12cbo8i4,[data-rk] ._12cbo8i4:after{--_12cbo8i0:1.025}[data-rk] ._12cbo8i5,[data-rk] ._12cbo8i5:after{--_12cbo8i0:1.1}[data-rk] ._12cbo8i6,[data-rk] ._12cbo8i6:after{--_12cbo8i1:0.95}[data-rk] ._12cbo8i7,[data-rk] ._12cbo8i7:after{--_12cbo8i1:0.9}@keyframes _1luule41{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}[data-rk] ._1luule42{animation:_1luule41 3s linear infinite}[data-rk] ._1luule43{background:conic-gradient(from 180deg at 50% 50%,rgba(72,146,254,0) 0deg,currentColor 282.04deg,rgba(72,146,254,0) 319.86deg,rgba(72,146,254,0) 1turn);height:21px;width:21px}@keyframes _9pm4ki0{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes _9pm4ki1{0%{opacity:0}to{opacity:1}}[data-rk] ._9pm4ki3{animation:_9pm4ki1 .15s ease;bottom:-200px;left:-200px;padding:200px;right:-200px;top:-200px;transform:translateZ(0);z-index:2147483646}[data-rk] ._9pm4ki5{animation:_9pm4ki0 .35s cubic-bezier(.15,1.15,.6,1),_9pm4ki1 .15s ease;max-width:100vw}[data-rk] ._1ckjpok1{box-sizing:content-box;max-width:100vw;width:360px}[data-rk] ._1ckjpok2{width:100vw}[data-rk] ._1ckjpok3{width:768px}[data-rk] ._1ckjpok4{min-width:368px;width:368px}[data-rk] ._1ckjpok6{border-width:0;box-sizing:border-box;width:100vw}@media screen and (min-width:768px){[data-rk] ._1ckjpok1{width:360px}[data-rk] ._1ckjpok2{width:480px}[data-rk] ._1ckjpok3{width:720px}[data-rk] ._1ckjpok4{min-width:368px;width:368px}}@media screen and (max-width:767px){[data-rk] ._1ckjpok7{border-bottom-left-radius:0;border-bottom-right-radius:0;margin-top:-200px;padding-bottom:200px;top:200px}}[data-rk] .v9horb0:hover{background:unset}[data-rk] .g5kl0l0{border-color:transparent}[data-rk] ._1vwt0cg0{background:#fff}[data-rk] ._1vwt0cg2{max-height:454px;overflow-y:auto}[data-rk] ._1vwt0cg3{min-width:246px}[data-rk] ._1vwt0cg4{min-width:100%}@media screen and (min-width:768px){[data-rk] ._1vwt0cg3{min-width:287px}}[data-rk] ._1am14410{overflow:auto;scrollbar-width:none;transform:translateZ(0)}[data-rk] ._1am14410::-webkit-scrollbar{display:none} \ No newline at end of file diff --git a/out/account.html b/out/account.html index a14d43a5..02e27808 100644 --- a/out/account.html +++ b/out/account.html @@ -1,4 +1,4 @@ -NameSys - Off-chain Records Manager
corner-account
+NameSys - Off-chain Records Manager
corner-account
@@ -44,4 +44,4 @@ -
Loading Names
0 Of 0
sourceGitHub
info_outlineHelp
\ No newline at end of file +
Loading Names
0 Of 0
sourceGitHub
info_outlineHelp
\ No newline at end of file diff --git a/out/fallback.html b/out/fallback.html index 8c143f6f..fe402da0 100644 --- a/out/fallback.html +++ b/out/fallback.html @@ -1 +1 @@ -
signal_wifi_connected_no_internet_4Your device is offline
\ No newline at end of file +
signal_wifi_connected_no_internet_4Your device is offline
\ No newline at end of file diff --git a/out/index.html b/out/index.html index 5264f933..90a00887 100644 --- a/out/index.html +++ b/out/index.html @@ -1,4 +1,4 @@ -NameSys - Off-Chain Records Manager
corner-index
+NameSys - Off-Chain Records Manager
corner-index
@@ -21,4 +21,4 @@ -
PLEASE WAIT
v1.3
NameSys
Advanced


  • energy_savings_leaf

    Gasless ENS Records
  • hub

    Decentralised Records Storage on IPFS
  • recycling

    Unlimited Record Updates With IPNS
  • badge

    Dynamic Records and Private Payments


  • Enjoy ENS Hassle Free
Funded ByENS DAO
\ No newline at end of file +
PLEASE WAIT
v1.3
NameSys
Advanced


  • energy_savings_leaf

    Gasless ENS Records
  • hub

    Decentralised Records Storage on IPFS
  • recycling

    Unlimited Record Updates With IPNS
  • badge

    Dynamic Records and Private Payments


  • Enjoy ENS Hassle Free
Funded ByENS DAO
\ No newline at end of file diff --git a/out/sw.js b/out/sw.js index 7d12daf4..10299ca8 100644 --- a/out/sw.js +++ b/out/sw.js @@ -1 +1 @@ -!function(){"use strict";var e={913:function(){try{self["workbox:core:6.5.4"]&&_()}catch(e){}},550:function(){try{self["workbox:expiration:6.5.4"]&&_()}catch(e){}},977:function(){try{self["workbox:precaching:6.5.4"]&&_()}catch(e){}},80:function(){try{self["workbox:routing:6.5.4"]&&_()}catch(e){}},873:function(){try{self["workbox:strategies:6.5.4"]&&_()}catch(e){}}},t={};function s(n){var a=t[n];if(void 0!==a)return a.exports;var r=t[n]={exports:{}},i=!0;try{e[n](r,r.exports,s),i=!1}finally{i&&delete t[n]}return r.exports}!function(){s(913);const e=(e,...t)=>{let s=e;return t.length>0&&(s+=` :: ${JSON.stringify(t)}`),s};class t extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}const n=new Set;const a={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!==typeof registration?registration.scope:""},r=e=>[a.prefix,e,a.suffix].filter((e=>e&&e.length>0)).join("-"),i=e=>e||r(a.precache),o=e=>e||r(a.runtime);function c(e,t){const s=new URL(e);for(const n of t)s.searchParams.delete(n);return s.href}let h;function l(e){e.then((()=>{}))}class u{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}const d=e=>new URL(String(e),location.href).href.replace(new RegExp(`^${location.origin}`),"");function f(e){return new Promise((t=>setTimeout(t,e)))}function p(e,t){const s=t();return e.waitUntil(s),s}async function g(e,s){let n=null;if(e.url){n=new URL(e.url).origin}if(n!==self.location.origin)throw new t("cross-origin-copy-response",{origin:n});const a=e.clone(),r={headers:new Headers(a.headers),status:a.status,statusText:a.statusText},i=s?s(r):r,o=function(){if(void 0===h){const t=new Response("");if("body"in t)try{new Response(t.body),h=!0}catch(e){h=!1}h=!1}return h}()?a.body:await a.blob();return new Response(o,i)}let w,m;const y=new WeakMap,_=new WeakMap,v=new WeakMap,b=new WeakMap,x=new WeakMap;let R={get(e,t,s){if(e instanceof IDBTransaction){if("done"===t)return _.get(e);if("objectStoreNames"===t)return e.objectStoreNames||v.get(e);if("store"===t)return s.objectStoreNames[1]?void 0:s.objectStore(s.objectStoreNames[0])}return T(e[t])},set:(e,t,s)=>(e[t]=s,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function E(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(m||(m=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(k(this),t),T(y.get(this))}:function(...t){return T(e.apply(k(this),t))}:function(t,...s){const n=e.call(k(this),t,...s);return v.set(n,t.sort?t.sort():[t]),T(n)}}function C(e){return"function"===typeof e?E(e):(e instanceof IDBTransaction&&function(e){if(_.has(e))return;const t=new Promise(((t,s)=>{const n=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",r),e.removeEventListener("abort",r)},a=()=>{t(),n()},r=()=>{s(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",a),e.addEventListener("error",r),e.addEventListener("abort",r)}));_.set(e,t)}(e),t=e,(w||(w=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some((e=>t instanceof e))?new Proxy(e,R):e);var t}function T(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,s)=>{const n=()=>{e.removeEventListener("success",a),e.removeEventListener("error",r)},a=()=>{t(T(e.result)),n()},r=()=>{s(e.error),n()};e.addEventListener("success",a),e.addEventListener("error",r)}));return t.then((t=>{t instanceof IDBCursor&&y.set(t,e)})).catch((()=>{})),x.set(t,e),t}(e);if(b.has(e))return b.get(e);const t=C(e);return t!==e&&(b.set(e,t),x.set(t,e)),t}const k=e=>x.get(e);const L=["get","getKey","getAll","getAllKeys","count"],q=["put","add","delete","clear"],U=new Map;function D(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!==typeof t)return;if(U.get(t))return U.get(t);const s=t.replace(/FromIndex$/,""),n=t!==s,a=q.includes(s);if(!(s in(n?IDBIndex:IDBObjectStore).prototype)||!a&&!L.includes(s))return;const r=async function(e,...t){const r=this.transaction(e,a?"readwrite":"readonly");let i=r.store;return n&&(i=i.index(t.shift())),(await Promise.all([i[s](...t),a&&r.done]))[0]};return U.set(t,r),r}R=(e=>({...e,get:(t,s,n)=>D(t,s)||e.get(t,s,n),has:(t,s)=>!!D(t,s)||e.has(t,s)}))(R);s(550);const N="cache-entries",S=e=>{const t=new URL(e,location.href);return t.hash="",t.href};class P{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(N,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&function(e,{blocked:t}={}){const s=indexedDB.deleteDatabase(e);t&&s.addEventListener("blocked",(e=>t(e.oldVersion,e))),T(s).then((()=>{}))}(this._cacheName)}async setTimestamp(e,t){const s={url:e=S(e),timestamp:t,cacheName:this._cacheName,id:this._getId(e)},n=(await this.getDb()).transaction(N,"readwrite",{durability:"relaxed"});await n.store.put(s),await n.done}async getTimestamp(e){const t=await this.getDb(),s=await t.get(N,this._getId(e));return null===s||void 0===s?void 0:s.timestamp}async expireEntries(e,t){const s=await this.getDb();let n=await s.transaction(N).store.index("timestamp").openCursor(null,"prev");const a=[];let r=0;for(;n;){const s=n.value;s.cacheName===this._cacheName&&(e&&s.timestamp=t?a.push(n.value):r++),n=await n.continue()}const i=[];for(const o of a)await s.delete(N,o.id),i.push(o.url);return i}_getId(e){return this._cacheName+"|"+S(e)}async getDb(){return this._db||(this._db=await function(e,t,{blocked:s,upgrade:n,blocking:a,terminated:r}={}){const i=indexedDB.open(e,t),o=T(i);return n&&i.addEventListener("upgradeneeded",(e=>{n(T(i.result),e.oldVersion,e.newVersion,T(i.transaction),e)})),s&&i.addEventListener("blocked",(e=>s(e.oldVersion,e.newVersion,e))),o.then((e=>{r&&e.addEventListener("close",(()=>r())),a&&e.addEventListener("versionchange",(e=>a(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),o}("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class I{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new P(e)}async expireEntries(){if(this._isRunning)return void(this._rerunRequested=!0);this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-1e3*this._maxAgeSeconds:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),s=await self.caches.open(this._cacheName);for(const n of t)await s.delete(n,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,l(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),s=Date.now()-1e3*this._maxAgeSeconds;return void 0===t||t{if(!n)return null;const a=this._isResponseDateFresh(n),r=this._getCacheExpiration(s);l(r.expireEntries());const i=r.updateTimestamp(t.url);if(e)try{e.waitUntil(i)}catch(o){0}return a?n:null},this.cacheDidUpdate=async({cacheName:e,request:t})=>{const s=this._getCacheExpiration(e);await s.updateTimestamp(t.url),await s.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&function(e){n.add(e)}((()=>this.deleteCacheAndMetadata()))}_getCacheExpiration(e){if(e===o())throw new t("expire-custom-caches-only");let s=this._cacheExpirations.get(e);return s||(s=new I(e,this._config),this._cacheExpirations.set(e,s)),s}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(null===t)return!0;return t>=Date.now()-1e3*this._maxAgeSeconds}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),s=new Date(t).getTime();return isNaN(s)?null:s}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}s(873);function M(e){return"string"===typeof e?new Request(e):e}class O{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new u,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const s of this._plugins)this._pluginStateMap.set(s,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:s}=this;let n=M(e);if("navigate"===n.mode&&s instanceof FetchEvent&&s.preloadResponse){const e=await s.preloadResponse;if(e)return e}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const e of this.iterateCallbacks("requestWillFetch"))n=await e({request:n.clone(),event:s})}catch(i){if(i instanceof Error)throw new t("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let e;e=await fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);for(const t of this.iterateCallbacks("fetchDidSucceed"))e=await t({event:s,request:r,response:e});return e}catch(o){throw a&&await this.runCallbacks("fetchDidFail",{error:o,event:s,originalRequest:a.clone(),request:r.clone()}),o}}async fetchAndCachePut(e){const t=await this.fetch(e),s=t.clone();return this.waitUntil(this.cachePut(e,s)),t}async cacheMatch(e){const t=M(e);let s;const{cacheName:n,matchOptions:a}=this._strategy,r=await this.getCacheKey(t,"read"),i=Object.assign(Object.assign({},a),{cacheName:n});s=await caches.match(r,i);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await o({cacheName:n,matchOptions:a,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(e,s){const a=M(e);await f(0);const r=await this.getCacheKey(a,"write");if(!s)throw new t("cache-put-with-no-response",{url:d(r.url)});const i=await this._ensureResponseSafeToCache(s);if(!i)return!1;const{cacheName:o,matchOptions:h}=this._strategy,l=await self.caches.open(o),u=this.hasCallback("cacheDidUpdate"),p=u?await async function(e,t,s,n){const a=c(t.url,s);if(t.url===a)return e.match(t,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await e.keys(t,r);for(const o of i)if(a===c(o.url,s))return e.match(o,n)}(l,r.clone(),["__WB_REVISION__"],h):null;try{await l.put(r,u?i.clone():i)}catch(g){if(g instanceof Error)throw"QuotaExceededError"===g.name&&await async function(){for(const e of n)await e()}(),g}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:o,oldResponse:p,newResponse:i.clone(),request:r,event:this.event});return!0}async getCacheKey(e,t){const s=`${e.url} | ${t}`;if(!this._cacheKeys[s]){let n=e;for(const e of this.iterateCallbacks("cacheKeyWillBeUsed"))n=M(await e({mode:t,request:n,event:this.event,params:this.params}));this._cacheKeys[s]=n}return this._cacheKeys[s]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const s of this.iterateCallbacks(e))await s(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if("function"===typeof t[e]){const s=this._pluginStateMap.get(t),n=n=>{const a=Object.assign(Object.assign({},n),{state:s});return t[e](a)};yield n}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,s=!1;for(const n of this.iterateCallbacks("cacheWillUpdate"))if(t=await n({request:this.request,response:t,event:this.event})||void 0,s=!0,!t)break;return s||t&&200!==t.status&&(t=void 0),t}}class K{constructor(e={}){this.cacheName=o(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,s="string"===typeof e.request?new Request(e.request):e.request,n="params"in e?e.params:void 0,a=new O(this,{event:t,request:s,params:n}),r=this._getResponse(a,s,t);return[r,this._awaitComplete(r,a,s,t)]}async _getResponse(e,s,n){let a;await e.runCallbacks("handlerWillStart",{event:n,request:s});try{if(a=await this._handle(s,e),!a||"error"===a.type)throw new t("no-response",{url:s.url})}catch(r){if(r instanceof Error)for(const t of e.iterateCallbacks("handlerDidError"))if(a=await t({error:r,event:n,request:s}),a)break;if(!a)throw r}for(const t of e.iterateCallbacks("handlerWillRespond"))a=await t({event:n,request:s,response:a});return a}async _awaitComplete(e,t,s,n){let a,r;try{a=await e}catch(r){}try{await t.runCallbacks("handlerDidRespond",{event:n,request:s,response:a}),await t.doneWaiting()}catch(i){i instanceof Error&&(r=i)}if(await t.runCallbacks("handlerDidComplete",{event:n,request:s,response:a,error:r}),t.destroy(),r)throw r}}const W={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null};class j extends K{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(W),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,s){const n=[];const a=[];let r;if(this._networkTimeoutSeconds){const{id:t,promise:i}=this._getTimeoutPromise({request:e,logs:n,handler:s});r=t,a.push(i)}const i=this._getNetworkPromise({timeoutId:r,request:e,logs:n,handler:s});a.push(i);const o=await s.waitUntil((async()=>await s.waitUntil(Promise.race(a))||await i)());if(!o)throw new t("no-response",{url:e.url});return o}_getTimeoutPromise({request:e,logs:t,handler:s}){let n;return{promise:new Promise((t=>{n=setTimeout((async()=>{t(await s.cacheMatch(e))}),1e3*this._networkTimeoutSeconds)})),id:n}}async _getNetworkPromise({timeoutId:e,request:t,logs:s,handler:n}){let a,r;try{r=await n.fetchAndCachePut(t)}catch(i){i instanceof Error&&(a=i)}return e&&clearTimeout(e),!a&&r||(r=await n.cacheMatch(t)),r}}class B extends K{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(W)}async _handle(e,s){const n=s.fetchAndCachePut(e).catch((()=>{}));s.waitUntil(n);let a,r=await s.cacheMatch(e);if(r)0;else{0;try{r=await n}catch(i){i instanceof Error&&(a=i)}}if(!r)throw new t("no-response",{url:e.url,error:a});return r}}s(80);const H=e=>e&&"object"===typeof e?e:{handle:e};class F{constructor(e,t,s="GET"){this.handler=H(t),this.match=e,this.method=s}setCatchHandler(e){this.catchHandler=H(e)}}class $ extends F{constructor(e,t,s){super((({url:t})=>{const s=e.exec(t.href);if(s&&(t.origin===location.origin||0===s.index))return s.slice(1)}),t,s)}}class G{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",(e=>{const{request:t}=e,s=this.handleRequest({request:t,event:e});s&&e.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(e=>{if(e.data&&"CACHE_URLS"===e.data.type){const{payload:t}=e.data;0;const s=Promise.all(t.urlsToCache.map((t=>{"string"===typeof t&&(t=[t]);const s=new Request(...t);return this.handleRequest({request:s,event:e})})));e.waitUntil(s),e.ports&&e.ports[0]&&s.then((()=>e.ports[0].postMessage(!0)))}}))}handleRequest({request:e,event:t}){const s=new URL(e.url,location.href);if(!s.protocol.startsWith("http"))return void 0;const n=s.origin===location.origin,{params:a,route:r}=this.findMatchingRoute({event:t,request:e,sameOrigin:n,url:s});let i=r&&r.handler;const o=e.method;if(!i&&this._defaultHandlerMap.has(o)&&(i=this._defaultHandlerMap.get(o)),!i)return void 0;let c;try{c=i.handle({url:s,request:e,event:t,params:a})}catch(l){c=Promise.reject(l)}const h=r&&r.catchHandler;return c instanceof Promise&&(this._catchHandler||h)&&(c=c.catch((async n=>{if(h){0;try{return await h.handle({url:s,request:e,event:t,params:a})}catch(r){r instanceof Error&&(n=r)}}if(this._catchHandler)return this._catchHandler.handle({url:s,request:e,event:t});throw n}))),c}findMatchingRoute({url:e,sameOrigin:t,request:s,event:n}){const a=this._routes.get(s.method)||[];for(const r of a){let a;const i=r.match({url:e,sameOrigin:t,request:s,event:n});if(i)return a=i,(Array.isArray(a)&&0===a.length||i.constructor===Object&&0===Object.keys(i).length||"boolean"===typeof i)&&(a=void 0),{route:r,params:a}}return{}}setDefaultHandler(e,t="GET"){this._defaultHandlerMap.set(t,H(e))}setCatchHandler(e){this._catchHandler=H(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new t("unregister-route-but-not-found-with-method",{method:e.method});const s=this._routes.get(e.method).indexOf(e);if(!(s>-1))throw new t("unregister-route-route-not-registered");this._routes.get(e.method).splice(s,1)}}let Q;const V=()=>(Q||(Q=new G,Q.addFetchListener(),Q.addCacheListener()),Q);function J(e,s,n){let a;if("string"===typeof e){const t=new URL(e,location.href);0;a=new F((({url:e})=>e.href===t.href),s,n)}else if(e instanceof RegExp)a=new $(e,s,n);else if("function"===typeof e)a=new F(e,s,n);else{if(!(e instanceof F))throw new t("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});a=e}return V().registerRoute(a),a}s(977);function z(e){if(!e)throw new t("add-to-cache-list-unexpected-type",{entry:e});if("string"===typeof e){const t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}const{revision:s,url:n}=e;if(!n)throw new t("add-to-cache-list-unexpected-type",{entry:e});if(!s){const e=new URL(n,location.href);return{cacheKey:e.href,url:e.href}}const a=new URL(n,location.href),r=new URL(n,location.href);return a.searchParams.set("__WB_REVISION__",s),{cacheKey:a.href,url:r.href}}class X{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:s})=>{if("install"===e.type&&t&&t.originalRequest&&t.originalRequest instanceof Request){const e=t.originalRequest.url;s?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return s}}}class Y{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:e,params:t})=>{const s=(null===t||void 0===t?void 0:t.cacheKey)||this._precacheController.getCacheKeyForURL(e.url);return s?new Request(s,{headers:e.headers}):e},this._precacheController=e}}class Z extends K{constructor(e={}){e.cacheName=i(e.cacheName),super(e),this._fallbackToNetwork=!1!==e.fallbackToNetwork,this.plugins.push(Z.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const s=await t.cacheMatch(e);return s||(t.event&&"install"===t.event.type?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,s){let n;const a=s.params||{};if(!this._fallbackToNetwork)throw new t("missing-precache-entry",{cacheName:this.cacheName,url:e.url});{0;const t=a.integrity,r=e.integrity,i=!r||r===t;if(n=await s.fetch(new Request(e,{integrity:"no-cors"!==e.mode?r||t:void 0})),t&&i&&"no-cors"!==e.mode){this._useDefaultCacheabilityPluginIfNeeded();await s.cachePut(e,n.clone());0}}return n}async _handleInstall(e,s){this._useDefaultCacheabilityPluginIfNeeded();const n=await s.fetch(e);if(!(await s.cachePut(e,n.clone())))throw new t("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[s,n]of this.plugins.entries())n!==Z.copyRedirectedCacheableResponsesPlugin&&(n===Z.defaultPrecacheCacheabilityPlugin&&(e=s),n.cacheWillUpdate&&t++);0===t?this.plugins.push(Z.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}Z.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:e})=>!e||e.status>=400?null:e},Z.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:e})=>e.redirected?await g(e):e};class ee{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:s=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new Z({cacheName:i(e),plugins:[...t,new Y({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const s=[];for(const n of e){"string"===typeof n?s.push(n):n&&void 0===n.revision&&s.push(n.url);const{cacheKey:e,url:a}=z(n),r="string"!==typeof n&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(a)&&this._urlsToCacheKeys.get(a)!==e)throw new t("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(a),secondEntry:e});if("string"!==typeof n&&n.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==n.integrity)throw new t("add-to-cache-list-conflicting-integrities",{url:a});this._cacheKeysToIntegrities.set(e,n.integrity)}if(this._urlsToCacheKeys.set(a,e),this._urlsToCacheModes.set(a,r),s.length>0){const e=`Workbox is precaching URLs without revision info: ${s.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(e)}}}install(e){return p(e,(async()=>{const t=new X;this.strategy.plugins.push(t);for(const[a,r]of this._urlsToCacheKeys){const t=this._cacheKeysToIntegrities.get(r),s=this._urlsToCacheModes.get(a),n=new Request(a,{integrity:t,cache:s,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:r},request:n,event:e}))}const{updatedURLs:s,notUpdatedURLs:n}=t;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(e){return p(e,(async()=>{const e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),s=new Set(this._urlsToCacheKeys.values()),n=[];for(const a of t)s.has(a.url)||(await e.delete(a),n.push(a.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,s=this.getCacheKeyForURL(t);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(e){const s=this.getCacheKeyForURL(e);if(!s)throw new t("non-precached-url",{url:e});return t=>(t.request=new Request(e),t.params=Object.assign({cacheKey:s},t.params),this.strategy.handle(t))}}let te;const se=()=>(te||(te=new ee),te);class ne extends F{constructor(e,t){super((({request:s})=>{const n=e.getURLsToCacheKeys();for(const a of function*(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:a}={}){const r=new URL(e,location.href);r.hash="",yield r.href;const i=function(e,t=[]){for(const s of[...e.searchParams.keys()])t.some((e=>e.test(s)))&&e.searchParams.delete(s);return e}(r,t);if(yield i.href,s&&i.pathname.endsWith("/")){const e=new URL(i.href);e.pathname+=s,yield e.href}if(n){const e=new URL(i.href);e.pathname+=".html",yield e.href}if(a){const e=a({url:r});for(const t of e)yield t.href}}(s.url,t)){const t=n.get(a);if(t){return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}}}),e.strategy)}}function ae(e){return se().matchPrecache(e)}self.skipWaiting(),self.addEventListener("activate",(()=>self.clients.claim()));var re,ie,oe=[{'revision':'9bbf19a123fd61fe5c210e151c0328cc','url':'/Bioliquid.woff2'},{'revision':'962c1a8b020dac15baf9aa20a07d933c','url':'/Rajdhani.woff2'},{'revision':'ea0d73166b7edccfe1c3c4f75ddae0a3','url':'/Roboto-Mono.woff2'},{'revision':'0667a32587cc27bbdbadc70314c7bb14','url':'/SF-Mono.woff2'},{'revision':'e2fcb2a0f6b0be3fcc78264dbe957f29','url':'/Spotnik.woff2'},{'revision':'2f9d24ba6fd7e38ea24ecac6d2679d38','url':'/_next/static/4A2BbjZEJi9LM2PVD4GU0/_buildManifest.js'},{'revision':'fb2823d66b3e778e04a3f681d0d2fb19','url':'/_next/static/4A2BbjZEJi9LM2PVD4GU0/_middlewareManifest.js'},{'revision':'b6652df95db52feb4daf4eca35380933','url':'/_next/static/4A2BbjZEJi9LM2PVD4GU0/_ssgManifest.js'},{'revision':'04d87f92e05f23c7','url':'/_next/static/chunks/1088.04d87f92e05f23c7.js'},{'revision':'ec04f07937386922','url':'/_next/static/chunks/1608.ec04f07937386922.js'},{'revision':'ae2b84d9f5645069','url':'/_next/static/chunks/1711.ae2b84d9f5645069.js'},{'revision':'af62bd633f21ee69','url':'/_next/static/chunks/1727.af62bd633f21ee69.js'},{'revision':'f63b451fd93f590b','url':'/_next/static/chunks/1748.f63b451fd93f590b.js'},{'revision':'cb9fc6e84f74d522','url':'/_next/static/chunks/1894.cb9fc6e84f74d522.js'},{'revision':'c8039f3dc9bb92f5','url':'/_next/static/chunks/1950.c8039f3dc9bb92f5.js'},{'revision':'038de301f3a28eb2','url':'/_next/static/chunks/2027.038de301f3a28eb2.js'},{'revision':'f6baa39611ece47e','url':'/_next/static/chunks/2174.f6baa39611ece47e.js'},{'revision':'7fa35c587e17bdcc','url':'/_next/static/chunks/2393.7fa35c587e17bdcc.js'},{'revision':'65866dff31d90fde','url':'/_next/static/chunks/2408.65866dff31d90fde.js'},{'revision':'250be1a3b8354750','url':'/_next/static/chunks/2604.250be1a3b8354750.js'},{'revision':'0a838d09eabc5b43','url':'/_next/static/chunks/2746.0a838d09eabc5b43.js'},{'revision':'f370a64b5af02f0b','url':'/_next/static/chunks/2898.f370a64b5af02f0b.js'},{'revision':'07a96119d145f2e1','url':'/_next/static/chunks/3200.07a96119d145f2e1.js'},{'revision':'53072abba3ca74b8','url':'/_next/static/chunks/3525.53072abba3ca74b8.js'},{'revision':'d43c02005a549a55','url':'/_next/static/chunks/3747.d43c02005a549a55.js'},{'revision':'f3ae5e81cac2c390','url':'/_next/static/chunks/422.f3ae5e81cac2c390.js'},{'revision':'6be69df622e36e45','url':'/_next/static/chunks/4253.6be69df622e36e45.js'},{'revision':'c4f2007bfe36ec14','url':'/_next/static/chunks/4419.c4f2007bfe36ec14.js'},{'revision':'5dac0fea9b4cf3a3','url':'/_next/static/chunks/4d26f338-5dac0fea9b4cf3a3.js'},{'revision':'33e08a0525159056','url':'/_next/static/chunks/5119.33e08a0525159056.js'},{'revision':'d2f047fea62adf58','url':'/_next/static/chunks/514.d2f047fea62adf58.js'},{'revision':'ea86c6ce443ba3bd','url':'/_next/static/chunks/5488.ea86c6ce443ba3bd.js'},{'revision':'bab5f5b7ff8ff120','url':'/_next/static/chunks/556.bab5f5b7ff8ff120.js'},{'revision':'294b57e99702d064','url':'/_next/static/chunks/5660.294b57e99702d064.js'},{'revision':'7abe5840ceba140e','url':'/_next/static/chunks/5806.7abe5840ceba140e.js'},{'revision':'de38455bb64d9835','url':'/_next/static/chunks/5811.de38455bb64d9835.js'},{'revision':'0a433dc6f963fc41','url':'/_next/static/chunks/5939.0a433dc6f963fc41.js'},{'revision':'f7b1d24c812922e4','url':'/_next/static/chunks/6237.f7b1d24c812922e4.js'},{'revision':'dcdff54f0dceda1f','url':'/_next/static/chunks/6253.dcdff54f0dceda1f.js'},{'revision':'ea13afa99496d818','url':'/_next/static/chunks/6328.ea13afa99496d818.js'},{'revision':'b10481f17e2d2cf9','url':'/_next/static/chunks/6538.b10481f17e2d2cf9.js'},{'revision':'432f96462db0d036','url':'/_next/static/chunks/6551.432f96462db0d036.js'},{'revision':'b954bf9a27972ff7','url':'/_next/static/chunks/6724-b954bf9a27972ff7.js'},{'revision':'6a0d4129b644e95d','url':'/_next/static/chunks/6845-6a0d4129b644e95d.js'},{'revision':'a575059dbc72db1a','url':'/_next/static/chunks/6847.a575059dbc72db1a.js'},{'revision':'484bcd9e0a7f5626','url':'/_next/static/chunks/704.484bcd9e0a7f5626.js'},{'revision':'b0a3567fac8e0052','url':'/_next/static/chunks/7682.b0a3567fac8e0052.js'},{'revision':'f08d55bab5fc0f34','url':'/_next/static/chunks/7749.f08d55bab5fc0f34.js'},{'revision':'f18da82915d63734','url':'/_next/static/chunks/794.f18da82915d63734.js'},{'revision':'b8b92f519975c722','url':'/_next/static/chunks/8109-b8b92f519975c722.js'},{'revision':'d6c500ddcf42e542','url':'/_next/static/chunks/8137.d6c500ddcf42e542.js'},{'revision':'593a836a579a1569','url':'/_next/static/chunks/8764-593a836a579a1569.js'},{'revision':'8c985300b37d631a','url':'/_next/static/chunks/8881.8c985300b37d631a.js'},{'revision':'882cd6b61a640a13','url':'/_next/static/chunks/9223.882cd6b61a640a13.js'},{'revision':'405a73de74b58e27','url':'/_next/static/chunks/934.405a73de74b58e27.js'},{'revision':'ccb30e1e9ae409dc','url':'/_next/static/chunks/9343.ccb30e1e9ae409dc.js'},{'revision':'aecff84a047b7ed5','url':'/_next/static/chunks/9361-aecff84a047b7ed5.js'},{'revision':'c93f7cb64c560417','url':'/_next/static/chunks/9894.c93f7cb64c560417.js'},{'revision':'44044767831d9eb0','url':'/_next/static/chunks/9941.44044767831d9eb0.js'},{'revision':'64d4aa160ef531df','url':'/_next/static/chunks/de297ff1-64d4aa160ef531df.js'},{'revision':'28712122b8f24e0e','url':'/_next/static/chunks/framework-28712122b8f24e0e.js'},{'revision':'235b4afd80b524a5','url':'/_next/static/chunks/main-235b4afd80b524a5.js'},{'revision':'f779bf4e7bba1198','url':'/_next/static/chunks/pages/_app-f779bf4e7bba1198.js'},{'revision':'4a934674346210d3','url':'/_next/static/chunks/pages/_error-4a934674346210d3.js'},{'revision':'d70b3d90e46efcc8','url':'/_next/static/chunks/pages/account-d70b3d90e46efcc8.js'},{'revision':'6fab776daa9ae5fc','url':'/_next/static/chunks/pages/fallback-6fab776daa9ae5fc.js'},{'revision':'747411878630625b','url':'/_next/static/chunks/pages/index-747411878630625b.js'},{'revision':'99442aec5788bccac9b2f0ead2afdd6b','url':'/_next/static/chunks/polyfills-5cd94c89d3acac5f.js'},{'revision':'f3550438b5914a35','url':'/_next/static/chunks/webpack-f3550438b5914a35.js'},{'revision':'b355ced14f31177f','url':'/_next/static/css/b355ced14f31177f.css'},{'revision':'f2782572','url':'/_next/static/media/Bioliquid.f2782572.woff2'},{'revision':'34941911','url':'/_next/static/media/Rajdhani.34941911.woff2'},{'revision':'f73e941d','url':'/_next/static/media/Roboto-Mono.f73e941d.woff2'},{'revision':'1ef6859c','url':'/_next/static/media/SF-Mono.1ef6859c.woff2'},{'revision':'464dbd09','url':'/_next/static/media/Spotnik.464dbd09.woff2'},{'revision':'6db2c019f4fde216022ac8d059664899','url':'/ens-red.png'},{'revision':'aa858b65b4bccd0b8b171b7381782b54','url':'/ens-vision.png'},{'revision':'6d1fe7b883e5cee5559899a921e1191d','url':'/ens-white.png'},{'revision':'649aaa4e91cad7bb65932962cd7df11a','url':'/ens.png'},{'revision':'e21260efeb5ea2999269530516c5d71a','url':'/eth-dark.png'},{'revision':'7871856f87888053a7906446e0bed261','url':'/eth-red.png'},{'revision':'16f3a5485241d8b9e632f2aa53a6512c','url':'/eth.png'},{'revision':'a1bec2f2792cf6cfb340955d6b4cdb24','url':'/godid.svg'},{'revision':'fee4a5f8e0a922dc9b7b86278ade220e','url':'/logo.png'},{'revision':'bd53b8865752ea7df7ff9a3cc488ee9d','url':'/manifest.json'},{'revision':'7ac4d0e9806b2dbdc0b08f4c22a5bc35','url':'/readme/GUIDE.md'},{'revision':'ccf294a28856da3ea777c2daef9ef073','url':'/readme/github-markdown.min.css'},{'revision':'201b1c8cd745a48c260d0f57b53f5ce8','url':'/readme/index.js'},{'revision':'cf2fbbf84281d9ecbffb4993203d543b','url':'/readme/jquery.min.js'},{'revision':'ec7a634ecb477777ec6b6ca434b455ae','url':'/readme/query.js'},{'revision':'80362c5a131a99766e04f5ed50fddedf','url':'/readme/readme.htm'},{'revision':'f998a0f83800c6d1a754308b830ee998','url':'/readme/style.css'},{'revision':'77cd19437dced1bc1e3852c71134faaf','url':'/readme/theme.min.css'},{'revision':'06c2ab8e193a2de3408319058e0a7639','url':'/readme/zero-md.min.js'},{'revision':'d1ae3bc01dbdb57855b85080e46111fd','url':'/shadow.svg'},{'revision':'a9f80d8d245b051a96c9ee42c3cc6316','url':'/sw.js'}];oe.push({url:"/fallback",revision:"1234567890"}),function(e){se().precache(e)}(oe),function(e){const t=se();J(new ne(t,e))}(re),self.addEventListener("activate",(e=>{const t=i();e.waitUntil((async(e,t="-precache-")=>{const s=(await self.caches.keys()).filter((s=>s.includes(t)&&s.includes(self.registration.scope)&&s!==e));return await Promise.all(s.map((e=>self.caches.delete(e)))),s})(t).then((e=>{})))})),J("/",new j({cacheName:"start-url",plugins:[new A({maxEntries:1,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/^https:\/\/fonts\.(?:googleapis|gstatic)\.com\/.*/i,new class extends K{async _handle(e,s){let n,a=await s.cacheMatch(e);if(a)0;else{0;try{a=await s.fetchAndCachePut(e)}catch(r){r instanceof Error&&(n=r)}0}if(!a)throw new t("no-response",{url:e.url,error:n});return a}}({cacheName:"google-fonts",plugins:[new A({maxEntries:4,maxAgeSeconds:31536e3,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:eot|otf|ttc|ttf|woff|woff2|font.css)$/i,new B({cacheName:"static-font-assets",plugins:[new A({maxEntries:4,maxAgeSeconds:604800,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:jpg|jpeg|gif|png|svg|ico|webp)$/i,new class extends K{constructor(e={}){super(e),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,s){let n,a;try{const t=[s.fetch(e)];if(this._networkTimeoutSeconds){const e=f(1e3*this._networkTimeoutSeconds);t.push(e)}if(a=await Promise.race(t),!a)throw new Error(`Timed out the network response after ${this._networkTimeoutSeconds} seconds.`)}catch(r){r instanceof Error&&(n=r)}if(!a)throw new t("no-response",{url:e.url,error:n});return a}}({cacheName:"static-image-assets",plugins:[new A({maxEntries:64,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:js)$/i,new B({cacheName:"static-js-assets",plugins:[new A({maxEntries:32,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:css|less)$/i,new B({cacheName:"static-style-assets",plugins:[new A({maxEntries:32,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:json|xml|csv)$/i,new j({cacheName:"static-data-assets",plugins:[new A({maxEntries:32,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/\/api\/.*$/i,new j({cacheName:"apis",networkTimeoutSeconds:10,plugins:[new A({maxEntries:16,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/.*/i,new j({cacheName:"others",networkTimeoutSeconds:10,plugins:[new A({maxEntries:32,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),ie=new B,V().setDefaultHandler(ie),function(e){V().setCatchHandler(e)}((function(e){switch(e.event.request.destination){case"document":return ae("/fallback");case"image":return ae("/static/images/fallback.png");default:return Response.error()}}))}()}(); \ No newline at end of file +!function(){"use strict";var e={913:function(){try{self["workbox:core:6.5.4"]&&_()}catch(e){}},550:function(){try{self["workbox:expiration:6.5.4"]&&_()}catch(e){}},977:function(){try{self["workbox:precaching:6.5.4"]&&_()}catch(e){}},80:function(){try{self["workbox:routing:6.5.4"]&&_()}catch(e){}},873:function(){try{self["workbox:strategies:6.5.4"]&&_()}catch(e){}}},t={};function s(n){var a=t[n];if(void 0!==a)return a.exports;var r=t[n]={exports:{}},i=!0;try{e[n](r,r.exports,s),i=!1}finally{i&&delete t[n]}return r.exports}!function(){s(913);const e=(e,...t)=>{let s=e;return t.length>0&&(s+=` :: ${JSON.stringify(t)}`),s};class t extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}const n=new Set;const a={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!==typeof registration?registration.scope:""},r=e=>[a.prefix,e,a.suffix].filter((e=>e&&e.length>0)).join("-"),i=e=>e||r(a.precache),o=e=>e||r(a.runtime);function c(e,t){const s=new URL(e);for(const n of t)s.searchParams.delete(n);return s.href}let h;function l(e){e.then((()=>{}))}class u{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}const d=e=>new URL(String(e),location.href).href.replace(new RegExp(`^${location.origin}`),"");function f(e){return new Promise((t=>setTimeout(t,e)))}function p(e,t){const s=t();return e.waitUntil(s),s}async function g(e,s){let n=null;if(e.url){n=new URL(e.url).origin}if(n!==self.location.origin)throw new t("cross-origin-copy-response",{origin:n});const a=e.clone(),r={headers:new Headers(a.headers),status:a.status,statusText:a.statusText},i=s?s(r):r,o=function(){if(void 0===h){const t=new Response("");if("body"in t)try{new Response(t.body),h=!0}catch(e){h=!1}h=!1}return h}()?a.body:await a.blob();return new Response(o,i)}let w,m;const y=new WeakMap,_=new WeakMap,v=new WeakMap,b=new WeakMap,x=new WeakMap;let R={get(e,t,s){if(e instanceof IDBTransaction){if("done"===t)return _.get(e);if("objectStoreNames"===t)return e.objectStoreNames||v.get(e);if("store"===t)return s.objectStoreNames[1]?void 0:s.objectStore(s.objectStoreNames[0])}return T(e[t])},set:(e,t,s)=>(e[t]=s,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function E(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(m||(m=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(k(this),t),T(y.get(this))}:function(...t){return T(e.apply(k(this),t))}:function(t,...s){const n=e.call(k(this),t,...s);return v.set(n,t.sort?t.sort():[t]),T(n)}}function C(e){return"function"===typeof e?E(e):(e instanceof IDBTransaction&&function(e){if(_.has(e))return;const t=new Promise(((t,s)=>{const n=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",r),e.removeEventListener("abort",r)},a=()=>{t(),n()},r=()=>{s(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",a),e.addEventListener("error",r),e.addEventListener("abort",r)}));_.set(e,t)}(e),t=e,(w||(w=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some((e=>t instanceof e))?new Proxy(e,R):e);var t}function T(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,s)=>{const n=()=>{e.removeEventListener("success",a),e.removeEventListener("error",r)},a=()=>{t(T(e.result)),n()},r=()=>{s(e.error),n()};e.addEventListener("success",a),e.addEventListener("error",r)}));return t.then((t=>{t instanceof IDBCursor&&y.set(t,e)})).catch((()=>{})),x.set(t,e),t}(e);if(b.has(e))return b.get(e);const t=C(e);return t!==e&&(b.set(e,t),x.set(t,e)),t}const k=e=>x.get(e);const L=["get","getKey","getAll","getAllKeys","count"],q=["put","add","delete","clear"],U=new Map;function D(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!==typeof t)return;if(U.get(t))return U.get(t);const s=t.replace(/FromIndex$/,""),n=t!==s,a=q.includes(s);if(!(s in(n?IDBIndex:IDBObjectStore).prototype)||!a&&!L.includes(s))return;const r=async function(e,...t){const r=this.transaction(e,a?"readwrite":"readonly");let i=r.store;return n&&(i=i.index(t.shift())),(await Promise.all([i[s](...t),a&&r.done]))[0]};return U.set(t,r),r}R=(e=>({...e,get:(t,s,n)=>D(t,s)||e.get(t,s,n),has:(t,s)=>!!D(t,s)||e.has(t,s)}))(R);s(550);const N="cache-entries",S=e=>{const t=new URL(e,location.href);return t.hash="",t.href};class P{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(N,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&function(e,{blocked:t}={}){const s=indexedDB.deleteDatabase(e);t&&s.addEventListener("blocked",(e=>t(e.oldVersion,e))),T(s).then((()=>{}))}(this._cacheName)}async setTimestamp(e,t){const s={url:e=S(e),timestamp:t,cacheName:this._cacheName,id:this._getId(e)},n=(await this.getDb()).transaction(N,"readwrite",{durability:"relaxed"});await n.store.put(s),await n.done}async getTimestamp(e){const t=await this.getDb(),s=await t.get(N,this._getId(e));return null===s||void 0===s?void 0:s.timestamp}async expireEntries(e,t){const s=await this.getDb();let n=await s.transaction(N).store.index("timestamp").openCursor(null,"prev");const a=[];let r=0;for(;n;){const s=n.value;s.cacheName===this._cacheName&&(e&&s.timestamp=t?a.push(n.value):r++),n=await n.continue()}const i=[];for(const o of a)await s.delete(N,o.id),i.push(o.url);return i}_getId(e){return this._cacheName+"|"+S(e)}async getDb(){return this._db||(this._db=await function(e,t,{blocked:s,upgrade:n,blocking:a,terminated:r}={}){const i=indexedDB.open(e,t),o=T(i);return n&&i.addEventListener("upgradeneeded",(e=>{n(T(i.result),e.oldVersion,e.newVersion,T(i.transaction),e)})),s&&i.addEventListener("blocked",(e=>s(e.oldVersion,e.newVersion,e))),o.then((e=>{r&&e.addEventListener("close",(()=>r())),a&&e.addEventListener("versionchange",(e=>a(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),o}("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class I{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new P(e)}async expireEntries(){if(this._isRunning)return void(this._rerunRequested=!0);this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-1e3*this._maxAgeSeconds:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),s=await self.caches.open(this._cacheName);for(const n of t)await s.delete(n,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,l(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),s=Date.now()-1e3*this._maxAgeSeconds;return void 0===t||t{if(!n)return null;const a=this._isResponseDateFresh(n),r=this._getCacheExpiration(s);l(r.expireEntries());const i=r.updateTimestamp(t.url);if(e)try{e.waitUntil(i)}catch(o){0}return a?n:null},this.cacheDidUpdate=async({cacheName:e,request:t})=>{const s=this._getCacheExpiration(e);await s.updateTimestamp(t.url),await s.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&function(e){n.add(e)}((()=>this.deleteCacheAndMetadata()))}_getCacheExpiration(e){if(e===o())throw new t("expire-custom-caches-only");let s=this._cacheExpirations.get(e);return s||(s=new I(e,this._config),this._cacheExpirations.set(e,s)),s}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(null===t)return!0;return t>=Date.now()-1e3*this._maxAgeSeconds}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),s=new Date(t).getTime();return isNaN(s)?null:s}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}s(873);function M(e){return"string"===typeof e?new Request(e):e}class O{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new u,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const s of this._plugins)this._pluginStateMap.set(s,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:s}=this;let n=M(e);if("navigate"===n.mode&&s instanceof FetchEvent&&s.preloadResponse){const e=await s.preloadResponse;if(e)return e}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const e of this.iterateCallbacks("requestWillFetch"))n=await e({request:n.clone(),event:s})}catch(i){if(i instanceof Error)throw new t("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let e;e=await fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);for(const t of this.iterateCallbacks("fetchDidSucceed"))e=await t({event:s,request:r,response:e});return e}catch(o){throw a&&await this.runCallbacks("fetchDidFail",{error:o,event:s,originalRequest:a.clone(),request:r.clone()}),o}}async fetchAndCachePut(e){const t=await this.fetch(e),s=t.clone();return this.waitUntil(this.cachePut(e,s)),t}async cacheMatch(e){const t=M(e);let s;const{cacheName:n,matchOptions:a}=this._strategy,r=await this.getCacheKey(t,"read"),i=Object.assign(Object.assign({},a),{cacheName:n});s=await caches.match(r,i);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await o({cacheName:n,matchOptions:a,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(e,s){const a=M(e);await f(0);const r=await this.getCacheKey(a,"write");if(!s)throw new t("cache-put-with-no-response",{url:d(r.url)});const i=await this._ensureResponseSafeToCache(s);if(!i)return!1;const{cacheName:o,matchOptions:h}=this._strategy,l=await self.caches.open(o),u=this.hasCallback("cacheDidUpdate"),p=u?await async function(e,t,s,n){const a=c(t.url,s);if(t.url===a)return e.match(t,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await e.keys(t,r);for(const o of i)if(a===c(o.url,s))return e.match(o,n)}(l,r.clone(),["__WB_REVISION__"],h):null;try{await l.put(r,u?i.clone():i)}catch(g){if(g instanceof Error)throw"QuotaExceededError"===g.name&&await async function(){for(const e of n)await e()}(),g}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:o,oldResponse:p,newResponse:i.clone(),request:r,event:this.event});return!0}async getCacheKey(e,t){const s=`${e.url} | ${t}`;if(!this._cacheKeys[s]){let n=e;for(const e of this.iterateCallbacks("cacheKeyWillBeUsed"))n=M(await e({mode:t,request:n,event:this.event,params:this.params}));this._cacheKeys[s]=n}return this._cacheKeys[s]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const s of this.iterateCallbacks(e))await s(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if("function"===typeof t[e]){const s=this._pluginStateMap.get(t),n=n=>{const a=Object.assign(Object.assign({},n),{state:s});return t[e](a)};yield n}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,s=!1;for(const n of this.iterateCallbacks("cacheWillUpdate"))if(t=await n({request:this.request,response:t,event:this.event})||void 0,s=!0,!t)break;return s||t&&200!==t.status&&(t=void 0),t}}class K{constructor(e={}){this.cacheName=o(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,s="string"===typeof e.request?new Request(e.request):e.request,n="params"in e?e.params:void 0,a=new O(this,{event:t,request:s,params:n}),r=this._getResponse(a,s,t);return[r,this._awaitComplete(r,a,s,t)]}async _getResponse(e,s,n){let a;await e.runCallbacks("handlerWillStart",{event:n,request:s});try{if(a=await this._handle(s,e),!a||"error"===a.type)throw new t("no-response",{url:s.url})}catch(r){if(r instanceof Error)for(const t of e.iterateCallbacks("handlerDidError"))if(a=await t({error:r,event:n,request:s}),a)break;if(!a)throw r}for(const t of e.iterateCallbacks("handlerWillRespond"))a=await t({event:n,request:s,response:a});return a}async _awaitComplete(e,t,s,n){let a,r;try{a=await e}catch(r){}try{await t.runCallbacks("handlerDidRespond",{event:n,request:s,response:a}),await t.doneWaiting()}catch(i){i instanceof Error&&(r=i)}if(await t.runCallbacks("handlerDidComplete",{event:n,request:s,response:a,error:r}),t.destroy(),r)throw r}}const W={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null};class j extends K{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(W),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,s){const n=[];const a=[];let r;if(this._networkTimeoutSeconds){const{id:t,promise:i}=this._getTimeoutPromise({request:e,logs:n,handler:s});r=t,a.push(i)}const i=this._getNetworkPromise({timeoutId:r,request:e,logs:n,handler:s});a.push(i);const o=await s.waitUntil((async()=>await s.waitUntil(Promise.race(a))||await i)());if(!o)throw new t("no-response",{url:e.url});return o}_getTimeoutPromise({request:e,logs:t,handler:s}){let n;return{promise:new Promise((t=>{n=setTimeout((async()=>{t(await s.cacheMatch(e))}),1e3*this._networkTimeoutSeconds)})),id:n}}async _getNetworkPromise({timeoutId:e,request:t,logs:s,handler:n}){let a,r;try{r=await n.fetchAndCachePut(t)}catch(i){i instanceof Error&&(a=i)}return e&&clearTimeout(e),!a&&r||(r=await n.cacheMatch(t)),r}}class B extends K{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(W)}async _handle(e,s){const n=s.fetchAndCachePut(e).catch((()=>{}));s.waitUntil(n);let a,r=await s.cacheMatch(e);if(r)0;else{0;try{r=await n}catch(i){i instanceof Error&&(a=i)}}if(!r)throw new t("no-response",{url:e.url,error:a});return r}}s(80);const H=e=>e&&"object"===typeof e?e:{handle:e};class F{constructor(e,t,s="GET"){this.handler=H(t),this.match=e,this.method=s}setCatchHandler(e){this.catchHandler=H(e)}}class $ extends F{constructor(e,t,s){super((({url:t})=>{const s=e.exec(t.href);if(s&&(t.origin===location.origin||0===s.index))return s.slice(1)}),t,s)}}class G{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",(e=>{const{request:t}=e,s=this.handleRequest({request:t,event:e});s&&e.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(e=>{if(e.data&&"CACHE_URLS"===e.data.type){const{payload:t}=e.data;0;const s=Promise.all(t.urlsToCache.map((t=>{"string"===typeof t&&(t=[t]);const s=new Request(...t);return this.handleRequest({request:s,event:e})})));e.waitUntil(s),e.ports&&e.ports[0]&&s.then((()=>e.ports[0].postMessage(!0)))}}))}handleRequest({request:e,event:t}){const s=new URL(e.url,location.href);if(!s.protocol.startsWith("http"))return void 0;const n=s.origin===location.origin,{params:a,route:r}=this.findMatchingRoute({event:t,request:e,sameOrigin:n,url:s});let i=r&&r.handler;const o=e.method;if(!i&&this._defaultHandlerMap.has(o)&&(i=this._defaultHandlerMap.get(o)),!i)return void 0;let c;try{c=i.handle({url:s,request:e,event:t,params:a})}catch(l){c=Promise.reject(l)}const h=r&&r.catchHandler;return c instanceof Promise&&(this._catchHandler||h)&&(c=c.catch((async n=>{if(h){0;try{return await h.handle({url:s,request:e,event:t,params:a})}catch(r){r instanceof Error&&(n=r)}}if(this._catchHandler)return this._catchHandler.handle({url:s,request:e,event:t});throw n}))),c}findMatchingRoute({url:e,sameOrigin:t,request:s,event:n}){const a=this._routes.get(s.method)||[];for(const r of a){let a;const i=r.match({url:e,sameOrigin:t,request:s,event:n});if(i)return a=i,(Array.isArray(a)&&0===a.length||i.constructor===Object&&0===Object.keys(i).length||"boolean"===typeof i)&&(a=void 0),{route:r,params:a}}return{}}setDefaultHandler(e,t="GET"){this._defaultHandlerMap.set(t,H(e))}setCatchHandler(e){this._catchHandler=H(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new t("unregister-route-but-not-found-with-method",{method:e.method});const s=this._routes.get(e.method).indexOf(e);if(!(s>-1))throw new t("unregister-route-route-not-registered");this._routes.get(e.method).splice(s,1)}}let Q;const V=()=>(Q||(Q=new G,Q.addFetchListener(),Q.addCacheListener()),Q);function J(e,s,n){let a;if("string"===typeof e){const t=new URL(e,location.href);0;a=new F((({url:e})=>e.href===t.href),s,n)}else if(e instanceof RegExp)a=new $(e,s,n);else if("function"===typeof e)a=new F(e,s,n);else{if(!(e instanceof F))throw new t("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});a=e}return V().registerRoute(a),a}s(977);function z(e){if(!e)throw new t("add-to-cache-list-unexpected-type",{entry:e});if("string"===typeof e){const t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}const{revision:s,url:n}=e;if(!n)throw new t("add-to-cache-list-unexpected-type",{entry:e});if(!s){const e=new URL(n,location.href);return{cacheKey:e.href,url:e.href}}const a=new URL(n,location.href),r=new URL(n,location.href);return a.searchParams.set("__WB_REVISION__",s),{cacheKey:a.href,url:r.href}}class X{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:s})=>{if("install"===e.type&&t&&t.originalRequest&&t.originalRequest instanceof Request){const e=t.originalRequest.url;s?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return s}}}class Y{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:e,params:t})=>{const s=(null===t||void 0===t?void 0:t.cacheKey)||this._precacheController.getCacheKeyForURL(e.url);return s?new Request(s,{headers:e.headers}):e},this._precacheController=e}}class Z extends K{constructor(e={}){e.cacheName=i(e.cacheName),super(e),this._fallbackToNetwork=!1!==e.fallbackToNetwork,this.plugins.push(Z.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const s=await t.cacheMatch(e);return s||(t.event&&"install"===t.event.type?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,s){let n;const a=s.params||{};if(!this._fallbackToNetwork)throw new t("missing-precache-entry",{cacheName:this.cacheName,url:e.url});{0;const t=a.integrity,r=e.integrity,i=!r||r===t;if(n=await s.fetch(new Request(e,{integrity:"no-cors"!==e.mode?r||t:void 0})),t&&i&&"no-cors"!==e.mode){this._useDefaultCacheabilityPluginIfNeeded();await s.cachePut(e,n.clone());0}}return n}async _handleInstall(e,s){this._useDefaultCacheabilityPluginIfNeeded();const n=await s.fetch(e);if(!(await s.cachePut(e,n.clone())))throw new t("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[s,n]of this.plugins.entries())n!==Z.copyRedirectedCacheableResponsesPlugin&&(n===Z.defaultPrecacheCacheabilityPlugin&&(e=s),n.cacheWillUpdate&&t++);0===t?this.plugins.push(Z.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}Z.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:e})=>!e||e.status>=400?null:e},Z.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:e})=>e.redirected?await g(e):e};class ee{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:s=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new Z({cacheName:i(e),plugins:[...t,new Y({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const s=[];for(const n of e){"string"===typeof n?s.push(n):n&&void 0===n.revision&&s.push(n.url);const{cacheKey:e,url:a}=z(n),r="string"!==typeof n&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(a)&&this._urlsToCacheKeys.get(a)!==e)throw new t("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(a),secondEntry:e});if("string"!==typeof n&&n.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==n.integrity)throw new t("add-to-cache-list-conflicting-integrities",{url:a});this._cacheKeysToIntegrities.set(e,n.integrity)}if(this._urlsToCacheKeys.set(a,e),this._urlsToCacheModes.set(a,r),s.length>0){const e=`Workbox is precaching URLs without revision info: ${s.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(e)}}}install(e){return p(e,(async()=>{const t=new X;this.strategy.plugins.push(t);for(const[a,r]of this._urlsToCacheKeys){const t=this._cacheKeysToIntegrities.get(r),s=this._urlsToCacheModes.get(a),n=new Request(a,{integrity:t,cache:s,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:r},request:n,event:e}))}const{updatedURLs:s,notUpdatedURLs:n}=t;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(e){return p(e,(async()=>{const e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),s=new Set(this._urlsToCacheKeys.values()),n=[];for(const a of t)s.has(a.url)||(await e.delete(a),n.push(a.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,s=this.getCacheKeyForURL(t);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(e){const s=this.getCacheKeyForURL(e);if(!s)throw new t("non-precached-url",{url:e});return t=>(t.request=new Request(e),t.params=Object.assign({cacheKey:s},t.params),this.strategy.handle(t))}}let te;const se=()=>(te||(te=new ee),te);class ne extends F{constructor(e,t){super((({request:s})=>{const n=e.getURLsToCacheKeys();for(const a of function*(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:a}={}){const r=new URL(e,location.href);r.hash="",yield r.href;const i=function(e,t=[]){for(const s of[...e.searchParams.keys()])t.some((e=>e.test(s)))&&e.searchParams.delete(s);return e}(r,t);if(yield i.href,s&&i.pathname.endsWith("/")){const e=new URL(i.href);e.pathname+=s,yield e.href}if(n){const e=new URL(i.href);e.pathname+=".html",yield e.href}if(a){const e=a({url:r});for(const t of e)yield t.href}}(s.url,t)){const t=n.get(a);if(t){return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}}}),e.strategy)}}function ae(e){return se().matchPrecache(e)}self.skipWaiting(),self.addEventListener("activate",(()=>self.clients.claim()));var re,ie,oe=[{'revision':'9bbf19a123fd61fe5c210e151c0328cc','url':'/Bioliquid.woff2'},{'revision':'962c1a8b020dac15baf9aa20a07d933c','url':'/Rajdhani.woff2'},{'revision':'ea0d73166b7edccfe1c3c4f75ddae0a3','url':'/Roboto-Mono.woff2'},{'revision':'0667a32587cc27bbdbadc70314c7bb14','url':'/SF-Mono.woff2'},{'revision':'e2fcb2a0f6b0be3fcc78264dbe957f29','url':'/Spotnik.woff2'},{'revision':'04d87f92e05f23c7','url':'/_next/static/chunks/1088.04d87f92e05f23c7.js'},{'revision':'ec04f07937386922','url':'/_next/static/chunks/1608.ec04f07937386922.js'},{'revision':'ae2b84d9f5645069','url':'/_next/static/chunks/1711.ae2b84d9f5645069.js'},{'revision':'af62bd633f21ee69','url':'/_next/static/chunks/1727.af62bd633f21ee69.js'},{'revision':'f63b451fd93f590b','url':'/_next/static/chunks/1748.f63b451fd93f590b.js'},{'revision':'cb9fc6e84f74d522','url':'/_next/static/chunks/1894.cb9fc6e84f74d522.js'},{'revision':'c8039f3dc9bb92f5','url':'/_next/static/chunks/1950.c8039f3dc9bb92f5.js'},{'revision':'038de301f3a28eb2','url':'/_next/static/chunks/2027.038de301f3a28eb2.js'},{'revision':'f6baa39611ece47e','url':'/_next/static/chunks/2174.f6baa39611ece47e.js'},{'revision':'7fa35c587e17bdcc','url':'/_next/static/chunks/2393.7fa35c587e17bdcc.js'},{'revision':'65866dff31d90fde','url':'/_next/static/chunks/2408.65866dff31d90fde.js'},{'revision':'250be1a3b8354750','url':'/_next/static/chunks/2604.250be1a3b8354750.js'},{'revision':'0a838d09eabc5b43','url':'/_next/static/chunks/2746.0a838d09eabc5b43.js'},{'revision':'f370a64b5af02f0b','url':'/_next/static/chunks/2898.f370a64b5af02f0b.js'},{'revision':'07a96119d145f2e1','url':'/_next/static/chunks/3200.07a96119d145f2e1.js'},{'revision':'53072abba3ca74b8','url':'/_next/static/chunks/3525.53072abba3ca74b8.js'},{'revision':'d43c02005a549a55','url':'/_next/static/chunks/3747.d43c02005a549a55.js'},{'revision':'f3ae5e81cac2c390','url':'/_next/static/chunks/422.f3ae5e81cac2c390.js'},{'revision':'6be69df622e36e45','url':'/_next/static/chunks/4253.6be69df622e36e45.js'},{'revision':'c4f2007bfe36ec14','url':'/_next/static/chunks/4419.c4f2007bfe36ec14.js'},{'revision':'5dac0fea9b4cf3a3','url':'/_next/static/chunks/4d26f338-5dac0fea9b4cf3a3.js'},{'revision':'33e08a0525159056','url':'/_next/static/chunks/5119.33e08a0525159056.js'},{'revision':'d2f047fea62adf58','url':'/_next/static/chunks/514.d2f047fea62adf58.js'},{'revision':'ea86c6ce443ba3bd','url':'/_next/static/chunks/5488.ea86c6ce443ba3bd.js'},{'revision':'bab5f5b7ff8ff120','url':'/_next/static/chunks/556.bab5f5b7ff8ff120.js'},{'revision':'294b57e99702d064','url':'/_next/static/chunks/5660.294b57e99702d064.js'},{'revision':'7abe5840ceba140e','url':'/_next/static/chunks/5806.7abe5840ceba140e.js'},{'revision':'de38455bb64d9835','url':'/_next/static/chunks/5811.de38455bb64d9835.js'},{'revision':'0a433dc6f963fc41','url':'/_next/static/chunks/5939.0a433dc6f963fc41.js'},{'revision':'f7b1d24c812922e4','url':'/_next/static/chunks/6237.f7b1d24c812922e4.js'},{'revision':'dcdff54f0dceda1f','url':'/_next/static/chunks/6253.dcdff54f0dceda1f.js'},{'revision':'ea13afa99496d818','url':'/_next/static/chunks/6328.ea13afa99496d818.js'},{'revision':'b10481f17e2d2cf9','url':'/_next/static/chunks/6538.b10481f17e2d2cf9.js'},{'revision':'432f96462db0d036','url':'/_next/static/chunks/6551.432f96462db0d036.js'},{'revision':'b954bf9a27972ff7','url':'/_next/static/chunks/6724-b954bf9a27972ff7.js'},{'revision':'6a0d4129b644e95d','url':'/_next/static/chunks/6845-6a0d4129b644e95d.js'},{'revision':'a575059dbc72db1a','url':'/_next/static/chunks/6847.a575059dbc72db1a.js'},{'revision':'484bcd9e0a7f5626','url':'/_next/static/chunks/704.484bcd9e0a7f5626.js'},{'revision':'b0a3567fac8e0052','url':'/_next/static/chunks/7682.b0a3567fac8e0052.js'},{'revision':'f08d55bab5fc0f34','url':'/_next/static/chunks/7749.f08d55bab5fc0f34.js'},{'revision':'f18da82915d63734','url':'/_next/static/chunks/794.f18da82915d63734.js'},{'revision':'b8b92f519975c722','url':'/_next/static/chunks/8109-b8b92f519975c722.js'},{'revision':'d6c500ddcf42e542','url':'/_next/static/chunks/8137.d6c500ddcf42e542.js'},{'revision':'593a836a579a1569','url':'/_next/static/chunks/8764-593a836a579a1569.js'},{'revision':'8c985300b37d631a','url':'/_next/static/chunks/8881.8c985300b37d631a.js'},{'revision':'882cd6b61a640a13','url':'/_next/static/chunks/9223.882cd6b61a640a13.js'},{'revision':'405a73de74b58e27','url':'/_next/static/chunks/934.405a73de74b58e27.js'},{'revision':'ccb30e1e9ae409dc','url':'/_next/static/chunks/9343.ccb30e1e9ae409dc.js'},{'revision':'aecff84a047b7ed5','url':'/_next/static/chunks/9361-aecff84a047b7ed5.js'},{'revision':'c93f7cb64c560417','url':'/_next/static/chunks/9894.c93f7cb64c560417.js'},{'revision':'44044767831d9eb0','url':'/_next/static/chunks/9941.44044767831d9eb0.js'},{'revision':'64d4aa160ef531df','url':'/_next/static/chunks/de297ff1-64d4aa160ef531df.js'},{'revision':'28712122b8f24e0e','url':'/_next/static/chunks/framework-28712122b8f24e0e.js'},{'revision':'235b4afd80b524a5','url':'/_next/static/chunks/main-235b4afd80b524a5.js'},{'revision':'f779bf4e7bba1198','url':'/_next/static/chunks/pages/_app-f779bf4e7bba1198.js'},{'revision':'4a934674346210d3','url':'/_next/static/chunks/pages/_error-4a934674346210d3.js'},{'revision':'d70b3d90e46efcc8','url':'/_next/static/chunks/pages/account-d70b3d90e46efcc8.js'},{'revision':'6fab776daa9ae5fc','url':'/_next/static/chunks/pages/fallback-6fab776daa9ae5fc.js'},{'revision':'747411878630625b','url':'/_next/static/chunks/pages/index-747411878630625b.js'},{'revision':'99442aec5788bccac9b2f0ead2afdd6b','url':'/_next/static/chunks/polyfills-5cd94c89d3acac5f.js'},{'revision':'f3550438b5914a35','url':'/_next/static/chunks/webpack-f3550438b5914a35.js'},{'revision':'b355ced14f31177f','url':'/_next/static/css/b355ced14f31177f.css'},{'revision':'2f9d24ba6fd7e38ea24ecac6d2679d38','url':'/_next/static/jxR9RV5kwYmX8O3svBXOE/_buildManifest.js'},{'revision':'fb2823d66b3e778e04a3f681d0d2fb19','url':'/_next/static/jxR9RV5kwYmX8O3svBXOE/_middlewareManifest.js'},{'revision':'b6652df95db52feb4daf4eca35380933','url':'/_next/static/jxR9RV5kwYmX8O3svBXOE/_ssgManifest.js'},{'revision':'f2782572','url':'/_next/static/media/Bioliquid.f2782572.woff2'},{'revision':'34941911','url':'/_next/static/media/Rajdhani.34941911.woff2'},{'revision':'f73e941d','url':'/_next/static/media/Roboto-Mono.f73e941d.woff2'},{'revision':'1ef6859c','url':'/_next/static/media/SF-Mono.1ef6859c.woff2'},{'revision':'464dbd09','url':'/_next/static/media/Spotnik.464dbd09.woff2'},{'revision':'6db2c019f4fde216022ac8d059664899','url':'/ens-red.png'},{'revision':'aa858b65b4bccd0b8b171b7381782b54','url':'/ens-vision.png'},{'revision':'6d1fe7b883e5cee5559899a921e1191d','url':'/ens-white.png'},{'revision':'649aaa4e91cad7bb65932962cd7df11a','url':'/ens.png'},{'revision':'e21260efeb5ea2999269530516c5d71a','url':'/eth-dark.png'},{'revision':'7871856f87888053a7906446e0bed261','url':'/eth-red.png'},{'revision':'16f3a5485241d8b9e632f2aa53a6512c','url':'/eth.png'},{'revision':'a1bec2f2792cf6cfb340955d6b4cdb24','url':'/godid.svg'},{'revision':'fee4a5f8e0a922dc9b7b86278ade220e','url':'/logo.png'},{'revision':'bd53b8865752ea7df7ff9a3cc488ee9d','url':'/manifest.json'},{'revision':'7ac4d0e9806b2dbdc0b08f4c22a5bc35','url':'/readme/GUIDE.md'},{'revision':'ccf294a28856da3ea777c2daef9ef073','url':'/readme/github-markdown.min.css'},{'revision':'201b1c8cd745a48c260d0f57b53f5ce8','url':'/readme/index.js'},{'revision':'cf2fbbf84281d9ecbffb4993203d543b','url':'/readme/jquery.min.js'},{'revision':'ec7a634ecb477777ec6b6ca434b455ae','url':'/readme/query.js'},{'revision':'80362c5a131a99766e04f5ed50fddedf','url':'/readme/readme.htm'},{'revision':'f998a0f83800c6d1a754308b830ee998','url':'/readme/style.css'},{'revision':'77cd19437dced1bc1e3852c71134faaf','url':'/readme/theme.min.css'},{'revision':'06c2ab8e193a2de3408319058e0a7639','url':'/readme/zero-md.min.js'},{'revision':'d1ae3bc01dbdb57855b85080e46111fd','url':'/shadow.svg'},{'revision':'a9f80d8d245b051a96c9ee42c3cc6316','url':'/sw.js'}];oe.push({url:"/fallback",revision:"1234567890"}),function(e){se().precache(e)}(oe),function(e){const t=se();J(new ne(t,e))}(re),self.addEventListener("activate",(e=>{const t=i();e.waitUntil((async(e,t="-precache-")=>{const s=(await self.caches.keys()).filter((s=>s.includes(t)&&s.includes(self.registration.scope)&&s!==e));return await Promise.all(s.map((e=>self.caches.delete(e)))),s})(t).then((e=>{})))})),J("/",new j({cacheName:"start-url",plugins:[new A({maxEntries:1,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/^https:\/\/fonts\.(?:googleapis|gstatic)\.com\/.*/i,new class extends K{async _handle(e,s){let n,a=await s.cacheMatch(e);if(a)0;else{0;try{a=await s.fetchAndCachePut(e)}catch(r){r instanceof Error&&(n=r)}0}if(!a)throw new t("no-response",{url:e.url,error:n});return a}}({cacheName:"google-fonts",plugins:[new A({maxEntries:4,maxAgeSeconds:31536e3,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:eot|otf|ttc|ttf|woff|woff2|font.css)$/i,new B({cacheName:"static-font-assets",plugins:[new A({maxEntries:4,maxAgeSeconds:604800,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:jpg|jpeg|gif|png|svg|ico|webp)$/i,new class extends K{constructor(e={}){super(e),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,s){let n,a;try{const t=[s.fetch(e)];if(this._networkTimeoutSeconds){const e=f(1e3*this._networkTimeoutSeconds);t.push(e)}if(a=await Promise.race(t),!a)throw new Error(`Timed out the network response after ${this._networkTimeoutSeconds} seconds.`)}catch(r){r instanceof Error&&(n=r)}if(!a)throw new t("no-response",{url:e.url,error:n});return a}}({cacheName:"static-image-assets",plugins:[new A({maxEntries:64,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:js)$/i,new B({cacheName:"static-js-assets",plugins:[new A({maxEntries:32,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:css|less)$/i,new B({cacheName:"static-style-assets",plugins:[new A({maxEntries:32,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:json|xml|csv)$/i,new j({cacheName:"static-data-assets",plugins:[new A({maxEntries:32,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/\/api\/.*$/i,new j({cacheName:"apis",networkTimeoutSeconds:10,plugins:[new A({maxEntries:16,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/.*/i,new j({cacheName:"others",networkTimeoutSeconds:10,plugins:[new A({maxEntries:32,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),ie=new B,V().setDefaultHandler(ie),function(e){V().setCatchHandler(e)}((function(e){switch(e.event.request.destination){case"document":return ae("/fallback");case"image":return ae("/static/images/fallback.png");default:return Response.error()}}))}()}(); \ No newline at end of file diff --git a/public/sw.js b/public/sw.js index c2d6ee78..10299ca8 100644 --- a/public/sw.js +++ b/public/sw.js @@ -1 +1 @@ -!function(){"use strict";var e={913:function(){try{self["workbox:core:6.5.4"]&&_()}catch(e){}},550:function(){try{self["workbox:expiration:6.5.4"]&&_()}catch(e){}},977:function(){try{self["workbox:precaching:6.5.4"]&&_()}catch(e){}},80:function(){try{self["workbox:routing:6.5.4"]&&_()}catch(e){}},873:function(){try{self["workbox:strategies:6.5.4"]&&_()}catch(e){}}},t={};function s(n){var a=t[n];if(void 0!==a)return a.exports;var r=t[n]={exports:{}},i=!0;try{e[n](r,r.exports,s),i=!1}finally{i&&delete t[n]}return r.exports}!function(){s(913);const e=(e,...t)=>{let s=e;return t.length>0&&(s+=` :: ${JSON.stringify(t)}`),s};class t extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}const n=new Set;const a={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!==typeof registration?registration.scope:""},r=e=>[a.prefix,e,a.suffix].filter((e=>e&&e.length>0)).join("-"),i=e=>e||r(a.precache),o=e=>e||r(a.runtime);function c(e,t){const s=new URL(e);for(const n of t)s.searchParams.delete(n);return s.href}let h;function l(e){e.then((()=>{}))}class u{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}const d=e=>new URL(String(e),location.href).href.replace(new RegExp(`^${location.origin}`),"");function f(e){return new Promise((t=>setTimeout(t,e)))}function p(e,t){const s=t();return e.waitUntil(s),s}async function g(e,s){let n=null;if(e.url){n=new URL(e.url).origin}if(n!==self.location.origin)throw new t("cross-origin-copy-response",{origin:n});const a=e.clone(),r={headers:new Headers(a.headers),status:a.status,statusText:a.statusText},i=s?s(r):r,o=function(){if(void 0===h){const t=new Response("");if("body"in t)try{new Response(t.body),h=!0}catch(e){h=!1}h=!1}return h}()?a.body:await a.blob();return new Response(o,i)}let w,m;const y=new WeakMap,_=new WeakMap,v=new WeakMap,b=new WeakMap,x=new WeakMap;let R={get(e,t,s){if(e instanceof IDBTransaction){if("done"===t)return _.get(e);if("objectStoreNames"===t)return e.objectStoreNames||v.get(e);if("store"===t)return s.objectStoreNames[1]?void 0:s.objectStore(s.objectStoreNames[0])}return T(e[t])},set:(e,t,s)=>(e[t]=s,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function E(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(m||(m=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(k(this),t),T(y.get(this))}:function(...t){return T(e.apply(k(this),t))}:function(t,...s){const n=e.call(k(this),t,...s);return v.set(n,t.sort?t.sort():[t]),T(n)}}function C(e){return"function"===typeof e?E(e):(e instanceof IDBTransaction&&function(e){if(_.has(e))return;const t=new Promise(((t,s)=>{const n=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",r),e.removeEventListener("abort",r)},a=()=>{t(),n()},r=()=>{s(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",a),e.addEventListener("error",r),e.addEventListener("abort",r)}));_.set(e,t)}(e),t=e,(w||(w=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some((e=>t instanceof e))?new Proxy(e,R):e);var t}function T(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,s)=>{const n=()=>{e.removeEventListener("success",a),e.removeEventListener("error",r)},a=()=>{t(T(e.result)),n()},r=()=>{s(e.error),n()};e.addEventListener("success",a),e.addEventListener("error",r)}));return t.then((t=>{t instanceof IDBCursor&&y.set(t,e)})).catch((()=>{})),x.set(t,e),t}(e);if(b.has(e))return b.get(e);const t=C(e);return t!==e&&(b.set(e,t),x.set(t,e)),t}const k=e=>x.get(e);const L=["get","getKey","getAll","getAllKeys","count"],q=["put","add","delete","clear"],U=new Map;function D(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!==typeof t)return;if(U.get(t))return U.get(t);const s=t.replace(/FromIndex$/,""),n=t!==s,a=q.includes(s);if(!(s in(n?IDBIndex:IDBObjectStore).prototype)||!a&&!L.includes(s))return;const r=async function(e,...t){const r=this.transaction(e,a?"readwrite":"readonly");let i=r.store;return n&&(i=i.index(t.shift())),(await Promise.all([i[s](...t),a&&r.done]))[0]};return U.set(t,r),r}R=(e=>({...e,get:(t,s,n)=>D(t,s)||e.get(t,s,n),has:(t,s)=>!!D(t,s)||e.has(t,s)}))(R);s(550);const N="cache-entries",S=e=>{const t=new URL(e,location.href);return t.hash="",t.href};class P{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(N,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&function(e,{blocked:t}={}){const s=indexedDB.deleteDatabase(e);t&&s.addEventListener("blocked",(e=>t(e.oldVersion,e))),T(s).then((()=>{}))}(this._cacheName)}async setTimestamp(e,t){const s={url:e=S(e),timestamp:t,cacheName:this._cacheName,id:this._getId(e)},n=(await this.getDb()).transaction(N,"readwrite",{durability:"relaxed"});await n.store.put(s),await n.done}async getTimestamp(e){const t=await this.getDb(),s=await t.get(N,this._getId(e));return null===s||void 0===s?void 0:s.timestamp}async expireEntries(e,t){const s=await this.getDb();let n=await s.transaction(N).store.index("timestamp").openCursor(null,"prev");const a=[];let r=0;for(;n;){const s=n.value;s.cacheName===this._cacheName&&(e&&s.timestamp=t?a.push(n.value):r++),n=await n.continue()}const i=[];for(const o of a)await s.delete(N,o.id),i.push(o.url);return i}_getId(e){return this._cacheName+"|"+S(e)}async getDb(){return this._db||(this._db=await function(e,t,{blocked:s,upgrade:n,blocking:a,terminated:r}={}){const i=indexedDB.open(e,t),o=T(i);return n&&i.addEventListener("upgradeneeded",(e=>{n(T(i.result),e.oldVersion,e.newVersion,T(i.transaction),e)})),s&&i.addEventListener("blocked",(e=>s(e.oldVersion,e.newVersion,e))),o.then((e=>{r&&e.addEventListener("close",(()=>r())),a&&e.addEventListener("versionchange",(e=>a(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),o}("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class I{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new P(e)}async expireEntries(){if(this._isRunning)return void(this._rerunRequested=!0);this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-1e3*this._maxAgeSeconds:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),s=await self.caches.open(this._cacheName);for(const n of t)await s.delete(n,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,l(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),s=Date.now()-1e3*this._maxAgeSeconds;return void 0===t||t{if(!n)return null;const a=this._isResponseDateFresh(n),r=this._getCacheExpiration(s);l(r.expireEntries());const i=r.updateTimestamp(t.url);if(e)try{e.waitUntil(i)}catch(o){0}return a?n:null},this.cacheDidUpdate=async({cacheName:e,request:t})=>{const s=this._getCacheExpiration(e);await s.updateTimestamp(t.url),await s.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&function(e){n.add(e)}((()=>this.deleteCacheAndMetadata()))}_getCacheExpiration(e){if(e===o())throw new t("expire-custom-caches-only");let s=this._cacheExpirations.get(e);return s||(s=new I(e,this._config),this._cacheExpirations.set(e,s)),s}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(null===t)return!0;return t>=Date.now()-1e3*this._maxAgeSeconds}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),s=new Date(t).getTime();return isNaN(s)?null:s}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}s(873);function M(e){return"string"===typeof e?new Request(e):e}class O{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new u,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const s of this._plugins)this._pluginStateMap.set(s,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:s}=this;let n=M(e);if("navigate"===n.mode&&s instanceof FetchEvent&&s.preloadResponse){const e=await s.preloadResponse;if(e)return e}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const e of this.iterateCallbacks("requestWillFetch"))n=await e({request:n.clone(),event:s})}catch(i){if(i instanceof Error)throw new t("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let e;e=await fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);for(const t of this.iterateCallbacks("fetchDidSucceed"))e=await t({event:s,request:r,response:e});return e}catch(o){throw a&&await this.runCallbacks("fetchDidFail",{error:o,event:s,originalRequest:a.clone(),request:r.clone()}),o}}async fetchAndCachePut(e){const t=await this.fetch(e),s=t.clone();return this.waitUntil(this.cachePut(e,s)),t}async cacheMatch(e){const t=M(e);let s;const{cacheName:n,matchOptions:a}=this._strategy,r=await this.getCacheKey(t,"read"),i=Object.assign(Object.assign({},a),{cacheName:n});s=await caches.match(r,i);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await o({cacheName:n,matchOptions:a,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(e,s){const a=M(e);await f(0);const r=await this.getCacheKey(a,"write");if(!s)throw new t("cache-put-with-no-response",{url:d(r.url)});const i=await this._ensureResponseSafeToCache(s);if(!i)return!1;const{cacheName:o,matchOptions:h}=this._strategy,l=await self.caches.open(o),u=this.hasCallback("cacheDidUpdate"),p=u?await async function(e,t,s,n){const a=c(t.url,s);if(t.url===a)return e.match(t,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await e.keys(t,r);for(const o of i)if(a===c(o.url,s))return e.match(o,n)}(l,r.clone(),["__WB_REVISION__"],h):null;try{await l.put(r,u?i.clone():i)}catch(g){if(g instanceof Error)throw"QuotaExceededError"===g.name&&await async function(){for(const e of n)await e()}(),g}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:o,oldResponse:p,newResponse:i.clone(),request:r,event:this.event});return!0}async getCacheKey(e,t){const s=`${e.url} | ${t}`;if(!this._cacheKeys[s]){let n=e;for(const e of this.iterateCallbacks("cacheKeyWillBeUsed"))n=M(await e({mode:t,request:n,event:this.event,params:this.params}));this._cacheKeys[s]=n}return this._cacheKeys[s]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const s of this.iterateCallbacks(e))await s(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if("function"===typeof t[e]){const s=this._pluginStateMap.get(t),n=n=>{const a=Object.assign(Object.assign({},n),{state:s});return t[e](a)};yield n}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,s=!1;for(const n of this.iterateCallbacks("cacheWillUpdate"))if(t=await n({request:this.request,response:t,event:this.event})||void 0,s=!0,!t)break;return s||t&&200!==t.status&&(t=void 0),t}}class K{constructor(e={}){this.cacheName=o(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,s="string"===typeof e.request?new Request(e.request):e.request,n="params"in e?e.params:void 0,a=new O(this,{event:t,request:s,params:n}),r=this._getResponse(a,s,t);return[r,this._awaitComplete(r,a,s,t)]}async _getResponse(e,s,n){let a;await e.runCallbacks("handlerWillStart",{event:n,request:s});try{if(a=await this._handle(s,e),!a||"error"===a.type)throw new t("no-response",{url:s.url})}catch(r){if(r instanceof Error)for(const t of e.iterateCallbacks("handlerDidError"))if(a=await t({error:r,event:n,request:s}),a)break;if(!a)throw r}for(const t of e.iterateCallbacks("handlerWillRespond"))a=await t({event:n,request:s,response:a});return a}async _awaitComplete(e,t,s,n){let a,r;try{a=await e}catch(r){}try{await t.runCallbacks("handlerDidRespond",{event:n,request:s,response:a}),await t.doneWaiting()}catch(i){i instanceof Error&&(r=i)}if(await t.runCallbacks("handlerDidComplete",{event:n,request:s,response:a,error:r}),t.destroy(),r)throw r}}const W={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null};class j extends K{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(W),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,s){const n=[];const a=[];let r;if(this._networkTimeoutSeconds){const{id:t,promise:i}=this._getTimeoutPromise({request:e,logs:n,handler:s});r=t,a.push(i)}const i=this._getNetworkPromise({timeoutId:r,request:e,logs:n,handler:s});a.push(i);const o=await s.waitUntil((async()=>await s.waitUntil(Promise.race(a))||await i)());if(!o)throw new t("no-response",{url:e.url});return o}_getTimeoutPromise({request:e,logs:t,handler:s}){let n;return{promise:new Promise((t=>{n=setTimeout((async()=>{t(await s.cacheMatch(e))}),1e3*this._networkTimeoutSeconds)})),id:n}}async _getNetworkPromise({timeoutId:e,request:t,logs:s,handler:n}){let a,r;try{r=await n.fetchAndCachePut(t)}catch(i){i instanceof Error&&(a=i)}return e&&clearTimeout(e),!a&&r||(r=await n.cacheMatch(t)),r}}class B extends K{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(W)}async _handle(e,s){const n=s.fetchAndCachePut(e).catch((()=>{}));s.waitUntil(n);let a,r=await s.cacheMatch(e);if(r)0;else{0;try{r=await n}catch(i){i instanceof Error&&(a=i)}}if(!r)throw new t("no-response",{url:e.url,error:a});return r}}s(80);const H=e=>e&&"object"===typeof e?e:{handle:e};class F{constructor(e,t,s="GET"){this.handler=H(t),this.match=e,this.method=s}setCatchHandler(e){this.catchHandler=H(e)}}class $ extends F{constructor(e,t,s){super((({url:t})=>{const s=e.exec(t.href);if(s&&(t.origin===location.origin||0===s.index))return s.slice(1)}),t,s)}}class G{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",(e=>{const{request:t}=e,s=this.handleRequest({request:t,event:e});s&&e.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(e=>{if(e.data&&"CACHE_URLS"===e.data.type){const{payload:t}=e.data;0;const s=Promise.all(t.urlsToCache.map((t=>{"string"===typeof t&&(t=[t]);const s=new Request(...t);return this.handleRequest({request:s,event:e})})));e.waitUntil(s),e.ports&&e.ports[0]&&s.then((()=>e.ports[0].postMessage(!0)))}}))}handleRequest({request:e,event:t}){const s=new URL(e.url,location.href);if(!s.protocol.startsWith("http"))return void 0;const n=s.origin===location.origin,{params:a,route:r}=this.findMatchingRoute({event:t,request:e,sameOrigin:n,url:s});let i=r&&r.handler;const o=e.method;if(!i&&this._defaultHandlerMap.has(o)&&(i=this._defaultHandlerMap.get(o)),!i)return void 0;let c;try{c=i.handle({url:s,request:e,event:t,params:a})}catch(l){c=Promise.reject(l)}const h=r&&r.catchHandler;return c instanceof Promise&&(this._catchHandler||h)&&(c=c.catch((async n=>{if(h){0;try{return await h.handle({url:s,request:e,event:t,params:a})}catch(r){r instanceof Error&&(n=r)}}if(this._catchHandler)return this._catchHandler.handle({url:s,request:e,event:t});throw n}))),c}findMatchingRoute({url:e,sameOrigin:t,request:s,event:n}){const a=this._routes.get(s.method)||[];for(const r of a){let a;const i=r.match({url:e,sameOrigin:t,request:s,event:n});if(i)return a=i,(Array.isArray(a)&&0===a.length||i.constructor===Object&&0===Object.keys(i).length||"boolean"===typeof i)&&(a=void 0),{route:r,params:a}}return{}}setDefaultHandler(e,t="GET"){this._defaultHandlerMap.set(t,H(e))}setCatchHandler(e){this._catchHandler=H(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new t("unregister-route-but-not-found-with-method",{method:e.method});const s=this._routes.get(e.method).indexOf(e);if(!(s>-1))throw new t("unregister-route-route-not-registered");this._routes.get(e.method).splice(s,1)}}let Q;const V=()=>(Q||(Q=new G,Q.addFetchListener(),Q.addCacheListener()),Q);function J(e,s,n){let a;if("string"===typeof e){const t=new URL(e,location.href);0;a=new F((({url:e})=>e.href===t.href),s,n)}else if(e instanceof RegExp)a=new $(e,s,n);else if("function"===typeof e)a=new F(e,s,n);else{if(!(e instanceof F))throw new t("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});a=e}return V().registerRoute(a),a}s(977);function z(e){if(!e)throw new t("add-to-cache-list-unexpected-type",{entry:e});if("string"===typeof e){const t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}const{revision:s,url:n}=e;if(!n)throw new t("add-to-cache-list-unexpected-type",{entry:e});if(!s){const e=new URL(n,location.href);return{cacheKey:e.href,url:e.href}}const a=new URL(n,location.href),r=new URL(n,location.href);return a.searchParams.set("__WB_REVISION__",s),{cacheKey:a.href,url:r.href}}class X{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:s})=>{if("install"===e.type&&t&&t.originalRequest&&t.originalRequest instanceof Request){const e=t.originalRequest.url;s?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return s}}}class Y{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:e,params:t})=>{const s=(null===t||void 0===t?void 0:t.cacheKey)||this._precacheController.getCacheKeyForURL(e.url);return s?new Request(s,{headers:e.headers}):e},this._precacheController=e}}class Z extends K{constructor(e={}){e.cacheName=i(e.cacheName),super(e),this._fallbackToNetwork=!1!==e.fallbackToNetwork,this.plugins.push(Z.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const s=await t.cacheMatch(e);return s||(t.event&&"install"===t.event.type?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,s){let n;const a=s.params||{};if(!this._fallbackToNetwork)throw new t("missing-precache-entry",{cacheName:this.cacheName,url:e.url});{0;const t=a.integrity,r=e.integrity,i=!r||r===t;if(n=await s.fetch(new Request(e,{integrity:"no-cors"!==e.mode?r||t:void 0})),t&&i&&"no-cors"!==e.mode){this._useDefaultCacheabilityPluginIfNeeded();await s.cachePut(e,n.clone());0}}return n}async _handleInstall(e,s){this._useDefaultCacheabilityPluginIfNeeded();const n=await s.fetch(e);if(!(await s.cachePut(e,n.clone())))throw new t("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[s,n]of this.plugins.entries())n!==Z.copyRedirectedCacheableResponsesPlugin&&(n===Z.defaultPrecacheCacheabilityPlugin&&(e=s),n.cacheWillUpdate&&t++);0===t?this.plugins.push(Z.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}Z.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:e})=>!e||e.status>=400?null:e},Z.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:e})=>e.redirected?await g(e):e};class ee{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:s=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new Z({cacheName:i(e),plugins:[...t,new Y({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const s=[];for(const n of e){"string"===typeof n?s.push(n):n&&void 0===n.revision&&s.push(n.url);const{cacheKey:e,url:a}=z(n),r="string"!==typeof n&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(a)&&this._urlsToCacheKeys.get(a)!==e)throw new t("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(a),secondEntry:e});if("string"!==typeof n&&n.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==n.integrity)throw new t("add-to-cache-list-conflicting-integrities",{url:a});this._cacheKeysToIntegrities.set(e,n.integrity)}if(this._urlsToCacheKeys.set(a,e),this._urlsToCacheModes.set(a,r),s.length>0){const e=`Workbox is precaching URLs without revision info: ${s.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(e)}}}install(e){return p(e,(async()=>{const t=new X;this.strategy.plugins.push(t);for(const[a,r]of this._urlsToCacheKeys){const t=this._cacheKeysToIntegrities.get(r),s=this._urlsToCacheModes.get(a),n=new Request(a,{integrity:t,cache:s,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:r},request:n,event:e}))}const{updatedURLs:s,notUpdatedURLs:n}=t;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(e){return p(e,(async()=>{const e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),s=new Set(this._urlsToCacheKeys.values()),n=[];for(const a of t)s.has(a.url)||(await e.delete(a),n.push(a.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,s=this.getCacheKeyForURL(t);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(e){const s=this.getCacheKeyForURL(e);if(!s)throw new t("non-precached-url",{url:e});return t=>(t.request=new Request(e),t.params=Object.assign({cacheKey:s},t.params),this.strategy.handle(t))}}let te;const se=()=>(te||(te=new ee),te);class ne extends F{constructor(e,t){super((({request:s})=>{const n=e.getURLsToCacheKeys();for(const a of function*(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:a}={}){const r=new URL(e,location.href);r.hash="",yield r.href;const i=function(e,t=[]){for(const s of[...e.searchParams.keys()])t.some((e=>e.test(s)))&&e.searchParams.delete(s);return e}(r,t);if(yield i.href,s&&i.pathname.endsWith("/")){const e=new URL(i.href);e.pathname+=s,yield e.href}if(n){const e=new URL(i.href);e.pathname+=".html",yield e.href}if(a){const e=a({url:r});for(const t of e)yield t.href}}(s.url,t)){const t=n.get(a);if(t){return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}}}),e.strategy)}}function ae(e){return se().matchPrecache(e)}self.skipWaiting(),self.addEventListener("activate",(()=>self.clients.claim()));var re,ie,oe=[{'revision':'9bbf19a123fd61fe5c210e151c0328cc','url':'/Bioliquid.woff2'},{'revision':'962c1a8b020dac15baf9aa20a07d933c','url':'/Rajdhani.woff2'},{'revision':'ea0d73166b7edccfe1c3c4f75ddae0a3','url':'/Roboto-Mono.woff2'},{'revision':'0667a32587cc27bbdbadc70314c7bb14','url':'/SF-Mono.woff2'},{'revision':'e2fcb2a0f6b0be3fcc78264dbe957f29','url':'/Spotnik.woff2'},{'revision':'7cb3316e99f29efc0ba7a3c3074c12d0','url':'/_next/static/1SXNnpty4wcbBZXU_i1Yf/_buildManifest.js'},{'revision':'fb2823d66b3e778e04a3f681d0d2fb19','url':'/_next/static/1SXNnpty4wcbBZXU_i1Yf/_middlewareManifest.js'},{'revision':'b6652df95db52feb4daf4eca35380933','url':'/_next/static/1SXNnpty4wcbBZXU_i1Yf/_ssgManifest.js'},{'revision':'04d87f92e05f23c7','url':'/_next/static/chunks/1088.04d87f92e05f23c7.js'},{'revision':'f21947de1f746761','url':'/_next/static/chunks/1469-f21947de1f746761.js'},{'revision':'ec04f07937386922','url':'/_next/static/chunks/1608.ec04f07937386922.js'},{'revision':'ae2b84d9f5645069','url':'/_next/static/chunks/1711.ae2b84d9f5645069.js'},{'revision':'af62bd633f21ee69','url':'/_next/static/chunks/1727.af62bd633f21ee69.js'},{'revision':'f63b451fd93f590b','url':'/_next/static/chunks/1748.f63b451fd93f590b.js'},{'revision':'cb9fc6e84f74d522','url':'/_next/static/chunks/1894.cb9fc6e84f74d522.js'},{'revision':'c8039f3dc9bb92f5','url':'/_next/static/chunks/1950.c8039f3dc9bb92f5.js'},{'revision':'038de301f3a28eb2','url':'/_next/static/chunks/2027.038de301f3a28eb2.js'},{'revision':'f6baa39611ece47e','url':'/_next/static/chunks/2174.f6baa39611ece47e.js'},{'revision':'7fa35c587e17bdcc','url':'/_next/static/chunks/2393.7fa35c587e17bdcc.js'},{'revision':'65866dff31d90fde','url':'/_next/static/chunks/2408.65866dff31d90fde.js'},{'revision':'250be1a3b8354750','url':'/_next/static/chunks/2604.250be1a3b8354750.js'},{'revision':'0a838d09eabc5b43','url':'/_next/static/chunks/2746.0a838d09eabc5b43.js'},{'revision':'f370a64b5af02f0b','url':'/_next/static/chunks/2898.f370a64b5af02f0b.js'},{'revision':'07a96119d145f2e1','url':'/_next/static/chunks/3200.07a96119d145f2e1.js'},{'revision':'53072abba3ca74b8','url':'/_next/static/chunks/3525.53072abba3ca74b8.js'},{'revision':'d43c02005a549a55','url':'/_next/static/chunks/3747.d43c02005a549a55.js'},{'revision':'f3ae5e81cac2c390','url':'/_next/static/chunks/422.f3ae5e81cac2c390.js'},{'revision':'6be69df622e36e45','url':'/_next/static/chunks/4253.6be69df622e36e45.js'},{'revision':'c4f2007bfe36ec14','url':'/_next/static/chunks/4419.c4f2007bfe36ec14.js'},{'revision':'5dac0fea9b4cf3a3','url':'/_next/static/chunks/4d26f338-5dac0fea9b4cf3a3.js'},{'revision':'33e08a0525159056','url':'/_next/static/chunks/5119.33e08a0525159056.js'},{'revision':'d2f047fea62adf58','url':'/_next/static/chunks/514.d2f047fea62adf58.js'},{'revision':'ea86c6ce443ba3bd','url':'/_next/static/chunks/5488.ea86c6ce443ba3bd.js'},{'revision':'bab5f5b7ff8ff120','url':'/_next/static/chunks/556.bab5f5b7ff8ff120.js'},{'revision':'294b57e99702d064','url':'/_next/static/chunks/5660.294b57e99702d064.js'},{'revision':'7abe5840ceba140e','url':'/_next/static/chunks/5806.7abe5840ceba140e.js'},{'revision':'de38455bb64d9835','url':'/_next/static/chunks/5811.de38455bb64d9835.js'},{'revision':'0a433dc6f963fc41','url':'/_next/static/chunks/5939.0a433dc6f963fc41.js'},{'revision':'f7b1d24c812922e4','url':'/_next/static/chunks/6237.f7b1d24c812922e4.js'},{'revision':'dcdff54f0dceda1f','url':'/_next/static/chunks/6253.dcdff54f0dceda1f.js'},{'revision':'ea13afa99496d818','url':'/_next/static/chunks/6328.ea13afa99496d818.js'},{'revision':'b10481f17e2d2cf9','url':'/_next/static/chunks/6538.b10481f17e2d2cf9.js'},{'revision':'432f96462db0d036','url':'/_next/static/chunks/6551.432f96462db0d036.js'},{'revision':'b954bf9a27972ff7','url':'/_next/static/chunks/6724-b954bf9a27972ff7.js'},{'revision':'6a0d4129b644e95d','url':'/_next/static/chunks/6845-6a0d4129b644e95d.js'},{'revision':'a575059dbc72db1a','url':'/_next/static/chunks/6847.a575059dbc72db1a.js'},{'revision':'484bcd9e0a7f5626','url':'/_next/static/chunks/704.484bcd9e0a7f5626.js'},{'revision':'b0a3567fac8e0052','url':'/_next/static/chunks/7682.b0a3567fac8e0052.js'},{'revision':'f08d55bab5fc0f34','url':'/_next/static/chunks/7749.f08d55bab5fc0f34.js'},{'revision':'f18da82915d63734','url':'/_next/static/chunks/794.f18da82915d63734.js'},{'revision':'b8b92f519975c722','url':'/_next/static/chunks/8109-b8b92f519975c722.js'},{'revision':'d6c500ddcf42e542','url':'/_next/static/chunks/8137.d6c500ddcf42e542.js'},{'revision':'593a836a579a1569','url':'/_next/static/chunks/8764-593a836a579a1569.js'},{'revision':'8c985300b37d631a','url':'/_next/static/chunks/8881.8c985300b37d631a.js'},{'revision':'882cd6b61a640a13','url':'/_next/static/chunks/9223.882cd6b61a640a13.js'},{'revision':'405a73de74b58e27','url':'/_next/static/chunks/934.405a73de74b58e27.js'},{'revision':'ccb30e1e9ae409dc','url':'/_next/static/chunks/9343.ccb30e1e9ae409dc.js'},{'revision':'c93f7cb64c560417','url':'/_next/static/chunks/9894.c93f7cb64c560417.js'},{'revision':'44044767831d9eb0','url':'/_next/static/chunks/9941.44044767831d9eb0.js'},{'revision':'64d4aa160ef531df','url':'/_next/static/chunks/de297ff1-64d4aa160ef531df.js'},{'revision':'28712122b8f24e0e','url':'/_next/static/chunks/framework-28712122b8f24e0e.js'},{'revision':'235b4afd80b524a5','url':'/_next/static/chunks/main-235b4afd80b524a5.js'},{'revision':'f779bf4e7bba1198','url':'/_next/static/chunks/pages/_app-f779bf4e7bba1198.js'},{'revision':'4a934674346210d3','url':'/_next/static/chunks/pages/_error-4a934674346210d3.js'},{'revision':'a77a741655b8cc29','url':'/_next/static/chunks/pages/account-a77a741655b8cc29.js'},{'revision':'6fab776daa9ae5fc','url':'/_next/static/chunks/pages/fallback-6fab776daa9ae5fc.js'},{'revision':'cca995e7162f7d57','url':'/_next/static/chunks/pages/index-cca995e7162f7d57.js'},{'revision':'99442aec5788bccac9b2f0ead2afdd6b','url':'/_next/static/chunks/polyfills-5cd94c89d3acac5f.js'},{'revision':'4e7a84d347ea7390','url':'/_next/static/chunks/webpack-4e7a84d347ea7390.js'},{'revision':'b355ced14f31177f','url':'/_next/static/css/b355ced14f31177f.css'},{'revision':'f2782572','url':'/_next/static/media/Bioliquid.f2782572.woff2'},{'revision':'34941911','url':'/_next/static/media/Rajdhani.34941911.woff2'},{'revision':'f73e941d','url':'/_next/static/media/Roboto-Mono.f73e941d.woff2'},{'revision':'1ef6859c','url':'/_next/static/media/SF-Mono.1ef6859c.woff2'},{'revision':'464dbd09','url':'/_next/static/media/Spotnik.464dbd09.woff2'},{'revision':'6db2c019f4fde216022ac8d059664899','url':'/ens-red.png'},{'revision':'aa858b65b4bccd0b8b171b7381782b54','url':'/ens-vision.png'},{'revision':'6d1fe7b883e5cee5559899a921e1191d','url':'/ens-white.png'},{'revision':'649aaa4e91cad7bb65932962cd7df11a','url':'/ens.png'},{'revision':'e21260efeb5ea2999269530516c5d71a','url':'/eth-dark.png'},{'revision':'7871856f87888053a7906446e0bed261','url':'/eth-red.png'},{'revision':'16f3a5485241d8b9e632f2aa53a6512c','url':'/eth.png'},{'revision':'a1bec2f2792cf6cfb340955d6b4cdb24','url':'/godid.svg'},{'revision':'fee4a5f8e0a922dc9b7b86278ade220e','url':'/logo.png'},{'revision':'bd53b8865752ea7df7ff9a3cc488ee9d','url':'/manifest.json'},{'revision':'7ac4d0e9806b2dbdc0b08f4c22a5bc35','url':'/readme/GUIDE.md'},{'revision':'ccf294a28856da3ea777c2daef9ef073','url':'/readme/github-markdown.min.css'},{'revision':'201b1c8cd745a48c260d0f57b53f5ce8','url':'/readme/index.js'},{'revision':'cf2fbbf84281d9ecbffb4993203d543b','url':'/readme/jquery.min.js'},{'revision':'ec7a634ecb477777ec6b6ca434b455ae','url':'/readme/query.js'},{'revision':'80362c5a131a99766e04f5ed50fddedf','url':'/readme/readme.htm'},{'revision':'f998a0f83800c6d1a754308b830ee998','url':'/readme/style.css'},{'revision':'77cd19437dced1bc1e3852c71134faaf','url':'/readme/theme.min.css'},{'revision':'06c2ab8e193a2de3408319058e0a7639','url':'/readme/zero-md.min.js'},{'revision':'d1ae3bc01dbdb57855b85080e46111fd','url':'/shadow.svg'},{'revision':'a9f80d8d245b051a96c9ee42c3cc6316','url':'/sw.js'}];oe.push({url:"/fallback",revision:"1234567890"}),function(e){se().precache(e)}(oe),function(e){const t=se();J(new ne(t,e))}(re),self.addEventListener("activate",(e=>{const t=i();e.waitUntil((async(e,t="-precache-")=>{const s=(await self.caches.keys()).filter((s=>s.includes(t)&&s.includes(self.registration.scope)&&s!==e));return await Promise.all(s.map((e=>self.caches.delete(e)))),s})(t).then((e=>{})))})),J("/",new j({cacheName:"start-url",plugins:[new A({maxEntries:1,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/^https:\/\/fonts\.(?:googleapis|gstatic)\.com\/.*/i,new class extends K{async _handle(e,s){let n,a=await s.cacheMatch(e);if(a)0;else{0;try{a=await s.fetchAndCachePut(e)}catch(r){r instanceof Error&&(n=r)}0}if(!a)throw new t("no-response",{url:e.url,error:n});return a}}({cacheName:"google-fonts",plugins:[new A({maxEntries:4,maxAgeSeconds:31536e3,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:eot|otf|ttc|ttf|woff|woff2|font.css)$/i,new B({cacheName:"static-font-assets",plugins:[new A({maxEntries:4,maxAgeSeconds:604800,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:jpg|jpeg|gif|png|svg|ico|webp)$/i,new class extends K{constructor(e={}){super(e),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,s){let n,a;try{const t=[s.fetch(e)];if(this._networkTimeoutSeconds){const e=f(1e3*this._networkTimeoutSeconds);t.push(e)}if(a=await Promise.race(t),!a)throw new Error(`Timed out the network response after ${this._networkTimeoutSeconds} seconds.`)}catch(r){r instanceof Error&&(n=r)}if(!a)throw new t("no-response",{url:e.url,error:n});return a}}({cacheName:"static-image-assets",plugins:[new A({maxEntries:64,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:js)$/i,new B({cacheName:"static-js-assets",plugins:[new A({maxEntries:32,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:css|less)$/i,new B({cacheName:"static-style-assets",plugins:[new A({maxEntries:32,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:json|xml|csv)$/i,new j({cacheName:"static-data-assets",plugins:[new A({maxEntries:32,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/\/api\/.*$/i,new j({cacheName:"apis",networkTimeoutSeconds:10,plugins:[new A({maxEntries:16,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/.*/i,new j({cacheName:"others",networkTimeoutSeconds:10,plugins:[new A({maxEntries:32,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),ie=new B,V().setDefaultHandler(ie),function(e){V().setCatchHandler(e)}((function(e){switch(e.event.request.destination){case"document":return ae("/fallback");case"image":return ae("/static/images/fallback.png");default:return Response.error()}}))}()}(); \ No newline at end of file +!function(){"use strict";var e={913:function(){try{self["workbox:core:6.5.4"]&&_()}catch(e){}},550:function(){try{self["workbox:expiration:6.5.4"]&&_()}catch(e){}},977:function(){try{self["workbox:precaching:6.5.4"]&&_()}catch(e){}},80:function(){try{self["workbox:routing:6.5.4"]&&_()}catch(e){}},873:function(){try{self["workbox:strategies:6.5.4"]&&_()}catch(e){}}},t={};function s(n){var a=t[n];if(void 0!==a)return a.exports;var r=t[n]={exports:{}},i=!0;try{e[n](r,r.exports,s),i=!1}finally{i&&delete t[n]}return r.exports}!function(){s(913);const e=(e,...t)=>{let s=e;return t.length>0&&(s+=` :: ${JSON.stringify(t)}`),s};class t extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}const n=new Set;const a={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!==typeof registration?registration.scope:""},r=e=>[a.prefix,e,a.suffix].filter((e=>e&&e.length>0)).join("-"),i=e=>e||r(a.precache),o=e=>e||r(a.runtime);function c(e,t){const s=new URL(e);for(const n of t)s.searchParams.delete(n);return s.href}let h;function l(e){e.then((()=>{}))}class u{constructor(){this.promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}const d=e=>new URL(String(e),location.href).href.replace(new RegExp(`^${location.origin}`),"");function f(e){return new Promise((t=>setTimeout(t,e)))}function p(e,t){const s=t();return e.waitUntil(s),s}async function g(e,s){let n=null;if(e.url){n=new URL(e.url).origin}if(n!==self.location.origin)throw new t("cross-origin-copy-response",{origin:n});const a=e.clone(),r={headers:new Headers(a.headers),status:a.status,statusText:a.statusText},i=s?s(r):r,o=function(){if(void 0===h){const t=new Response("");if("body"in t)try{new Response(t.body),h=!0}catch(e){h=!1}h=!1}return h}()?a.body:await a.blob();return new Response(o,i)}let w,m;const y=new WeakMap,_=new WeakMap,v=new WeakMap,b=new WeakMap,x=new WeakMap;let R={get(e,t,s){if(e instanceof IDBTransaction){if("done"===t)return _.get(e);if("objectStoreNames"===t)return e.objectStoreNames||v.get(e);if("store"===t)return s.objectStoreNames[1]?void 0:s.objectStore(s.objectStoreNames[0])}return T(e[t])},set:(e,t,s)=>(e[t]=s,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function E(e){return e!==IDBDatabase.prototype.transaction||"objectStoreNames"in IDBTransaction.prototype?(m||(m=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(k(this),t),T(y.get(this))}:function(...t){return T(e.apply(k(this),t))}:function(t,...s){const n=e.call(k(this),t,...s);return v.set(n,t.sort?t.sort():[t]),T(n)}}function C(e){return"function"===typeof e?E(e):(e instanceof IDBTransaction&&function(e){if(_.has(e))return;const t=new Promise(((t,s)=>{const n=()=>{e.removeEventListener("complete",a),e.removeEventListener("error",r),e.removeEventListener("abort",r)},a=()=>{t(),n()},r=()=>{s(e.error||new DOMException("AbortError","AbortError")),n()};e.addEventListener("complete",a),e.addEventListener("error",r),e.addEventListener("abort",r)}));_.set(e,t)}(e),t=e,(w||(w=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])).some((e=>t instanceof e))?new Proxy(e,R):e);var t}function T(e){if(e instanceof IDBRequest)return function(e){const t=new Promise(((t,s)=>{const n=()=>{e.removeEventListener("success",a),e.removeEventListener("error",r)},a=()=>{t(T(e.result)),n()},r=()=>{s(e.error),n()};e.addEventListener("success",a),e.addEventListener("error",r)}));return t.then((t=>{t instanceof IDBCursor&&y.set(t,e)})).catch((()=>{})),x.set(t,e),t}(e);if(b.has(e))return b.get(e);const t=C(e);return t!==e&&(b.set(e,t),x.set(t,e)),t}const k=e=>x.get(e);const L=["get","getKey","getAll","getAllKeys","count"],q=["put","add","delete","clear"],U=new Map;function D(e,t){if(!(e instanceof IDBDatabase)||t in e||"string"!==typeof t)return;if(U.get(t))return U.get(t);const s=t.replace(/FromIndex$/,""),n=t!==s,a=q.includes(s);if(!(s in(n?IDBIndex:IDBObjectStore).prototype)||!a&&!L.includes(s))return;const r=async function(e,...t){const r=this.transaction(e,a?"readwrite":"readonly");let i=r.store;return n&&(i=i.index(t.shift())),(await Promise.all([i[s](...t),a&&r.done]))[0]};return U.set(t,r),r}R=(e=>({...e,get:(t,s,n)=>D(t,s)||e.get(t,s,n),has:(t,s)=>!!D(t,s)||e.has(t,s)}))(R);s(550);const N="cache-entries",S=e=>{const t=new URL(e,location.href);return t.hash="",t.href};class P{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(N,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&function(e,{blocked:t}={}){const s=indexedDB.deleteDatabase(e);t&&s.addEventListener("blocked",(e=>t(e.oldVersion,e))),T(s).then((()=>{}))}(this._cacheName)}async setTimestamp(e,t){const s={url:e=S(e),timestamp:t,cacheName:this._cacheName,id:this._getId(e)},n=(await this.getDb()).transaction(N,"readwrite",{durability:"relaxed"});await n.store.put(s),await n.done}async getTimestamp(e){const t=await this.getDb(),s=await t.get(N,this._getId(e));return null===s||void 0===s?void 0:s.timestamp}async expireEntries(e,t){const s=await this.getDb();let n=await s.transaction(N).store.index("timestamp").openCursor(null,"prev");const a=[];let r=0;for(;n;){const s=n.value;s.cacheName===this._cacheName&&(e&&s.timestamp=t?a.push(n.value):r++),n=await n.continue()}const i=[];for(const o of a)await s.delete(N,o.id),i.push(o.url);return i}_getId(e){return this._cacheName+"|"+S(e)}async getDb(){return this._db||(this._db=await function(e,t,{blocked:s,upgrade:n,blocking:a,terminated:r}={}){const i=indexedDB.open(e,t),o=T(i);return n&&i.addEventListener("upgradeneeded",(e=>{n(T(i.result),e.oldVersion,e.newVersion,T(i.transaction),e)})),s&&i.addEventListener("blocked",(e=>s(e.oldVersion,e.newVersion,e))),o.then((e=>{r&&e.addEventListener("close",(()=>r())),a&&e.addEventListener("versionchange",(e=>a(e.oldVersion,e.newVersion,e)))})).catch((()=>{})),o}("workbox-expiration",1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class I{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new P(e)}async expireEntries(){if(this._isRunning)return void(this._rerunRequested=!0);this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-1e3*this._maxAgeSeconds:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),s=await self.caches.open(this._cacheName);for(const n of t)await s.delete(n,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,l(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),s=Date.now()-1e3*this._maxAgeSeconds;return void 0===t||t{if(!n)return null;const a=this._isResponseDateFresh(n),r=this._getCacheExpiration(s);l(r.expireEntries());const i=r.updateTimestamp(t.url);if(e)try{e.waitUntil(i)}catch(o){0}return a?n:null},this.cacheDidUpdate=async({cacheName:e,request:t})=>{const s=this._getCacheExpiration(e);await s.updateTimestamp(t.url),await s.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&function(e){n.add(e)}((()=>this.deleteCacheAndMetadata()))}_getCacheExpiration(e){if(e===o())throw new t("expire-custom-caches-only");let s=this._cacheExpirations.get(e);return s||(s=new I(e,this._config),this._cacheExpirations.set(e,s)),s}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(null===t)return!0;return t>=Date.now()-1e3*this._maxAgeSeconds}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),s=new Date(t).getTime();return isNaN(s)?null:s}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}s(873);function M(e){return"string"===typeof e?new Request(e):e}class O{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new u,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const s of this._plugins)this._pluginStateMap.set(s,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:s}=this;let n=M(e);if("navigate"===n.mode&&s instanceof FetchEvent&&s.preloadResponse){const e=await s.preloadResponse;if(e)return e}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const e of this.iterateCallbacks("requestWillFetch"))n=await e({request:n.clone(),event:s})}catch(i){if(i instanceof Error)throw new t("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let e;e=await fetch(n,"navigate"===n.mode?void 0:this._strategy.fetchOptions);for(const t of this.iterateCallbacks("fetchDidSucceed"))e=await t({event:s,request:r,response:e});return e}catch(o){throw a&&await this.runCallbacks("fetchDidFail",{error:o,event:s,originalRequest:a.clone(),request:r.clone()}),o}}async fetchAndCachePut(e){const t=await this.fetch(e),s=t.clone();return this.waitUntil(this.cachePut(e,s)),t}async cacheMatch(e){const t=M(e);let s;const{cacheName:n,matchOptions:a}=this._strategy,r=await this.getCacheKey(t,"read"),i=Object.assign(Object.assign({},a),{cacheName:n});s=await caches.match(r,i);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await o({cacheName:n,matchOptions:a,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(e,s){const a=M(e);await f(0);const r=await this.getCacheKey(a,"write");if(!s)throw new t("cache-put-with-no-response",{url:d(r.url)});const i=await this._ensureResponseSafeToCache(s);if(!i)return!1;const{cacheName:o,matchOptions:h}=this._strategy,l=await self.caches.open(o),u=this.hasCallback("cacheDidUpdate"),p=u?await async function(e,t,s,n){const a=c(t.url,s);if(t.url===a)return e.match(t,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await e.keys(t,r);for(const o of i)if(a===c(o.url,s))return e.match(o,n)}(l,r.clone(),["__WB_REVISION__"],h):null;try{await l.put(r,u?i.clone():i)}catch(g){if(g instanceof Error)throw"QuotaExceededError"===g.name&&await async function(){for(const e of n)await e()}(),g}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:o,oldResponse:p,newResponse:i.clone(),request:r,event:this.event});return!0}async getCacheKey(e,t){const s=`${e.url} | ${t}`;if(!this._cacheKeys[s]){let n=e;for(const e of this.iterateCallbacks("cacheKeyWillBeUsed"))n=M(await e({mode:t,request:n,event:this.event,params:this.params}));this._cacheKeys[s]=n}return this._cacheKeys[s]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const s of this.iterateCallbacks(e))await s(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if("function"===typeof t[e]){const s=this._pluginStateMap.get(t),n=n=>{const a=Object.assign(Object.assign({},n),{state:s});return t[e](a)};yield n}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,s=!1;for(const n of this.iterateCallbacks("cacheWillUpdate"))if(t=await n({request:this.request,response:t,event:this.event})||void 0,s=!0,!t)break;return s||t&&200!==t.status&&(t=void 0),t}}class K{constructor(e={}){this.cacheName=o(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,s="string"===typeof e.request?new Request(e.request):e.request,n="params"in e?e.params:void 0,a=new O(this,{event:t,request:s,params:n}),r=this._getResponse(a,s,t);return[r,this._awaitComplete(r,a,s,t)]}async _getResponse(e,s,n){let a;await e.runCallbacks("handlerWillStart",{event:n,request:s});try{if(a=await this._handle(s,e),!a||"error"===a.type)throw new t("no-response",{url:s.url})}catch(r){if(r instanceof Error)for(const t of e.iterateCallbacks("handlerDidError"))if(a=await t({error:r,event:n,request:s}),a)break;if(!a)throw r}for(const t of e.iterateCallbacks("handlerWillRespond"))a=await t({event:n,request:s,response:a});return a}async _awaitComplete(e,t,s,n){let a,r;try{a=await e}catch(r){}try{await t.runCallbacks("handlerDidRespond",{event:n,request:s,response:a}),await t.doneWaiting()}catch(i){i instanceof Error&&(r=i)}if(await t.runCallbacks("handlerDidComplete",{event:n,request:s,response:a,error:r}),t.destroy(),r)throw r}}const W={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null};class j extends K{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(W),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,s){const n=[];const a=[];let r;if(this._networkTimeoutSeconds){const{id:t,promise:i}=this._getTimeoutPromise({request:e,logs:n,handler:s});r=t,a.push(i)}const i=this._getNetworkPromise({timeoutId:r,request:e,logs:n,handler:s});a.push(i);const o=await s.waitUntil((async()=>await s.waitUntil(Promise.race(a))||await i)());if(!o)throw new t("no-response",{url:e.url});return o}_getTimeoutPromise({request:e,logs:t,handler:s}){let n;return{promise:new Promise((t=>{n=setTimeout((async()=>{t(await s.cacheMatch(e))}),1e3*this._networkTimeoutSeconds)})),id:n}}async _getNetworkPromise({timeoutId:e,request:t,logs:s,handler:n}){let a,r;try{r=await n.fetchAndCachePut(t)}catch(i){i instanceof Error&&(a=i)}return e&&clearTimeout(e),!a&&r||(r=await n.cacheMatch(t)),r}}class B extends K{constructor(e={}){super(e),this.plugins.some((e=>"cacheWillUpdate"in e))||this.plugins.unshift(W)}async _handle(e,s){const n=s.fetchAndCachePut(e).catch((()=>{}));s.waitUntil(n);let a,r=await s.cacheMatch(e);if(r)0;else{0;try{r=await n}catch(i){i instanceof Error&&(a=i)}}if(!r)throw new t("no-response",{url:e.url,error:a});return r}}s(80);const H=e=>e&&"object"===typeof e?e:{handle:e};class F{constructor(e,t,s="GET"){this.handler=H(t),this.match=e,this.method=s}setCatchHandler(e){this.catchHandler=H(e)}}class $ extends F{constructor(e,t,s){super((({url:t})=>{const s=e.exec(t.href);if(s&&(t.origin===location.origin||0===s.index))return s.slice(1)}),t,s)}}class G{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",(e=>{const{request:t}=e,s=this.handleRequest({request:t,event:e});s&&e.respondWith(s)}))}addCacheListener(){self.addEventListener("message",(e=>{if(e.data&&"CACHE_URLS"===e.data.type){const{payload:t}=e.data;0;const s=Promise.all(t.urlsToCache.map((t=>{"string"===typeof t&&(t=[t]);const s=new Request(...t);return this.handleRequest({request:s,event:e})})));e.waitUntil(s),e.ports&&e.ports[0]&&s.then((()=>e.ports[0].postMessage(!0)))}}))}handleRequest({request:e,event:t}){const s=new URL(e.url,location.href);if(!s.protocol.startsWith("http"))return void 0;const n=s.origin===location.origin,{params:a,route:r}=this.findMatchingRoute({event:t,request:e,sameOrigin:n,url:s});let i=r&&r.handler;const o=e.method;if(!i&&this._defaultHandlerMap.has(o)&&(i=this._defaultHandlerMap.get(o)),!i)return void 0;let c;try{c=i.handle({url:s,request:e,event:t,params:a})}catch(l){c=Promise.reject(l)}const h=r&&r.catchHandler;return c instanceof Promise&&(this._catchHandler||h)&&(c=c.catch((async n=>{if(h){0;try{return await h.handle({url:s,request:e,event:t,params:a})}catch(r){r instanceof Error&&(n=r)}}if(this._catchHandler)return this._catchHandler.handle({url:s,request:e,event:t});throw n}))),c}findMatchingRoute({url:e,sameOrigin:t,request:s,event:n}){const a=this._routes.get(s.method)||[];for(const r of a){let a;const i=r.match({url:e,sameOrigin:t,request:s,event:n});if(i)return a=i,(Array.isArray(a)&&0===a.length||i.constructor===Object&&0===Object.keys(i).length||"boolean"===typeof i)&&(a=void 0),{route:r,params:a}}return{}}setDefaultHandler(e,t="GET"){this._defaultHandlerMap.set(t,H(e))}setCatchHandler(e){this._catchHandler=H(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new t("unregister-route-but-not-found-with-method",{method:e.method});const s=this._routes.get(e.method).indexOf(e);if(!(s>-1))throw new t("unregister-route-route-not-registered");this._routes.get(e.method).splice(s,1)}}let Q;const V=()=>(Q||(Q=new G,Q.addFetchListener(),Q.addCacheListener()),Q);function J(e,s,n){let a;if("string"===typeof e){const t=new URL(e,location.href);0;a=new F((({url:e})=>e.href===t.href),s,n)}else if(e instanceof RegExp)a=new $(e,s,n);else if("function"===typeof e)a=new F(e,s,n);else{if(!(e instanceof F))throw new t("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});a=e}return V().registerRoute(a),a}s(977);function z(e){if(!e)throw new t("add-to-cache-list-unexpected-type",{entry:e});if("string"===typeof e){const t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}const{revision:s,url:n}=e;if(!n)throw new t("add-to-cache-list-unexpected-type",{entry:e});if(!s){const e=new URL(n,location.href);return{cacheKey:e.href,url:e.href}}const a=new URL(n,location.href),r=new URL(n,location.href);return a.searchParams.set("__WB_REVISION__",s),{cacheKey:a.href,url:r.href}}class X{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:s})=>{if("install"===e.type&&t&&t.originalRequest&&t.originalRequest instanceof Request){const e=t.originalRequest.url;s?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return s}}}class Y{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:e,params:t})=>{const s=(null===t||void 0===t?void 0:t.cacheKey)||this._precacheController.getCacheKeyForURL(e.url);return s?new Request(s,{headers:e.headers}):e},this._precacheController=e}}class Z extends K{constructor(e={}){e.cacheName=i(e.cacheName),super(e),this._fallbackToNetwork=!1!==e.fallbackToNetwork,this.plugins.push(Z.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const s=await t.cacheMatch(e);return s||(t.event&&"install"===t.event.type?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,s){let n;const a=s.params||{};if(!this._fallbackToNetwork)throw new t("missing-precache-entry",{cacheName:this.cacheName,url:e.url});{0;const t=a.integrity,r=e.integrity,i=!r||r===t;if(n=await s.fetch(new Request(e,{integrity:"no-cors"!==e.mode?r||t:void 0})),t&&i&&"no-cors"!==e.mode){this._useDefaultCacheabilityPluginIfNeeded();await s.cachePut(e,n.clone());0}}return n}async _handleInstall(e,s){this._useDefaultCacheabilityPluginIfNeeded();const n=await s.fetch(e);if(!(await s.cachePut(e,n.clone())))throw new t("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[s,n]of this.plugins.entries())n!==Z.copyRedirectedCacheableResponsesPlugin&&(n===Z.defaultPrecacheCacheabilityPlugin&&(e=s),n.cacheWillUpdate&&t++);0===t?this.plugins.push(Z.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}Z.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:e})=>!e||e.status>=400?null:e},Z.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:e})=>e.redirected?await g(e):e};class ee{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:s=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new Z({cacheName:i(e),plugins:[...t,new Y({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const s=[];for(const n of e){"string"===typeof n?s.push(n):n&&void 0===n.revision&&s.push(n.url);const{cacheKey:e,url:a}=z(n),r="string"!==typeof n&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(a)&&this._urlsToCacheKeys.get(a)!==e)throw new t("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(a),secondEntry:e});if("string"!==typeof n&&n.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==n.integrity)throw new t("add-to-cache-list-conflicting-integrities",{url:a});this._cacheKeysToIntegrities.set(e,n.integrity)}if(this._urlsToCacheKeys.set(a,e),this._urlsToCacheModes.set(a,r),s.length>0){const e=`Workbox is precaching URLs without revision info: ${s.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(e)}}}install(e){return p(e,(async()=>{const t=new X;this.strategy.plugins.push(t);for(const[a,r]of this._urlsToCacheKeys){const t=this._cacheKeysToIntegrities.get(r),s=this._urlsToCacheModes.get(a),n=new Request(a,{integrity:t,cache:s,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:r},request:n,event:e}))}const{updatedURLs:s,notUpdatedURLs:n}=t;return{updatedURLs:s,notUpdatedURLs:n}}))}activate(e){return p(e,(async()=>{const e=await self.caches.open(this.strategy.cacheName),t=await e.keys(),s=new Set(this._urlsToCacheKeys.values()),n=[];for(const a of t)s.has(a.url)||(await e.delete(a),n.push(a.url));return{deletedURLs:n}}))}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,s=this.getCacheKeyForURL(t);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(e){const s=this.getCacheKeyForURL(e);if(!s)throw new t("non-precached-url",{url:e});return t=>(t.request=new Request(e),t.params=Object.assign({cacheKey:s},t.params),this.strategy.handle(t))}}let te;const se=()=>(te||(te=new ee),te);class ne extends F{constructor(e,t){super((({request:s})=>{const n=e.getURLsToCacheKeys();for(const a of function*(e,{ignoreURLParametersMatching:t=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:a}={}){const r=new URL(e,location.href);r.hash="",yield r.href;const i=function(e,t=[]){for(const s of[...e.searchParams.keys()])t.some((e=>e.test(s)))&&e.searchParams.delete(s);return e}(r,t);if(yield i.href,s&&i.pathname.endsWith("/")){const e=new URL(i.href);e.pathname+=s,yield e.href}if(n){const e=new URL(i.href);e.pathname+=".html",yield e.href}if(a){const e=a({url:r});for(const t of e)yield t.href}}(s.url,t)){const t=n.get(a);if(t){return{cacheKey:t,integrity:e.getIntegrityForCacheKey(t)}}}}),e.strategy)}}function ae(e){return se().matchPrecache(e)}self.skipWaiting(),self.addEventListener("activate",(()=>self.clients.claim()));var re,ie,oe=[{'revision':'9bbf19a123fd61fe5c210e151c0328cc','url':'/Bioliquid.woff2'},{'revision':'962c1a8b020dac15baf9aa20a07d933c','url':'/Rajdhani.woff2'},{'revision':'ea0d73166b7edccfe1c3c4f75ddae0a3','url':'/Roboto-Mono.woff2'},{'revision':'0667a32587cc27bbdbadc70314c7bb14','url':'/SF-Mono.woff2'},{'revision':'e2fcb2a0f6b0be3fcc78264dbe957f29','url':'/Spotnik.woff2'},{'revision':'04d87f92e05f23c7','url':'/_next/static/chunks/1088.04d87f92e05f23c7.js'},{'revision':'ec04f07937386922','url':'/_next/static/chunks/1608.ec04f07937386922.js'},{'revision':'ae2b84d9f5645069','url':'/_next/static/chunks/1711.ae2b84d9f5645069.js'},{'revision':'af62bd633f21ee69','url':'/_next/static/chunks/1727.af62bd633f21ee69.js'},{'revision':'f63b451fd93f590b','url':'/_next/static/chunks/1748.f63b451fd93f590b.js'},{'revision':'cb9fc6e84f74d522','url':'/_next/static/chunks/1894.cb9fc6e84f74d522.js'},{'revision':'c8039f3dc9bb92f5','url':'/_next/static/chunks/1950.c8039f3dc9bb92f5.js'},{'revision':'038de301f3a28eb2','url':'/_next/static/chunks/2027.038de301f3a28eb2.js'},{'revision':'f6baa39611ece47e','url':'/_next/static/chunks/2174.f6baa39611ece47e.js'},{'revision':'7fa35c587e17bdcc','url':'/_next/static/chunks/2393.7fa35c587e17bdcc.js'},{'revision':'65866dff31d90fde','url':'/_next/static/chunks/2408.65866dff31d90fde.js'},{'revision':'250be1a3b8354750','url':'/_next/static/chunks/2604.250be1a3b8354750.js'},{'revision':'0a838d09eabc5b43','url':'/_next/static/chunks/2746.0a838d09eabc5b43.js'},{'revision':'f370a64b5af02f0b','url':'/_next/static/chunks/2898.f370a64b5af02f0b.js'},{'revision':'07a96119d145f2e1','url':'/_next/static/chunks/3200.07a96119d145f2e1.js'},{'revision':'53072abba3ca74b8','url':'/_next/static/chunks/3525.53072abba3ca74b8.js'},{'revision':'d43c02005a549a55','url':'/_next/static/chunks/3747.d43c02005a549a55.js'},{'revision':'f3ae5e81cac2c390','url':'/_next/static/chunks/422.f3ae5e81cac2c390.js'},{'revision':'6be69df622e36e45','url':'/_next/static/chunks/4253.6be69df622e36e45.js'},{'revision':'c4f2007bfe36ec14','url':'/_next/static/chunks/4419.c4f2007bfe36ec14.js'},{'revision':'5dac0fea9b4cf3a3','url':'/_next/static/chunks/4d26f338-5dac0fea9b4cf3a3.js'},{'revision':'33e08a0525159056','url':'/_next/static/chunks/5119.33e08a0525159056.js'},{'revision':'d2f047fea62adf58','url':'/_next/static/chunks/514.d2f047fea62adf58.js'},{'revision':'ea86c6ce443ba3bd','url':'/_next/static/chunks/5488.ea86c6ce443ba3bd.js'},{'revision':'bab5f5b7ff8ff120','url':'/_next/static/chunks/556.bab5f5b7ff8ff120.js'},{'revision':'294b57e99702d064','url':'/_next/static/chunks/5660.294b57e99702d064.js'},{'revision':'7abe5840ceba140e','url':'/_next/static/chunks/5806.7abe5840ceba140e.js'},{'revision':'de38455bb64d9835','url':'/_next/static/chunks/5811.de38455bb64d9835.js'},{'revision':'0a433dc6f963fc41','url':'/_next/static/chunks/5939.0a433dc6f963fc41.js'},{'revision':'f7b1d24c812922e4','url':'/_next/static/chunks/6237.f7b1d24c812922e4.js'},{'revision':'dcdff54f0dceda1f','url':'/_next/static/chunks/6253.dcdff54f0dceda1f.js'},{'revision':'ea13afa99496d818','url':'/_next/static/chunks/6328.ea13afa99496d818.js'},{'revision':'b10481f17e2d2cf9','url':'/_next/static/chunks/6538.b10481f17e2d2cf9.js'},{'revision':'432f96462db0d036','url':'/_next/static/chunks/6551.432f96462db0d036.js'},{'revision':'b954bf9a27972ff7','url':'/_next/static/chunks/6724-b954bf9a27972ff7.js'},{'revision':'6a0d4129b644e95d','url':'/_next/static/chunks/6845-6a0d4129b644e95d.js'},{'revision':'a575059dbc72db1a','url':'/_next/static/chunks/6847.a575059dbc72db1a.js'},{'revision':'484bcd9e0a7f5626','url':'/_next/static/chunks/704.484bcd9e0a7f5626.js'},{'revision':'b0a3567fac8e0052','url':'/_next/static/chunks/7682.b0a3567fac8e0052.js'},{'revision':'f08d55bab5fc0f34','url':'/_next/static/chunks/7749.f08d55bab5fc0f34.js'},{'revision':'f18da82915d63734','url':'/_next/static/chunks/794.f18da82915d63734.js'},{'revision':'b8b92f519975c722','url':'/_next/static/chunks/8109-b8b92f519975c722.js'},{'revision':'d6c500ddcf42e542','url':'/_next/static/chunks/8137.d6c500ddcf42e542.js'},{'revision':'593a836a579a1569','url':'/_next/static/chunks/8764-593a836a579a1569.js'},{'revision':'8c985300b37d631a','url':'/_next/static/chunks/8881.8c985300b37d631a.js'},{'revision':'882cd6b61a640a13','url':'/_next/static/chunks/9223.882cd6b61a640a13.js'},{'revision':'405a73de74b58e27','url':'/_next/static/chunks/934.405a73de74b58e27.js'},{'revision':'ccb30e1e9ae409dc','url':'/_next/static/chunks/9343.ccb30e1e9ae409dc.js'},{'revision':'aecff84a047b7ed5','url':'/_next/static/chunks/9361-aecff84a047b7ed5.js'},{'revision':'c93f7cb64c560417','url':'/_next/static/chunks/9894.c93f7cb64c560417.js'},{'revision':'44044767831d9eb0','url':'/_next/static/chunks/9941.44044767831d9eb0.js'},{'revision':'64d4aa160ef531df','url':'/_next/static/chunks/de297ff1-64d4aa160ef531df.js'},{'revision':'28712122b8f24e0e','url':'/_next/static/chunks/framework-28712122b8f24e0e.js'},{'revision':'235b4afd80b524a5','url':'/_next/static/chunks/main-235b4afd80b524a5.js'},{'revision':'f779bf4e7bba1198','url':'/_next/static/chunks/pages/_app-f779bf4e7bba1198.js'},{'revision':'4a934674346210d3','url':'/_next/static/chunks/pages/_error-4a934674346210d3.js'},{'revision':'d70b3d90e46efcc8','url':'/_next/static/chunks/pages/account-d70b3d90e46efcc8.js'},{'revision':'6fab776daa9ae5fc','url':'/_next/static/chunks/pages/fallback-6fab776daa9ae5fc.js'},{'revision':'747411878630625b','url':'/_next/static/chunks/pages/index-747411878630625b.js'},{'revision':'99442aec5788bccac9b2f0ead2afdd6b','url':'/_next/static/chunks/polyfills-5cd94c89d3acac5f.js'},{'revision':'f3550438b5914a35','url':'/_next/static/chunks/webpack-f3550438b5914a35.js'},{'revision':'b355ced14f31177f','url':'/_next/static/css/b355ced14f31177f.css'},{'revision':'2f9d24ba6fd7e38ea24ecac6d2679d38','url':'/_next/static/jxR9RV5kwYmX8O3svBXOE/_buildManifest.js'},{'revision':'fb2823d66b3e778e04a3f681d0d2fb19','url':'/_next/static/jxR9RV5kwYmX8O3svBXOE/_middlewareManifest.js'},{'revision':'b6652df95db52feb4daf4eca35380933','url':'/_next/static/jxR9RV5kwYmX8O3svBXOE/_ssgManifest.js'},{'revision':'f2782572','url':'/_next/static/media/Bioliquid.f2782572.woff2'},{'revision':'34941911','url':'/_next/static/media/Rajdhani.34941911.woff2'},{'revision':'f73e941d','url':'/_next/static/media/Roboto-Mono.f73e941d.woff2'},{'revision':'1ef6859c','url':'/_next/static/media/SF-Mono.1ef6859c.woff2'},{'revision':'464dbd09','url':'/_next/static/media/Spotnik.464dbd09.woff2'},{'revision':'6db2c019f4fde216022ac8d059664899','url':'/ens-red.png'},{'revision':'aa858b65b4bccd0b8b171b7381782b54','url':'/ens-vision.png'},{'revision':'6d1fe7b883e5cee5559899a921e1191d','url':'/ens-white.png'},{'revision':'649aaa4e91cad7bb65932962cd7df11a','url':'/ens.png'},{'revision':'e21260efeb5ea2999269530516c5d71a','url':'/eth-dark.png'},{'revision':'7871856f87888053a7906446e0bed261','url':'/eth-red.png'},{'revision':'16f3a5485241d8b9e632f2aa53a6512c','url':'/eth.png'},{'revision':'a1bec2f2792cf6cfb340955d6b4cdb24','url':'/godid.svg'},{'revision':'fee4a5f8e0a922dc9b7b86278ade220e','url':'/logo.png'},{'revision':'bd53b8865752ea7df7ff9a3cc488ee9d','url':'/manifest.json'},{'revision':'7ac4d0e9806b2dbdc0b08f4c22a5bc35','url':'/readme/GUIDE.md'},{'revision':'ccf294a28856da3ea777c2daef9ef073','url':'/readme/github-markdown.min.css'},{'revision':'201b1c8cd745a48c260d0f57b53f5ce8','url':'/readme/index.js'},{'revision':'cf2fbbf84281d9ecbffb4993203d543b','url':'/readme/jquery.min.js'},{'revision':'ec7a634ecb477777ec6b6ca434b455ae','url':'/readme/query.js'},{'revision':'80362c5a131a99766e04f5ed50fddedf','url':'/readme/readme.htm'},{'revision':'f998a0f83800c6d1a754308b830ee998','url':'/readme/style.css'},{'revision':'77cd19437dced1bc1e3852c71134faaf','url':'/readme/theme.min.css'},{'revision':'06c2ab8e193a2de3408319058e0a7639','url':'/readme/zero-md.min.js'},{'revision':'d1ae3bc01dbdb57855b85080e46111fd','url':'/shadow.svg'},{'revision':'a9f80d8d245b051a96c9ee42c3cc6316','url':'/sw.js'}];oe.push({url:"/fallback",revision:"1234567890"}),function(e){se().precache(e)}(oe),function(e){const t=se();J(new ne(t,e))}(re),self.addEventListener("activate",(e=>{const t=i();e.waitUntil((async(e,t="-precache-")=>{const s=(await self.caches.keys()).filter((s=>s.includes(t)&&s.includes(self.registration.scope)&&s!==e));return await Promise.all(s.map((e=>self.caches.delete(e)))),s})(t).then((e=>{})))})),J("/",new j({cacheName:"start-url",plugins:[new A({maxEntries:1,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/^https:\/\/fonts\.(?:googleapis|gstatic)\.com\/.*/i,new class extends K{async _handle(e,s){let n,a=await s.cacheMatch(e);if(a)0;else{0;try{a=await s.fetchAndCachePut(e)}catch(r){r instanceof Error&&(n=r)}0}if(!a)throw new t("no-response",{url:e.url,error:n});return a}}({cacheName:"google-fonts",plugins:[new A({maxEntries:4,maxAgeSeconds:31536e3,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:eot|otf|ttc|ttf|woff|woff2|font.css)$/i,new B({cacheName:"static-font-assets",plugins:[new A({maxEntries:4,maxAgeSeconds:604800,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:jpg|jpeg|gif|png|svg|ico|webp)$/i,new class extends K{constructor(e={}){super(e),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,s){let n,a;try{const t=[s.fetch(e)];if(this._networkTimeoutSeconds){const e=f(1e3*this._networkTimeoutSeconds);t.push(e)}if(a=await Promise.race(t),!a)throw new Error(`Timed out the network response after ${this._networkTimeoutSeconds} seconds.`)}catch(r){r instanceof Error&&(n=r)}if(!a)throw new t("no-response",{url:e.url,error:n});return a}}({cacheName:"static-image-assets",plugins:[new A({maxEntries:64,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:js)$/i,new B({cacheName:"static-js-assets",plugins:[new A({maxEntries:32,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:css|less)$/i,new B({cacheName:"static-style-assets",plugins:[new A({maxEntries:32,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/\.(?:json|xml|csv)$/i,new j({cacheName:"static-data-assets",plugins:[new A({maxEntries:32,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/\/api\/.*$/i,new j({cacheName:"apis",networkTimeoutSeconds:10,plugins:[new A({maxEntries:16,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),J(/.*/i,new j({cacheName:"others",networkTimeoutSeconds:10,plugins:[new A({maxEntries:32,maxAgeSeconds:86400,purgeOnQuotaError:!0})]}),"GET"),ie=new B,V().setDefaultHandler(ie),function(e){V().setCatchHandler(e)}((function(e){switch(e.event.request.destination){case"document":return ae("/fallback");case"image":return ae("/static/images/fallback.png");default:return Response.error()}}))}()}(); \ No newline at end of file diff --git a/utils/constants.ts b/utils/constants.ts index bf5f429a..8c28cf53 100644 --- a/utils/constants.ts +++ b/utils/constants.ts @@ -114,7 +114,7 @@ const githubRegex = /^[a-zA-Z0-9](?:[a-zA-Z0-9]|-(?=[a-zA-Z0-9])){0,38}$/; const twitterRegex = /^[A-Za-z][A-Za-z0-9_]{0,14}$/; const zonehashRegex = /^0x[a-fA-F0-9]+$/; const emailRegex = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/; -const discordRegex = /^.{3,32}#[0-9]{4}$/; +const discordRegex = /^(?![_\.])[a-z0-9_.]{3,32}(?