@rss3/js-sdk
Advanced tools
Comparing version 0.6.27 to 0.6.29
@@ -13,26 +13,8 @@ import { components, operations } from '../types/data'; | ||
export declare function client(opt?: ClientOptions): { | ||
/** | ||
* Query transactions. | ||
*/ | ||
activity(id: string): Res<Activity, TotalPage>; | ||
/** | ||
* Query activities. | ||
*/ | ||
activities(account: string, query?: operations['GetAccountActivities']['parameters']['query']): Res<Activity[], Cursor>; | ||
/** | ||
* Query activities by multiple accounts. | ||
*/ | ||
activitiesBatch(query: components['schemas']['AccountsActivitiesRequest']): Res<Activity[], Cursor>; | ||
/** | ||
* Query mastodon activities. | ||
*/ | ||
mastodonActivities(account: string, query?: operations['GetMastodonActivities']['parameters']['query']): Res<Activity[], Cursor>; | ||
/** | ||
* Query profiles. | ||
*/ | ||
profiles(account: string, query?: operations['GetAccountProfiles']['parameters']['query']): Res<Profile[], null>; | ||
/** | ||
* Query mastodon profiles. | ||
*/ | ||
mastodonProfiles(account: string): Res<Profile[], null>; | ||
activity: (id: string, query?: operations['GetActivity']['parameters']['query']) => Res<Activity, TotalPage>; | ||
activities: (account: string, query?: operations['GetAccountActivities']['parameters']['query']) => Res<Activity[], Cursor>; | ||
activitiesBatch: (query: components['schemas']['AccountsActivitiesRequest']) => Res<Activity[], Cursor>; | ||
mastodonActivities: (account: string, query?: operations['GetMastodonActivities']['parameters']['query']) => Res<Activity[], Cursor>; | ||
profiles: (account: string, query?: operations['GetAccountProfiles']['parameters']['query']) => Res<Profile[], null>; | ||
mastodonProfiles: (account: string) => Res<Profile[], null>; | ||
}; |
@@ -14,126 +14,149 @@ import createClient from 'openapi-fetch'; | ||
const client = createClient(opt); | ||
return { | ||
/** | ||
* Query transactions. | ||
*/ | ||
async activity(id) { | ||
const { data, error } = await client.GET('/activities/{id}', { params: { path: { id } } }); | ||
if (error || !data) | ||
throw error; | ||
if (!data.data || !data.meta) | ||
return data; | ||
/** | ||
* Query transactions. | ||
*/ | ||
async function activity(id, query) { | ||
const { data, error } = await client.GET('/activities/{id}', { params: { path: { id }, query } }); | ||
if (error || !data) | ||
throw error; | ||
if (!data.data) | ||
return data; | ||
if (!data.meta) | ||
return { data: data.data }; | ||
return { | ||
data: data.data, | ||
meta: data.meta, | ||
nextPage: () => { | ||
if (!query) | ||
query = {}; | ||
return activity(id, { ...query, action_page: (query.action_page || 0) + 1 }); | ||
}, | ||
}; | ||
} | ||
/** | ||
* Query activities. | ||
*/ | ||
async function activities(account, query) { | ||
const { data, error } = await client.GET('/accounts/{account}/activities', { | ||
params: { | ||
path: { account }, | ||
query, | ||
}, | ||
}); | ||
if (error || !data) | ||
throw error; | ||
const list = data.data.map((a) => a); | ||
if (!data.meta) | ||
return { data: list }; | ||
return { | ||
data: list, | ||
meta: data.meta, | ||
nextPage: () => { | ||
if (!data.meta) | ||
return {}; | ||
return activities(account, { ...query, cursor: data.meta.cursor }); | ||
}, | ||
}; | ||
} | ||
/** | ||
* Query activities by multiple accounts. | ||
*/ | ||
async function activitiesBatch(query) { | ||
const { data, error } = await client.POST('/accounts/activities', { | ||
body: query, | ||
}); | ||
if (error || !data) | ||
throw error; | ||
const list = data.data.map((a) => a); | ||
if (!data.meta) | ||
return { data: list }; | ||
return { | ||
data: list, | ||
meta: data.meta, | ||
nextPage: () => { | ||
if (!data.meta) | ||
return {}; | ||
return activitiesBatch({ ...query, cursor: data.meta.cursor }); | ||
}, | ||
}; | ||
} | ||
/** | ||
* Query mastodon activities. | ||
*/ | ||
async function mastodonActivities(account, query) { | ||
const client = createClient(opt); | ||
const { data, error } = await client.GET('/mastodon/{account}/activities', { | ||
params: { | ||
path: { account }, | ||
query, | ||
}, | ||
}); | ||
if (error || !data) | ||
throw error; | ||
if (!data.meta) | ||
return data; | ||
const list = data.data.map((a) => a); | ||
return { | ||
data: list, | ||
meta: data.meta, | ||
}; | ||
} | ||
/** | ||
* Query profiles. | ||
*/ | ||
async function profiles(account, query) { | ||
const { data, error } = await client.GET('/accounts/{account}/profiles', { | ||
params: { | ||
path: { account }, | ||
query, | ||
}, | ||
}); | ||
if (error || !data) | ||
throw error; | ||
const list = data.data.map((a) => a); | ||
return { | ||
data: list, | ||
meta: null, | ||
}; | ||
} | ||
/** | ||
* Query mastodon profiles. | ||
*/ | ||
async function mastodonProfiles(account) { | ||
const [handle, domain] = account.split('@'); | ||
const data = await fetch(`https://${domain}/api/v2/search?q=${handle}&resolve=false&limit=1`) | ||
.then((res) => res.json()) | ||
.catch(() => { | ||
return { data: [] }; | ||
}); | ||
if (data.accounts.length === 0) { | ||
return { data: [], meta: null }; | ||
} | ||
else { | ||
const profile = data.accounts[0]; | ||
return { | ||
data: data.data, | ||
meta: data.meta, | ||
}; | ||
}, | ||
/** | ||
* Query activities. | ||
*/ | ||
async activities(account, query) { | ||
const { data, error } = await client.GET('/accounts/{account}/activities', { | ||
params: { | ||
path: { account }, | ||
query, | ||
}, | ||
}); | ||
if (error || !data) | ||
throw error; | ||
if (!data.meta) | ||
return data; | ||
const list = data.data.map((a) => a); | ||
return { | ||
data: list, | ||
meta: data.meta, | ||
}; | ||
}, | ||
/** | ||
* Query activities by multiple accounts. | ||
*/ | ||
async activitiesBatch(query) { | ||
const { data, error } = await client.POST('/accounts/activities', { | ||
body: query, | ||
}); | ||
if (error || !data) | ||
throw error; | ||
if (!data.meta) | ||
return data; | ||
const list = data.data.map((a) => a); | ||
return { | ||
data: list, | ||
meta: data.meta, | ||
}; | ||
}, | ||
/** | ||
* Query mastodon activities. | ||
*/ | ||
async mastodonActivities(account, query) { | ||
const client = createClient(opt); | ||
const { data, error } = await client.GET('/mastodon/{account}/activities', { | ||
params: { | ||
path: { account }, | ||
query, | ||
}, | ||
}); | ||
if (error || !data) | ||
throw error; | ||
if (!data.meta) | ||
return data; | ||
const list = data.data.map((a) => a); | ||
return { | ||
data: list, | ||
meta: data.meta, | ||
}; | ||
}, | ||
/** | ||
* Query profiles. | ||
*/ | ||
async profiles(account, query) { | ||
const { data, error } = await client.GET('/accounts/{account}/profiles', { | ||
params: { | ||
path: { account }, | ||
query, | ||
}, | ||
}); | ||
if (error || !data) | ||
throw error; | ||
const list = data.data.map((a) => a); | ||
return { | ||
data: list, | ||
data: [ | ||
{ | ||
address: `${profile.username}@${domain}`, | ||
bio: profile.note, | ||
handle: `${profile.username}@${domain}`, | ||
name: profile.username, | ||
network: 'Mastodon', | ||
platform: 'Mastodon', | ||
profileURI: [profile.avatar], | ||
url: profile.url, | ||
}, | ||
], | ||
meta: null, | ||
}; | ||
}, | ||
/** | ||
* Query mastodon profiles. | ||
*/ | ||
async mastodonProfiles(account) { | ||
const [handle, domain] = account.split('@'); | ||
const data = await fetch(`https://${domain}/api/v2/search?q=${handle}&resolve=false&limit=1`) | ||
.then((res) => res.json()) | ||
.catch(() => { | ||
return { data: [] }; | ||
}); | ||
if (data.accounts.length === 0) { | ||
return { data: [], meta: null }; | ||
} | ||
else { | ||
const profile = data.accounts[0]; | ||
return { | ||
data: [ | ||
{ | ||
address: `${profile.username}@${domain}`, | ||
bio: profile.note, | ||
handle: `${profile.username}@${domain}`, | ||
name: profile.username, | ||
network: 'Mastodon', | ||
platform: 'Mastodon', | ||
profileURI: [profile.avatar], | ||
url: profile.url, | ||
}, | ||
], | ||
meta: null, | ||
}; | ||
} | ||
}, | ||
} | ||
} | ||
return { | ||
activity, | ||
activities, | ||
activitiesBatch, | ||
mastodonActivities, | ||
profiles, | ||
mastodonProfiles, | ||
}; | ||
} |
@@ -148,3 +148,4 @@ import { getSummaryActions } from '../../utils'; | ||
res = join([ | ||
tokenText('Removed'), | ||
tokenAddr(action.from), | ||
tokenText('removed'), | ||
tokenAddr(m.owner), | ||
@@ -214,3 +215,4 @@ tokenText('from'), | ||
res = join([ | ||
tokenText('Approved'), | ||
tokenAddr(owner), | ||
tokenText('approved'), | ||
tokenImage(m.image_url), | ||
@@ -224,3 +226,4 @@ tokenName(`${m.name} collection`), | ||
res = join([ | ||
tokenText('Revoked the approval of'), | ||
tokenAddr(owner), | ||
tokenText('revoked the approval of'), | ||
tokenImage(m.image_url), | ||
@@ -254,3 +257,8 @@ tokenName(`${m.name} collection`), | ||
'collectible-burn': (m) => { | ||
res = join([tokenText('Burned'), tokenImage(m.image_url), tokenName(m.name || m.title || 'an asset')]); | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenText('burned'), | ||
tokenImage(m.image_url), | ||
tokenName(m.name || m.title || 'an asset'), | ||
]); | ||
}, | ||
@@ -260,2 +268,3 @@ 'collectible-trade': (m) => { | ||
res = join([ | ||
tokenAddr(action.to), | ||
tokenText('Bought'), | ||
@@ -271,3 +280,4 @@ tokenImage(m.image_url), | ||
res = join([ | ||
tokenText('Sold'), | ||
tokenAddr(action.from), | ||
tokenText('sold'), | ||
tokenImage(m.image_url), | ||
@@ -284,3 +294,4 @@ tokenName(m.name || m.title || 'an asset'), | ||
res = join([ | ||
tokenText('Created an auction for'), | ||
tokenAddr(owner), | ||
tokenText('created an auction for'), | ||
tokenImage(m.image_url), | ||
@@ -293,3 +304,4 @@ tokenName(m.name || m.title || 'an asset'), | ||
res = join([ | ||
tokenText('Made a bid for'), | ||
tokenAddr(owner), | ||
tokenText('made a bid for'), | ||
tokenImage(m.image_url), | ||
@@ -302,3 +314,4 @@ tokenName(m.name || m.title || 'an asset'), | ||
res = join([ | ||
tokenText('Canceled an auction for'), | ||
tokenAddr(owner), | ||
tokenText('canceled an auction for'), | ||
tokenImage(m.image_url), | ||
@@ -347,2 +360,3 @@ tokenName(m.name || m.title || 'an asset'), | ||
}, | ||
// todo add the action invoker | ||
'exchange-liquidity': (m) => { | ||
@@ -372,2 +386,3 @@ const tokens = m.tokens.flatMap((t) => join([...tokenValue(t), tokenText(',')])).slice(0, -1); | ||
}, | ||
// todo add the action invoker | ||
'exchange-loan': (m) => { | ||
@@ -418,4 +433,9 @@ if (m.action === 'create') { | ||
}, | ||
'social-comment': () => { | ||
res = join([tokenAddr(action.from), tokenText('made a comment'), tokenPost(action), ...tokenPlatform(action)]); | ||
'social-comment': (m) => { | ||
res = join([ | ||
tokenAddr(m.handle || owner), | ||
tokenText('made a comment'), | ||
tokenPost(action), | ||
...tokenPlatform(action), | ||
]); | ||
}, | ||
@@ -465,3 +485,4 @@ 'social-share': (m) => { | ||
res = join([ | ||
tokenText('Created a profile'), | ||
tokenAddr(m.handle || owner), | ||
tokenText('created a profile'), | ||
tokenImage(m.image_uri), | ||
@@ -474,3 +495,4 @@ tokenName(m.name || m.handle || ''), | ||
res = join([ | ||
tokenText('Updated a profile'), | ||
tokenAddr(m.handle || owner), | ||
tokenText('updated a profile'), | ||
tokenImage(m.image_uri), | ||
@@ -483,3 +505,4 @@ tokenName(m.name || m.handle || ''), | ||
res = join([ | ||
tokenText('Renewed a profile'), | ||
tokenAddr(m.handle || owner), | ||
tokenText('renewed a profile'), | ||
tokenImage(m.image_uri), | ||
@@ -492,3 +515,4 @@ tokenName(m.name || m.handle || ''), | ||
res = join([ | ||
tokenText('Wrapped a profile'), | ||
tokenAddr(m.handle || owner), | ||
tokenText('wrapped a profile'), | ||
tokenImage(m.image_uri), | ||
@@ -501,3 +525,4 @@ tokenName(m.name || m.handle || ''), | ||
res = join([ | ||
tokenText('Unwrapped a profile'), | ||
tokenAddr(m.handle || owner), | ||
tokenText('unwrapped a profile'), | ||
tokenImage(m.image_uri), | ||
@@ -511,6 +536,6 @@ tokenName(m.name || m.handle || ''), | ||
if (m.action === 'appoint') { | ||
res = join([tokenText('Approved a proxy'), ...tokenPlatform(action)]); | ||
res = join([tokenAddr(owner), tokenText('approved a proxy'), ...tokenPlatform(action)]); | ||
} | ||
else { | ||
res = join([tokenText('Removed a proxy'), ...tokenPlatform(action)]); | ||
res = join([tokenAddr(owner), tokenText('removed a proxy'), ...tokenPlatform(action)]); | ||
} | ||
@@ -517,0 +542,0 @@ }, |
@@ -24,3 +24,3 @@ import { EMPTY_ADDRESS } from '../../constants'; | ||
platform: 'Ethereum', | ||
profileURI: [addressToAvatarURL(wallet, 30)], | ||
profileURI: [addressToAvatarURL(wallet, 100)], | ||
socialURI: [], | ||
@@ -27,0 +27,0 @@ }); |
@@ -8,3 +8,4 @@ import { components as searchComponents } from './types/search-internal'; | ||
data: Data; | ||
meta: Meta; | ||
meta?: Meta; | ||
nextPage?: () => Res<Data, Meta>; | ||
}>; | ||
@@ -11,0 +12,0 @@ export declare const debug: Debug.Debugger; |
{ | ||
"name": "@rss3/js-sdk", | ||
"description": "RSS3 JavaScript SDK, the Turbocharger🌪️ for Your Next Open Web Development.", | ||
"version": "0.6.27", | ||
"version": "0.6.29", | ||
"author": "Natural Selection Labs and RSS3 Contributors", | ||
@@ -18,3 +18,3 @@ "license": "MIT", | ||
"test": "vitest run src", | ||
"lint": "cspell --no-progress '**' && eslint --max-warnings=0 src && prettier -c . && tsc --noEmit", | ||
"lint": "cspell --no-progress '**' && eslint --max-warnings=0 src && prettier -c . && tsc --noEmit && markdownlint -i node_modules .", | ||
"format": "eslint --fix && prettier -w .", | ||
@@ -38,2 +38,3 @@ "prepare": "npm run build", | ||
"eslint": "^8.43.0", | ||
"markdownlint-cli": "^0.37.0", | ||
"prettier": "^2.8.8", | ||
@@ -40,0 +41,0 @@ "react": "^18.2.0", |
@@ -0,7 +1,7 @@ | ||
<!-- markdownlint-disable --> | ||
<p align="center"> | ||
<a href="https://rss3.io" target="_blank" rel="noopener noreferrer"> | ||
<img width="180" src="./RSS3.svg" alt="RSS3 logo"> | ||
<img width="180" src="doc/RSS3.svg" alt="RSS3 logo"> | ||
</a> | ||
</p> | ||
<br/> | ||
<p align="center"> | ||
@@ -12,12 +12,10 @@ <a href="https://npmjs.com/package/@rss3/js-sdk"><img src="https://img.shields.io/npm/v/%40rss3%2Fjs-sdk?style=flat&logo=npm&color=%230072ff" alt="npm package"></a> | ||
</p> | ||
<br/> | ||
<!-- markdownlint-enable --> | ||
# ⚡ RSS3 JavaScript SDK | ||
# RSS3 JavaScript SDK | ||
> The Turbocharger🌪️ for Your Next Open Web Development. | ||
- Quick Integration with Ethereum, Arbiturm, Base, Polygon and [more....](https://docs.rss3.io/docs/supported-networks) | ||
- Get started with the RSS3 Network in minutes. | ||
- Fully type-safe, easy to BUIDL. | ||
- 💡 Quick Integration with Ethereum, Arbiturm, Base, Polygon and [more....](https://docs.rss3.io/docs/supported-networks) | ||
- ⚡️ Lightning Fast to Interact with the RSS3 Network. | ||
- 🛠️ Fully Typed, Easy to BUIDL. | ||
## Installation | ||
@@ -29,60 +27,33 @@ | ||
```bash | ||
pnpm i @rss3/js-sdk | ||
``` | ||
## Getting Started | ||
```bash | ||
yarn add @rss3/js-sdk | ||
``` | ||
In this tutorial we will use RSS3 JavaScript SDK to build a activity viewer to display activities of | ||
a [ENS address](https://ens.domains/) or [wallet Address](https://en.wikipedia.org/wiki/Cryptocurrency_wallet). | ||
The features we will implement: | ||
## Getting Started | ||
- Display the profile of the address. | ||
- Display 20 activities of the address. | ||
- Able to filter the activities by network or platform, etc. | ||
### Obtain Data from the RSS3 Network | ||
Get open social activities of anyone, here we get `vitalik.eth`'s comments on `farcaster`: | ||
First, let's get all the activities of `vitalik.eth`: | ||
```js | ||
import dataClient from '@rss3/js-sdk' | ||
```ts | ||
import { dataClient } from '@rss3/js-sdk' | ||
const socialActivities = await dataClient().activities({ | ||
account: ['vitalik.eth'], // or many other supported domains. | ||
tag: ['social'], | ||
type: ['comment'], | ||
platform: ['farcaster'], | ||
}) | ||
``` | ||
async function fetchActivities() { | ||
const { data: activities } = await dataClient().activities('vitalik.eth') | ||
console.log(activities) | ||
} | ||
Or simply query cross-network and human-readable feed of anyone: | ||
```js | ||
import dataClient from '@rss3/js-sdk' | ||
const readableFeed = await dataClient().activities({ | ||
account: ['0xd8da6bf26964af9d7eed9e03e53415d37aa96045'], | ||
}) | ||
fetchActivities() | ||
``` | ||
### Perform Searches on the RSS3 Network | ||
By default it will fetch only 100 activities. To implement pagination, we can use the `limit` and `cursor`: | ||
Search for keyword `Ethereum` across over 100 blockchains, networks and applications: | ||
```ts | ||
```js | ||
import searchClient from '@rss3/js-sdk' | ||
const searchResults = await searchClient().activities({ | ||
keyword: 'Ethereum', | ||
}) | ||
``` | ||
Or on a specific platform like `mirror`: | ||
```js | ||
import searchClient from '@rss3/js-sdk' | ||
const searchResults = await searchClient().activities({ | ||
keyword: 'Ethereum', | ||
platform: ['mirror'], | ||
}) | ||
``` | ||
### Add Artificial Intelligence to Your Applications | ||
@@ -89,0 +60,0 @@ |
@@ -1,1 +0,1 @@ | ||
var rss3;(()=>{var e={924:(e,t,r)=>{"use strict";var n=r(210),o=r(559),a=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&a(e,".prototype.")>-1?o(r):r}},559:(e,t,r)=>{"use strict";var n=r(612),o=r(210),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||n.call(i,a),l=o("%Object.getOwnPropertyDescriptor%",!0),s=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(s)try{s({},"a",{value:1})}catch(e){s=null}e.exports=function(e){var t=c(n,i,arguments);return l&&s&&l(t,"length").configurable&&s(t,"length",{value:1+u(0,e.length-(arguments.length-1))}),t};var p=function(){return c(n,a,arguments)};s?s(e.exports,"apply",{value:p}):e.exports.apply=p},227:(e,t,r)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(447)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},447:(e,t,r)=>{e.exports=function(e){function t(e){let r,o,a,i=null;function c(...e){if(!c.enabled)return;const n=c,o=Number(new Date),a=o-(r||o);n.diff=a,n.prev=r,n.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,o)=>{if("%%"===r)return"%";i++;const a=t.formatters[o];if("function"==typeof a){const t=e[i];r=a.call(n,t),e.splice(i,1),i--}return r})),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=n,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(o!==t.namespaces&&(o=t.namespaces,a=t.enabled(e)),a),set:e=>{i=e}}),"function"==typeof t.init&&t.init(c),c}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(r=0;r<o;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(824),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},648:e=>{"use strict";var t=Array.prototype.slice,r=Object.prototype.toString;e.exports=function(e){var n=this;if("function"!=typeof n||"[object Function]"!==r.call(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var o,a=t.call(arguments,1),i=Math.max(0,n.length-a.length),c=[],l=0;l<i;l++)c.push("$"+l);if(o=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var r=n.apply(this,a.concat(t.call(arguments)));return Object(r)===r?r:this}return n.apply(e,a.concat(t.call(arguments)))})),n.prototype){var s=function(){};s.prototype=n.prototype,o.prototype=new s,s.prototype=null}return o}},612:(e,t,r)=>{"use strict";var n=r(648);e.exports=Function.prototype.bind||n},210:(e,t,r)=>{"use strict";var n,o=SyntaxError,a=Function,i=TypeError,c=function(e){try{return a('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var s=function(){throw new i},u=l?function(){try{return s}catch(e){try{return l(arguments,"callee").get}catch(e){return s}}}():s,p=r(405)(),f=r(185)(),y=Object.getPrototypeOf||(f?function(e){return e.__proto__}:null),d={},m="undefined"!=typeof Uint8Array&&y?y(Uint8Array):n,g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":p&&y?y([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":d,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p&&y?y(y([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&p&&y?y((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&p&&y?y((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p&&y?y(""[Symbol.iterator]()):n,"%Symbol%":p?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":u,"%TypedArray%":m,"%TypeError%":i,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(y)try{null.error}catch(e){var h=y(y(e));g["%Error.prototype%"]=h}var b=function e(t){var r;if("%AsyncFunction%"===t)r=c("async function () {}");else if("%GeneratorFunction%"===t)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=c("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&y&&(r=y(o.prototype))}return g[t]=r,r},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=r(612),S=r(642),C=w.call(Function.call,Array.prototype.concat),A=w.call(Function.apply,Array.prototype.splice),j=w.call(Function.call,String.prototype.replace),O=w.call(Function.call,String.prototype.slice),x=w.call(Function.call,RegExp.prototype.exec),F=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,E=function(e,t){var r,n=e;if(S(v,n)&&(n="%"+(r=v[n])[0]+"%"),S(g,n)){var a=g[n];if(a===d&&(a=b(n)),void 0===a&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:a}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new i('"allowMissing" argument must be a boolean');if(null===x(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=O(e,0,1),r=O(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return j(e,F,(function(e,t,r,o){n[n.length]=r?j(o,P,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",a=E("%"+n+"%",t),c=a.name,s=a.value,u=!1,p=a.alias;p&&(n=p[0],A(r,C([0,1],p)));for(var f=1,y=!0;f<r.length;f+=1){var d=r[f],m=O(d,0,1),h=O(d,-1);if(('"'===m||"'"===m||"`"===m||'"'===h||"'"===h||"`"===h)&&m!==h)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&y||(u=!0),S(g,c="%"+(n+="."+d)+"%"))s=g[c];else if(null!=s){if(!(d in s)){if(!t)throw new i("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&f+1>=r.length){var b=l(s,d);s=(y=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:s[d]}else y=S(s,d),s=s[d];y&&!u&&(g[c]=s)}}return s}},185:e=>{"use strict";var t={foo:{}},r=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof r)}},405:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(419);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},419:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},642:e=>{"use strict";var t={}.hasOwnProperty,r=Function.prototype.call;e.exports=r.bind?r.bind(t):function(e,n){return r.call(t,e,n)}},824:e=>{var t=1e3,r=60*t,n=60*r,o=24*n;function a(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,i){i=i||{};var c,l,s=typeof e;if("string"===s&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(a){var i=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"weeks":case"week":case"w":return 6048e5*i;case"days":case"day":case"d":return i*o;case"hours":case"hour":case"hrs":case"hr":case"h":return i*n;case"minutes":case"minute":case"mins":case"min":case"m":return i*r;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}(e);if("number"===s&&isFinite(e))return i.long?(c=e,(l=Math.abs(c))>=o?a(c,l,o,"day"):l>=n?a(c,l,n,"hour"):l>=r?a(c,l,r,"minute"):l>=t?a(c,l,t,"second"):c+" ms"):function(e){var a=Math.abs(e);return a>=o?Math.round(e/o)+"d":a>=n?Math.round(e/n)+"h":a>=r?Math.round(e/r)+"m":a>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},631:(e,t,r)=>{var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=n&&o&&"function"==typeof o.get?o.get:null,i=n&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=c&&l&&"function"==typeof l.get?l.get:null,u=c&&Set.prototype.forEach,p="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,y="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,h=String.prototype.match,b=String.prototype.slice,v=String.prototype.replace,w=String.prototype.toUpperCase,S=String.prototype.toLowerCase,C=RegExp.prototype.test,A=Array.prototype.concat,j=Array.prototype.join,O=Array.prototype.slice,x=Math.floor,F="function"==typeof BigInt?BigInt.prototype.valueOf:null,P=Object.getOwnPropertySymbols,E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"==typeof Symbol.iterator,_="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,R=Object.prototype.propertyIsEnumerable,I=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function T(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||C.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-x(-e):x(e);if(n!==e){var o=String(n),a=b.call(t,o.length+1);return v.call(o,r,"$&_")+"."+v.call(v.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,r,"$&_")}var N=r(654),U=N.custom,M=B(U)?U:null;function $(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function D(e){return v.call(String(e),/"/g,""")}function q(e){return!("[object Array]"!==G(e)||_&&"object"==typeof e&&_ in e)}function L(e){return!("[object RegExp]"!==G(e)||_&&"object"==typeof e&&_ in e)}function B(e){if(k)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,n,o){var c=r||{};if(z(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(z(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!z(c,"customInspect")||c.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(z(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(z(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=c.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return J(t,c);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return m?T(t,w):w}if("bigint"==typeof t){var C=String(t)+"n";return m?T(t,C):C}var x=void 0===c.depth?5:c.depth;if(void 0===n&&(n=0),n>=x&&x>0&&"object"==typeof t)return q(t)?"[Array]":"[Object]";var P,U=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=j.call(Array(e.indent+1)," ")}return{base:r,prev:j.call(Array(t+1),r)}}(c,n);if(void 0===o)o=[];else if(H(o,t)>=0)return"[Circular]";function W(t,r,a){if(r&&(o=O.call(o)).push(r),a){var i={depth:c.depth};return z(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),e(t,i,n+1,o)}return e(t,c,n+1,o)}if("function"==typeof t&&!L(t)){var V=function(e){if(e.name)return e.name;var t=h.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ee=Y(t,W);return"[Function"+(V?": "+V:" (anonymous)")+"]"+(ee.length>0?" { "+j.call(ee,", ")+" }":"")}if(B(t)){var te=k?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(t);return"object"!=typeof t||k?te:Q(te)}if((P=t)&&"object"==typeof P&&("undefined"!=typeof HTMLElement&&P instanceof HTMLElement||"string"==typeof P.nodeName&&"function"==typeof P.getAttribute)){for(var re="<"+S.call(String(t.nodeName)),ne=t.attributes||[],oe=0;oe<ne.length;oe++)re+=" "+ne[oe].name+"="+$(D(ne[oe].value),"double",c);return re+=">",t.childNodes&&t.childNodes.length&&(re+="..."),re+"</"+S.call(String(t.nodeName))+">"}if(q(t)){if(0===t.length)return"[]";var ae=Y(t,W);return U&&!function(e){for(var t=0;t<e.length;t++)if(H(e[t],"\n")>=0)return!1;return!0}(ae)?"["+X(ae,U)+"]":"[ "+j.call(ae,", ")+" ]"}if(function(e){return!("[object Error]"!==G(e)||_&&"object"==typeof e&&_ in e)}(t)){var ie=Y(t,W);return"cause"in Error.prototype||!("cause"in t)||R.call(t,"cause")?0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+j.call(ie,", ")+" }":"{ ["+String(t)+"] "+j.call(A.call("[cause]: "+W(t.cause),ie),", ")+" }"}if("object"==typeof t&&l){if(M&&"function"==typeof t[M]&&N)return N(t,{depth:x-n});if("symbol"!==l&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!=typeof e)return!1;try{a.call(e);try{s.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ce=[];return i&&i.call(t,(function(e,r){ce.push(W(r,t,!0)+" => "+W(e,t))})),K("Map",a.call(t),ce,U)}if(function(e){if(!s||!e||"object"!=typeof e)return!1;try{s.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[];return u&&u.call(t,(function(e){le.push(W(e,t))})),K("Set",s.call(t),le,U)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Z("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Z("WeakSet");if(function(e){if(!y||!e||"object"!=typeof e)return!1;try{return y.call(e),!0}catch(e){}return!1}(t))return Z("WeakRef");if(function(e){return!("[object Number]"!==G(e)||_&&"object"==typeof e&&_ in e)}(t))return Q(W(Number(t)));if(function(e){if(!e||"object"!=typeof e||!F)return!1;try{return F.call(e),!0}catch(e){}return!1}(t))return Q(W(F.call(t)));if(function(e){return!("[object Boolean]"!==G(e)||_&&"object"==typeof e&&_ in e)}(t))return Q(d.call(t));if(function(e){return!("[object String]"!==G(e)||_&&"object"==typeof e&&_ in e)}(t))return Q(W(String(t)));if(!function(e){return!("[object Date]"!==G(e)||_&&"object"==typeof e&&_ in e)}(t)&&!L(t)){var se=Y(t,W),ue=I?I(t)===Object.prototype:t instanceof Object||t.constructor===Object,pe=t instanceof Object?"":"null prototype",fe=!ue&&_&&Object(t)===t&&_ in t?b.call(G(t),8,-1):pe?"Object":"",ye=(ue||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||pe?"["+j.call(A.call([],fe||[],pe||[]),": ")+"] ":"");return 0===se.length?ye+"{}":U?ye+"{"+X(se,U)+"}":ye+"{ "+j.call(se,", ")+" }"}return String(t)};var W=Object.prototype.hasOwnProperty||function(e){return e in this};function z(e,t){return W.call(e,t)}function G(e){return m.call(e)}function H(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function J(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return J(b.call(e,0,t.maxStringLength),t)+n}return $(v.call(v.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,V),"single",t)}function V(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Q(e){return"Object("+e+")"}function Z(e){return e+" { ? }"}function K(e,t,r,n){return e+" ("+t+") {"+(n?X(r,n):j.call(r,", "))+"}"}function X(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+j.call(e,","+r)+"\n"+t.prev}function Y(e,t){var r=q(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=z(e,o)?t(e[o],e):""}var a,i="function"==typeof P?P(e):[];if(k){a={};for(var c=0;c<i.length;c++)a["$"+i[c]]=i[c]}for(var l in e)z(e,l)&&(r&&String(Number(l))===l&&l<e.length||k&&a["$"+l]instanceof Symbol||(C.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if("function"==typeof P)for(var s=0;s<i.length;s++)R.call(e,i[s])&&n.push("["+t(i[s])+"]: "+t(e[i[s]],e));return n}},798:e=>{"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},129:(e,t,r)=>{"use strict";var n=r(261),o=r(235),a=r(798);e.exports={formats:a,parse:o,stringify:n}},235:(e,t,r)=>{"use strict";var n=r(769),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},s=function(e,t,r,n){if(e){var a=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,c=r.depth>0&&/(\[[^[\]]*])/.exec(a),s=c?a.slice(0,c.index):a,u=[];if(s){if(!r.plainObjects&&o.call(Object.prototype,s)&&!r.allowPrototypes)return;u.push(s)}for(var p=0;r.depth>0&&null!==(c=i.exec(a))&&p<r.depth;){if(p+=1,!r.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(c[1])}return c&&u.push("["+a.slice(c.index)+"]"),function(e,t,r,n){for(var o=n?t:l(t,r),a=e.length-1;a>=0;--a){var i,c=e[a];if("[]"===c&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var s="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,u=parseInt(s,10);r.parseArrays||""!==s?!isNaN(u)&&c!==s&&String(u)===s&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(i=[])[u]=o:"__proto__"!==s&&(i[s]=o):i={0:o}}o=i}return o}(u,t,r,n)}};e.exports=function(e,t){var r=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var r,s={__proto__:null},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,p=t.parameterLimit===1/0?void 0:t.parameterLimit,f=u.split(t.delimiter,p),y=-1,d=t.charset;if(t.charsetSentinel)for(r=0;r<f.length;++r)0===f[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[r]?d="utf-8":"utf8=%26%2310003%3B"===f[r]&&(d="iso-8859-1"),y=r,r=f.length);for(r=0;r<f.length;++r)if(r!==y){var m,g,h=f[r],b=h.indexOf("]="),v=-1===b?h.indexOf("="):b+1;-1===v?(m=t.decoder(h,i.decoder,d,"key"),g=t.strictNullHandling?null:""):(m=t.decoder(h.slice(0,v),i.decoder,d,"key"),g=n.maybeMap(l(h.slice(v+1),t),(function(e){return t.decoder(e,i.decoder,d,"value")}))),g&&t.interpretNumericEntities&&"iso-8859-1"===d&&(g=c(g)),h.indexOf("[]=")>-1&&(g=a(g)?[g]:g),o.call(s,m)?s[m]=n.combine(s[m],g):s[m]=g}return s}(e,r):e,p=r.plainObjects?Object.create(null):{},f=Object.keys(u),y=0;y<f.length;++y){var d=f[y],m=s(d,u[d],r,"string"==typeof e);p=n.merge(p,m,r)}return!0===r.allowSparse?p:n.compact(p)}},261:(e,t,r)=>{"use strict";var n=r(478),o=r(769),a=r(798),i=Object.prototype.hasOwnProperty,c={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,s=Array.prototype.push,u=function(e,t){s.apply(e,l(t)?t:[t])},p=Date.prototype.toISOString,f=a.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:f,formatter:a.formatters[f],indices:!1,serializeDate:function(e){return p.call(e)},skipNulls:!1,strictNullHandling:!1},d={},m=function e(t,r,a,i,c,s,p,f,m,g,h,b,v,w,S,C){for(var A,j=t,O=C,x=0,F=!1;void 0!==(O=O.get(d))&&!F;){var P=O.get(t);if(x+=1,void 0!==P){if(P===x)throw new RangeError("Cyclic object value");F=!0}void 0===O.get(d)&&(x=0)}if("function"==typeof f?j=f(r,j):j instanceof Date?j=h(j):"comma"===a&&l(j)&&(j=o.maybeMap(j,(function(e){return e instanceof Date?h(e):e}))),null===j){if(c)return p&&!w?p(r,y.encoder,S,"key",b):r;j=""}if("string"==typeof(A=j)||"number"==typeof A||"boolean"==typeof A||"symbol"==typeof A||"bigint"==typeof A||o.isBuffer(j))return p?[v(w?r:p(r,y.encoder,S,"key",b))+"="+v(p(j,y.encoder,S,"value",b))]:[v(r)+"="+v(String(j))];var E,k=[];if(void 0===j)return k;if("comma"===a&&l(j))w&&p&&(j=o.maybeMap(j,p)),E=[{value:j.length>0?j.join(",")||null:void 0}];else if(l(f))E=f;else{var _=Object.keys(j);E=m?_.sort(m):_}for(var R=i&&l(j)&&1===j.length?r+"[]":r,I=0;I<E.length;++I){var T=E[I],N="object"==typeof T&&void 0!==T.value?T.value:j[T];if(!s||null!==N){var U=l(j)?"function"==typeof a?a(R,T):R:R+(g?"."+T:"["+T+"]");C.set(t,x);var M=n();M.set(d,C),u(k,e(N,U,a,i,c,s,"comma"===a&&w&&l(j)?null:p,f,m,g,h,b,v,w,S,M))}}return k};e.exports=function(e,t){var r,o=e,s=function(e){if(!e)return y;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||y.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=a.default;if(void 0!==e.format){if(!i.call(a.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=a.formatters[r],o=y.filter;return("function"==typeof e.filter||l(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:y.addQueryPrefix,allowDots:void 0===e.allowDots?y.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:y.charsetSentinel,delimiter:void 0===e.delimiter?y.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:y.encode,encoder:"function"==typeof e.encoder?e.encoder:y.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:y.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:y.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:y.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:y.strictNullHandling}}(t);"function"==typeof s.filter?o=(0,s.filter)("",o):l(s.filter)&&(r=s.filter);var p,f=[];if("object"!=typeof o||null===o)return"";p=t&&t.arrayFormat in c?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var d=c[p];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var g="comma"===d&&t&&t.commaRoundTrip;r||(r=Object.keys(o)),s.sort&&r.sort(s.sort);for(var h=n(),b=0;b<r.length;++b){var v=r[b];s.skipNulls&&null===o[v]||u(f,m(o[v],v,d,g,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,h))}var w=f.join(s.delimiter),S=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?S+="utf8=%26%2310003%3B&":S+="utf8=%E2%9C%93&"),w.length>0?S+w:""}},769:(e,t,r)=>{"use strict";var n=r(798),o=Object.prototype.hasOwnProperty,a=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:c,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],c=Object.keys(i),l=0;l<c.length;++l){var s=c[l],u=i[s];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(t.push({obj:i,prop:s}),r.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(a(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,o,a){if(0===e.length)return e;var c=e;if("symbol"==typeof e?c=Symbol.prototype.toString.call(e):"string"!=typeof e&&(c=String(e)),"iso-8859-1"===r)return escape(c).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",s=0;s<c.length;++s){var u=c.charCodeAt(s);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a===n.RFC1738&&(40===u||41===u)?l+=c.charAt(s):u<128?l+=i[u]:u<2048?l+=i[192|u>>6]+i[128|63&u]:u<55296||u>=57344?l+=i[224|u>>12]+i[128|u>>6&63]+i[128|63&u]:(s+=1,u=65536+((1023&u)<<10|1023&c.charCodeAt(s)),l+=i[240|u>>18]+i[128|u>>12&63]+i[128|u>>6&63]+i[128|63&u])}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(a(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(a(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var i=t;return a(t)&&!a(r)&&(i=c(t,n)),a(t)&&a(r)?(r.forEach((function(r,a){if(o.call(t,a)){var i=t[a];i&&"object"==typeof i&&r&&"object"==typeof r?t[a]=e(i,r,n):t.push(r)}else t[a]=r})),t):Object.keys(r).reduce((function(t,a){var i=r[a];return o.call(t,a)?t[a]=e(t[a],i,n):t[a]=i,t}),i)}}},478:(e,t,r)=>{"use strict";var n=r(210),o=r(924),a=r(631),i=n("%TypeError%"),c=n("%WeakMap%",!0),l=n("%Map%",!0),s=o("WeakMap.prototype.get",!0),u=o("WeakMap.prototype.set",!0),p=o("WeakMap.prototype.has",!0),f=o("Map.prototype.get",!0),y=o("Map.prototype.set",!0),d=o("Map.prototype.has",!0),m=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new i("Side channel does not contain "+a(e))},get:function(n){if(c&&n&&("object"==typeof n||"function"==typeof n)){if(e)return s(e,n)}else if(l){if(t)return f(t,n)}else if(r)return function(e,t){var r=m(e,t);return r&&r.value}(r,n)},has:function(n){if(c&&n&&("object"==typeof n||"function"==typeof n)){if(e)return p(e,n)}else if(l){if(t)return d(t,n)}else if(r)return function(e,t){return!!m(e,t)}(r,n);return!1},set:function(n,o){c&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new c),u(e,n,o)):l?(t||(t=new l),y(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=m(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n}},654:()=>{}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{addressToAvatarURL:()=>k,dataClient:()=>C,extractAsset:()=>ue,extractContent:()=>oe,extractPrimaryProfile:()=>se,extractProfile:()=>le,fetchWithLog:()=>g,flatActivity:()=>re,format:()=>K,formatAddress:()=>P,formatAddressAndNS:()=>E,formatContent:()=>ne,formatPlain:()=>Z,formatProfiles:()=>ce,formatTitle:()=>ae,formatTokenValue:()=>U,getActions:()=>b,getSummaryActions:()=>v,getTagType:()=>w,handleMetadata:()=>j,hasMultiPrimaryActions:()=>te,isAddress:()=>O,isMastodon:()=>x,isSupportedNS:()=>F,markdownToTxt:()=>S,searchClient:()=>A,summaryOfHTML:()=>N,themeHTML:()=>R,timeRange:()=>h,tokenizeAction:()=>ee,tokenizeActivity:()=>X,tokenizeToActions:()=>Y});const e={"Content-Type":"application/json"};function t(t={}){const{fetch:r=globalThis.fetch,querySerializer:n,bodySerializer:i,...c}=t;let l=c.baseUrl??"";async function s(s,u){const{fetch:p=r,headers:f,body:y,params:d={},parseAs:m="json",querySerializer:g=n??o,bodySerializer:h=i??a,...b}=u||{},v=function(e,t){let r=`${t.baseUrl}${e}`;if(t.params.path)for(const[e,n]of Object.entries(t.params.path))r=r.replace(`{${e}}`,encodeURIComponent(String(n)));const n=t.querySerializer(t.params.query??{});return n&&(r+=`?${n}`),r}(s,{baseUrl:l,params:d,querySerializer:g}),w=function(...e){const t=new Headers;for(const r of e){if(!r||"object"!=typeof r)continue;const e=r instanceof Headers?r.entries():Object.entries(r);for(const[r,n]of e)null===n?t.delete(r):void 0!==n&&t.set(r,n)}return t}(e,t?.headers,f,d.header),S={redirect:"follow",...c,...b,headers:w};y&&(S.body=h(y)),S.body instanceof FormData&&w.delete("Content-Type");const C=await p(v,S);if(204===C.status||"0"===C.headers.get("Content-Length"))return C.ok?{data:{},response:C}:{error:{},response:C};if(C.ok){let e;if("stream"!==m){const t=C.clone();e="function"==typeof t[m]?await t[m]():await t.text()}else e=C.clone().body;return{data:e,response:C}}let A={};try{A=await C.clone().json()}catch{A=await C.clone().text()}return{error:A,response:C}}return l.endsWith("/")&&(l=l.slice(0,-1)),{GET:async(e,...t)=>s(e,{...t[0],method:"GET"}),PUT:async(e,...t)=>s(e,{...t[0],method:"PUT"}),POST:async(e,...t)=>s(e,{...t[0],method:"POST"}),DELETE:async(e,...t)=>s(e,{...t[0],method:"DELETE"}),OPTIONS:async(e,...t)=>s(e,{...t[0],method:"OPTIONS"}),HEAD:async(e,...t)=>s(e,{...t[0],method:"HEAD"}),PATCH:async(e,...t)=>s(e,{...t[0],method:"PATCH"}),TRACE:async(e,...t)=>s(e,{...t[0],method:"TRACE"})}}function o(e){const t=new URLSearchParams;if(e&&"object"==typeof e)for(const[r,n]of Object.entries(e))null!=n&&t.set(r,n);return t.toString()}function a(e){return JSON.stringify(e)}const i=function(e,t){if("undefined"!=typeof process){const e=process.env.DEFAULT_RSS3_NET;if(e)return e}return"https://api.rss3.io"}(),c="115792089237316195423570985008687907853269984665640564039457584007913129639935",l=[".eth",".lens",".csb",".bnb",".bit",".crypto",".zil",".nft",".x",".wallet",".bitcoin",".dao",".888",".blockchain",".avax",".arb",".cyber"],s="0x0000000000000000000000000000000000000000";var u=r(227),p=r.n(u),f=r(129),y=r.n(f);const d=p()("@rss3/js-sdk");function m(e){return y().stringify(e,{arrayFormat:"repeat"})}function g(e,t=fetch){return(r,n)=>(n?.body?e("%s %s %s",n?.method,r,n?.body):e("%s %s",n?.method,r),t(r,n))}function h(e="all"){const t=Date.now();switch(e){case"all":return{lte:-1,gte:-1};case"day":return{lte:t,gte:t-864e5};case"week":return{lte:t,gte:t-6048e5};case"month":return{lte:t,gte:t-2592e6};case"year":return{lte:t,gte:t-31536e6}}}function b(e){return e.actions}function v(e){if(1===e.actions.length)return e.actions;if(e.actions){const t=`${e.tag}-${e.type}`;return["transaction-multisig"].includes(t)?e.actions:e.actions.filter((t=>t.tag===e.tag&&t.type===e.type))}return[]}function w(e){return`${e.tag}-${e.type}`}function S(e){let t=e?.replaceAll(/!\[[^\]]*\]\((.*?)\s*("(?:.*[^"])")?\s*\)/g,"");return t=t?.replace(/(<([^>]+)>)/gi," "),t=t?.replace(/(#+\s)/gi,""),t}function C(e={}){e.baseUrl||(e.baseUrl=i+"/data"),e.querySerializer||(e.querySerializer=m),e.fetch=g(d.extend("data").extend("fetch"),e.fetch);const r=t(e);return{async activity(e){const{data:t,error:n}=await r.GET("/activities/{id}",{params:{path:{id:e}}});if(n||!t)throw n;return t.data&&t.meta?{data:t.data,meta:t.meta}:t},async activities(e,t){const{data:n,error:o}=await r.GET("/accounts/{account}/activities",{params:{path:{account:e},query:t}});if(o||!n)throw o;return n.meta?{data:n.data.map((e=>e)),meta:n.meta}:n},async activitiesBatch(e){const{data:t,error:n}=await r.POST("/accounts/activities",{body:e});if(n||!t)throw n;return t.meta?{data:t.data.map((e=>e)),meta:t.meta}:t},async mastodonActivities(r,n){const o=t(e),{data:a,error:i}=await o.GET("/mastodon/{account}/activities",{params:{path:{account:r},query:n}});if(i||!a)throw i;return a.meta?{data:a.data.map((e=>e)),meta:a.meta}:a},async profiles(e,t){const{data:n,error:o}=await r.GET("/accounts/{account}/profiles",{params:{path:{account:e},query:t}});if(o||!n)throw o;return{data:n.data.map((e=>e)),meta:null}},async mastodonProfiles(e){const[t,r]=e.split("@"),n=await fetch(`https://${r}/api/v2/search?q=${t}&resolve=false&limit=1`).then((e=>e.json())).catch((()=>({data:[]})));if(0===n.accounts.length)return{data:[],meta:null};{const e=n.accounts[0];return{data:[{address:`${e.username}@${r}`,bio:e.note,handle:`${e.username}@${r}`,name:e.username,network:"Mastodon",platform:"Mastodon",profileURI:[e.avatar],url:e.url}],meta:null}}}}}function A(e={}){e.baseUrl||(e.baseUrl=i+"/search"),e.querySerializer||(e.querySerializer=m),e.fetch=g(d.extend("search").extend("fetch"),e.fetch);const r=t(e),n=t(e);return{async spellCheck(e){const{data:t,error:n}=await r.GET("/suggestions/spellcheck",{params:{query:e}});if(n||!t)throw n;return t},async suggestions(e){const{data:t,error:n}=await r.GET("/suggestions/autocomplete",{params:{query:e}});if(n||!t)throw n;return t},async relatedAddresses(e){const{data:t,error:n}=await r.GET("/suggestions/related-addresses",{params:{query:e}});if(n||!t)throw n;return t},async activities(e){const{data:t,error:n}=await r.GET("/activities",{params:{query:e}});if(n||!t)throw n;return t},async activity(e){const{data:t,error:n}=await r.GET("/activities/{id}",{params:{path:{id:e}}});if(n||!t)throw n;return t},async nft(e){const{data:t,error:r}=await n.POST("/api/nft/v2/searchNftCollection",{body:e});if(r||!t)throw r;return t},async wiki(e){const{data:t,error:r}=await n.GET("/api/wiki/search",{params:{query:e}});if(r||!t)throw r;return t},async nftImages(e){const{data:t,error:r}=await n.GET("/api/nft/nftImages",{params:{query:e}});if(r||!t)throw r;return t},async nftImage(e){const{data:t,error:r}=await n.GET("/api/nft/nftImageDetail",{params:{query:e}});if(r||!t)throw r;return t},async dapp(e){const{data:t,error:n}=await r.GET("/dapps",{params:{query:e}});if(n||!t)throw n;return t},async todayInHistory(e){const{data:t,error:r}=await n.GET("/api/news/today-in-history",{params:{query:e}});if(r||!t)throw r;return t}}}function j(e,t){const r=t[w(e)];r&&r(e.metadata)}function O(e){return!!/^(0x)?[\dA-Fa-f]{40}$/.test(e)}function x(e){return/^\w{1,30}@[\d.A-Za-z-]+\.[A-Za-z]{2,}$/.test(e)}function F(e){if(!e)return!1;let t=!1;return l.map((r=>{e.endsWith(r)&&(t=!0)})),t}function P(e){return e?O(e)?e.slice(0,6)+"..."+e.slice(-4):e:""}function E(e){return O(e)?P(e):F(e)?e.split(".").map((e=>P(e))).join("."):e}function k(e,t){return`https://cdn.stamp.fyi/avatar/${e}?s=${t}`}const _={html:e=>JSON.stringify(I(T(e))),name:e=>JSON.stringify(e),platform:e=>e,address:e=>e,network:e=>JSON.stringify(e),number:e=>e,image:()=>"",symbolImage:()=>"",symbol:e=>e,text:e=>e,time:e=>e,separator:e=>e,unknown:e=>e},R={html:e=>`<span style="color: blueviolet;">${JSON.stringify(I(T(e)))}</span>`,name:e=>`<span style="color: blue;">${e}</span>`,platform:e=>`<span style="color: red;">${e}</span>`,address:e=>`<img src="https://cdn.stamp.fyi/avatar/${e}?s=300" style="height: 32px;" /> <span style="color: green;">${E(e)}</span>`,network:e=>`<span style="color: red;">${e}</span>`,number:e=>e,image:e=>e?`<img src="${e}" style="height: 64px;" />`:"",symbolImage:e=>e?`<img src="${e}" style="height: 16px;" />`:"",symbol:e=>`<span style="color: green;">${e}</span>`,text:e=>e,time:e=>`<span style="color: gray;">${new Date(e).toLocaleString()}</span>`,separator:e=>e,unknown:e=>e};function I(e){let t=!1;return/\n/.test(e)&&(e=(e=e.replace(/\n[\s\S]+/g," ")).trim()),e.length>50&&(e=e.slice(0,50),t=!0),e+(t?"...":"")}function T(e){return e.replace(/<[^>]*>?/gm,"")}function N(e){const t=document.createElement("div");return t.innerHTML=e,I(t.innerText)}function U(e,t){let r,n="0.00";if(e){if(Number.isNaN(Number(e))||0===Number(e))return"0.00";Number(e)>0&&void 0!==t&&(a=t,e=(o=(o=e).length>a?o.slice(0,o.length-a)+"."+o.slice(-a):"0."+"0".repeat(a-o.length)+o).replace(/0+$/,""));const i=e.match(/^(0.0+)(.*)/);r=Number(e)>0&&Number(e)<1?i?i?.[1]+i?.[2].slice(0,3):"0."+e.split("0.")[1].slice(0,3):Number(Number(e).toFixed(3)).toString(),r.includes(".")||(r=Number(e).toFixed(2)),n=r.replace(/(\d)(?=(\d{3})+\.\d+)/g,"$1,")}var o,a;return n}function M(e,t=""){return{type:e,content:t}}const $=L(" "),D=M("separator","; ");function q(e,t=$){return e.reduce(((e,r)=>[...e,t,r]),[]).slice(1)}function L(e){return M("text",e)}function B(e){return M("name",e)}function W(e){return M("image",e||"")}function z(e){return M("network",e||"")}function G(e,t){return e?(e.handle||e.address||!e.name||B(e.name),e.handle?H(e.handle):e.address===s?H(t):H(e.address)):M("unknown","")}function H(e){return M("address",e||"")}function J(e){return e?e.value===c?[M("number","infinite"),M("symbol",e.symbol)]:[M("symbolImage",e.image),M("number",U(e.value,e.decimals)||"0"),M("symbol",e.symbol)]:[M("number","0")]}function V(e){let t="";return e.platform?(t=e.platform,[L("on"),M("platform",t)]):[]}function Q(e){if("social"!==e.tag)return L("");let t="";return"title"in e.metadata&&e.metadata.title?t=e.metadata.title:"body"in e.metadata&&e.metadata.body?t=e.metadata.body:"target"in e.metadata&&e.metadata.target&&e.metadata.target.body&&(t=e.metadata.target.body),M("html",t)}function Z(e){const t=K(e,_).filter((e=>""!==e)),r=[];for(let e=0;e<t.length;e++)" "===t[e]&&" "===t[e+1]||r.push(t[e]);return r.join("")}function K(e,t){return X(e).map((e=>t[e.type]?t[e.type](e.content):t.unknown(e.content)))}function X(e){const t=v(e);if("social"===e.tag&&t.length>1)return ee(e,t[0]);if("unknown"===e.tag||"unknown"===e.type)return[M("unknown","Carried out an activity")];const r=t.reduce(((t,r)=>0===t.length?ee(e,r):[...t,D,...ee(e,r)]),[]);var n;return r.push($,(n=e.timestamp,M("time",new Date(1e3*n).toJSON()))),r}function Y(e){const t=v(e),r=[];return"social"===e.tag&&t.length>1?[ee(e,t[0])]:"unknown"===e.tag||"unknown"===e.type?[[M("unknown","Carried out an activity")]]:(t.map((t=>{r.push(ee(e,t))})),r)}function ee(e,t){const r=e.owner,n=e.direction;let o=[L("Carried out an activity")];return j(t,{"transaction-transfer":e=>{o=r===t.from?q([H(t.from),L("sent"),...J(e),L("to"),H(t.to)]):q("in"===n?[H(t.to),L("received"),...J(e),L("from"),H(t.from)]:[H(t.to),L("claimed"),...J(e),L("from"),H(t.from)])},"transaction-approval":e=>{o="approve"===e.action?q([H(t.from),L("approved"),...J(e),L("to"),H(t.to)]):q([H(t.from),L("revoked the approval of"),...J(e),L("to"),H(t.to)])},"transaction-mint":e=>{o=q([H(t.from),L("minted"),...J(e)])},"transaction-burn":e=>{o=q([H(t.from),L("burned"),...J(e)])},"transaction-multisig":r=>{"create"===r.action?o=q([H(t.from),L("created a multisig transaction"),L("to"),H(t.to),...V(e)]):"add_owner"===r.action?o=q([H(t.from),L("added"),H(r.owner),L("to"),H(r.vault.address),...V(e)]):"remove_owner"===r.action?o=q([L("Removed"),H(r.owner),L("from"),H(r.vault.address),...V(e)]):"change_threshold"===r.action?o=q([H(t.from),L("changed the threshold of"),H(r.vault.address),...V(e)]):"execution"===r.action&&(o=q([H(t.from),L("executed a multisig transaction"),...V(e)]))},"transaction-bridge":r=>{let n=[];r.source_network&&r.source_network.name&&(n=[L("from"),z(r.source_network.name),L("to"),z(r.target_network.name)]),o="deposit"===r.action?q([H(t.from),L("deposited"),...J(r.token),...n,...V(e)]):q([H(t.from),L("withdrew"),...J(r.token),...n,...V(e)])},"transaction-deploy":e=>{o=q([H(t.from),L("deployed a contract"),H(e.address)])},"collectible-transfer":e=>{o=q([H(t.from),L("transferred"),W(e.image_url),B(e.name||e.title||"an asset"),L("to"),H(t.to)])},"collectible-approval":e=>{o="approve"===e.action?q([L("Approved"),W(e.image_url),B(`${e.name} collection`),L("to"),H(t.to)]):q([L("Revoked the approval of"),W(e.image_url),B(`${e.name} collection`),L("to"),H(t.to)])},"collectible-mint":e=>{o=q("out"===n?[H(r),L("minted"),W(e.image_url),B(e.name||e.title||"an asset")]:[H(t.to),L("minted"),W(e.image_url),B(e.name||e.title||"an asset"),L("from"),H(t.from)])},"collectible-burn":e=>{o=q([L("Burned"),W(e.image_url),B(e.name||e.title||"an asset")])},"collectible-trade":e=>{o="buy"===e.action?q([L("Bought"),W(e.image_url),B(e.name||e.title||"an asset"),L("from"),H(t.from),...V(t)]):q([L("Sold"),W(e.image_url),B(e.name||e.title||"an asset"),L("to"),H(t.to),...V(t)])},"collectible-auction":e=>{o="create"===e.action?q([L("Created an auction for"),W(e.image_url),B(e.name||e.title||"an asset"),...V(t)]):"bid"===e.action?q([L("Made a bid for"),W(e.image_url),B(e.name||e.title||"an asset"),...V(t)]):"cancel"===e.action?q([L("Canceled an auction for"),W(e.image_url),B(e.name||e.title||"an asset"),...V(t)]):"update"===e.action?q([H(r),L("updated an auction for"),W(e.image_url),B(e.name||e.title||"an asset"),...V(t)]):"finalize"===e.action?q([H(r),L("won an auction for"),W(e.image_url),B(e.name||e.title||"an asset"),...V(t)]):q([H(r),L("invalidated an auction for"),W(e.image_url),B(e.name||e.title||"an asset"),...V(t)])},"exchange-swap":e=>{o=q([H(r),L("swapped"),...J(e.from),L("to"),...J(e.to),...V(t)])},"exchange-liquidity":e=>{const r=e.tokens.flatMap((e=>q([...J(e),L(",")]))).slice(0,-1);"add"===e.action?o=q([L("Added"),...r,L("to liquidity"),...V(t)]):"remove"===e.action?o=q([L("Removed"),...r,L("from liquidity"),...V(t)]):"collect"===e.action?o=q([L("Collected"),...r,L("from liquidity"),...V(t)]):"borrow"===e.action?o=q([L("Borrowed"),...r,L("from liquidity"),...V(t)]):"repay"===e.action?o=q([L("Repaid"),...r,L("to liquidity"),...V(t)]):"supply"===e.action?o=q([L("Supplied"),...r,L("to liquidity"),...V(t)]):"withdraw"===e.action&&(o=q([L("WithDrew"),...r,L("from liquidity"),...V(t)]))},"exchange-loan":e=>{"create"===e.action?o=q([L("Created loan"),...J(e.amount),...V(t)]):"liquidate"===e.action?o=q([L("liquidated loan"),...J(e.amount),...V(t)]):"refinance"===e.action?o=q([L("Refinanced loan"),...J(e.amount),...V(t)]):"repay"===e.action?o=q([L("Repaid loan"),...J(e.amount),...V(t)]):"seize"===e.action&&(o=q([L("Seized loan"),...J(e.amount),...V(t)]))},"donation-donate":e=>{o=q([H(r),L("donated"),W(e.logo),B(e.title||""),...V(t)])},"governance-propose":e=>{o=q([H(r),L("proposed for"),B(e.title||""),...V(t)])},"governance-vote":e=>{o=q([H(r),L("voted for"),B(e.proposal?.options?.join(",")||""),...V(t)])},"social-post":e=>{o=q([H(e.handle||r),L("published a post"),Q(t),...V(t)])},"social-comment":()=>{o=q([H(t.from),L("made a comment"),Q(t),...V(t)])},"social-share":e=>{o=q([H(e.handle||r),L("shared a post"),Q(t),...V(t)])},"social-mint":e=>{o=q([H(e.handle||r),L("minted a post"),Q(t),...V(t)])},"social-revise":e=>{o=q([H(e.handle||r),L("revised a post"),Q(t),...V(t)])},"social-follow":e=>{o=q([G(e.from,t.from),L("followed"),G(e.to,t.to),...V(t)])},"social-unfollow":e=>{o=q([G(e.from,t.from),L("unfollowed"),G(e.to,t.to),...V(t)])},"social-profile":e=>{"create"===e.action?o=q([L("Created a profile"),W(e.image_uri),B(e.name||e.handle||""),...V(t)]):"update"===e.action?o=q([L("Updated a profile"),W(e.image_uri),B(e.name||e.handle||""),...V(t)]):"renew"===e.action?o=q([L("Renewed a profile"),W(e.image_uri),B(e.name||e.handle||""),...V(t)]):"wrap"===e.action?o=q([L("Wrapped a profile"),W(e.image_uri),B(e.name||e.handle||""),...V(t)]):"unwrap"===e.action&&(o=q([L("Unwrapped a profile"),W(e.image_uri),B(e.name||e.handle||""),...V(t)]))},"social-proxy":e=>{o="appoint"===e.action?q([L("Approved a proxy"),...V(t)]):q([L("Removed a proxy"),...V(t)])},"social-delete":e=>{o=q([H(e.handle||r),L("deleted a post"),Q(t),...V(t)])},"metaverse-transfer":e=>{o=q([H(r),L("transferred"),W(e.image_url),B(e.name||e.title||"an asset"),L("to"),H(t.to)])},"metaverse-mint":e=>{o=q([H(r),L("minted"),W(e.image_url),B(e.name||e.title||"an asset"),...V(t)])},"metaverse-burn":e=>{o=q([H(r),L("burned"),W(e.image_url),B(e.name||e.title||"an asset"),...V(t)])},"metaverse-trade":e=>{"buy"===e.action?o=q([H(r),L("bought"),W(e.image_url),B(e.name||e.title||"an asset"),L("from"),H(t.from),...V(t)]):"sell"===e.action?o=q([H(r),L("sold"),W(e.image_url),B(e.name||e.title||"an asset"),L("from"),H(t.from),...V(t)]):"list"===e.action&&(o=q([H(r),L("listed"),W(e.image_url),B(e.name||e.title||"an asset"),L("from"),H(t.from),...V(t)]))}}),o}function te(e){const t=v(e);let r=0;return t.forEach((t=>{t.type===e.type&&t.tag===e.tag&&r++})),r>1}function re(e){if(te(e)){const t=[];return v(e).forEach((r=>{t.push({...e,actions:[r]})})),t}return[e]}function ne(e){const t=b(e);if(t.length>0)return oe(t[0])}function oe(e){let t;return j(e,{"social-post":e=>{t=ie(e)},"social-comment":e=>{t=ie(e)},"social-mint":e=>{t=ie(e)},"social-share":e=>{t=ie(e)},"social-revise":e=>{t=ie(e)},"social-delete":e=>{t=ie(e)},"governance-propose":e=>{var r;t={title:(r=e).title,body:r.body}},"governance-vote":e=>{var r;r=e,t={title:r.proposal?.title,body:r.proposal?.body}}}),t}function ae(e,t){return e?(e=e.replaceAll("…",""),t?.startsWith(e)?void 0:e):e}function ie(e){const t=e.target,r=t?{author_url:t.author_url,handle:t.handle,profile_id:t.profile_id,title:t.title,body:t.body,media:t.media}:void 0;return{author_url:e.author_url,handle:e.handle,profile_id:e.profile_id,title:e.title,body:e.body,media:e.media,target:r}}function ce(e,t){if(!e)return e;let r=e||[],n=t;return n&&!O(n)&&(n=r.find((e=>!!e.address))?.address),n&&O(n)&&r.push({address:n,bio:"",handle:n,name:P(n),network:"Ethereum",platform:"Ethereum",profileURI:[k(n,30)],socialURI:[]}),r=r?.sort((e=>e?.handle===t?-1:1)),r=r?.sort((e=>"ENS Registrar"===e?.platform?-1:1)),r=r?.map((e=>{if("ENS Registrar"===e.platform&&e.profileURI&&e.profileURI.length>=1&&e.profileURI[0].startsWith("eip155:1")&&(e.profileURI=[`https://metadata.ens.domains/mainnet/avatar/${e.handle}`]),"Unstoppable"===e?.platform){const[t,r]=e?.profileURI||[];e.profileURI=[r,t]}return e})),r}function le(e){return{name:e?.name||"",avatar:e?.profileURI?.[0]?e?.profileURI?.[0]:e?.handle&&k(e?.handle,100)||"",handle:e?.handle||"",banner:e?.bannerURI?.[0]||"",address:e?.address||"",url:e?.url||"",platform:e?.platform,expireAt:e?.expireAt,bio:e?.bio}}function se(e,t){const r=t?e?.find((e=>e?.handle?.toLowerCase()===t.toLowerCase())):e?.[0];return le(r?.address===s?null:r)}function ue(e){let t;return j(e,{"collectible-transfer":e=>{t=pe(e)},"collectible-approval":e=>{t=pe(e)},"collectible-mint":e=>{t=pe(e)},"collectible-burn":e=>{t=pe(e)},"collectible-trade":e=>{t=pe(e)},"collectible-auction":e=>{t=pe(e)},"donation-donate":e=>{t=function(e){return{url:e.logo,title:e.title,description:e.description}}(e)}}),t}function pe(e){return{url:e.image_url,title:e.name,description:e.description}}})(),rss3=n})(); | ||
var rss3;(()=>{var e={924:(e,t,r)=>{"use strict";var n=r(210),o=r(559),a=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&a(e,".prototype.")>-1?o(r):r}},559:(e,t,r)=>{"use strict";var n=r(612),o=r(210),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||n.call(i,a),l=o("%Object.getOwnPropertyDescriptor%",!0),s=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(s)try{s({},"a",{value:1})}catch(e){s=null}e.exports=function(e){var t=c(n,i,arguments);return l&&s&&l(t,"length").configurable&&s(t,"length",{value:1+u(0,e.length-(arguments.length-1))}),t};var p=function(){return c(n,a,arguments)};s?s(e.exports,"apply",{value:p}):e.exports.apply=p},227:(e,t,r)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))})),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(447)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},447:(e,t,r)=>{e.exports=function(e){function t(e){let r,o,a,i=null;function c(...e){if(!c.enabled)return;const n=c,o=Number(new Date),a=o-(r||o);n.diff=a,n.prev=r,n.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,o)=>{if("%%"===r)return"%";i++;const a=t.formatters[o];if("function"==typeof a){const t=e[i];r=a.call(n,t),e.splice(i,1),i--}return r})),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return c.namespace=e,c.useColors=t.useColors(),c.color=t.selectColor(e),c.extend=n,c.destroy=t.destroy,Object.defineProperty(c,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(o!==t.namespaces&&(o=t.namespaces,a=t.enabled(e)),a),set:e=>{i=e}}),"function"==typeof t.init&&t.init(c),c}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(r=0;r<o;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(824),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},648:e=>{"use strict";var t=Array.prototype.slice,r=Object.prototype.toString;e.exports=function(e){var n=this;if("function"!=typeof n||"[object Function]"!==r.call(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var o,a=t.call(arguments,1),i=Math.max(0,n.length-a.length),c=[],l=0;l<i;l++)c.push("$"+l);if(o=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var r=n.apply(this,a.concat(t.call(arguments)));return Object(r)===r?r:this}return n.apply(e,a.concat(t.call(arguments)))})),n.prototype){var s=function(){};s.prototype=n.prototype,o.prototype=new s,s.prototype=null}return o}},612:(e,t,r)=>{"use strict";var n=r(648);e.exports=Function.prototype.bind||n},210:(e,t,r)=>{"use strict";var n,o=SyntaxError,a=Function,i=TypeError,c=function(e){try{return a('"use strict"; return ('+e+").constructor;")()}catch(e){}},l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch(e){l=null}var s=function(){throw new i},u=l?function(){try{return s}catch(e){try{return l(arguments,"callee").get}catch(e){return s}}}():s,p=r(405)(),f=r(185)(),y=Object.getPrototypeOf||(f?function(e){return e.__proto__}:null),d={},m="undefined"!=typeof Uint8Array&&y?y(Uint8Array):n,g={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":p&&y?y([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":d,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p&&y?y(y([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&p&&y?y((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&p&&y?y((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p&&y?y(""[Symbol.iterator]()):n,"%Symbol%":p?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":u,"%TypedArray%":m,"%TypeError%":i,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(y)try{null.error}catch(e){var h=y(y(e));g["%Error.prototype%"]=h}var b=function e(t){var r;if("%AsyncFunction%"===t)r=c("async function () {}");else if("%GeneratorFunction%"===t)r=c("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=c("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&y&&(r=y(o.prototype))}return g[t]=r,r},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=r(612),S=r(642),A=w.call(Function.call,Array.prototype.concat),C=w.call(Function.apply,Array.prototype.splice),j=w.call(Function.call,String.prototype.replace),O=w.call(Function.call,String.prototype.slice),x=w.call(Function.call,RegExp.prototype.exec),F=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,E=function(e,t){var r,n=e;if(S(v,n)&&(n="%"+(r=v[n])[0]+"%"),S(g,n)){var a=g[n];if(a===d&&(a=b(n)),void 0===a&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:a}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new i('"allowMissing" argument must be a boolean');if(null===x(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=O(e,0,1),r=O(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return j(e,F,(function(e,t,r,o){n[n.length]=r?j(o,P,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",a=E("%"+n+"%",t),c=a.name,s=a.value,u=!1,p=a.alias;p&&(n=p[0],C(r,A([0,1],p)));for(var f=1,y=!0;f<r.length;f+=1){var d=r[f],m=O(d,0,1),h=O(d,-1);if(('"'===m||"'"===m||"`"===m||'"'===h||"'"===h||"`"===h)&&m!==h)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&y||(u=!0),S(g,c="%"+(n+="."+d)+"%"))s=g[c];else if(null!=s){if(!(d in s)){if(!t)throw new i("base intrinsic for "+e+" exists, but the property is not available.");return}if(l&&f+1>=r.length){var b=l(s,d);s=(y=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:s[d]}else y=S(s,d),s=s[d];y&&!u&&(g[c]=s)}}return s}},185:e=>{"use strict";var t={foo:{}},r=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!({__proto__:null}instanceof r)}},405:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(419);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},419:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},642:e=>{"use strict";var t={}.hasOwnProperty,r=Function.prototype.call;e.exports=r.bind?r.bind(t):function(e,n){return r.call(t,e,n)}},824:e=>{var t=1e3,r=60*t,n=60*r,o=24*n;function a(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,i){i=i||{};var c,l,s=typeof e;if("string"===s&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(a){var i=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"weeks":case"week":case"w":return 6048e5*i;case"days":case"day":case"d":return i*o;case"hours":case"hour":case"hrs":case"hr":case"h":return i*n;case"minutes":case"minute":case"mins":case"min":case"m":return i*r;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}(e);if("number"===s&&isFinite(e))return i.long?(c=e,(l=Math.abs(c))>=o?a(c,l,o,"day"):l>=n?a(c,l,n,"hour"):l>=r?a(c,l,r,"minute"):l>=t?a(c,l,t,"second"):c+" ms"):function(e){var a=Math.abs(e);return a>=o?Math.round(e/o)+"d":a>=n?Math.round(e/n)+"h":a>=r?Math.round(e/r)+"m":a>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},631:(e,t,r)=>{var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=n&&o&&"function"==typeof o.get?o.get:null,i=n&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=c&&l&&"function"==typeof l.get?l.get:null,u=c&&Set.prototype.forEach,p="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,y="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,h=String.prototype.match,b=String.prototype.slice,v=String.prototype.replace,w=String.prototype.toUpperCase,S=String.prototype.toLowerCase,A=RegExp.prototype.test,C=Array.prototype.concat,j=Array.prototype.join,O=Array.prototype.slice,x=Math.floor,F="function"==typeof BigInt?BigInt.prototype.valueOf:null,P=Object.getOwnPropertySymbols,E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"==typeof Symbol.iterator,_="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,I=Object.prototype.propertyIsEnumerable,R=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function T(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||A.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-x(-e):x(e);if(n!==e){var o=String(n),a=b.call(t,o.length+1);return v.call(o,r,"$&_")+"."+v.call(v.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,r,"$&_")}var N=r(654),U=N.custom,M=B(U)?U:null;function $(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function D(e){return v.call(String(e),/"/g,""")}function q(e){return!("[object Array]"!==G(e)||_&&"object"==typeof e&&_ in e)}function L(e){return!("[object RegExp]"!==G(e)||_&&"object"==typeof e&&_ in e)}function B(e){if(k)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,n,o){var c=r||{};if(z(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(z(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var l=!z(c,"customInspect")||c.customInspect;if("boolean"!=typeof l&&"symbol"!==l)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(z(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(z(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var m=c.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return J(t,c);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var w=String(t);return m?T(t,w):w}if("bigint"==typeof t){var A=String(t)+"n";return m?T(t,A):A}var x=void 0===c.depth?5:c.depth;if(void 0===n&&(n=0),n>=x&&x>0&&"object"==typeof t)return q(t)?"[Array]":"[Object]";var P,U=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=j.call(Array(e.indent+1)," ")}return{base:r,prev:j.call(Array(t+1),r)}}(c,n);if(void 0===o)o=[];else if(H(o,t)>=0)return"[Circular]";function W(t,r,a){if(r&&(o=O.call(o)).push(r),a){var i={depth:c.depth};return z(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),e(t,i,n+1,o)}return e(t,c,n+1,o)}if("function"==typeof t&&!L(t)){var V=function(e){if(e.name)return e.name;var t=h.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ee=Y(t,W);return"[Function"+(V?": "+V:" (anonymous)")+"]"+(ee.length>0?" { "+j.call(ee,", ")+" }":"")}if(B(t)){var te=k?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(t);return"object"!=typeof t||k?te:Q(te)}if((P=t)&&"object"==typeof P&&("undefined"!=typeof HTMLElement&&P instanceof HTMLElement||"string"==typeof P.nodeName&&"function"==typeof P.getAttribute)){for(var re="<"+S.call(String(t.nodeName)),ne=t.attributes||[],oe=0;oe<ne.length;oe++)re+=" "+ne[oe].name+"="+$(D(ne[oe].value),"double",c);return re+=">",t.childNodes&&t.childNodes.length&&(re+="..."),re+"</"+S.call(String(t.nodeName))+">"}if(q(t)){if(0===t.length)return"[]";var ae=Y(t,W);return U&&!function(e){for(var t=0;t<e.length;t++)if(H(e[t],"\n")>=0)return!1;return!0}(ae)?"["+X(ae,U)+"]":"[ "+j.call(ae,", ")+" ]"}if(function(e){return!("[object Error]"!==G(e)||_&&"object"==typeof e&&_ in e)}(t)){var ie=Y(t,W);return"cause"in Error.prototype||!("cause"in t)||I.call(t,"cause")?0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+j.call(ie,", ")+" }":"{ ["+String(t)+"] "+j.call(C.call("[cause]: "+W(t.cause),ie),", ")+" }"}if("object"==typeof t&&l){if(M&&"function"==typeof t[M]&&N)return N(t,{depth:x-n});if("symbol"!==l&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!=typeof e)return!1;try{a.call(e);try{s.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ce=[];return i&&i.call(t,(function(e,r){ce.push(W(r,t,!0)+" => "+W(e,t))})),K("Map",a.call(t),ce,U)}if(function(e){if(!s||!e||"object"!=typeof e)return!1;try{s.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[];return u&&u.call(t,(function(e){le.push(W(e,t))})),K("Set",s.call(t),le,U)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return Z("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return Z("WeakSet");if(function(e){if(!y||!e||"object"!=typeof e)return!1;try{return y.call(e),!0}catch(e){}return!1}(t))return Z("WeakRef");if(function(e){return!("[object Number]"!==G(e)||_&&"object"==typeof e&&_ in e)}(t))return Q(W(Number(t)));if(function(e){if(!e||"object"!=typeof e||!F)return!1;try{return F.call(e),!0}catch(e){}return!1}(t))return Q(W(F.call(t)));if(function(e){return!("[object Boolean]"!==G(e)||_&&"object"==typeof e&&_ in e)}(t))return Q(d.call(t));if(function(e){return!("[object String]"!==G(e)||_&&"object"==typeof e&&_ in e)}(t))return Q(W(String(t)));if(!function(e){return!("[object Date]"!==G(e)||_&&"object"==typeof e&&_ in e)}(t)&&!L(t)){var se=Y(t,W),ue=R?R(t)===Object.prototype:t instanceof Object||t.constructor===Object,pe=t instanceof Object?"":"null prototype",fe=!ue&&_&&Object(t)===t&&_ in t?b.call(G(t),8,-1):pe?"Object":"",ye=(ue||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||pe?"["+j.call(C.call([],fe||[],pe||[]),": ")+"] ":"");return 0===se.length?ye+"{}":U?ye+"{"+X(se,U)+"}":ye+"{ "+j.call(se,", ")+" }"}return String(t)};var W=Object.prototype.hasOwnProperty||function(e){return e in this};function z(e,t){return W.call(e,t)}function G(e){return m.call(e)}function H(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function J(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return J(b.call(e,0,t.maxStringLength),t)+n}return $(v.call(v.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,V),"single",t)}function V(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Q(e){return"Object("+e+")"}function Z(e){return e+" { ? }"}function K(e,t,r,n){return e+" ("+t+") {"+(n?X(r,n):j.call(r,", "))+"}"}function X(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+j.call(e,","+r)+"\n"+t.prev}function Y(e,t){var r=q(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=z(e,o)?t(e[o],e):""}var a,i="function"==typeof P?P(e):[];if(k){a={};for(var c=0;c<i.length;c++)a["$"+i[c]]=i[c]}for(var l in e)z(e,l)&&(r&&String(Number(l))===l&&l<e.length||k&&a["$"+l]instanceof Symbol||(A.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if("function"==typeof P)for(var s=0;s<i.length;s++)I.call(e,i[s])&&n.push("["+t(i[s])+"]: "+t(e[i[s]],e));return n}},798:e=>{"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},129:(e,t,r)=>{"use strict";var n=r(261),o=r(235),a=r(798);e.exports={formats:a,parse:o,stringify:n}},235:(e,t,r)=>{"use strict";var n=r(769),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},s=function(e,t,r,n){if(e){var a=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,c=r.depth>0&&/(\[[^[\]]*])/.exec(a),s=c?a.slice(0,c.index):a,u=[];if(s){if(!r.plainObjects&&o.call(Object.prototype,s)&&!r.allowPrototypes)return;u.push(s)}for(var p=0;r.depth>0&&null!==(c=i.exec(a))&&p<r.depth;){if(p+=1,!r.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(c[1])}return c&&u.push("["+a.slice(c.index)+"]"),function(e,t,r,n){for(var o=n?t:l(t,r),a=e.length-1;a>=0;--a){var i,c=e[a];if("[]"===c&&r.parseArrays)i=[].concat(o);else{i=r.plainObjects?Object.create(null):{};var s="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,u=parseInt(s,10);r.parseArrays||""!==s?!isNaN(u)&&c!==s&&String(u)===s&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(i=[])[u]=o:"__proto__"!==s&&(i[s]=o):i={0:o}}o=i}return o}(u,t,r,n)}};e.exports=function(e,t){var r=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var r,s={__proto__:null},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,p=t.parameterLimit===1/0?void 0:t.parameterLimit,f=u.split(t.delimiter,p),y=-1,d=t.charset;if(t.charsetSentinel)for(r=0;r<f.length;++r)0===f[r].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[r]?d="utf-8":"utf8=%26%2310003%3B"===f[r]&&(d="iso-8859-1"),y=r,r=f.length);for(r=0;r<f.length;++r)if(r!==y){var m,g,h=f[r],b=h.indexOf("]="),v=-1===b?h.indexOf("="):b+1;-1===v?(m=t.decoder(h,i.decoder,d,"key"),g=t.strictNullHandling?null:""):(m=t.decoder(h.slice(0,v),i.decoder,d,"key"),g=n.maybeMap(l(h.slice(v+1),t),(function(e){return t.decoder(e,i.decoder,d,"value")}))),g&&t.interpretNumericEntities&&"iso-8859-1"===d&&(g=c(g)),h.indexOf("[]=")>-1&&(g=a(g)?[g]:g),o.call(s,m)?s[m]=n.combine(s[m],g):s[m]=g}return s}(e,r):e,p=r.plainObjects?Object.create(null):{},f=Object.keys(u),y=0;y<f.length;++y){var d=f[y],m=s(d,u[d],r,"string"==typeof e);p=n.merge(p,m,r)}return!0===r.allowSparse?p:n.compact(p)}},261:(e,t,r)=>{"use strict";var n=r(478),o=r(769),a=r(798),i=Object.prototype.hasOwnProperty,c={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,s=Array.prototype.push,u=function(e,t){s.apply(e,l(t)?t:[t])},p=Date.prototype.toISOString,f=a.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:f,formatter:a.formatters[f],indices:!1,serializeDate:function(e){return p.call(e)},skipNulls:!1,strictNullHandling:!1},d={},m=function e(t,r,a,i,c,s,p,f,m,g,h,b,v,w,S,A){for(var C,j=t,O=A,x=0,F=!1;void 0!==(O=O.get(d))&&!F;){var P=O.get(t);if(x+=1,void 0!==P){if(P===x)throw new RangeError("Cyclic object value");F=!0}void 0===O.get(d)&&(x=0)}if("function"==typeof f?j=f(r,j):j instanceof Date?j=h(j):"comma"===a&&l(j)&&(j=o.maybeMap(j,(function(e){return e instanceof Date?h(e):e}))),null===j){if(c)return p&&!w?p(r,y.encoder,S,"key",b):r;j=""}if("string"==typeof(C=j)||"number"==typeof C||"boolean"==typeof C||"symbol"==typeof C||"bigint"==typeof C||o.isBuffer(j))return p?[v(w?r:p(r,y.encoder,S,"key",b))+"="+v(p(j,y.encoder,S,"value",b))]:[v(r)+"="+v(String(j))];var E,k=[];if(void 0===j)return k;if("comma"===a&&l(j))w&&p&&(j=o.maybeMap(j,p)),E=[{value:j.length>0?j.join(",")||null:void 0}];else if(l(f))E=f;else{var _=Object.keys(j);E=m?_.sort(m):_}for(var I=i&&l(j)&&1===j.length?r+"[]":r,R=0;R<E.length;++R){var T=E[R],N="object"==typeof T&&void 0!==T.value?T.value:j[T];if(!s||null!==N){var U=l(j)?"function"==typeof a?a(I,T):I:I+(g?"."+T:"["+T+"]");A.set(t,x);var M=n();M.set(d,A),u(k,e(N,U,a,i,c,s,"comma"===a&&w&&l(j)?null:p,f,m,g,h,b,v,w,S,M))}}return k};e.exports=function(e,t){var r,o=e,s=function(e){if(!e)return y;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||y.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=a.default;if(void 0!==e.format){if(!i.call(a.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var n=a.formatters[r],o=y.filter;return("function"==typeof e.filter||l(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:y.addQueryPrefix,allowDots:void 0===e.allowDots?y.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:y.charsetSentinel,delimiter:void 0===e.delimiter?y.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:y.encode,encoder:"function"==typeof e.encoder?e.encoder:y.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:y.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:y.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:y.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:y.strictNullHandling}}(t);"function"==typeof s.filter?o=(0,s.filter)("",o):l(s.filter)&&(r=s.filter);var p,f=[];if("object"!=typeof o||null===o)return"";p=t&&t.arrayFormat in c?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var d=c[p];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var g="comma"===d&&t&&t.commaRoundTrip;r||(r=Object.keys(o)),s.sort&&r.sort(s.sort);for(var h=n(),b=0;b<r.length;++b){var v=r[b];s.skipNulls&&null===o[v]||u(f,m(o[v],v,d,g,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,h))}var w=f.join(s.delimiter),S=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?S+="utf8=%26%2310003%3B&":S+="utf8=%E2%9C%93&"),w.length>0?S+w:""}},769:(e,t,r)=>{"use strict";var n=r(798),o=Object.prototype.hasOwnProperty,a=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),c=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:c,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],c=Object.keys(i),l=0;l<c.length;++l){var s=c[l],u=i[s];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(t.push({obj:i,prop:s}),r.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(a(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,o,a){if(0===e.length)return e;var c=e;if("symbol"==typeof e?c=Symbol.prototype.toString.call(e):"string"!=typeof e&&(c=String(e)),"iso-8859-1"===r)return escape(c).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",s=0;s<c.length;++s){var u=c.charCodeAt(s);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a===n.RFC1738&&(40===u||41===u)?l+=c.charAt(s):u<128?l+=i[u]:u<2048?l+=i[192|u>>6]+i[128|63&u]:u<55296||u>=57344?l+=i[224|u>>12]+i[128|u>>6&63]+i[128|63&u]:(s+=1,u=65536+((1023&u)<<10|1023&c.charCodeAt(s)),l+=i[240|u>>18]+i[128|u>>12&63]+i[128|u>>6&63]+i[128|63&u])}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(a(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(a(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var i=t;return a(t)&&!a(r)&&(i=c(t,n)),a(t)&&a(r)?(r.forEach((function(r,a){if(o.call(t,a)){var i=t[a];i&&"object"==typeof i&&r&&"object"==typeof r?t[a]=e(i,r,n):t.push(r)}else t[a]=r})),t):Object.keys(r).reduce((function(t,a){var i=r[a];return o.call(t,a)?t[a]=e(t[a],i,n):t[a]=i,t}),i)}}},478:(e,t,r)=>{"use strict";var n=r(210),o=r(924),a=r(631),i=n("%TypeError%"),c=n("%WeakMap%",!0),l=n("%Map%",!0),s=o("WeakMap.prototype.get",!0),u=o("WeakMap.prototype.set",!0),p=o("WeakMap.prototype.has",!0),f=o("Map.prototype.get",!0),y=o("Map.prototype.set",!0),d=o("Map.prototype.has",!0),m=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new i("Side channel does not contain "+a(e))},get:function(n){if(c&&n&&("object"==typeof n||"function"==typeof n)){if(e)return s(e,n)}else if(l){if(t)return f(t,n)}else if(r)return function(e,t){var r=m(e,t);return r&&r.value}(r,n)},has:function(n){if(c&&n&&("object"==typeof n||"function"==typeof n)){if(e)return p(e,n)}else if(l){if(t)return d(t,n)}else if(r)return function(e,t){return!!m(e,t)}(r,n);return!1},set:function(n,o){c&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new c),u(e,n,o)):l?(t||(t=new l),y(t,n,o)):(r||(r={key:{},next:null}),function(e,t,r){var n=m(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(r,n,o))}};return n}},654:()=>{}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};(()=>{"use strict";r.r(n),r.d(n,{addressToAvatarURL:()=>k,dataClient:()=>A,extractAsset:()=>ue,extractContent:()=>oe,extractPrimaryProfile:()=>se,extractProfile:()=>le,fetchWithLog:()=>g,flatActivity:()=>re,format:()=>K,formatAddress:()=>P,formatAddressAndNS:()=>E,formatContent:()=>ne,formatPlain:()=>Z,formatProfiles:()=>ce,formatTitle:()=>ae,formatTokenValue:()=>U,getActions:()=>b,getSummaryActions:()=>v,getTagType:()=>w,handleMetadata:()=>j,hasMultiPrimaryActions:()=>te,isAddress:()=>O,isMastodon:()=>x,isSupportedNS:()=>F,markdownToTxt:()=>S,searchClient:()=>C,summaryOfHTML:()=>N,themeHTML:()=>I,timeRange:()=>h,tokenizeAction:()=>ee,tokenizeActivity:()=>X,tokenizeToActions:()=>Y});const e={"Content-Type":"application/json"};function t(t={}){const{fetch:r=globalThis.fetch,querySerializer:n,bodySerializer:i,...c}=t;let l=c.baseUrl??"";async function s(s,u){const{fetch:p=r,headers:f,body:y,params:d={},parseAs:m="json",querySerializer:g=n??o,bodySerializer:h=i??a,...b}=u||{},v=function(e,t){let r=`${t.baseUrl}${e}`;if(t.params.path)for(const[e,n]of Object.entries(t.params.path))r=r.replace(`{${e}}`,encodeURIComponent(String(n)));const n=t.querySerializer(t.params.query??{});return n&&(r+=`?${n}`),r}(s,{baseUrl:l,params:d,querySerializer:g}),w=function(...e){const t=new Headers;for(const r of e){if(!r||"object"!=typeof r)continue;const e=r instanceof Headers?r.entries():Object.entries(r);for(const[r,n]of e)null===n?t.delete(r):void 0!==n&&t.set(r,n)}return t}(e,t?.headers,f,d.header),S={redirect:"follow",...c,...b,headers:w};y&&(S.body=h(y)),S.body instanceof FormData&&w.delete("Content-Type");const A=await p(v,S);if(204===A.status||"0"===A.headers.get("Content-Length"))return A.ok?{data:{},response:A}:{error:{},response:A};if(A.ok){let e;if("stream"!==m){const t=A.clone();e="function"==typeof t[m]?await t[m]():await t.text()}else e=A.clone().body;return{data:e,response:A}}let C={};try{C=await A.clone().json()}catch{C=await A.clone().text()}return{error:C,response:A}}return l.endsWith("/")&&(l=l.slice(0,-1)),{GET:async(e,...t)=>s(e,{...t[0],method:"GET"}),PUT:async(e,...t)=>s(e,{...t[0],method:"PUT"}),POST:async(e,...t)=>s(e,{...t[0],method:"POST"}),DELETE:async(e,...t)=>s(e,{...t[0],method:"DELETE"}),OPTIONS:async(e,...t)=>s(e,{...t[0],method:"OPTIONS"}),HEAD:async(e,...t)=>s(e,{...t[0],method:"HEAD"}),PATCH:async(e,...t)=>s(e,{...t[0],method:"PATCH"}),TRACE:async(e,...t)=>s(e,{...t[0],method:"TRACE"})}}function o(e){const t=new URLSearchParams;if(e&&"object"==typeof e)for(const[r,n]of Object.entries(e))null!=n&&t.set(r,n);return t.toString()}function a(e){return JSON.stringify(e)}const i=function(e,t){if("undefined"!=typeof process){const e=process.env.DEFAULT_RSS3_NET;if(e)return e}return"https://api.rss3.io"}(),c="115792089237316195423570985008687907853269984665640564039457584007913129639935",l=[".eth",".lens",".csb",".bnb",".bit",".crypto",".zil",".nft",".x",".wallet",".bitcoin",".dao",".888",".blockchain",".avax",".arb",".cyber"],s="0x0000000000000000000000000000000000000000";var u=r(227),p=r.n(u),f=r(129),y=r.n(f);const d=p()("@rss3/js-sdk");function m(e){return y().stringify(e,{arrayFormat:"repeat"})}function g(e,t=fetch){return(r,n)=>(n?.body?e("%s %s %s",n?.method,r,n?.body):e("%s %s",n?.method,r),t(r,n))}function h(e="all"){const t=Date.now();switch(e){case"all":return{lte:-1,gte:-1};case"day":return{lte:t,gte:t-864e5};case"week":return{lte:t,gte:t-6048e5};case"month":return{lte:t,gte:t-2592e6};case"year":return{lte:t,gte:t-31536e6}}}function b(e){return e.actions}function v(e){if(1===e.actions.length)return e.actions;if(e.actions){const t=`${e.tag}-${e.type}`;return["transaction-multisig"].includes(t)?e.actions:e.actions.filter((t=>t.tag===e.tag&&t.type===e.type))}return[]}function w(e){return`${e.tag}-${e.type}`}function S(e){let t=e?.replaceAll(/!\[[^\]]*\]\((.*?)\s*("(?:.*[^"])")?\s*\)/g,"");return t=t?.replace(/(<([^>]+)>)/gi," "),t=t?.replace(/(#+\s)/gi,""),t}function A(e={}){e.baseUrl||(e.baseUrl=i+"/data"),e.querySerializer||(e.querySerializer=m),e.fetch=g(d.extend("data").extend("fetch"),e.fetch);const r=t(e);return{activity:async function e(t,n){const{data:o,error:a}=await r.GET("/activities/{id}",{params:{path:{id:t},query:n}});if(a||!o)throw a;return o.data?o.meta?{data:o.data,meta:o.meta,nextPage:()=>(n||(n={}),e(t,{...n,action_page:(n.action_page||0)+1}))}:{data:o.data}:o},activities:async function e(t,n){const{data:o,error:a}=await r.GET("/accounts/{account}/activities",{params:{path:{account:t},query:n}});if(a||!o)throw a;const i=o.data.map((e=>e));return o.meta?{data:i,meta:o.meta,nextPage:()=>o.meta?e(t,{...n,cursor:o.meta.cursor}):{}}:{data:i}},activitiesBatch:async function e(t){const{data:n,error:o}=await r.POST("/accounts/activities",{body:t});if(o||!n)throw o;const a=n.data.map((e=>e));return n.meta?{data:a,meta:n.meta,nextPage:()=>n.meta?e({...t,cursor:n.meta.cursor}):{}}:{data:a}},mastodonActivities:async function(r,n){const o=t(e),{data:a,error:i}=await o.GET("/mastodon/{account}/activities",{params:{path:{account:r},query:n}});if(i||!a)throw i;return a.meta?{data:a.data.map((e=>e)),meta:a.meta}:a},profiles:async function(e,t){const{data:n,error:o}=await r.GET("/accounts/{account}/profiles",{params:{path:{account:e},query:t}});if(o||!n)throw o;return{data:n.data.map((e=>e)),meta:null}},mastodonProfiles:async function(e){const[t,r]=e.split("@"),n=await fetch(`https://${r}/api/v2/search?q=${t}&resolve=false&limit=1`).then((e=>e.json())).catch((()=>({data:[]})));if(0===n.accounts.length)return{data:[],meta:null};{const e=n.accounts[0];return{data:[{address:`${e.username}@${r}`,bio:e.note,handle:`${e.username}@${r}`,name:e.username,network:"Mastodon",platform:"Mastodon",profileURI:[e.avatar],url:e.url}],meta:null}}}}}function C(e={}){e.baseUrl||(e.baseUrl=i+"/search"),e.querySerializer||(e.querySerializer=m),e.fetch=g(d.extend("search").extend("fetch"),e.fetch);const r=t(e),n=t(e);return{async spellCheck(e){const{data:t,error:n}=await r.GET("/suggestions/spellcheck",{params:{query:e}});if(n||!t)throw n;return t},async suggestions(e){const{data:t,error:n}=await r.GET("/suggestions/autocomplete",{params:{query:e}});if(n||!t)throw n;return t},async relatedAddresses(e){const{data:t,error:n}=await r.GET("/suggestions/related-addresses",{params:{query:e}});if(n||!t)throw n;return t},async activities(e){const{data:t,error:n}=await r.GET("/activities",{params:{query:e}});if(n||!t)throw n;return t},async activity(e){const{data:t,error:n}=await r.GET("/activities/{id}",{params:{path:{id:e}}});if(n||!t)throw n;return t},async nft(e){const{data:t,error:r}=await n.POST("/api/nft/v2/searchNftCollection",{body:e});if(r||!t)throw r;return t},async wiki(e){const{data:t,error:r}=await n.GET("/api/wiki/search",{params:{query:e}});if(r||!t)throw r;return t},async nftImages(e){const{data:t,error:r}=await n.GET("/api/nft/nftImages",{params:{query:e}});if(r||!t)throw r;return t},async nftImage(e){const{data:t,error:r}=await n.GET("/api/nft/nftImageDetail",{params:{query:e}});if(r||!t)throw r;return t},async dapp(e){const{data:t,error:n}=await r.GET("/dapps",{params:{query:e}});if(n||!t)throw n;return t},async todayInHistory(e){const{data:t,error:r}=await n.GET("/api/news/today-in-history",{params:{query:e}});if(r||!t)throw r;return t}}}function j(e,t){const r=t[w(e)];r&&r(e.metadata)}function O(e){return!!/^(0x)?[\dA-Fa-f]{40}$/.test(e)}function x(e){return/^\w{1,30}@[\d.A-Za-z-]+\.[A-Za-z]{2,}$/.test(e)}function F(e){if(!e)return!1;let t=!1;return l.map((r=>{e.endsWith(r)&&(t=!0)})),t}function P(e){return e?O(e)?e.slice(0,6)+"..."+e.slice(-4):e:""}function E(e){return O(e)?P(e):F(e)?e.split(".").map((e=>P(e))).join("."):e}function k(e,t){return`https://cdn.stamp.fyi/avatar/${e}?s=${t}`}const _={html:e=>JSON.stringify(R(T(e))),name:e=>JSON.stringify(e),platform:e=>e,address:e=>e,network:e=>JSON.stringify(e),number:e=>e,image:()=>"",symbolImage:()=>"",symbol:e=>e,text:e=>e,time:e=>e,separator:e=>e,unknown:e=>e},I={html:e=>`<span style="color: blueviolet;">${JSON.stringify(R(T(e)))}</span>`,name:e=>`<span style="color: blue;">${e}</span>`,platform:e=>`<span style="color: red;">${e}</span>`,address:e=>`<img src="https://cdn.stamp.fyi/avatar/${e}?s=300" style="height: 32px;" /> <span style="color: green;">${E(e)}</span>`,network:e=>`<span style="color: red;">${e}</span>`,number:e=>e,image:e=>e?`<img src="${e}" style="height: 64px;" />`:"",symbolImage:e=>e?`<img src="${e}" style="height: 16px;" />`:"",symbol:e=>`<span style="color: green;">${e}</span>`,text:e=>e,time:e=>`<span style="color: gray;">${new Date(e).toLocaleString()}</span>`,separator:e=>e,unknown:e=>e};function R(e){let t=!1;return/\n/.test(e)&&(e=(e=e.replace(/\n[\s\S]+/g," ")).trim()),e.length>50&&(e=e.slice(0,50),t=!0),e+(t?"...":"")}function T(e){return e.replace(/<[^>]*>?/gm,"")}function N(e){const t=document.createElement("div");return t.innerHTML=e,R(t.innerText)}function U(e,t){let r,n="0.00";if(e){if(Number.isNaN(Number(e))||0===Number(e))return"0.00";Number(e)>0&&void 0!==t&&(a=t,e=(o=(o=e).length>a?o.slice(0,o.length-a)+"."+o.slice(-a):"0."+"0".repeat(a-o.length)+o).replace(/0+$/,""));const i=e.match(/^(0.0+)(.*)/);r=Number(e)>0&&Number(e)<1?i?i?.[1]+i?.[2].slice(0,3):"0."+e.split("0.")[1].slice(0,3):Number(Number(e).toFixed(3)).toString(),r.includes(".")||(r=Number(e).toFixed(2)),n=r.replace(/(\d)(?=(\d{3})+\.\d+)/g,"$1,")}var o,a;return n}function M(e,t=""){return{type:e,content:t}}const $=L(" "),D=M("separator","; ");function q(e,t=$){return e.reduce(((e,r)=>[...e,t,r]),[]).slice(1)}function L(e){return M("text",e)}function B(e){return M("name",e)}function W(e){return M("image",e||"")}function z(e){return M("network",e||"")}function G(e,t){return e?(e.handle||e.address||!e.name||B(e.name),e.handle?H(e.handle):e.address===s?H(t):H(e.address)):M("unknown","")}function H(e){return M("address",e||"")}function J(e){return e?e.value===c?[M("number","infinite"),M("symbol",e.symbol)]:[M("symbolImage",e.image),M("number",U(e.value,e.decimals)||"0"),M("symbol",e.symbol)]:[M("number","0")]}function V(e){let t="";return e.platform?(t=e.platform,[L("on"),M("platform",t)]):[]}function Q(e){if("social"!==e.tag)return L("");let t="";return"title"in e.metadata&&e.metadata.title?t=e.metadata.title:"body"in e.metadata&&e.metadata.body?t=e.metadata.body:"target"in e.metadata&&e.metadata.target&&e.metadata.target.body&&(t=e.metadata.target.body),M("html",t)}function Z(e){const t=K(e,_).filter((e=>""!==e)),r=[];for(let e=0;e<t.length;e++)" "===t[e]&&" "===t[e+1]||r.push(t[e]);return r.join("")}function K(e,t){return X(e).map((e=>t[e.type]?t[e.type](e.content):t.unknown(e.content)))}function X(e){const t=v(e);if("social"===e.tag&&t.length>1)return ee(e,t[0]);if("unknown"===e.tag||"unknown"===e.type)return[M("unknown","Carried out an activity")];const r=t.reduce(((t,r)=>0===t.length?ee(e,r):[...t,D,...ee(e,r)]),[]);var n;return r.push($,(n=e.timestamp,M("time",new Date(1e3*n).toJSON()))),r}function Y(e){const t=v(e),r=[];return"social"===e.tag&&t.length>1?[ee(e,t[0])]:"unknown"===e.tag||"unknown"===e.type?[[M("unknown","Carried out an activity")]]:(t.map((t=>{r.push(ee(e,t))})),r)}function ee(e,t){const r=e.owner,n=e.direction;let o=[L("Carried out an activity")];return j(t,{"transaction-transfer":e=>{o=r===t.from?q([H(t.from),L("sent"),...J(e),L("to"),H(t.to)]):q("in"===n?[H(t.to),L("received"),...J(e),L("from"),H(t.from)]:[H(t.to),L("claimed"),...J(e),L("from"),H(t.from)])},"transaction-approval":e=>{o="approve"===e.action?q([H(t.from),L("approved"),...J(e),L("to"),H(t.to)]):q([H(t.from),L("revoked the approval of"),...J(e),L("to"),H(t.to)])},"transaction-mint":e=>{o=q([H(t.from),L("minted"),...J(e)])},"transaction-burn":e=>{o=q([H(t.from),L("burned"),...J(e)])},"transaction-multisig":r=>{"create"===r.action?o=q([H(t.from),L("created a multisig transaction"),L("to"),H(t.to),...V(e)]):"add_owner"===r.action?o=q([H(t.from),L("added"),H(r.owner),L("to"),H(r.vault.address),...V(e)]):"remove_owner"===r.action?o=q([H(t.from),L("removed"),H(r.owner),L("from"),H(r.vault.address),...V(e)]):"change_threshold"===r.action?o=q([H(t.from),L("changed the threshold of"),H(r.vault.address),...V(e)]):"execution"===r.action&&(o=q([H(t.from),L("executed a multisig transaction"),...V(e)]))},"transaction-bridge":r=>{let n=[];r.source_network&&r.source_network.name&&(n=[L("from"),z(r.source_network.name),L("to"),z(r.target_network.name)]),o="deposit"===r.action?q([H(t.from),L("deposited"),...J(r.token),...n,...V(e)]):q([H(t.from),L("withdrew"),...J(r.token),...n,...V(e)])},"transaction-deploy":e=>{o=q([H(t.from),L("deployed a contract"),H(e.address)])},"collectible-transfer":e=>{o=q([H(t.from),L("transferred"),W(e.image_url),B(e.name||e.title||"an asset"),L("to"),H(t.to)])},"collectible-approval":e=>{o="approve"===e.action?q([H(r),L("approved"),W(e.image_url),B(`${e.name} collection`),L("to"),H(t.to)]):q([H(r),L("revoked the approval of"),W(e.image_url),B(`${e.name} collection`),L("to"),H(t.to)])},"collectible-mint":e=>{o=q("out"===n?[H(r),L("minted"),W(e.image_url),B(e.name||e.title||"an asset")]:[H(t.to),L("minted"),W(e.image_url),B(e.name||e.title||"an asset"),L("from"),H(t.from)])},"collectible-burn":e=>{o=q([H(r),L("burned"),W(e.image_url),B(e.name||e.title||"an asset")])},"collectible-trade":e=>{o="buy"===e.action?q([H(t.to),L("Bought"),W(e.image_url),B(e.name||e.title||"an asset"),L("from"),H(t.from),...V(t)]):q([H(t.from),L("sold"),W(e.image_url),B(e.name||e.title||"an asset"),L("to"),H(t.to),...V(t)])},"collectible-auction":e=>{o="create"===e.action?q([H(r),L("created an auction for"),W(e.image_url),B(e.name||e.title||"an asset"),...V(t)]):"bid"===e.action?q([H(r),L("made a bid for"),W(e.image_url),B(e.name||e.title||"an asset"),...V(t)]):"cancel"===e.action?q([H(r),L("canceled an auction for"),W(e.image_url),B(e.name||e.title||"an asset"),...V(t)]):"update"===e.action?q([H(r),L("updated an auction for"),W(e.image_url),B(e.name||e.title||"an asset"),...V(t)]):"finalize"===e.action?q([H(r),L("won an auction for"),W(e.image_url),B(e.name||e.title||"an asset"),...V(t)]):q([H(r),L("invalidated an auction for"),W(e.image_url),B(e.name||e.title||"an asset"),...V(t)])},"exchange-swap":e=>{o=q([H(r),L("swapped"),...J(e.from),L("to"),...J(e.to),...V(t)])},"exchange-liquidity":e=>{const r=e.tokens.flatMap((e=>q([...J(e),L(",")]))).slice(0,-1);"add"===e.action?o=q([L("Added"),...r,L("to liquidity"),...V(t)]):"remove"===e.action?o=q([L("Removed"),...r,L("from liquidity"),...V(t)]):"collect"===e.action?o=q([L("Collected"),...r,L("from liquidity"),...V(t)]):"borrow"===e.action?o=q([L("Borrowed"),...r,L("from liquidity"),...V(t)]):"repay"===e.action?o=q([L("Repaid"),...r,L("to liquidity"),...V(t)]):"supply"===e.action?o=q([L("Supplied"),...r,L("to liquidity"),...V(t)]):"withdraw"===e.action&&(o=q([L("WithDrew"),...r,L("from liquidity"),...V(t)]))},"exchange-loan":e=>{"create"===e.action?o=q([L("Created loan"),...J(e.amount),...V(t)]):"liquidate"===e.action?o=q([L("liquidated loan"),...J(e.amount),...V(t)]):"refinance"===e.action?o=q([L("Refinanced loan"),...J(e.amount),...V(t)]):"repay"===e.action?o=q([L("Repaid loan"),...J(e.amount),...V(t)]):"seize"===e.action&&(o=q([L("Seized loan"),...J(e.amount),...V(t)]))},"donation-donate":e=>{o=q([H(r),L("donated"),W(e.logo),B(e.title||""),...V(t)])},"governance-propose":e=>{o=q([H(r),L("proposed for"),B(e.title||""),...V(t)])},"governance-vote":e=>{o=q([H(r),L("voted for"),B(e.proposal?.options?.join(",")||""),...V(t)])},"social-post":e=>{o=q([H(e.handle||r),L("published a post"),Q(t),...V(t)])},"social-comment":e=>{o=q([H(e.handle||r),L("made a comment"),Q(t),...V(t)])},"social-share":e=>{o=q([H(e.handle||r),L("shared a post"),Q(t),...V(t)])},"social-mint":e=>{o=q([H(e.handle||r),L("minted a post"),Q(t),...V(t)])},"social-revise":e=>{o=q([H(e.handle||r),L("revised a post"),Q(t),...V(t)])},"social-follow":e=>{o=q([G(e.from,t.from),L("followed"),G(e.to,t.to),...V(t)])},"social-unfollow":e=>{o=q([G(e.from,t.from),L("unfollowed"),G(e.to,t.to),...V(t)])},"social-profile":e=>{"create"===e.action?o=q([H(e.handle||r),L("created a profile"),W(e.image_uri),B(e.name||e.handle||""),...V(t)]):"update"===e.action?o=q([H(e.handle||r),L("updated a profile"),W(e.image_uri),B(e.name||e.handle||""),...V(t)]):"renew"===e.action?o=q([H(e.handle||r),L("renewed a profile"),W(e.image_uri),B(e.name||e.handle||""),...V(t)]):"wrap"===e.action?o=q([H(e.handle||r),L("wrapped a profile"),W(e.image_uri),B(e.name||e.handle||""),...V(t)]):"unwrap"===e.action&&(o=q([H(e.handle||r),L("unwrapped a profile"),W(e.image_uri),B(e.name||e.handle||""),...V(t)]))},"social-proxy":e=>{o="appoint"===e.action?q([H(r),L("approved a proxy"),...V(t)]):q([H(r),L("removed a proxy"),...V(t)])},"social-delete":e=>{o=q([H(e.handle||r),L("deleted a post"),Q(t),...V(t)])},"metaverse-transfer":e=>{o=q([H(r),L("transferred"),W(e.image_url),B(e.name||e.title||"an asset"),L("to"),H(t.to)])},"metaverse-mint":e=>{o=q([H(r),L("minted"),W(e.image_url),B(e.name||e.title||"an asset"),...V(t)])},"metaverse-burn":e=>{o=q([H(r),L("burned"),W(e.image_url),B(e.name||e.title||"an asset"),...V(t)])},"metaverse-trade":e=>{"buy"===e.action?o=q([H(r),L("bought"),W(e.image_url),B(e.name||e.title||"an asset"),L("from"),H(t.from),...V(t)]):"sell"===e.action?o=q([H(r),L("sold"),W(e.image_url),B(e.name||e.title||"an asset"),L("from"),H(t.from),...V(t)]):"list"===e.action&&(o=q([H(r),L("listed"),W(e.image_url),B(e.name||e.title||"an asset"),L("from"),H(t.from),...V(t)]))}}),o}function te(e){const t=v(e);let r=0;return t.forEach((t=>{t.type===e.type&&t.tag===e.tag&&r++})),r>1}function re(e){if(te(e)){const t=[];return v(e).forEach((r=>{t.push({...e,actions:[r]})})),t}return[e]}function ne(e){const t=b(e);if(t.length>0)return oe(t[0])}function oe(e){let t;return j(e,{"social-post":e=>{t=ie(e)},"social-comment":e=>{t=ie(e)},"social-mint":e=>{t=ie(e)},"social-share":e=>{t=ie(e)},"social-revise":e=>{t=ie(e)},"social-delete":e=>{t=ie(e)},"governance-propose":e=>{var r;t={title:(r=e).title,body:r.body}},"governance-vote":e=>{var r;r=e,t={title:r.proposal?.title,body:r.proposal?.body}}}),t}function ae(e,t){return e?(e=e.replaceAll("…",""),t?.startsWith(e)?void 0:e):e}function ie(e){const t=e.target,r=t?{author_url:t.author_url,handle:t.handle,profile_id:t.profile_id,title:t.title,body:t.body,media:t.media}:void 0;return{author_url:e.author_url,handle:e.handle,profile_id:e.profile_id,title:e.title,body:e.body,media:e.media,target:r}}function ce(e,t){if(!e)return e;let r=e||[],n=t;return n&&!O(n)&&(n=r.find((e=>!!e.address))?.address),n&&O(n)&&r.push({address:n,bio:"",handle:n,name:P(n),network:"Ethereum",platform:"Ethereum",profileURI:[k(n,100)],socialURI:[]}),r=r?.sort((e=>e?.handle===t?-1:1)),r=r?.sort((e=>"ENS Registrar"===e?.platform?-1:1)),r=r?.map((e=>{if("ENS Registrar"===e.platform&&e.profileURI&&e.profileURI.length>=1&&e.profileURI[0].startsWith("eip155:1")&&(e.profileURI=[`https://metadata.ens.domains/mainnet/avatar/${e.handle}`]),"Unstoppable"===e?.platform){const[t,r]=e?.profileURI||[];e.profileURI=[r,t]}return e})),r}function le(e){return{name:e?.name||"",avatar:e?.profileURI?.[0]?e?.profileURI?.[0]:e?.handle&&k(e?.handle,100)||"",handle:e?.handle||"",banner:e?.bannerURI?.[0]||"",address:e?.address||"",url:e?.url||"",platform:e?.platform,expireAt:e?.expireAt,bio:e?.bio}}function se(e,t){const r=t?e?.find((e=>e?.handle?.toLowerCase()===t.toLowerCase())):e?.[0];return le(r?.address===s?null:r)}function ue(e){let t;return j(e,{"collectible-transfer":e=>{t=pe(e)},"collectible-approval":e=>{t=pe(e)},"collectible-mint":e=>{t=pe(e)},"collectible-burn":e=>{t=pe(e)},"collectible-trade":e=>{t=pe(e)},"collectible-auction":e=>{t=pe(e)},"donation-donate":e=>{t=function(e){return{url:e.logo,title:e.title,description:e.description}}(e)}}),t}function pe(e){return{url:e.image_url,title:e.name,description:e.description}}})(),rss3=n})(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
405547
9058
19
66