@0xsequence/marketplace-sdk 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/BellIcon.js +1 -1
- package/dist/Card.js +1 -1
- package/dist/ShopCard.d.ts +4 -4
- package/dist/builder-api.js +1 -1
- package/dist/collectible.js +2 -2
- package/dist/collectible.js.map +1 -1
- package/dist/collection.js +1 -1
- package/dist/create-config.d.ts +589 -193
- package/dist/create-config.js +1 -1
- package/dist/currency.js +3 -3
- package/dist/currency.js.map +1 -1
- package/dist/dist.js +167 -148
- package/dist/dist.js.map +1 -1
- package/dist/expirationDateSelect.js +1 -1
- package/dist/filter-state.d.ts +1 -1
- package/dist/filters.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index10.d.ts +1 -1
- package/dist/index11.d.ts +17 -17
- package/dist/index12.d.ts +21 -21
- package/dist/index14.d.ts +3 -3
- package/dist/index15.d.ts +3 -3
- package/dist/index16.d.ts +2 -2
- package/dist/index17.d.ts +75 -75
- package/dist/index18.d.ts +40 -40
- package/dist/index19.d.ts +5 -5
- package/dist/index2.d.ts +4 -1
- package/dist/index21.d.ts +15 -15
- package/dist/index22.d.ts +8 -65
- package/dist/index23.d.ts +21 -13
- package/dist/index26.d.ts +4 -4
- package/dist/index27.d.ts +4 -4
- package/dist/index28.d.ts +10 -10
- package/dist/index3.d.ts +2 -2194
- package/dist/index31.d.ts +5 -5
- package/dist/index33.d.ts +3 -3
- package/dist/index34.d.ts +1 -1
- package/dist/index35.d.ts +1 -1
- package/dist/index36.d.ts +5 -5
- package/dist/index37.d.ts +8 -6
- package/dist/index38.d.ts +5 -5
- package/dist/index39.d.ts +1 -1
- package/dist/index4.d.ts +1356 -1356
- package/dist/index40.d.ts +2 -2
- package/dist/index8.d.ts +11 -3
- package/dist/index9.d.ts +2811 -3
- package/dist/inventory.d.ts +4 -4
- package/dist/inventory.js +3 -3
- package/dist/inventory.js.map +1 -1
- package/dist/marketplace2.js +3 -3
- package/dist/marketplace2.js.map +1 -1
- package/dist/metadata.d.ts +41 -41
- package/dist/primary-sale-checkout-options.d.ts +4 -4
- package/dist/quantityInput.js +1 -1
- package/dist/ranges.d.ts +12 -12
- package/dist/react/_internal/index.d.ts +1 -1
- package/dist/react/_internal/index.js +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/queries/collectible/index.d.ts +1 -1
- package/dist/react/queries/index.d.ts +1 -1
- package/dist/react/ssr/index.d.ts +3 -3
- package/dist/react/ssr/index.js +3 -3
- package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +1 -1
- package/dist/react/ui/modals/CreateListingModal/internal/hooks/index.d.ts +1 -1
- package/dist/react/ui/modals/MakeOfferModal/internal/hooks/index.d.ts +1 -1
- package/dist/react/ui/modals/_internal/components/alertMessage/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/baseModal/index.d.ts +6 -6
- package/dist/react/ui/modals/_internal/components/calendar/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/currencyImage/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/currencyOptionsSelect/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/floorPriceText/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/priceInput/index.d.ts +3 -5
- package/dist/react/ui/modals/_internal/components/quantityInput/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/selectWaasFeeOptions/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/switchChainErrorModal/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/timeAgo/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/tokenPreview/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/transaction-footer/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/transactionDetails/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/transactionPreview/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/transactionStatusModal/index.d.ts +3 -3
- package/dist/react.js +2279 -1919
- package/dist/react.js.map +1 -1
- package/dist/styles/index.css +15 -0
- package/dist/token-balances.d.ts +28 -28
- package/dist/transaction-footer.js +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/url-state.js +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +2 -2
- package/dist/utils.js +31 -4
- package/dist/utils.js.map +1 -1
- package/package.json +7 -5
- package/src/react/hooks/config/useMarketplaceConfig.test.tsx +1 -0
- package/src/react/hooks/currency/list.test.tsx +23 -2
- package/src/react/hooks/transactions/useCancelTransactionSteps.tsx +4 -1
- package/src/react/hooks/transactions/useMarketTransactionSteps.tsx +55 -15
- package/src/react/hooks/utils/useEnsureCorrectChain.ts +10 -5
- package/src/react/queries/collectible/market-list.ts +5 -3
- package/src/react/queries/currency/list.ts +8 -5
- package/src/react/queries/inventory/inventory.ts +5 -3
- package/src/react/queries/marketplace/filters.ts +5 -3
- package/src/react/ui/modals/BuyModal/components/BuyModalContent.tsx +74 -37
- package/src/react/ui/modals/BuyModal/components/CryptoPaymentModal.tsx +74 -11
- package/src/react/ui/modals/BuyModal/components/Modal.tsx +62 -1
- package/src/react/ui/modals/BuyModal/hooks/useExecuteBundledTransactions.ts +13 -26
- package/src/react/ui/modals/BuyModal/hooks/useMarketPlatformFee.ts +5 -5
- package/src/react/ui/modals/BuyModal/internal/__tests__/buildTrailsMarketBuyActions.test.ts +213 -0
- package/src/react/ui/modals/BuyModal/internal/buildTrailsMarketBuyActions.ts +259 -0
- package/src/react/ui/modals/BuyModal/internal/buyModalContext.ts +79 -10
- package/src/react/ui/modals/BuyModal/internal/cryptoPaymentModalContext.tsx +44 -17
- package/src/react/ui/modals/CreateListingModal/internal/store.ts +5 -2
- package/src/react/ui/modals/MakeOfferModal/internal/context.ts +21 -1
- package/src/react/ui/modals/MakeOfferModal/internal/helpers/validation.ts +16 -1
- package/src/react/ui/modals/MakeOfferModal/internal/store.ts +5 -2
- package/src/react/ui/modals/SellModal/internal/store.ts +5 -2
- package/src/react/ui/modals/_internal/components/baseModal/errors/ModalInitializationError.tsx +8 -6
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +2 -1
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +13 -19
- package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +5 -2
- package/src/react/ui/modals/_internal/helpers/currency.test.ts +27 -0
- package/src/react/ui/modals/_internal/helpers/currency.ts +4 -2
- package/src/styles/styles.ts +18 -0
- package/src/utils/__tests__/getMarketplaceDetails.test.ts +10 -0
- package/src/utils/__tests__/getWebRPCErrorMessage.test.ts +28 -0
- package/src/utils/__tests__/marketplaceNormalization.test.ts +38 -0
- package/src/utils/collection.ts +19 -0
- package/src/utils/getConduitAddressForOrderbook.ts +2 -10
- package/src/utils/getMarketplaceDetails.ts +11 -4
- package/src/utils/getWebRPCErrorMessage.ts +21 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/normalizeMarketplace.ts +31 -0
package/dist/dist.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dist.js","names":["InvalidArgumentError","MethodNotFoundError","NotFoundError","PermissionDeniedError","ProjectNotFoundError","RequestConflictError","SessionExpiredError","TimeoutError","UnauthorizedError","WebrpcHeader","WebrpcHeaderValue","webrpcErrorByCode","WebrpcError","WebrpcEndpointError","WebrpcRequestFailedError","WebrpcBadRouteError","WebrpcBadMethodError","WebrpcBadRequestError","WebrpcBadResponseError","WebrpcServerPanicError","WebrpcInternalErrorError","WebrpcClientDisconnectedError","WebrpcStreamLostError","WebrpcStreamFinishedError","ServiceDisabledError","UserNotFoundError","InvalidTierError","EmailTemplateExistsError","SubscriptionLimitError","FeatureNotIncludedError","InvalidNetworkError","InvitationExpiredError","AlreadyCollaboratorError","buildResponse","WebrpcRequestFailedError","WebrpcBadResponseError","WebrpcError","WebrpcEndpointError","WebrpcBadRouteError","WebrpcBadMethodError","WebrpcBadRequestError","WebrpcServerPanicError","WebrpcInternalErrorError","WebrpcClientAbortedError","WebrpcStreamLostError","WebrpcStreamFinishedError","UnauthorizedError","PermissionDeniedError","SessionExpiredError","MethodNotFoundError","RequestConflictError","AbortedError","GeoblockedError","RateLimitedError","ProjectNotFoundError","SecretKeyCorsDisallowedError","AccessKeyNotFoundError","AccessKeyMismatchError","InvalidOriginError","InvalidServiceError","UnauthorizedUserError","InvalidChainError","QuotaExceededError","QuotaRateLimitError","NoDefaultKeyError","MaxAccessKeysError","AtLeastOneKeyError","TimeoutError","NotFoundError","InvalidArgumentError","NotImplementedError","toContractInfo","toTokenMetadata"],"sources":["../../api/dist/chunk.js","../../api/dist/builder.gen.js","../../api/dist/transform.js","../../api/dist/transforms.js","../../api/dist/marketplace.gen.js","../../api/dist/transforms2.js","../../api/dist/index.js"],"sourcesContent":["//#region rolldown:runtime\nvar __defProp = Object.defineProperty;\nvar __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);\nvar __export = (all, symbols) => {\n\tlet target = {};\n\tfor (var name in all) {\n\t\t__defProp(target, name, {\n\t\t\tget: all[name],\n\t\t\tenumerable: true\n\t\t});\n\t}\n\tif (symbols) {\n\t\t__defProp(target, Symbol.toStringTag, { value: \"Module\" });\n\t}\n\treturn target;\n};\n\n//#endregion\nexport { __export as n, __commonJSMin as t };","import { n as __export } from \"./chunk.js\";\n\n//#region src/adapters/builder/builder.gen.ts\nvar builder_gen_exports = /* @__PURE__ */ __export({\n\tAlreadyCollaboratorError: () => AlreadyCollaboratorError,\n\tEmailTemplateExistsError: () => EmailTemplateExistsError,\n\tFeatureNotIncludedError: () => FeatureNotIncludedError,\n\tFilterCondition: () => FilterCondition,\n\tInvalidArgumentError: () => InvalidArgumentError,\n\tInvalidNetworkError: () => InvalidNetworkError,\n\tInvalidTierError: () => InvalidTierError,\n\tInvitationExpiredError: () => InvitationExpiredError,\n\tMarketplaceService: () => MarketplaceService,\n\tMarketplaceWalletType: () => MarketplaceWalletType,\n\tMethodNotFoundError: () => MethodNotFoundError,\n\tNotFoundError: () => NotFoundError,\n\tPermissionDeniedError: () => PermissionDeniedError,\n\tProjectNotFoundError: () => ProjectNotFoundError,\n\tRequestConflictError: () => RequestConflictError,\n\tServiceDisabledError: () => ServiceDisabledError,\n\tSessionExpiredError: () => SessionExpiredError,\n\tSubscriptionLimitError: () => SubscriptionLimitError,\n\tTimeoutError: () => TimeoutError,\n\tUnauthorizedError: () => UnauthorizedError,\n\tUserNotFoundError: () => UserNotFoundError,\n\tWebrpcBadMethodError: () => WebrpcBadMethodError,\n\tWebrpcBadRequestError: () => WebrpcBadRequestError,\n\tWebrpcBadResponseError: () => WebrpcBadResponseError,\n\tWebrpcBadRouteError: () => WebrpcBadRouteError,\n\tWebrpcClientDisconnectedError: () => WebrpcClientDisconnectedError,\n\tWebrpcEndpointError: () => WebrpcEndpointError,\n\tWebrpcError: () => WebrpcError,\n\tWebrpcErrorCodes: () => WebrpcErrorCodes,\n\tWebrpcHeader: () => WebrpcHeader,\n\tWebrpcHeaderValue: () => WebrpcHeaderValue,\n\tWebrpcInternalErrorError: () => WebrpcInternalErrorError,\n\tWebrpcRequestFailedError: () => WebrpcRequestFailedError,\n\tWebrpcServerPanicError: () => WebrpcServerPanicError,\n\tWebrpcStreamFinishedError: () => WebrpcStreamFinishedError,\n\tWebrpcStreamLostError: () => WebrpcStreamLostError,\n\terrors: () => errors,\n\twebrpcErrorByCode: () => webrpcErrorByCode\n});\nconst WebrpcHeader = \"Webrpc\";\nconst WebrpcHeaderValue = \"webrpc@v0.26.0;gen-typescript@v0.17.0;sequence-builder@v0.1.0\";\nlet MarketplaceWalletType = /* @__PURE__ */ function(MarketplaceWalletType$1) {\n\tMarketplaceWalletType$1[\"UNIVERSAL\"] = \"UNIVERSAL\";\n\tMarketplaceWalletType$1[\"EMBEDDED\"] = \"EMBEDDED\";\n\tMarketplaceWalletType$1[\"ECOSYSTEM\"] = \"ECOSYSTEM\";\n\treturn MarketplaceWalletType$1;\n}({});\nlet FilterCondition = /* @__PURE__ */ function(FilterCondition$1) {\n\tFilterCondition$1[\"ENTIRE_KEY\"] = \"ENTIRE_KEY\";\n\tFilterCondition$1[\"SPECIFIC_VALUE\"] = \"SPECIFIC_VALUE\";\n\treturn FilterCondition$1;\n}({});\nvar WebrpcError = class WebrpcError extends Error {\n\tname;\n\tcode;\n\tmessage;\n\tstatus;\n\tcause;\n\t/** @deprecated Use message instead of msg. Deprecated in webrpc v0.11.0. */\n\tmsg;\n\tconstructor(name, code, message, status, cause) {\n\t\tsuper(message);\n\t\tthis.name = name || \"WebrpcError\";\n\t\tthis.code = typeof code === \"number\" ? code : 0;\n\t\tthis.message = message || `endpoint error ${this.code}`;\n\t\tthis.msg = this.message;\n\t\tthis.status = typeof status === \"number\" ? status : 0;\n\t\tthis.cause = cause;\n\t\tObject.setPrototypeOf(this, WebrpcError.prototype);\n\t}\n\tstatic new(payload) {\n\t\treturn new WebrpcError(payload.error, payload.code, payload.message || payload.msg, payload.status, payload.cause);\n\t}\n};\nvar WebrpcEndpointError = class WebrpcEndpointError extends WebrpcError {\n\tconstructor(name = \"WebrpcEndpoint\", code = 0, message = \"endpoint error\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcEndpointError.prototype);\n\t}\n};\nvar WebrpcRequestFailedError = class WebrpcRequestFailedError extends WebrpcError {\n\tconstructor(name = \"WebrpcRequestFailed\", code = -1, message = \"request failed\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcRequestFailedError.prototype);\n\t}\n};\nvar WebrpcBadRouteError = class WebrpcBadRouteError extends WebrpcError {\n\tconstructor(name = \"WebrpcBadRoute\", code = -2, message = \"bad route\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcBadRouteError.prototype);\n\t}\n};\nvar WebrpcBadMethodError = class WebrpcBadMethodError extends WebrpcError {\n\tconstructor(name = \"WebrpcBadMethod\", code = -3, message = \"bad method\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcBadMethodError.prototype);\n\t}\n};\nvar WebrpcBadRequestError = class WebrpcBadRequestError extends WebrpcError {\n\tconstructor(name = \"WebrpcBadRequest\", code = -4, message = \"bad request\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcBadRequestError.prototype);\n\t}\n};\nvar WebrpcBadResponseError = class WebrpcBadResponseError extends WebrpcError {\n\tconstructor(name = \"WebrpcBadResponse\", code = -5, message = \"bad response\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcBadResponseError.prototype);\n\t}\n};\nvar WebrpcServerPanicError = class WebrpcServerPanicError extends WebrpcError {\n\tconstructor(name = \"WebrpcServerPanic\", code = -6, message = \"server panic\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcServerPanicError.prototype);\n\t}\n};\nvar WebrpcInternalErrorError = class WebrpcInternalErrorError extends WebrpcError {\n\tconstructor(name = \"WebrpcInternalError\", code = -7, message = \"internal error\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcInternalErrorError.prototype);\n\t}\n};\nvar WebrpcClientDisconnectedError = class WebrpcClientDisconnectedError extends WebrpcError {\n\tconstructor(name = \"WebrpcClientDisconnected\", code = -8, message = \"client disconnected\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcClientDisconnectedError.prototype);\n\t}\n};\nvar WebrpcStreamLostError = class WebrpcStreamLostError extends WebrpcError {\n\tconstructor(name = \"WebrpcStreamLost\", code = -9, message = \"stream lost\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcStreamLostError.prototype);\n\t}\n};\nvar WebrpcStreamFinishedError = class WebrpcStreamFinishedError extends WebrpcError {\n\tconstructor(name = \"WebrpcStreamFinished\", code = -10, message = \"stream finished\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcStreamFinishedError.prototype);\n\t}\n};\nvar UnauthorizedError = class UnauthorizedError extends WebrpcError {\n\tconstructor(name = \"Unauthorized\", code = 1e3, message = \"Unauthorized access\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, UnauthorizedError.prototype);\n\t}\n};\nvar PermissionDeniedError = class PermissionDeniedError extends WebrpcError {\n\tconstructor(name = \"PermissionDenied\", code = 1001, message = \"Permission denied\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, PermissionDeniedError.prototype);\n\t}\n};\nvar SessionExpiredError = class SessionExpiredError extends WebrpcError {\n\tconstructor(name = \"SessionExpired\", code = 1002, message = \"Session expired\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, SessionExpiredError.prototype);\n\t}\n};\nvar MethodNotFoundError = class MethodNotFoundError extends WebrpcError {\n\tconstructor(name = \"MethodNotFound\", code = 1003, message = \"Method not found\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, MethodNotFoundError.prototype);\n\t}\n};\nvar RequestConflictError = class RequestConflictError extends WebrpcError {\n\tconstructor(name = \"RequestConflict\", code = 1004, message = \"Conflict with target resource\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, RequestConflictError.prototype);\n\t}\n};\nvar ServiceDisabledError = class ServiceDisabledError extends WebrpcError {\n\tconstructor(name = \"ServiceDisabled\", code = 1005, message = \"Service disabled\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, ServiceDisabledError.prototype);\n\t}\n};\nvar TimeoutError = class TimeoutError extends WebrpcError {\n\tconstructor(name = \"Timeout\", code = 2e3, message = \"Request timed out\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, TimeoutError.prototype);\n\t}\n};\nvar InvalidArgumentError = class InvalidArgumentError extends WebrpcError {\n\tconstructor(name = \"InvalidArgument\", code = 2001, message = \"Invalid argument\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, InvalidArgumentError.prototype);\n\t}\n};\nvar NotFoundError = class NotFoundError extends WebrpcError {\n\tconstructor(name = \"NotFound\", code = 3e3, message = \"Resource not found\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, NotFoundError.prototype);\n\t}\n};\nvar UserNotFoundError = class UserNotFoundError extends WebrpcError {\n\tconstructor(name = \"UserNotFound\", code = 3001, message = \"User not found\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, UserNotFoundError.prototype);\n\t}\n};\nvar ProjectNotFoundError = class ProjectNotFoundError extends WebrpcError {\n\tconstructor(name = \"ProjectNotFound\", code = 3002, message = \"Project not found\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, ProjectNotFoundError.prototype);\n\t}\n};\nvar InvalidTierError = class InvalidTierError extends WebrpcError {\n\tconstructor(name = \"InvalidTier\", code = 3003, message = \"Invalid subscription tier\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, InvalidTierError.prototype);\n\t}\n};\nvar EmailTemplateExistsError = class EmailTemplateExistsError extends WebrpcError {\n\tconstructor(name = \"EmailTemplateExists\", code = 3004, message = \"Email Template exists\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, EmailTemplateExistsError.prototype);\n\t}\n};\nvar SubscriptionLimitError = class SubscriptionLimitError extends WebrpcError {\n\tconstructor(name = \"SubscriptionLimit\", code = 3005, message = \"Subscription limit reached\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, SubscriptionLimitError.prototype);\n\t}\n};\nvar FeatureNotIncludedError = class FeatureNotIncludedError extends WebrpcError {\n\tconstructor(name = \"FeatureNotIncluded\", code = 3006, message = \"Feature not included\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, FeatureNotIncludedError.prototype);\n\t}\n};\nvar InvalidNetworkError = class InvalidNetworkError extends WebrpcError {\n\tconstructor(name = \"InvalidNetwork\", code = 3007, message = \"Invalid network\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, InvalidNetworkError.prototype);\n\t}\n};\nvar InvitationExpiredError = class InvitationExpiredError extends WebrpcError {\n\tconstructor(name = \"InvitationExpired\", code = 4e3, message = \"Invitation code is expired\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, InvitationExpiredError.prototype);\n\t}\n};\nvar AlreadyCollaboratorError = class AlreadyCollaboratorError extends WebrpcError {\n\tconstructor(name = \"AlreadyCollaborator\", code = 4001, message = \"Already a collaborator\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, AlreadyCollaboratorError.prototype);\n\t}\n};\nlet errors = /* @__PURE__ */ function(errors$1) {\n\terrors$1[\"WebrpcEndpoint\"] = \"WebrpcEndpoint\";\n\terrors$1[\"WebrpcRequestFailed\"] = \"WebrpcRequestFailed\";\n\terrors$1[\"WebrpcBadRoute\"] = \"WebrpcBadRoute\";\n\terrors$1[\"WebrpcBadMethod\"] = \"WebrpcBadMethod\";\n\terrors$1[\"WebrpcBadRequest\"] = \"WebrpcBadRequest\";\n\terrors$1[\"WebrpcBadResponse\"] = \"WebrpcBadResponse\";\n\terrors$1[\"WebrpcServerPanic\"] = \"WebrpcServerPanic\";\n\terrors$1[\"WebrpcInternalError\"] = \"WebrpcInternalError\";\n\terrors$1[\"WebrpcClientDisconnected\"] = \"WebrpcClientDisconnected\";\n\terrors$1[\"WebrpcStreamLost\"] = \"WebrpcStreamLost\";\n\terrors$1[\"WebrpcStreamFinished\"] = \"WebrpcStreamFinished\";\n\terrors$1[\"Unauthorized\"] = \"Unauthorized\";\n\terrors$1[\"PermissionDenied\"] = \"PermissionDenied\";\n\terrors$1[\"SessionExpired\"] = \"SessionExpired\";\n\terrors$1[\"MethodNotFound\"] = \"MethodNotFound\";\n\terrors$1[\"RequestConflict\"] = \"RequestConflict\";\n\terrors$1[\"ServiceDisabled\"] = \"ServiceDisabled\";\n\terrors$1[\"Timeout\"] = \"Timeout\";\n\terrors$1[\"InvalidArgument\"] = \"InvalidArgument\";\n\terrors$1[\"NotFound\"] = \"NotFound\";\n\terrors$1[\"UserNotFound\"] = \"UserNotFound\";\n\terrors$1[\"ProjectNotFound\"] = \"ProjectNotFound\";\n\terrors$1[\"InvalidTier\"] = \"InvalidTier\";\n\terrors$1[\"EmailTemplateExists\"] = \"EmailTemplateExists\";\n\terrors$1[\"SubscriptionLimit\"] = \"SubscriptionLimit\";\n\terrors$1[\"FeatureNotIncluded\"] = \"FeatureNotIncluded\";\n\terrors$1[\"InvalidNetwork\"] = \"InvalidNetwork\";\n\terrors$1[\"InvitationExpired\"] = \"InvitationExpired\";\n\terrors$1[\"AlreadyCollaborator\"] = \"AlreadyCollaborator\";\n\treturn errors$1;\n}({});\nlet WebrpcErrorCodes = /* @__PURE__ */ function(WebrpcErrorCodes$1) {\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcEndpoint\"] = 0] = \"WebrpcEndpoint\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcRequestFailed\"] = -1] = \"WebrpcRequestFailed\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcBadRoute\"] = -2] = \"WebrpcBadRoute\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcBadMethod\"] = -3] = \"WebrpcBadMethod\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcBadRequest\"] = -4] = \"WebrpcBadRequest\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcBadResponse\"] = -5] = \"WebrpcBadResponse\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcServerPanic\"] = -6] = \"WebrpcServerPanic\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcInternalError\"] = -7] = \"WebrpcInternalError\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcClientDisconnected\"] = -8] = \"WebrpcClientDisconnected\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcStreamLost\"] = -9] = \"WebrpcStreamLost\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcStreamFinished\"] = -10] = \"WebrpcStreamFinished\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"Unauthorized\"] = 1e3] = \"Unauthorized\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"PermissionDenied\"] = 1001] = \"PermissionDenied\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"SessionExpired\"] = 1002] = \"SessionExpired\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"MethodNotFound\"] = 1003] = \"MethodNotFound\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"RequestConflict\"] = 1004] = \"RequestConflict\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"ServiceDisabled\"] = 1005] = \"ServiceDisabled\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"Timeout\"] = 2e3] = \"Timeout\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"InvalidArgument\"] = 2001] = \"InvalidArgument\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"NotFound\"] = 3e3] = \"NotFound\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"UserNotFound\"] = 3001] = \"UserNotFound\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"ProjectNotFound\"] = 3002] = \"ProjectNotFound\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"InvalidTier\"] = 3003] = \"InvalidTier\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"EmailTemplateExists\"] = 3004] = \"EmailTemplateExists\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"SubscriptionLimit\"] = 3005] = \"SubscriptionLimit\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"FeatureNotIncluded\"] = 3006] = \"FeatureNotIncluded\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"InvalidNetwork\"] = 3007] = \"InvalidNetwork\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"InvitationExpired\"] = 4e3] = \"InvitationExpired\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"AlreadyCollaborator\"] = 4001] = \"AlreadyCollaborator\";\n\treturn WebrpcErrorCodes$1;\n}({});\nconst webrpcErrorByCode = {\n\t0: WebrpcEndpointError,\n\t[-1]: WebrpcRequestFailedError,\n\t[-2]: WebrpcBadRouteError,\n\t[-3]: WebrpcBadMethodError,\n\t[-4]: WebrpcBadRequestError,\n\t[-5]: WebrpcBadResponseError,\n\t[-6]: WebrpcServerPanicError,\n\t[-7]: WebrpcInternalErrorError,\n\t[-8]: WebrpcClientDisconnectedError,\n\t[-9]: WebrpcStreamLostError,\n\t[-10]: WebrpcStreamFinishedError,\n\t1e3: UnauthorizedError,\n\t1001: PermissionDeniedError,\n\t1002: SessionExpiredError,\n\t1003: MethodNotFoundError,\n\t1004: RequestConflictError,\n\t1005: ServiceDisabledError,\n\t2e3: TimeoutError,\n\t2001: InvalidArgumentError,\n\t3e3: NotFoundError,\n\t3001: UserNotFoundError,\n\t3002: ProjectNotFoundError,\n\t3003: InvalidTierError,\n\t3004: EmailTemplateExistsError,\n\t3005: SubscriptionLimitError,\n\t3006: FeatureNotIncludedError,\n\t3007: InvalidNetworkError,\n\t4e3: InvitationExpiredError,\n\t4001: AlreadyCollaboratorError\n};\nvar MarketplaceService = class {\n\thostname;\n\tfetch;\n\tpath = \"/rpc/MarketplaceService/\";\n\tconstructor(hostname, fetch) {\n\t\tthis.hostname = hostname.replace(/\\/*$/, \"\");\n\t\tthis.fetch = (input, init) => fetch(input, init);\n\t}\n\turl(name) {\n\t\treturn this.hostname + this.path + name;\n\t}\n\tlookupMarketplace = (args, headers, signal) => {\n\t\treturn this.fetch(this.url(\"LookupMarketplace\"), createHTTPRequest(args, headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn {\n\t\t\t\t\tmarketplace: _data.marketplace,\n\t\t\t\t\tmarketCollections: _data.marketCollections,\n\t\t\t\t\tshopCollections: _data.shopCollections\n\t\t\t\t};\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `lookupMarketplace(): ${error.message || \"\"}` });\n\t\t});\n\t};\n};\nconst createHTTPRequest = (body = {}, headers = {}, signal = null) => {\n\tconst reqHeaders = {\n\t\t...headers,\n\t\t\"Content-Type\": \"application/json\"\n\t};\n\treqHeaders[WebrpcHeader] = WebrpcHeaderValue;\n\treturn {\n\t\tmethod: \"POST\",\n\t\theaders: reqHeaders,\n\t\tbody: JSON.stringify(body || {}),\n\t\tsignal\n\t};\n};\nconst buildResponse = (res) => {\n\treturn res.text().then((text) => {\n\t\tlet data;\n\t\ttry {\n\t\t\tdata = JSON.parse(text);\n\t\t} catch (error) {\n\t\t\tlet message = \"\";\n\t\t\tif (error instanceof Error) message = error.message;\n\t\t\tthrow WebrpcBadResponseError.new({\n\t\t\t\tstatus: res.status,\n\t\t\t\tcause: `JSON.parse(): ${message}: response text: ${text}`\n\t\t\t});\n\t\t}\n\t\tif (!res.ok) throw (webrpcErrorByCode[typeof data.code === \"number\" ? data.code : 0] || WebrpcError).new(data);\n\t\treturn data;\n\t});\n};\n\n//#endregion\nexport { WebrpcBadRequestError as a, WebrpcClientDisconnectedError as c, WebrpcInternalErrorError as d, WebrpcRequestFailedError as f, builder_gen_exports as g, WebrpcStreamLostError as h, WebrpcBadMethodError as i, WebrpcEndpointError as l, WebrpcStreamFinishedError as m, MarketplaceService as n, WebrpcBadResponseError as o, WebrpcServerPanicError as p, MarketplaceWalletType as r, WebrpcBadRouteError as s, FilterCondition as t, WebrpcError as u };\n//# sourceMappingURL=builder.gen.js.map","//#region src/utils/normalize.ts\nfunction normalizeAddress(address) {\n\tif (!address) throw new Error(\"Address cannot be empty\");\n\tif (!address.startsWith(\"0x\")) throw new Error(`Invalid address format: missing 0x prefix - ${address}`);\n\tif (address.length !== 42) throw new Error(`Invalid address length: expected 42 characters, got ${address.length} - ${address}`);\n\tif (!/^0x[0-9a-fA-F]{40}$/.test(address)) throw new Error(`Invalid address format: contains non-hex characters - ${address}`);\n\treturn address;\n}\nfunction toApiAddress(address) {\n\treturn address;\n}\nfunction normalizeChainId(chainId) {\n\tif (typeof chainId === \"number\") return chainId;\n\tif (typeof chainId === \"bigint\") return Number(chainId);\n\treturn Number(chainId);\n}\nfunction toMetadataChainId(chainId) {\n\treturn chainId.toString();\n}\nfunction normalizeTokenId(tokenId) {\n\tif (typeof tokenId === \"bigint\") return tokenId;\n\tif (typeof tokenId === \"string\") return BigInt(tokenId);\n\treturn BigInt(tokenId);\n}\nfunction toApiTokenId(tokenId) {\n\treturn tokenId.toString();\n}\nfunction parseBigInt(value) {\n\tif (typeof value === \"bigint\") return value;\n\tif (typeof value === \"number\") return BigInt(value);\n\ttry {\n\t\treturn BigInt(value);\n\t} catch {\n\t\treturn 0n;\n\t}\n}\nfunction formatAmount(amount, decimals) {\n\tconst str = amount.toString().padStart(decimals + 1, \"0\");\n\treturn `${str.slice(0, -decimals) || \"0\"}.${str.slice(-decimals)}`;\n}\nfunction parseAmount(value, decimals) {\n\tconst [intPart = \"0\", decPart = \"\"] = value.split(\".\");\n\tconst paddedDec = decPart.padEnd(decimals, \"0\").slice(0, decimals);\n\treturn BigInt(intPart + paddedDec);\n}\n\n//#endregion\n//#region src/utils/transform.ts\nfunction transformOptional(value, transformer) {\n\treturn value !== void 0 ? transformer(value) : void 0;\n}\nfunction transformArray(items, transformer) {\n\treturn items.map(transformer);\n}\nfunction transformOptionalArray(items, transformer) {\n\treturn items !== void 0 ? items.map(transformer) : void 0;\n}\nfunction transformRecord(record, transformer) {\n\treturn Object.fromEntries(Object.entries(record).map(([key, value]) => [key, transformer(value, key)]));\n}\nfunction spreadWith(obj, overrides) {\n\treturn {\n\t\t...obj,\n\t\t...overrides\n\t};\n}\nfunction buildPage(params) {\n\tif (params.page === void 0 && params.pageSize === void 0 && !params.sort?.length) return;\n\tconst page = {\n\t\tpage: params.page ?? 1,\n\t\tpageSize: params.pageSize ?? 30\n\t};\n\tif (params.more !== void 0) page.more = params.more;\n\tif (params.sort?.length) page.sort = params.sort;\n\treturn page;\n}\n\n//#endregion\nexport { transformOptionalArray as a, normalizeAddress as c, parseAmount as d, parseBigInt as f, toMetadataChainId as h, transformOptional as i, normalizeChainId as l, toApiTokenId as m, spreadWith as n, transformRecord as o, toApiAddress as p, transformArray as r, formatAmount as s, buildPage as t, normalizeTokenId as u };\n//# sourceMappingURL=transform.js.map","import { a as transformOptionalArray, c as normalizeAddress, i as transformOptional, l as normalizeChainId, n as spreadWith, r as transformArray, u as normalizeTokenId } from \"./transform.js\";\n\n//#region src/adapters/indexer/transforms.ts\nfunction toContractInfo(raw) {\n\tif (!raw.address || !raw.address.startsWith(\"0x\") || raw.address.length !== 42) return;\n\treturn spreadWith(raw, {\n\t\tchainId: normalizeChainId(raw.chainId),\n\t\taddress: normalizeAddress(raw.address),\n\t\textensions: transformOptional(raw.extensions, (ext) => {\n\t\t\tconst result = { ...ext };\n\t\t\tif (ext.originChainId !== void 0) result.originChainId = normalizeChainId(ext.originChainId);\n\t\t\tif (ext.originAddress?.startsWith(\"0x\") && ext.originAddress.length === 42) result.originAddress = normalizeAddress(ext.originAddress);\n\t\t\treturn result;\n\t\t})\n\t});\n}\nfunction toTokenMetadata(raw) {\n\treturn spreadWith(raw, {\n\t\ttokenId: normalizeTokenId(raw.tokenId),\n\t\tattributes: raw.attributes\n\t});\n}\nfunction toNativeTokenBalance(raw) {\n\tconst result = {\n\t\taccountAddress: normalizeAddress(raw.accountAddress),\n\t\tchainId: normalizeChainId(raw.chainId),\n\t\tbalance: BigInt(raw.balance)\n\t};\n\tif (raw.errorReason) result.errorReason = raw.errorReason;\n\treturn result;\n}\nfunction toTokenBalance(raw) {\n\tconst { tokenID, contractType, ...rest } = raw;\n\treturn spreadWith(rest, {\n\t\tcontractType,\n\t\tcontractAddress: normalizeAddress(raw.contractAddress),\n\t\taccountAddress: normalizeAddress(raw.accountAddress),\n\t\ttokenId: raw.tokenID ? normalizeTokenId(raw.tokenID) : 0n,\n\t\tbalance: BigInt(raw.balance),\n\t\tchainId: normalizeChainId(raw.chainId),\n\t\tcontractInfo: transformOptional(raw.contractInfo, toContractInfo),\n\t\ttokenMetadata: transformOptional(raw.tokenMetadata, toTokenMetadata),\n\t\tuniqueCollectibles: transformOptional(raw.uniqueCollectibles, BigInt)\n\t});\n}\nfunction toTokenSupply(raw, contractAddress) {\n\treturn {\n\t\ttokenId: normalizeTokenId(raw.tokenID),\n\t\tsupply: BigInt(raw.supply),\n\t\tchainId: normalizeChainId(raw.chainId),\n\t\tcontractAddress,\n\t\tcontractInfo: transformOptional(raw.contractInfo, toContractInfo),\n\t\ttokenMetadata: transformOptional(raw.tokenMetadata, toTokenMetadata)\n\t};\n}\nfunction toTransactionReceipt(raw) {\n\treturn spreadWith(raw, {\n\t\teffectiveGasPrice: BigInt(raw.effectiveGasPrice),\n\t\tfrom: raw.from?.startsWith(\"0x\") && raw.from.length === 42 ? normalizeAddress(raw.from) : void 0,\n\t\tto: raw.to?.startsWith(\"0x\") && raw.to.length === 42 ? normalizeAddress(raw.to) : void 0,\n\t\tlogs: transformArray(raw.logs, (log) => {\n\t\t\tconst { contractAddress, index, ...rest } = log;\n\t\t\treturn spreadWith(rest, {\n\t\t\t\taddress: normalizeAddress(contractAddress),\n\t\t\t\tlogIndex: index\n\t\t\t});\n\t\t})\n\t});\n}\nfunction toTokenIDRange(raw) {\n\treturn {\n\t\tstartTokenId: normalizeTokenId(raw.start),\n\t\tendTokenId: normalizeTokenId(raw.end)\n\t};\n}\nfunction toPage(raw) {\n\tif (!raw) return {\n\t\tpage: 0,\n\t\tpageSize: 0,\n\t\tmore: false\n\t};\n\treturn spreadWith(raw, {\n\t\tpage: raw.page || 0,\n\t\tpageSize: raw.pageSize || 0,\n\t\tmore: raw.more || false\n\t});\n}\nfunction toGetTokenBalancesResponse(raw) {\n\treturn spreadWith(raw, {\n\t\tbalances: transformArray(raw.balances, toTokenBalance),\n\t\tpage: toPage(raw.page)\n\t});\n}\nfunction toGetTokenSuppliesResponse(raw, contractAddress) {\n\tconst tokenIDs = transformOptionalArray(raw.tokenIDs, (tokenSupply) => toTokenSupply(tokenSupply, contractAddress)) || [];\n\treturn spreadWith(raw, {\n\t\tcontractAddress,\n\t\ttokenIDs,\n\t\tsupplies: tokenIDs,\n\t\tpage: toPage(raw.page)\n\t});\n}\nfunction toGetTokenIDRangesResponse(raw, contractAddress) {\n\tconst tokenIDRanges = transformOptionalArray(raw.tokenIDRanges, toTokenIDRange) || [];\n\treturn spreadWith(raw, {\n\t\tcontractAddress,\n\t\ttokenIDRanges,\n\t\tranges: tokenIDRanges\n\t});\n}\nfunction toGetTokenBalancesDetailsResponse(raw) {\n\treturn spreadWith(raw, {\n\t\tpage: toPage(raw.page),\n\t\tnativeBalances: (raw.nativeBalances || []).map(toNativeTokenBalance),\n\t\tbalances: raw.balances.map(toTokenBalance)\n\t});\n}\nfunction toGetTokenBalancesByContractResponse(raw) {\n\treturn spreadWith(raw, {\n\t\tpage: toPage(raw.page),\n\t\tbalances: raw.balances.map(toTokenBalance)\n\t});\n}\nfunction toGetNativeTokenBalanceResponse(raw) {\n\treturn spreadWith(raw, { balance: toNativeTokenBalance(raw.balance) });\n}\nfunction toGetTokenBalancesArgs(req) {\n\tconst { tokenId, ...rest } = req;\n\tconst accountAddress = \"userAddress\" in req && req.userAddress ? req.userAddress : \"accountAddress\" in req ? req.accountAddress : void 0;\n\tconst contractAddress = \"collectionAddress\" in req && req.collectionAddress ? req.collectionAddress : \"contractAddress\" in req && req.contractAddress ? req.contractAddress : void 0;\n\treturn {\n\t\t...rest,\n\t\t...accountAddress && { accountAddress },\n\t\t...contractAddress && { contractAddress },\n\t\t...tokenId !== void 0 && { tokenID: tokenId.toString() }\n\t};\n}\nfunction toGetTokenSuppliesArgs(req) {\n\tconst { collectionAddress: _collectionAddress, contractAddress: _contractAddress, ...rest } = req;\n\tconst contractAddress = _contractAddress || _collectionAddress;\n\treturn {\n\t\t...rest,\n\t\tcontractAddress\n\t};\n}\nfunction toGetTokenIDRangesArgs(req) {\n\treturn { contractAddress: req.contractAddress || req.collectionAddress };\n}\nfunction toGetUserCollectionBalancesArgs(req) {\n\treturn {\n\t\tfilter: {\n\t\t\taccountAddresses: [req.userAddress],\n\t\t\tcontractAddresses: [req.collectionAddress]\n\t\t},\n\t\tomitMetadata: req.includeMetadata === false ? true : void 0\n\t};\n}\n\n//#endregion\nexport { toTokenSupply as _, toGetTokenBalancesDetailsResponse as a, toGetTokenIDRangesResponse as c, toGetUserCollectionBalancesArgs as d, toNativeTokenBalance as f, toTokenMetadata as g, toTokenIDRange as h, toGetTokenBalancesByContractResponse as i, toGetTokenSuppliesArgs as l, toTokenBalance as m, toGetNativeTokenBalanceResponse as n, toGetTokenBalancesResponse as o, toPage as p, toGetTokenBalancesArgs as r, toGetTokenIDRangesArgs as s, toContractInfo as t, toGetTokenSuppliesResponse as u, toTransactionReceipt as v };\n//# sourceMappingURL=transforms.js.map","import { n as __export } from \"./chunk.js\";\n\n//#region src/adapters/marketplace/marketplace.gen.ts\nvar marketplace_gen_exports = /* @__PURE__ */ __export({\n\tAbortedError: () => AbortedError,\n\tAccessKeyMismatchError: () => AccessKeyMismatchError,\n\tAccessKeyNotFoundError: () => AccessKeyNotFoundError,\n\tActivityAction: () => ActivityAction,\n\tAdmin: () => Admin,\n\tAtLeastOneKeyError: () => AtLeastOneKeyError,\n\tCollectibleSource: () => CollectibleSource,\n\tCollectibleStatus: () => CollectibleStatus,\n\tCollectionPriority: () => CollectionPriority,\n\tCollectionStatus: () => CollectionStatus,\n\tContractType: () => ContractType,\n\tCurrencyStatus: () => CurrencyStatus,\n\tExecuteType: () => ExecuteType,\n\tGeoblockedError: () => GeoblockedError,\n\tInvalidArgumentError: () => InvalidArgumentError,\n\tInvalidChainError: () => InvalidChainError,\n\tInvalidOriginError: () => InvalidOriginError,\n\tInvalidServiceError: () => InvalidServiceError,\n\tItemsContractStatus: () => ItemsContractStatus,\n\tJsonDecode: () => JsonDecode,\n\tJsonEncode: () => JsonEncode,\n\tMarketplace: () => Marketplace,\n\tMarketplaceKind: () => MarketplaceKind,\n\tMaxAccessKeysError: () => MaxAccessKeysError,\n\tMetadataStatus: () => MetadataStatus,\n\tMethodNotFoundError: () => MethodNotFoundError,\n\tNoDefaultKeyError: () => NoDefaultKeyError,\n\tNotFoundError: () => NotFoundError,\n\tNotImplementedError: () => NotImplementedError,\n\tOfferType: () => OfferType,\n\tOrderSide: () => OrderSide,\n\tOrderStatus: () => OrderStatus,\n\tOrderbookKind: () => OrderbookKind,\n\tPermissionDeniedError: () => PermissionDeniedError,\n\tPrimarySaleContractStatus: () => PrimarySaleContractStatus,\n\tPrimarySaleItemDetailType: () => PrimarySaleItemDetailType,\n\tPrimarySaleVersion: () => PrimarySaleVersion,\n\tProjectNotFoundError: () => ProjectNotFoundError,\n\tProjectStatus: () => ProjectStatus,\n\tPropertyType: () => PropertyType,\n\tQuotaExceededError: () => QuotaExceededError,\n\tQuotaRateLimitError: () => QuotaRateLimitError,\n\tRateLimitedError: () => RateLimitedError,\n\tRequestConflictError: () => RequestConflictError,\n\tSecretKeyCorsDisallowedError: () => SecretKeyCorsDisallowedError,\n\tSessionExpiredError: () => SessionExpiredError,\n\tSortOrder: () => SortOrder,\n\tSourceKind: () => SourceKind,\n\tStepType: () => StepType,\n\tTimeoutError: () => TimeoutError,\n\tTransactionCrypto: () => TransactionCrypto,\n\tTransactionNFTCheckoutProvider: () => TransactionNFTCheckoutProvider,\n\tTransactionOnRampProvider: () => TransactionOnRampProvider,\n\tTransactionSwapProvider: () => TransactionSwapProvider,\n\tUnauthorizedError: () => UnauthorizedError,\n\tUnauthorizedUserError: () => UnauthorizedUserError,\n\tVersionFromHeader: () => VersionFromHeader,\n\tWalletKind: () => WalletKind,\n\tWebrpcBadMethodError: () => WebrpcBadMethodError,\n\tWebrpcBadRequestError: () => WebrpcBadRequestError,\n\tWebrpcBadResponseError: () => WebrpcBadResponseError,\n\tWebrpcBadRouteError: () => WebrpcBadRouteError,\n\tWebrpcClientAbortedError: () => WebrpcClientAbortedError,\n\tWebrpcEndpointError: () => WebrpcEndpointError,\n\tWebrpcError: () => WebrpcError,\n\tWebrpcErrorCodes: () => WebrpcErrorCodes,\n\tWebrpcHeader: () => WebrpcHeader,\n\tWebrpcHeaderValue: () => WebrpcHeaderValue,\n\tWebrpcInternalErrorError: () => WebrpcInternalErrorError,\n\tWebrpcRequestFailedError: () => WebrpcRequestFailedError,\n\tWebrpcSchemaHash: () => WebrpcSchemaHash,\n\tWebrpcSchemaVersion: () => WebrpcSchemaVersion,\n\tWebrpcServerPanicError: () => WebrpcServerPanicError,\n\tWebrpcStreamFinishedError: () => WebrpcStreamFinishedError,\n\tWebrpcStreamLostError: () => WebrpcStreamLostError,\n\tWebrpcVersion: () => WebrpcVersion,\n\terrors: () => errors,\n\twebrpcErrorByCode: () => webrpcErrorByCode\n});\nconst WebrpcVersion = \"v1\";\nconst WebrpcSchemaVersion = \"v0-25.11.10+051e186\";\nconst WebrpcSchemaHash = \"4e2360c7b6314298aa3190c291646b7f0356c723\";\nlet SortOrder = /* @__PURE__ */ function(SortOrder$1) {\n\tSortOrder$1[\"ASC\"] = \"ASC\";\n\tSortOrder$1[\"DESC\"] = \"DESC\";\n\treturn SortOrder$1;\n}({});\nlet PropertyType = /* @__PURE__ */ function(PropertyType$1) {\n\tPropertyType$1[\"INT\"] = \"INT\";\n\tPropertyType$1[\"STRING\"] = \"STRING\";\n\tPropertyType$1[\"ARRAY\"] = \"ARRAY\";\n\tPropertyType$1[\"GENERIC\"] = \"GENERIC\";\n\treturn PropertyType$1;\n}({});\nlet MarketplaceKind = /* @__PURE__ */ function(MarketplaceKind$1) {\n\tMarketplaceKind$1[\"unknown\"] = \"unknown\";\n\tMarketplaceKind$1[\"sequence_marketplace_v1\"] = \"sequence_marketplace_v1\";\n\tMarketplaceKind$1[\"sequence_marketplace_v2\"] = \"sequence_marketplace_v2\";\n\tMarketplaceKind$1[\"blur\"] = \"blur\";\n\tMarketplaceKind$1[\"zerox\"] = \"zerox\";\n\tMarketplaceKind$1[\"opensea\"] = \"opensea\";\n\tMarketplaceKind$1[\"looks_rare\"] = \"looks_rare\";\n\tMarketplaceKind$1[\"x2y2\"] = \"x2y2\";\n\tMarketplaceKind$1[\"alienswap\"] = \"alienswap\";\n\tMarketplaceKind$1[\"payment_processor\"] = \"payment_processor\";\n\tMarketplaceKind$1[\"mintify\"] = \"mintify\";\n\tMarketplaceKind$1[\"magic_eden\"] = \"magic_eden\";\n\treturn MarketplaceKind$1;\n}({});\nlet OrderbookKind = /* @__PURE__ */ function(OrderbookKind$1) {\n\tOrderbookKind$1[\"unknown\"] = \"unknown\";\n\tOrderbookKind$1[\"sequence_marketplace_v1\"] = \"sequence_marketplace_v1\";\n\tOrderbookKind$1[\"sequence_marketplace_v2\"] = \"sequence_marketplace_v2\";\n\tOrderbookKind$1[\"blur\"] = \"blur\";\n\tOrderbookKind$1[\"opensea\"] = \"opensea\";\n\tOrderbookKind$1[\"looks_rare\"] = \"looks_rare\";\n\tOrderbookKind$1[\"reservoir\"] = \"reservoir\";\n\tOrderbookKind$1[\"x2y2\"] = \"x2y2\";\n\tOrderbookKind$1[\"magic_eden\"] = \"magic_eden\";\n\treturn OrderbookKind$1;\n}({});\nlet SourceKind = /* @__PURE__ */ function(SourceKind$1) {\n\tSourceKind$1[\"unknown\"] = \"unknown\";\n\tSourceKind$1[\"external\"] = \"external\";\n\tSourceKind$1[\"sequence_marketplace_v1\"] = \"sequence_marketplace_v1\";\n\tSourceKind$1[\"sequence_marketplace_v2\"] = \"sequence_marketplace_v2\";\n\tSourceKind$1[\"opensea\"] = \"opensea\";\n\tSourceKind$1[\"magic_eden\"] = \"magic_eden\";\n\treturn SourceKind$1;\n}({});\nlet OrderSide = /* @__PURE__ */ function(OrderSide$1) {\n\tOrderSide$1[\"unknown\"] = \"unknown\";\n\tOrderSide$1[\"listing\"] = \"listing\";\n\tOrderSide$1[\"offer\"] = \"offer\";\n\treturn OrderSide$1;\n}({});\nlet OfferType = /* @__PURE__ */ function(OfferType$1) {\n\tOfferType$1[\"unknown\"] = \"unknown\";\n\tOfferType$1[\"item\"] = \"item\";\n\tOfferType$1[\"collection\"] = \"collection\";\n\treturn OfferType$1;\n}({});\nlet OrderStatus = /* @__PURE__ */ function(OrderStatus$1) {\n\tOrderStatus$1[\"unknown\"] = \"unknown\";\n\tOrderStatus$1[\"active\"] = \"active\";\n\tOrderStatus$1[\"inactive\"] = \"inactive\";\n\tOrderStatus$1[\"expired\"] = \"expired\";\n\tOrderStatus$1[\"cancelled\"] = \"cancelled\";\n\tOrderStatus$1[\"filled\"] = \"filled\";\n\tOrderStatus$1[\"decimals_missing\"] = \"decimals_missing\";\n\treturn OrderStatus$1;\n}({});\nlet ContractType = /* @__PURE__ */ function(ContractType$1) {\n\tContractType$1[\"UNKNOWN\"] = \"UNKNOWN\";\n\tContractType$1[\"ERC20\"] = \"ERC20\";\n\tContractType$1[\"ERC721\"] = \"ERC721\";\n\tContractType$1[\"ERC1155\"] = \"ERC1155\";\n\treturn ContractType$1;\n}({});\nlet CollectionPriority = /* @__PURE__ */ function(CollectionPriority$1) {\n\tCollectionPriority$1[\"unknown\"] = \"unknown\";\n\tCollectionPriority$1[\"low\"] = \"low\";\n\tCollectionPriority$1[\"normal\"] = \"normal\";\n\tCollectionPriority$1[\"high\"] = \"high\";\n\treturn CollectionPriority$1;\n}({});\nlet CollectionStatus = /* @__PURE__ */ function(CollectionStatus$1) {\n\tCollectionStatus$1[\"unknown\"] = \"unknown\";\n\tCollectionStatus$1[\"created\"] = \"created\";\n\tCollectionStatus$1[\"syncing_orders\"] = \"syncing_orders\";\n\tCollectionStatus$1[\"active\"] = \"active\";\n\tCollectionStatus$1[\"failed\"] = \"failed\";\n\tCollectionStatus$1[\"inactive\"] = \"inactive\";\n\tCollectionStatus$1[\"incompatible_type\"] = \"incompatible_type\";\n\treturn CollectionStatus$1;\n}({});\nlet ProjectStatus = /* @__PURE__ */ function(ProjectStatus$1) {\n\tProjectStatus$1[\"unknown\"] = \"unknown\";\n\tProjectStatus$1[\"active\"] = \"active\";\n\tProjectStatus$1[\"inactive\"] = \"inactive\";\n\treturn ProjectStatus$1;\n}({});\nlet ItemsContractStatus = /* @__PURE__ */ function(ItemsContractStatus$1) {\n\tItemsContractStatus$1[\"unknown\"] = \"unknown\";\n\tItemsContractStatus$1[\"created\"] = \"created\";\n\tItemsContractStatus$1[\"syncing_contract_metadata\"] = \"syncing_contract_metadata\";\n\tItemsContractStatus$1[\"synced_contract_metadata\"] = \"synced_contract_metadata\";\n\tItemsContractStatus$1[\"syncing_tokens\"] = \"syncing_tokens\";\n\tItemsContractStatus$1[\"synced_tokens\"] = \"synced_tokens\";\n\tItemsContractStatus$1[\"active\"] = \"active\";\n\tItemsContractStatus$1[\"inactive\"] = \"inactive\";\n\tItemsContractStatus$1[\"incompatible_type\"] = \"incompatible_type\";\n\treturn ItemsContractStatus$1;\n}({});\nlet CollectibleStatus = /* @__PURE__ */ function(CollectibleStatus$1) {\n\tCollectibleStatus$1[\"unknown\"] = \"unknown\";\n\tCollectibleStatus$1[\"active\"] = \"active\";\n\tCollectibleStatus$1[\"inactive\"] = \"inactive\";\n\treturn CollectibleStatus$1;\n}({});\nlet CollectibleSource = /* @__PURE__ */ function(CollectibleSource$1) {\n\tCollectibleSource$1[\"unknown\"] = \"unknown\";\n\tCollectibleSource$1[\"indexer\"] = \"indexer\";\n\tCollectibleSource$1[\"manual\"] = \"manual\";\n\treturn CollectibleSource$1;\n}({});\nlet CurrencyStatus = /* @__PURE__ */ function(CurrencyStatus$1) {\n\tCurrencyStatus$1[\"unknown\"] = \"unknown\";\n\tCurrencyStatus$1[\"created\"] = \"created\";\n\tCurrencyStatus$1[\"syncing_metadata\"] = \"syncing_metadata\";\n\tCurrencyStatus$1[\"active\"] = \"active\";\n\tCurrencyStatus$1[\"failed\"] = \"failed\";\n\treturn CurrencyStatus$1;\n}({});\nlet WalletKind = /* @__PURE__ */ function(WalletKind$1) {\n\tWalletKind$1[\"unknown\"] = \"unknown\";\n\tWalletKind$1[\"sequence\"] = \"sequence\";\n\treturn WalletKind$1;\n}({});\nlet StepType = /* @__PURE__ */ function(StepType$1) {\n\tStepType$1[\"unknown\"] = \"unknown\";\n\tStepType$1[\"tokenApproval\"] = \"tokenApproval\";\n\tStepType$1[\"buy\"] = \"buy\";\n\tStepType$1[\"sell\"] = \"sell\";\n\tStepType$1[\"createListing\"] = \"createListing\";\n\tStepType$1[\"createOffer\"] = \"createOffer\";\n\tStepType$1[\"signEIP712\"] = \"signEIP712\";\n\tStepType$1[\"signEIP191\"] = \"signEIP191\";\n\tStepType$1[\"cancel\"] = \"cancel\";\n\treturn StepType$1;\n}({});\nlet TransactionCrypto = /* @__PURE__ */ function(TransactionCrypto$1) {\n\tTransactionCrypto$1[\"none\"] = \"none\";\n\tTransactionCrypto$1[\"partially\"] = \"partially\";\n\tTransactionCrypto$1[\"all\"] = \"all\";\n\treturn TransactionCrypto$1;\n}({});\nlet TransactionNFTCheckoutProvider = /* @__PURE__ */ function(TransactionNFTCheckoutProvider$1) {\n\tTransactionNFTCheckoutProvider$1[\"unknown\"] = \"unknown\";\n\tTransactionNFTCheckoutProvider$1[\"transak\"] = \"transak\";\n\tTransactionNFTCheckoutProvider$1[\"sardine\"] = \"sardine\";\n\treturn TransactionNFTCheckoutProvider$1;\n}({});\nlet TransactionOnRampProvider = /* @__PURE__ */ function(TransactionOnRampProvider$1) {\n\tTransactionOnRampProvider$1[\"unknown\"] = \"unknown\";\n\tTransactionOnRampProvider$1[\"transak\"] = \"transak\";\n\tTransactionOnRampProvider$1[\"sardine\"] = \"sardine\";\n\treturn TransactionOnRampProvider$1;\n}({});\nlet TransactionSwapProvider = /* @__PURE__ */ function(TransactionSwapProvider$1) {\n\tTransactionSwapProvider$1[\"unknown\"] = \"unknown\";\n\tTransactionSwapProvider$1[\"lifi\"] = \"lifi\";\n\treturn TransactionSwapProvider$1;\n}({});\nlet ExecuteType = /* @__PURE__ */ function(ExecuteType$1) {\n\tExecuteType$1[\"unknown\"] = \"unknown\";\n\tExecuteType$1[\"order\"] = \"order\";\n\tExecuteType$1[\"createListing\"] = \"createListing\";\n\tExecuteType$1[\"createItemOffer\"] = \"createItemOffer\";\n\tExecuteType$1[\"createTraitOffer\"] = \"createTraitOffer\";\n\treturn ExecuteType$1;\n}({});\nlet ActivityAction = /* @__PURE__ */ function(ActivityAction$1) {\n\tActivityAction$1[\"unknown\"] = \"unknown\";\n\tActivityAction$1[\"listing\"] = \"listing\";\n\tActivityAction$1[\"offer\"] = \"offer\";\n\tActivityAction$1[\"mint\"] = \"mint\";\n\tActivityAction$1[\"sale\"] = \"sale\";\n\tActivityAction$1[\"listingCancel\"] = \"listingCancel\";\n\tActivityAction$1[\"offerCancel\"] = \"offerCancel\";\n\tActivityAction$1[\"transfer\"] = \"transfer\";\n\treturn ActivityAction$1;\n}({});\nlet PrimarySaleContractStatus = /* @__PURE__ */ function(PrimarySaleContractStatus$1) {\n\tPrimarySaleContractStatus$1[\"unknown\"] = \"unknown\";\n\tPrimarySaleContractStatus$1[\"created\"] = \"created\";\n\tPrimarySaleContractStatus$1[\"syncing_items\"] = \"syncing_items\";\n\tPrimarySaleContractStatus$1[\"active\"] = \"active\";\n\tPrimarySaleContractStatus$1[\"inactive\"] = \"inactive\";\n\tPrimarySaleContractStatus$1[\"incompatible_type\"] = \"incompatible_type\";\n\tPrimarySaleContractStatus$1[\"failed\"] = \"failed\";\n\treturn PrimarySaleContractStatus$1;\n}({});\nlet PrimarySaleVersion = /* @__PURE__ */ function(PrimarySaleVersion$1) {\n\tPrimarySaleVersion$1[\"v0\"] = \"v0\";\n\tPrimarySaleVersion$1[\"v1\"] = \"v1\";\n\treturn PrimarySaleVersion$1;\n}({});\nlet PrimarySaleItemDetailType = /* @__PURE__ */ function(PrimarySaleItemDetailType$1) {\n\tPrimarySaleItemDetailType$1[\"unknown\"] = \"unknown\";\n\tPrimarySaleItemDetailType$1[\"global\"] = \"global\";\n\tPrimarySaleItemDetailType$1[\"individual\"] = \"individual\";\n\treturn PrimarySaleItemDetailType$1;\n}({});\nlet MetadataStatus = /* @__PURE__ */ function(MetadataStatus$1) {\n\tMetadataStatus$1[\"NOT_AVAILABLE\"] = \"NOT_AVAILABLE\";\n\tMetadataStatus$1[\"REFRESHING\"] = \"REFRESHING\";\n\tMetadataStatus$1[\"AVAILABLE\"] = \"AVAILABLE\";\n\treturn MetadataStatus$1;\n}({});\nvar Admin = class {\n\thostname;\n\tfetch;\n\tpath = \"/rpc/Admin/\";\n\tconstructor(hostname, fetch) {\n\t\tthis.hostname = hostname.replace(/\\/*$/, \"\");\n\t\tthis.fetch = (input, init) => fetch(input, init);\n\t}\n\turl(name) {\n\t\treturn this.hostname + this.path + name;\n\t}\n\tqueryKey = {\n\t\tcreateCollection: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"createCollection\",\n\t\t\treq\n\t\t],\n\t\tgetCollection: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"getCollection\",\n\t\t\treq\n\t\t],\n\t\tupdateCollection: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"updateCollection\",\n\t\t\treq\n\t\t],\n\t\tlistCollections: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"listCollections\",\n\t\t\treq\n\t\t],\n\t\tdeleteCollection: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"deleteCollection\",\n\t\t\treq\n\t\t],\n\t\tsyncCollection: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"syncCollection\",\n\t\t\treq\n\t\t],\n\t\tcreatePrimarySaleContract: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"createPrimarySaleContract\",\n\t\t\treq\n\t\t],\n\t\tdeletePrimarySaleContract: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"deletePrimarySaleContract\",\n\t\t\treq\n\t\t],\n\t\tcreateCurrency: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"createCurrency\",\n\t\t\treq\n\t\t],\n\t\tcreateCurrencies: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"createCurrencies\",\n\t\t\treq\n\t\t],\n\t\tupdateCurrency: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"updateCurrency\",\n\t\t\treq\n\t\t],\n\t\tlistCurrencies: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"listCurrencies\",\n\t\t\treq\n\t\t],\n\t\tdeleteCurrency: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"deleteCurrency\",\n\t\t\treq\n\t\t],\n\t\taddCollectibles: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"addCollectibles\",\n\t\t\treq\n\t\t]\n\t};\n\tcreateCollection = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"CreateCollection\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"CreateCollectionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollection = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollection\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tupdateCollection = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"UpdateCollection\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"UpdateCollectionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistCollections = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListCollections\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListCollectionsResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tdeleteCollection = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"DeleteCollection\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"DeleteCollectionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tsyncCollection = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"SyncCollection\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"SyncCollectionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tcreatePrimarySaleContract = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"CreatePrimarySaleContract\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"CreatePrimarySaleContractResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tdeletePrimarySaleContract = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"DeletePrimarySaleContract\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"DeletePrimarySaleContractResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tcreateCurrency = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"CreateCurrency\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"CreateCurrencyResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tcreateCurrencies = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"CreateCurrencies\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"CreateCurrenciesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tupdateCurrency = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"UpdateCurrency\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"UpdateCurrencyResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistCurrencies = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListCurrencies\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListCurrenciesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tdeleteCurrency = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"DeleteCurrency\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"DeleteCurrencyResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\taddCollectibles = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"AddCollectibles\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"AddCollectiblesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n};\nvar Marketplace = class {\n\thostname;\n\tfetch;\n\tpath = \"/rpc/Marketplace/\";\n\tconstructor(hostname, fetch) {\n\t\tthis.hostname = hostname.replace(/\\/*$/, \"\");\n\t\tthis.fetch = (input, init) => fetch(input, init);\n\t}\n\turl(name) {\n\t\treturn this.hostname + this.path + name;\n\t}\n\tqueryKey = {\n\t\tlistCurrencies: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listCurrencies\",\n\t\t\treq\n\t\t],\n\t\tgetCollectionDetail: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCollectionDetail\",\n\t\t\treq\n\t\t],\n\t\tgetCollectionActiveListingsCurrencies: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCollectionActiveListingsCurrencies\",\n\t\t\treq\n\t\t],\n\t\tgetCollectionActiveOffersCurrencies: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCollectionActiveOffersCurrencies\",\n\t\t\treq\n\t\t],\n\t\tgetCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCollectible\",\n\t\t\treq\n\t\t],\n\t\tgetLowestPriceOfferForCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getLowestPriceOfferForCollectible\",\n\t\t\treq\n\t\t],\n\t\tgetHighestPriceOfferForCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getHighestPriceOfferForCollectible\",\n\t\t\treq\n\t\t],\n\t\tgetLowestPriceListingForCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getLowestPriceListingForCollectible\",\n\t\t\treq\n\t\t],\n\t\tgetHighestPriceListingForCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getHighestPriceListingForCollectible\",\n\t\t\treq\n\t\t],\n\t\tlistListingsForCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listListingsForCollectible\",\n\t\t\treq\n\t\t],\n\t\tlistOffersForCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listOffersForCollectible\",\n\t\t\treq\n\t\t],\n\t\tlistOrdersWithCollectibles: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listOrdersWithCollectibles\",\n\t\t\treq\n\t\t],\n\t\tgetCountOfAllOrders: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCountOfAllOrders\",\n\t\t\treq\n\t\t],\n\t\tgetCountOfFilteredOrders: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCountOfFilteredOrders\",\n\t\t\treq\n\t\t],\n\t\tlistListings: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listListings\",\n\t\t\treq\n\t\t],\n\t\tlistOffers: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listOffers\",\n\t\t\treq\n\t\t],\n\t\tgetCountOfListingsForCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCountOfListingsForCollectible\",\n\t\t\treq\n\t\t],\n\t\tgetCountOfOffersForCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCountOfOffersForCollectible\",\n\t\t\treq\n\t\t],\n\t\tgetCollectibleLowestOffer: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCollectibleLowestOffer\",\n\t\t\treq\n\t\t],\n\t\tgetCollectibleHighestOffer: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCollectibleHighestOffer\",\n\t\t\treq\n\t\t],\n\t\tgetCollectibleLowestListing: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCollectibleLowestListing\",\n\t\t\treq\n\t\t],\n\t\tgetCollectibleHighestListing: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCollectibleHighestListing\",\n\t\t\treq\n\t\t],\n\t\tlistCollectibleListings: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listCollectibleListings\",\n\t\t\treq\n\t\t],\n\t\tlistCollectibleOffers: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listCollectibleOffers\",\n\t\t\treq\n\t\t],\n\t\tgenerateBuyTransaction: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"generateBuyTransaction\",\n\t\t\treq\n\t\t],\n\t\tgenerateSellTransaction: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"generateSellTransaction\",\n\t\t\treq\n\t\t],\n\t\tgenerateListingTransaction: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"generateListingTransaction\",\n\t\t\treq\n\t\t],\n\t\tgenerateOfferTransaction: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"generateOfferTransaction\",\n\t\t\treq\n\t\t],\n\t\tgenerateCancelTransaction: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"generateCancelTransaction\",\n\t\t\treq\n\t\t],\n\t\texecute: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"execute\",\n\t\t\treq\n\t\t],\n\t\tlistCollectibles: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listCollectibles\",\n\t\t\treq\n\t\t],\n\t\tgetCountOfAllCollectibles: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCountOfAllCollectibles\",\n\t\t\treq\n\t\t],\n\t\tgetCountOfFilteredCollectibles: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCountOfFilteredCollectibles\",\n\t\t\treq\n\t\t],\n\t\tgetFloorOrder: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getFloorOrder\",\n\t\t\treq\n\t\t],\n\t\tlistCollectiblesWithLowestListing: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listCollectiblesWithLowestListing\",\n\t\t\treq\n\t\t],\n\t\tlistCollectiblesWithHighestOffer: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listCollectiblesWithHighestOffer\",\n\t\t\treq\n\t\t],\n\t\tsyncOrder: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"syncOrder\",\n\t\t\treq\n\t\t],\n\t\tsyncOrders: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"syncOrders\",\n\t\t\treq\n\t\t],\n\t\tgetOrders: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getOrders\",\n\t\t\treq\n\t\t],\n\t\tcheckoutOptionsMarketplace: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"checkoutOptionsMarketplace\",\n\t\t\treq\n\t\t],\n\t\tcheckoutOptionsSalesContract: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"checkoutOptionsSalesContract\",\n\t\t\treq\n\t\t],\n\t\tsupportedMarketplaces: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"supportedMarketplaces\",\n\t\t\treq\n\t\t],\n\t\tgetPrimarySaleItem: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getPrimarySaleItem\",\n\t\t\treq\n\t\t],\n\t\tlistPrimarySaleItems: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listPrimarySaleItems\",\n\t\t\treq\n\t\t],\n\t\tgetCountOfPrimarySaleItems: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCountOfPrimarySaleItems\",\n\t\t\treq\n\t\t]\n\t};\n\tlistCurrencies = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListCurrencies\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListCurrenciesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollectionDetail = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollectionDetail\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectionDetailResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollectionActiveListingsCurrencies = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollectionActiveListingsCurrencies\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectionActiveListingsCurrenciesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollectionActiveOffersCurrencies = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollectionActiveOffersCurrencies\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectionActiveOffersCurrenciesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetLowestPriceOfferForCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetLowestPriceOfferForCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetLowestPriceOfferForCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetHighestPriceOfferForCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetHighestPriceOfferForCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetHighestPriceOfferForCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetLowestPriceListingForCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetLowestPriceListingForCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetLowestPriceListingForCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetHighestPriceListingForCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetHighestPriceListingForCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetHighestPriceListingForCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistListingsForCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListListingsForCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListListingsForCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistOffersForCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListOffersForCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListOffersForCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistOrdersWithCollectibles = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListOrdersWithCollectibles\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListOrdersWithCollectiblesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCountOfAllOrders = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCountOfAllOrders\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCountOfAllOrdersResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCountOfFilteredOrders = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCountOfFilteredOrders\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCountOfFilteredOrdersResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistListings = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListListings\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListListingsResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistOffers = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListOffers\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListOffersResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCountOfListingsForCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCountOfListingsForCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCountOfListingsForCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCountOfOffersForCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCountOfOffersForCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCountOfOffersForCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollectibleLowestOffer = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollectibleLowestOffer\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectibleLowestOfferResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollectibleHighestOffer = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollectibleHighestOffer\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectibleHighestOfferResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollectibleLowestListing = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollectibleLowestListing\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectibleLowestListingResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollectibleHighestListing = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollectibleHighestListing\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectibleHighestListingResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistCollectibleListings = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListCollectibleListings\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListCollectibleListingsResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistCollectibleOffers = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListCollectibleOffers\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListCollectibleOffersResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgenerateBuyTransaction = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GenerateBuyTransaction\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GenerateBuyTransactionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgenerateSellTransaction = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GenerateSellTransaction\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GenerateSellTransactionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgenerateListingTransaction = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GenerateListingTransaction\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GenerateListingTransactionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgenerateOfferTransaction = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GenerateOfferTransaction\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GenerateOfferTransactionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgenerateCancelTransaction = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GenerateCancelTransaction\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GenerateCancelTransactionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\texecute = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"Execute\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ExecuteResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistCollectibles = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListCollectibles\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListCollectiblesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCountOfAllCollectibles = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCountOfAllCollectibles\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCountOfAllCollectiblesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCountOfFilteredCollectibles = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCountOfFilteredCollectibles\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCountOfFilteredCollectiblesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetFloorOrder = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetFloorOrder\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetFloorOrderResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistCollectiblesWithLowestListing = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListCollectiblesWithLowestListing\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListCollectiblesWithLowestListingResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistCollectiblesWithHighestOffer = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListCollectiblesWithHighestOffer\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListCollectiblesWithHighestOfferResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tsyncOrder = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"SyncOrder\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"SyncOrderResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tsyncOrders = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"SyncOrders\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"SyncOrdersResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetOrders = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetOrders\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetOrdersResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tcheckoutOptionsMarketplace = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"CheckoutOptionsMarketplace\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"CheckoutOptionsMarketplaceResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tcheckoutOptionsSalesContract = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"CheckoutOptionsSalesContract\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"CheckoutOptionsSalesContractResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tsupportedMarketplaces = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"SupportedMarketplaces\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"SupportedMarketplacesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetPrimarySaleItem = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetPrimarySaleItem\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetPrimarySaleItemResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistPrimarySaleItems = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListPrimarySaleItems\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListPrimarySaleItemsResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCountOfPrimarySaleItems = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCountOfPrimarySaleItems\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCountOfPrimarySaleItemsResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n};\nconst createHttpRequest = (body = \"{}\", headers = {}, signal = null) => {\n\treturn {\n\t\tmethod: \"POST\",\n\t\theaders: {\n\t\t\t...headers,\n\t\t\t\"Content-Type\": \"application/json\",\n\t\t\t[WebrpcHeader]: WebrpcHeaderValue\n\t\t},\n\t\tbody,\n\t\tsignal\n\t};\n};\nconst buildResponse = (res) => {\n\treturn res.text().then((text) => {\n\t\tlet data;\n\t\ttry {\n\t\t\tdata = JSON.parse(text);\n\t\t} catch (error) {\n\t\t\tthrow WebrpcBadResponseError.new({\n\t\t\t\tstatus: res.status,\n\t\t\t\tcause: `JSON.parse(): ${error instanceof Error ? error.message : String(error)}: response text: ${text}`\n\t\t\t});\n\t\t}\n\t\tif (!res.ok) throw (webrpcErrorByCode[typeof data.code === \"number\" ? data.code : 0] || WebrpcError).new(data);\n\t\treturn data;\n\t});\n};\nconst BIG_INT_FIELDS = {\n\tActivity: [\n\t\t\"tokenId\",\n\t\t\"quantity\",\n\t\t\"priceAmount\"\n\t],\n\tAddCollectiblesRequest: [\"tokenIds[]\"],\n\tAdditionalFee: [\"amount\"],\n\tAsset: [\"tokenId\"],\n\tCheckoutOptionsItem: [\"tokenId\", \"quantity\"],\n\tCheckoutOptionsSalesContractRequest: [[\"items\", \"CheckoutOptionsItem[]\"]],\n\tCollectible: [\"tokenId\"],\n\tCollectibleOrder: [\n\t\t[\"metadata\", \"TokenMetadata\"],\n\t\t[\"order\", \"Order\"],\n\t\t[\"listing\", \"Order\"],\n\t\t[\"offer\", \"Order\"]\n\t],\n\tCollectiblePrimarySaleItem: [[\"metadata\", \"TokenMetadata\"], [\"primarySaleItem\", \"PrimarySaleItem\"]],\n\tCollectiblesFilter: [[\"prices\", \"PriceFilter[]\"]],\n\tCreateReq: [\n\t\t\"tokenId\",\n\t\t\"quantity\",\n\t\t\"pricePerToken\"\n\t],\n\tGenerateBuySellTransactionResponse: [[\"steps\", \"Step[]\"]],\n\tGenerateBuyTransactionRequest: [[\"ordersData\", \"OrderData[]\"], [\"additionalFees\", \"AdditionalFee[]\"]],\n\tGenerateBuyTransactionResponse: [[\"resp\", \"GenerateBuySellTransactionResponse\"], [\"steps\", \"Step[]\"]],\n\tGenerateCancelTransactionResponse: [[\"steps\", \"Step[]\"]],\n\tGenerateListingTransactionRequest: [[\"listing\", \"CreateReq\"], [\"additionalFees\", \"AdditionalFee[]\"]],\n\tGenerateListingTransactionResponse: [[\"steps\", \"Step[]\"]],\n\tGenerateOfferTransactionRequest: [[\"offer\", \"CreateReq\"], [\"additionalFees\", \"AdditionalFee[]\"]],\n\tGenerateOfferTransactionResponse: [[\"steps\", \"Step[]\"]],\n\tGenerateSellTransactionRequest: [[\"ordersData\", \"OrderData[]\"], [\"additionalFees\", \"AdditionalFee[]\"]],\n\tGenerateSellTransactionResponse: [[\"resp\", \"GenerateBuySellTransactionResponse\"], [\"steps\", \"Step[]\"]],\n\tGetCollectibleHighestListingRequest: [\"tokenId\"],\n\tGetCollectibleHighestListingResponse: [[\"order\", \"Order\"]],\n\tGetCollectibleHighestOfferRequest: [\"tokenId\"],\n\tGetCollectibleHighestOfferResponse: [[\"order\", \"Order\"]],\n\tGetCollectibleLowestListingRequest: [\"tokenId\"],\n\tGetCollectibleLowestListingResponse: [[\"order\", \"Order\"]],\n\tGetCollectibleLowestOfferRequest: [\"tokenId\"],\n\tGetCollectibleLowestOfferResponse: [[\"order\", \"Order\"]],\n\tGetCollectibleRequest: [\"tokenId\"],\n\tGetCollectibleResponse: [[\"metadata\", \"TokenMetadata\"]],\n\tGetCountOfFilteredCollectiblesRequest: [[\"filter\", \"CollectiblesFilter\"]],\n\tGetCountOfFilteredOrdersRequest: [[\"filter\", \"OrdersFilter\"]],\n\tGetCountOfListingsForCollectibleRequest: [\"tokenId\"],\n\tGetCountOfOffersForCollectibleRequest: [\"tokenId\"],\n\tGetFloorOrderRequest: [[\"filter\", \"CollectiblesFilter\"]],\n\tGetFloorOrderResponse: [[\"collectible\", \"CollectibleOrder\"]],\n\tGetHighestPriceListingForCollectibleRequest: [\"tokenId\"],\n\tGetHighestPriceListingForCollectibleResponse: [[\"order\", \"Order\"]],\n\tGetHighestPriceOfferForCollectibleRequest: [\"tokenId\"],\n\tGetHighestPriceOfferForCollectibleResponse: [[\"order\", \"Order\"]],\n\tGetLowestPriceListingForCollectibleRequest: [\"tokenId\"],\n\tGetLowestPriceListingForCollectibleResponse: [[\"order\", \"Order\"]],\n\tGetLowestPriceOfferForCollectibleRequest: [\"tokenId\"],\n\tGetLowestPriceOfferForCollectibleResponse: [[\"order\", \"Order\"]],\n\tGetOrdersResponse: [[\"orders\", \"Order[]\"]],\n\tGetPrimarySaleItemRequest: [\"tokenId\"],\n\tGetPrimarySaleItemResponse: [[\"item\", \"CollectiblePrimarySaleItem\"]],\n\tListCollectibleActivitiesRequest: [\"tokenId\"],\n\tListCollectibleActivitiesResponse: [[\"activities\", \"Activity[]\"]],\n\tListCollectibleListingsRequest: [\"tokenId\"],\n\tListCollectibleListingsResponse: [[\"listings\", \"Order[]\"]],\n\tListCollectibleOffersRequest: [\"tokenId\"],\n\tListCollectibleOffersResponse: [[\"offers\", \"Order[]\"]],\n\tListCollectiblesRequest: [[\"filter\", \"CollectiblesFilter\"]],\n\tListCollectiblesResponse: [[\"collectibles\", \"CollectibleOrder[]\"]],\n\tListCollectiblesWithHighestOfferRequest: [[\"filter\", \"CollectiblesFilter\"]],\n\tListCollectiblesWithHighestOfferResponse: [[\"collectibles\", \"CollectibleOrder[]\"]],\n\tListCollectiblesWithLowestListingRequest: [[\"filter\", \"CollectiblesFilter\"]],\n\tListCollectiblesWithLowestListingResponse: [[\"collectibles\", \"CollectibleOrder[]\"]],\n\tListCollectionActivitiesResponse: [[\"activities\", \"Activity[]\"]],\n\tListListingsForCollectibleRequest: [\"tokenId\"],\n\tListListingsForCollectibleResponse: [[\"listings\", \"Order[]\"]],\n\tListListingsResponse: [[\"listings\", \"Order[]\"]],\n\tListOffersForCollectibleRequest: [\"tokenId\"],\n\tListOffersForCollectibleResponse: [[\"offers\", \"Order[]\"]],\n\tListOffersResponse: [[\"offers\", \"Order[]\"]],\n\tListOrdersWithCollectiblesRequest: [[\"filter\", \"OrdersFilter\"]],\n\tListOrdersWithCollectiblesResponse: [[\"collectibles\", \"CollectibleOrder[]\"]],\n\tListPrimarySaleItemsResponse: [[\"primarySaleItems\", \"CollectiblePrimarySaleItem[]\"]],\n\tOrder: [\n\t\t\"tokenId\",\n\t\t\"priceAmount\",\n\t\t\"priceAmountNet\",\n\t\t\"quantityInitial\",\n\t\t\"quantityRemaining\",\n\t\t\"quantityAvailable\"\n\t],\n\tOrderData: [\"quantity\", \"tokenId\"],\n\tOrdersFilter: [[\"prices\", \"PriceFilter[]\"]],\n\tPriceFilter: [\"min\", \"max\"],\n\tPrimarySaleItem: [\n\t\t\"tokenId\",\n\t\t\"priceAmount\",\n\t\t\"supply\",\n\t\t\"supplyCap\"\n\t],\n\tStep: [\"value\", \"price\"],\n\tSyncOrderRequest: [[\"order\", \"Order\"]],\n\tSyncOrdersRequest: [[\"orders\", \"Order[]\"]],\n\tTokenMetadata: [\"tokenId\", [\"assets\", \"Asset[]\"]]\n};\nfunction decodeType(typ, obj) {\n\tif (obj == null || typeof obj !== \"object\") return obj;\n\tconst descs = BIG_INT_FIELDS[typ] || [];\n\tif (!descs.length) return obj;\n\tfor (const d of descs) {\n\t\tif (Array.isArray(d)) {\n\t\t\tconst [fieldName, nestedType] = d;\n\t\t\tif (fieldName.endsWith(\"[]\")) {\n\t\t\t\tconst arr = obj[fieldName.slice(0, -2)];\n\t\t\t\tif (Array.isArray(arr)) for (let i = 0; i < arr.length; i++) arr[i] = decodeType(nestedType, arr[i]);\n\t\t\t} else if (obj[fieldName]) if (nestedType.endsWith(\"[]\")) {\n\t\t\t\tconst baseType = nestedType.slice(0, -2);\n\t\t\t\tconst arr = obj[fieldName];\n\t\t\t\tif (Array.isArray(arr)) for (let i = 0; i < arr.length; i++) arr[i] = decodeType(baseType, arr[i]);\n\t\t\t} else obj[fieldName] = decodeType(nestedType, obj[fieldName]);\n\t\t\tcontinue;\n\t\t}\n\t\tif (d.endsWith(\"[]\")) {\n\t\t\tconst base = d.slice(0, -2);\n\t\t\tconst arr = obj[base];\n\t\t\tif (Array.isArray(arr)) for (let i = 0; i < arr.length; i++) {\n\t\t\t\tconst v$1 = arr[i];\n\t\t\t\tif (typeof v$1 === \"string\") try {\n\t\t\t\t\tarr[i] = BigInt(v$1);\n\t\t\t\t} catch (e) {\n\t\t\t\t\tthrow WebrpcBadResponseError.new({ cause: `Invalid bigint value for ${base}[${i}]: ${v$1}` });\n\t\t\t\t}\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\t\tconst v = obj[d];\n\t\tif (typeof v === \"string\") try {\n\t\t\tobj[d] = BigInt(v);\n\t\t} catch (e) {\n\t\t\tthrow WebrpcBadResponseError.new({ cause: `Invalid bigint value for ${d}: ${v}` });\n\t\t}\n\t}\n\treturn obj;\n}\nconst JsonEncode = (obj) => {\n\treturn JSON.stringify(obj, (_key, value) => typeof value === \"bigint\" ? value.toString() : value);\n};\nconst JsonDecode = (data, typ = \"\") => {\n\tlet parsed = data;\n\tif (typeof data === \"string\") try {\n\t\tparsed = JSON.parse(data);\n\t} catch (err) {\n\t\tthrow WebrpcBadResponseError.new({ cause: `JsonDecode: JSON.parse failed: ${err.message}` });\n\t}\n\treturn decodeType(typ, parsed);\n};\nvar WebrpcError = class WebrpcError extends Error {\n\tcode;\n\tstatus;\n\tconstructor(error = {}) {\n\t\tsuper(error.message);\n\t\tthis.name = error.name || \"WebrpcEndpointError\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 0;\n\t\tthis.message = error.message || `endpoint error`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcError.prototype);\n\t}\n\tstatic new(payload) {\n\t\treturn new this({\n\t\t\tmessage: payload.message,\n\t\t\tcode: payload.code,\n\t\t\tstatus: payload.status,\n\t\t\tcause: payload.cause\n\t\t});\n\t}\n};\nvar WebrpcEndpointError = class WebrpcEndpointError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcEndpoint\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 0;\n\t\tthis.message = error.message || `endpoint error`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcEndpointError.prototype);\n\t}\n};\nvar WebrpcRequestFailedError = class WebrpcRequestFailedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcRequestFailed\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -1;\n\t\tthis.message = error.message || `request failed`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcRequestFailedError.prototype);\n\t}\n};\nvar WebrpcBadRouteError = class WebrpcBadRouteError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcBadRoute\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -2;\n\t\tthis.message = error.message || `bad route`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 404;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcBadRouteError.prototype);\n\t}\n};\nvar WebrpcBadMethodError = class WebrpcBadMethodError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcBadMethod\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -3;\n\t\tthis.message = error.message || `bad method`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 405;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcBadMethodError.prototype);\n\t}\n};\nvar WebrpcBadRequestError = class WebrpcBadRequestError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcBadRequest\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -4;\n\t\tthis.message = error.message || `bad request`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcBadRequestError.prototype);\n\t}\n};\nvar WebrpcBadResponseError = class WebrpcBadResponseError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcBadResponse\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -5;\n\t\tthis.message = error.message || `bad response`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 500;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcBadResponseError.prototype);\n\t}\n};\nvar WebrpcServerPanicError = class WebrpcServerPanicError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcServerPanic\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -6;\n\t\tthis.message = error.message || `server panic`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 500;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcServerPanicError.prototype);\n\t}\n};\nvar WebrpcInternalErrorError = class WebrpcInternalErrorError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcInternalError\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -7;\n\t\tthis.message = error.message || `internal error`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 500;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcInternalErrorError.prototype);\n\t}\n};\nvar WebrpcClientAbortedError = class WebrpcClientAbortedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcClientAborted\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -8;\n\t\tthis.message = error.message || `request aborted by client`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcClientAbortedError.prototype);\n\t}\n};\nvar WebrpcStreamLostError = class WebrpcStreamLostError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcStreamLost\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -9;\n\t\tthis.message = error.message || `stream lost`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcStreamLostError.prototype);\n\t}\n};\nvar WebrpcStreamFinishedError = class WebrpcStreamFinishedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcStreamFinished\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -10;\n\t\tthis.message = error.message || `stream finished`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 200;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcStreamFinishedError.prototype);\n\t}\n};\nvar UnauthorizedError = class UnauthorizedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"Unauthorized\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1e3;\n\t\tthis.message = error.message || `Unauthorized access`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 401;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, UnauthorizedError.prototype);\n\t}\n};\nvar PermissionDeniedError = class PermissionDeniedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"PermissionDenied\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1001;\n\t\tthis.message = error.message || `Permission denied`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, PermissionDeniedError.prototype);\n\t}\n};\nvar SessionExpiredError = class SessionExpiredError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"SessionExpired\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1002;\n\t\tthis.message = error.message || `Session expired`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, SessionExpiredError.prototype);\n\t}\n};\nvar MethodNotFoundError = class MethodNotFoundError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"MethodNotFound\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1003;\n\t\tthis.message = error.message || `Method not found`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 404;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, MethodNotFoundError.prototype);\n\t}\n};\nvar RequestConflictError = class RequestConflictError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"RequestConflict\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1004;\n\t\tthis.message = error.message || `Conflict with target resource`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 409;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, RequestConflictError.prototype);\n\t}\n};\nvar AbortedError = class AbortedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"Aborted\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1005;\n\t\tthis.message = error.message || `Request aborted`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, AbortedError.prototype);\n\t}\n};\nvar GeoblockedError = class GeoblockedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"Geoblocked\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1006;\n\t\tthis.message = error.message || `Geoblocked region`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 451;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, GeoblockedError.prototype);\n\t}\n};\nvar RateLimitedError = class RateLimitedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"RateLimited\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1007;\n\t\tthis.message = error.message || `Rate-limited. Please slow down.`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 429;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, RateLimitedError.prototype);\n\t}\n};\nvar ProjectNotFoundError = class ProjectNotFoundError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"ProjectNotFound\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1008;\n\t\tthis.message = error.message || `Project not found`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 401;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, ProjectNotFoundError.prototype);\n\t}\n};\nvar SecretKeyCorsDisallowedError = class SecretKeyCorsDisallowedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"SecretKeyCorsDisallowed\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1009;\n\t\tthis.message = error.message || `CORS disallowed. Admin API Secret Key can't be used from a web app.`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, SecretKeyCorsDisallowedError.prototype);\n\t}\n};\nvar AccessKeyNotFoundError = class AccessKeyNotFoundError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"AccessKeyNotFound\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1101;\n\t\tthis.message = error.message || `Access key not found`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 401;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, AccessKeyNotFoundError.prototype);\n\t}\n};\nvar AccessKeyMismatchError = class AccessKeyMismatchError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"AccessKeyMismatch\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1102;\n\t\tthis.message = error.message || `Access key mismatch`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, AccessKeyMismatchError.prototype);\n\t}\n};\nvar InvalidOriginError = class InvalidOriginError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"InvalidOrigin\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1103;\n\t\tthis.message = error.message || `Invalid origin for Access Key`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, InvalidOriginError.prototype);\n\t}\n};\nvar InvalidServiceError = class InvalidServiceError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"InvalidService\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1104;\n\t\tthis.message = error.message || `Service not enabled for Access key`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, InvalidServiceError.prototype);\n\t}\n};\nvar UnauthorizedUserError = class UnauthorizedUserError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"UnauthorizedUser\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1105;\n\t\tthis.message = error.message || `Unauthorized user`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, UnauthorizedUserError.prototype);\n\t}\n};\nvar InvalidChainError = class InvalidChainError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"InvalidChain\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1106;\n\t\tthis.message = error.message || `Network not enabled for Access key`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, InvalidChainError.prototype);\n\t}\n};\nvar QuotaExceededError = class QuotaExceededError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"QuotaExceeded\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1200;\n\t\tthis.message = error.message || `Quota request exceeded`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 429;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, QuotaExceededError.prototype);\n\t}\n};\nvar QuotaRateLimitError = class QuotaRateLimitError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"QuotaRateLimit\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1201;\n\t\tthis.message = error.message || `Quota rate limit exceeded`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 429;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, QuotaRateLimitError.prototype);\n\t}\n};\nvar NoDefaultKeyError = class NoDefaultKeyError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"NoDefaultKey\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1300;\n\t\tthis.message = error.message || `No default access key found`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, NoDefaultKeyError.prototype);\n\t}\n};\nvar MaxAccessKeysError = class MaxAccessKeysError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"MaxAccessKeys\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1301;\n\t\tthis.message = error.message || `Access keys limit reached`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, MaxAccessKeysError.prototype);\n\t}\n};\nvar AtLeastOneKeyError = class AtLeastOneKeyError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"AtLeastOneKey\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1302;\n\t\tthis.message = error.message || `You need at least one Access Key`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, AtLeastOneKeyError.prototype);\n\t}\n};\nvar TimeoutError = class TimeoutError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"Timeout\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1900;\n\t\tthis.message = error.message || `Request timed out`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 408;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, TimeoutError.prototype);\n\t}\n};\nvar NotFoundError = class NotFoundError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"NotFound\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 2e3;\n\t\tthis.message = error.message || `Resource not found`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, NotFoundError.prototype);\n\t}\n};\nvar InvalidArgumentError = class InvalidArgumentError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"InvalidArgument\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 2001;\n\t\tthis.message = error.message || `Invalid argument`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, InvalidArgumentError.prototype);\n\t}\n};\nvar NotImplementedError = class NotImplementedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"NotImplemented\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 9999;\n\t\tthis.message = error.message || `Not Implemented`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 500;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, NotImplementedError.prototype);\n\t}\n};\nlet errors = /* @__PURE__ */ function(errors$1) {\n\terrors$1[\"WebrpcEndpoint\"] = \"WebrpcEndpoint\";\n\terrors$1[\"WebrpcRequestFailed\"] = \"WebrpcRequestFailed\";\n\terrors$1[\"WebrpcBadRoute\"] = \"WebrpcBadRoute\";\n\terrors$1[\"WebrpcBadMethod\"] = \"WebrpcBadMethod\";\n\terrors$1[\"WebrpcBadRequest\"] = \"WebrpcBadRequest\";\n\terrors$1[\"WebrpcBadResponse\"] = \"WebrpcBadResponse\";\n\terrors$1[\"WebrpcServerPanic\"] = \"WebrpcServerPanic\";\n\terrors$1[\"WebrpcInternalError\"] = \"WebrpcInternalError\";\n\terrors$1[\"WebrpcClientAborted\"] = \"WebrpcClientAborted\";\n\terrors$1[\"WebrpcStreamLost\"] = \"WebrpcStreamLost\";\n\terrors$1[\"WebrpcStreamFinished\"] = \"WebrpcStreamFinished\";\n\terrors$1[\"Unauthorized\"] = \"Unauthorized\";\n\terrors$1[\"PermissionDenied\"] = \"PermissionDenied\";\n\terrors$1[\"SessionExpired\"] = \"SessionExpired\";\n\terrors$1[\"MethodNotFound\"] = \"MethodNotFound\";\n\terrors$1[\"RequestConflict\"] = \"RequestConflict\";\n\terrors$1[\"Aborted\"] = \"Aborted\";\n\terrors$1[\"Geoblocked\"] = \"Geoblocked\";\n\terrors$1[\"RateLimited\"] = \"RateLimited\";\n\terrors$1[\"ProjectNotFound\"] = \"ProjectNotFound\";\n\terrors$1[\"SecretKeyCorsDisallowed\"] = \"SecretKeyCorsDisallowed\";\n\terrors$1[\"AccessKeyNotFound\"] = \"AccessKeyNotFound\";\n\terrors$1[\"AccessKeyMismatch\"] = \"AccessKeyMismatch\";\n\terrors$1[\"InvalidOrigin\"] = \"InvalidOrigin\";\n\terrors$1[\"InvalidService\"] = \"InvalidService\";\n\terrors$1[\"UnauthorizedUser\"] = \"UnauthorizedUser\";\n\terrors$1[\"InvalidChain\"] = \"InvalidChain\";\n\terrors$1[\"QuotaExceeded\"] = \"QuotaExceeded\";\n\terrors$1[\"QuotaRateLimit\"] = \"QuotaRateLimit\";\n\terrors$1[\"NoDefaultKey\"] = \"NoDefaultKey\";\n\terrors$1[\"MaxAccessKeys\"] = \"MaxAccessKeys\";\n\terrors$1[\"AtLeastOneKey\"] = \"AtLeastOneKey\";\n\terrors$1[\"Timeout\"] = \"Timeout\";\n\terrors$1[\"NotFound\"] = \"NotFound\";\n\terrors$1[\"InvalidArgument\"] = \"InvalidArgument\";\n\terrors$1[\"NotImplemented\"] = \"NotImplemented\";\n\treturn errors$1;\n}({});\nlet WebrpcErrorCodes = /* @__PURE__ */ function(WebrpcErrorCodes$1) {\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcEndpoint\"] = 0] = \"WebrpcEndpoint\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcRequestFailed\"] = -1] = \"WebrpcRequestFailed\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcBadRoute\"] = -2] = \"WebrpcBadRoute\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcBadMethod\"] = -3] = \"WebrpcBadMethod\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcBadRequest\"] = -4] = \"WebrpcBadRequest\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcBadResponse\"] = -5] = \"WebrpcBadResponse\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcServerPanic\"] = -6] = \"WebrpcServerPanic\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcInternalError\"] = -7] = \"WebrpcInternalError\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcClientAborted\"] = -8] = \"WebrpcClientAborted\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcStreamLost\"] = -9] = \"WebrpcStreamLost\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcStreamFinished\"] = -10] = \"WebrpcStreamFinished\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"Unauthorized\"] = 1e3] = \"Unauthorized\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"PermissionDenied\"] = 1001] = \"PermissionDenied\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"SessionExpired\"] = 1002] = \"SessionExpired\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"MethodNotFound\"] = 1003] = \"MethodNotFound\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"RequestConflict\"] = 1004] = \"RequestConflict\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"Aborted\"] = 1005] = \"Aborted\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"Geoblocked\"] = 1006] = \"Geoblocked\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"RateLimited\"] = 1007] = \"RateLimited\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"ProjectNotFound\"] = 1008] = \"ProjectNotFound\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"SecretKeyCorsDisallowed\"] = 1009] = \"SecretKeyCorsDisallowed\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"AccessKeyNotFound\"] = 1101] = \"AccessKeyNotFound\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"AccessKeyMismatch\"] = 1102] = \"AccessKeyMismatch\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"InvalidOrigin\"] = 1103] = \"InvalidOrigin\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"InvalidService\"] = 1104] = \"InvalidService\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"UnauthorizedUser\"] = 1105] = \"UnauthorizedUser\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"InvalidChain\"] = 1106] = \"InvalidChain\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"QuotaExceeded\"] = 1200] = \"QuotaExceeded\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"QuotaRateLimit\"] = 1201] = \"QuotaRateLimit\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"NoDefaultKey\"] = 1300] = \"NoDefaultKey\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"MaxAccessKeys\"] = 1301] = \"MaxAccessKeys\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"AtLeastOneKey\"] = 1302] = \"AtLeastOneKey\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"Timeout\"] = 1900] = \"Timeout\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"NotFound\"] = 2e3] = \"NotFound\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"InvalidArgument\"] = 2001] = \"InvalidArgument\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"NotImplemented\"] = 9999] = \"NotImplemented\";\n\treturn WebrpcErrorCodes$1;\n}({});\nconst webrpcErrorByCode = {\n\t[0]: WebrpcEndpointError,\n\t[-1]: WebrpcRequestFailedError,\n\t[-2]: WebrpcBadRouteError,\n\t[-3]: WebrpcBadMethodError,\n\t[-4]: WebrpcBadRequestError,\n\t[-5]: WebrpcBadResponseError,\n\t[-6]: WebrpcServerPanicError,\n\t[-7]: WebrpcInternalErrorError,\n\t[-8]: WebrpcClientAbortedError,\n\t[-9]: WebrpcStreamLostError,\n\t[-10]: WebrpcStreamFinishedError,\n\t[1e3]: UnauthorizedError,\n\t[1001]: PermissionDeniedError,\n\t[1002]: SessionExpiredError,\n\t[1003]: MethodNotFoundError,\n\t[1004]: RequestConflictError,\n\t[1005]: AbortedError,\n\t[1006]: GeoblockedError,\n\t[1007]: RateLimitedError,\n\t[1008]: ProjectNotFoundError,\n\t[1009]: SecretKeyCorsDisallowedError,\n\t[1101]: AccessKeyNotFoundError,\n\t[1102]: AccessKeyMismatchError,\n\t[1103]: InvalidOriginError,\n\t[1104]: InvalidServiceError,\n\t[1105]: UnauthorizedUserError,\n\t[1106]: InvalidChainError,\n\t[1200]: QuotaExceededError,\n\t[1201]: QuotaRateLimitError,\n\t[1300]: NoDefaultKeyError,\n\t[1301]: MaxAccessKeysError,\n\t[1302]: AtLeastOneKeyError,\n\t[1900]: TimeoutError,\n\t[2e3]: NotFoundError,\n\t[2001]: InvalidArgumentError,\n\t[9999]: NotImplementedError\n};\nconst WebrpcHeader = \"Webrpc\";\nconst WebrpcHeaderValue = \"webrpc@v0.31.1;gen-typescript@v0.23.1;api-client@v0-25.11.10+051e186\";\nfunction VersionFromHeader(headers) {\n\tconst headerValue = headers.get(WebrpcHeader);\n\tif (!headerValue) return {\n\t\tWebrpcGenVersion: \"\",\n\t\tcodeGenName: \"\",\n\t\tcodeGenVersion: \"\",\n\t\tschemaName: \"\",\n\t\tschemaVersion: \"\"\n\t};\n\treturn parseWebrpcGenVersions(headerValue);\n}\nfunction parseWebrpcGenVersions(header) {\n\tconst versions = header.split(\";\");\n\tif (versions.length < 3) return {\n\t\tWebrpcGenVersion: \"\",\n\t\tcodeGenName: \"\",\n\t\tcodeGenVersion: \"\",\n\t\tschemaName: \"\",\n\t\tschemaVersion: \"\"\n\t};\n\tconst [_, WebrpcGenVersion] = versions[0].split(\"@\");\n\tconst [codeGenName, codeGenVersion] = versions[1].split(\"@\");\n\tconst [schemaName, schemaVersion] = versions[2].split(\"@\");\n\treturn {\n\t\tWebrpcGenVersion: WebrpcGenVersion ?? \"\",\n\t\tcodeGenName: codeGenName ?? \"\",\n\t\tcodeGenVersion: codeGenVersion ?? \"\",\n\t\tschemaName: schemaName ?? \"\",\n\t\tschemaVersion: schemaVersion ?? \"\"\n\t};\n}\n\n//#endregion\nexport { StepType as _, CurrencyStatus as a, WalletKind as b, MarketplaceKind as c, OrderSide as d, OrderStatus as f, SortOrder as g, PropertyType as h, ContractType as i, MetadataStatus as l, PrimarySaleItemDetailType as m, CollectionPriority as n, ExecuteType as o, OrderbookKind as p, CollectionStatus as r, Marketplace as s, ActivityAction as t, OfferType as u, TransactionCrypto as v, marketplace_gen_exports as x, TransactionOnRampProvider as y };\n//# sourceMappingURL=marketplace.gen.js.map","import { a as transformOptionalArray, c as normalizeAddress, h as toMetadataChainId, i as transformOptional, l as normalizeChainId, m as toApiTokenId, n as spreadWith, o as transformRecord, r as transformArray, u as normalizeTokenId } from \"./transform.js\";\n\n//#region src/adapters/metadata/transforms.ts\nfunction toBridgeInfo(raw) {\n\treturn { tokenAddress: normalizeAddress(raw.tokenAddress) };\n}\nfunction toContractInfo(raw) {\n\tconst extensions = {\n\t\tlink: raw.extensions.link,\n\t\tdescription: raw.extensions.description,\n\t\tcategories: raw.extensions.categories,\n\t\togImage: raw.extensions.ogImage,\n\t\togName: raw.extensions.ogName,\n\t\tblacklist: raw.extensions.blacklist,\n\t\tverified: raw.extensions.verified,\n\t\tverifiedBy: raw.extensions.verifiedBy,\n\t\tfeatured: raw.extensions.featured,\n\t\tfeatureIndex: raw.extensions.featureIndex\n\t};\n\tif (raw.extensions.originChainId !== void 0) extensions.originChainId = normalizeChainId(raw.extensions.originChainId);\n\tif (raw.extensions.originAddress !== void 0) extensions.originAddress = normalizeAddress(raw.extensions.originAddress);\n\tif (raw.extensions.bridgeInfo !== void 0) extensions.bridgeInfo = transformRecord(raw.extensions.bridgeInfo, toBridgeInfo);\n\treturn spreadWith(raw, {\n\t\taddress: normalizeAddress(raw.address),\n\t\tchainId: normalizeChainId(raw.chainId),\n\t\ttype: raw.type,\n\t\textensions\n\t});\n}\nfunction toAsset(raw) {\n\treturn spreadWith(raw, { tokenId: transformOptional(raw.tokenId, normalizeTokenId) });\n}\nfunction toTokenMetadata(raw) {\n\treturn spreadWith(raw, {\n\t\tchainId: transformOptional(raw.chainId, normalizeChainId),\n\t\tcontractAddress: transformOptional(raw.contractAddress, normalizeAddress),\n\t\ttokenId: normalizeTokenId(raw.tokenId),\n\t\tassets: transformOptionalArray(raw.assets, toAsset)\n\t});\n}\nfunction toGetContractInfoReturn(raw) {\n\treturn spreadWith(raw, { contractInfo: toContractInfo(raw.contractInfo) });\n}\nfunction toGetContractInfoBatchReturn(raw) {\n\treturn spreadWith(raw, { contractInfoMap: transformRecord(raw.contractInfoMap, toContractInfo) });\n}\nfunction toGetTokenMetadataReturn(raw) {\n\treturn spreadWith(raw, { tokenMetadata: transformArray(raw.tokenMetadata, toTokenMetadata) });\n}\nfunction toGetTokenMetadataBatchReturn(raw) {\n\treturn spreadWith(raw, { contractTokenMetadata: transformRecord(raw.contractTokenMetadata, (metadata) => transformArray(metadata, toTokenMetadata)) });\n}\nfunction toSearchTokenMetadataReturn(raw) {\n\treturn spreadWith(raw, { tokenMetadata: transformArray(raw.tokenMetadata, toTokenMetadata) });\n}\nfunction toGetContractInfoArgs(normalized) {\n\tconst contractAddress = \"collectionAddress\" in normalized && normalized.collectionAddress ? normalized.collectionAddress : \"contractAddress\" in normalized && normalized.contractAddress ? normalized.contractAddress : \"\";\n\treturn {\n\t\tchainID: toMetadataChainId(normalized.chainId),\n\t\tcontractAddress\n\t};\n}\nfunction toGetContractInfoBatchArgs(normalized) {\n\treturn {\n\t\tchainID: toMetadataChainId(normalized.chainId),\n\t\tcontractAddresses: normalized.contractAddresses\n\t};\n}\nfunction toGetTokenMetadataArgs(normalized) {\n\tconst contractAddress = \"collectionAddress\" in normalized && normalized.collectionAddress ? normalized.collectionAddress : \"contractAddress\" in normalized && normalized.contractAddress ? normalized.contractAddress : \"\";\n\treturn {\n\t\tchainID: toMetadataChainId(normalized.chainId),\n\t\tcontractAddress,\n\t\ttokenIDs: transformArray(normalized.tokenIds, toApiTokenId)\n\t};\n}\nfunction toGetTokenMetadataBatchArgs(normalized) {\n\treturn {\n\t\tchainID: toMetadataChainId(normalized.chainId),\n\t\tcontractTokenMap: transformRecord(normalized.contractTokenMap, (tokenIds) => transformArray(tokenIds, toApiTokenId))\n\t};\n}\nfunction toRefreshTokenMetadataArgs(normalized) {\n\tconst contractAddress = \"collectionAddress\" in normalized && normalized.collectionAddress ? normalized.collectionAddress : \"contractAddress\" in normalized && normalized.contractAddress ? normalized.contractAddress : \"\";\n\treturn {\n\t\tchainID: toMetadataChainId(normalized.chainId),\n\t\tcontractAddress,\n\t\ttokenIDs: transformOptionalArray(normalized.tokenIds, toApiTokenId)\n\t};\n}\nfunction toSearchTokenMetadataArgs(normalized) {\n\tconst contractAddress = \"collectionAddress\" in normalized && normalized.collectionAddress ? normalized.collectionAddress : \"contractAddress\" in normalized && normalized.contractAddress ? normalized.contractAddress : \"\";\n\treturn {\n\t\tchainID: toMetadataChainId(normalized.chainId),\n\t\tcontractAddress,\n\t\tfilter: normalized.filter,\n\t\tpage: normalized.page\n\t};\n}\nfunction toGetTokenMetadataPropertyFiltersArgs(normalized) {\n\tconst contractAddress = \"collectionAddress\" in normalized && normalized.collectionAddress !== void 0 ? normalized.collectionAddress : normalized.contractAddress;\n\treturn {\n\t\tchainID: toMetadataChainId(normalized.chainId),\n\t\tcontractAddress,\n\t\texcludeProperties: normalized.excludeProperties,\n\t\texcludePropertyValues: normalized.excludePropertyValues\n\t};\n}\nfunction toGetTokenMetadataPropertyFiltersReturn(raw) {\n\treturn raw;\n}\n\n//#endregion\nexport { toGetContractInfoBatchReturn as a, toGetTokenMetadataBatchArgs as c, toGetTokenMetadataPropertyFiltersReturn as d, toGetTokenMetadataReturn as f, toTokenMetadata as g, toSearchTokenMetadataReturn as h, toGetContractInfoBatchArgs as i, toGetTokenMetadataBatchReturn as l, toSearchTokenMetadataArgs as m, toContractInfo as n, toGetContractInfoReturn as o, toRefreshTokenMetadataArgs as p, toGetContractInfoArgs as r, toGetTokenMetadataArgs as s, toAsset as t, toGetTokenMetadataPropertyFiltersArgs as u };\n//# sourceMappingURL=transforms2.js.map","import { n as __export } from \"./chunk.js\";\nimport { a as WebrpcBadRequestError, c as WebrpcClientDisconnectedError, d as WebrpcInternalErrorError, f as WebrpcRequestFailedError, g as builder_gen_exports, h as WebrpcStreamLostError, i as WebrpcBadMethodError, l as WebrpcEndpointError, m as WebrpcStreamFinishedError, n as MarketplaceService, o as WebrpcBadResponseError, p as WebrpcServerPanicError, r as MarketplaceWalletType, s as WebrpcBadRouteError, t as FilterCondition, u as WebrpcError } from \"./builder.gen.js\";\nimport { c as normalizeAddress, d as parseAmount, f as parseBigInt, h as toMetadataChainId, l as normalizeChainId, m as toApiTokenId, p as toApiAddress, r as transformArray, s as formatAmount, t as buildPage, u as normalizeTokenId } from \"./transform.js\";\nimport { _ as toTokenSupply, a as toGetTokenBalancesDetailsResponse, c as toGetTokenIDRangesResponse, d as toGetUserCollectionBalancesArgs, f as toNativeTokenBalance, g as toTokenMetadata, h as toTokenIDRange, i as toGetTokenBalancesByContractResponse, l as toGetTokenSuppliesArgs, m as toTokenBalance, n as toGetNativeTokenBalanceResponse, o as toGetTokenBalancesResponse, p as toPage, r as toGetTokenBalancesArgs, s as toGetTokenIDRangesArgs, t as toContractInfo, u as toGetTokenSuppliesResponse, v as toTransactionReceipt } from \"./transforms.js\";\nimport { _ as StepType, a as CurrencyStatus, b as WalletKind, c as MarketplaceKind, d as OrderSide, f as OrderStatus, g as SortOrder, h as PropertyType, i as ContractType$2, l as MetadataStatus, o as ExecuteType, p as OrderbookKind, r as CollectionStatus, s as Marketplace, u as OfferType, v as TransactionCrypto, x as marketplace_gen_exports, y as TransactionOnRampProvider } from \"./marketplace.gen.js\";\nimport { a as toGetContractInfoBatchReturn, c as toGetTokenMetadataBatchArgs, d as toGetTokenMetadataPropertyFiltersReturn, f as toGetTokenMetadataReturn, g as toTokenMetadata$1, h as toSearchTokenMetadataReturn, i as toGetContractInfoBatchArgs, l as toGetTokenMetadataBatchReturn, m as toSearchTokenMetadataArgs, n as toContractInfo$1, o as toGetContractInfoReturn, p as toRefreshTokenMetadataArgs, r as toGetContractInfoArgs, s as toGetTokenMetadataArgs, t as toAsset, u as toGetTokenMetadataPropertyFiltersArgs } from \"./transforms2.js\";\nimport \"./types/index.js\";\nimport * as IndexerAPI from \"@0xsequence/indexer\";\nimport { ContractType, ContractType as ContractType$3, ResourceStatus, ResourceStatus as ResourceStatus$3, SequenceIndexer, TransactionStatus, TransactionStatus as TransactionStatus$2, TransactionType, TransactionType as TransactionType$2 } from \"@0xsequence/indexer\";\nimport * as MetadataAPI from \"@0xsequence/metadata\";\nimport { SequenceMetadata } from \"@0xsequence/metadata\";\n\n//#region src/adapters/builder/transforms.ts\nfunction toLookupMarketplaceReturn(data) {\n\tconst marketCollections = transformArray(data.marketCollections, toMarketCollection);\n\tconst shopCollections = transformArray(data.shopCollections, toShopCollection);\n\treturn {\n\t\tmarketplace: {\n\t\t\t...data.marketplace,\n\t\t\tmarket: {\n\t\t\t\t...data.marketplace.market,\n\t\t\t\tcollections: marketCollections\n\t\t\t},\n\t\t\tshop: {\n\t\t\t\t...data.marketplace.shop,\n\t\t\t\tcollections: shopCollections\n\t\t\t}\n\t\t},\n\t\tmarketCollections,\n\t\tshopCollections\n\t};\n}\nfunction toMarketCollection(data) {\n\treturn {\n\t\t...data,\n\t\tmarketplaceCollectionType: \"market\",\n\t\tchainId: normalizeChainId(data.chainId),\n\t\titemsAddress: normalizeAddress(data.itemsAddress),\n\t\tcontractType: data.contractType,\n\t\tdestinationMarketplace: data.destinationMarketplace\n\t};\n}\nfunction toShopCollection(data) {\n\treturn {\n\t\t...data,\n\t\tmarketplaceCollectionType: \"shop\",\n\t\tchainId: normalizeChainId(data.chainId),\n\t\titemsAddress: normalizeAddress(data.itemsAddress),\n\t\tsaleAddress: normalizeAddress(data.saleAddress),\n\t\ttokenIds: transformArray(data.tokenIds, normalizeTokenId),\n\t\tcustomTokenIds: transformArray(data.customTokenIds, normalizeTokenId)\n\t};\n}\nfunction fromLookupMarketplaceReturn(data) {\n\tconst marketCollections = transformArray(data.marketplace.market.collections, fromMarketCollection);\n\tconst shopCollections = transformArray(data.marketplace.shop.collections, fromShopCollection);\n\treturn {\n\t\tmarketplace: {\n\t\t\t...data.marketplace,\n\t\t\tmarket: {\n\t\t\t\tenabled: data.marketplace.market.enabled,\n\t\t\t\tbannerUrl: data.marketplace.market.bannerUrl,\n\t\t\t\togImage: data.marketplace.market.ogImage,\n\t\t\t\tprivate: data.marketplace.market.private\n\t\t\t},\n\t\t\tshop: {\n\t\t\t\tenabled: data.marketplace.shop.enabled,\n\t\t\t\tbannerUrl: data.marketplace.shop.bannerUrl,\n\t\t\t\togImage: data.marketplace.shop.ogImage,\n\t\t\t\tprivate: data.marketplace.shop.private\n\t\t\t}\n\t\t},\n\t\tmarketCollections,\n\t\tshopCollections\n\t};\n}\nfunction fromMarketCollection(data) {\n\tconst { marketplaceCollectionType, ...rest } = data;\n\treturn rest;\n}\nfunction fromShopCollection(data) {\n\tconst { marketplaceCollectionType, ...rest } = data;\n\treturn {\n\t\t...rest,\n\t\ttokenIds: transformArray(rest.tokenIds, toApiTokenId),\n\t\tcustomTokenIds: transformArray(rest.customTokenIds, toApiTokenId)\n\t};\n}\n\n//#endregion\n//#region src/adapters/builder/index.ts\nvar builder_exports = /* @__PURE__ */ __export({\n\tBuilderAPI: () => builder_gen_exports,\n\tFilterCondition: () => FilterCondition,\n\tMarketplaceWalletType: () => MarketplaceWalletType,\n\tWebrpcBadMethodError: () => WebrpcBadMethodError,\n\tWebrpcBadRequestError: () => WebrpcBadRequestError,\n\tWebrpcBadResponseError: () => WebrpcBadResponseError,\n\tWebrpcBadRouteError: () => WebrpcBadRouteError,\n\tWebrpcClientDisconnectedError: () => WebrpcClientDisconnectedError,\n\tWebrpcEndpointError: () => WebrpcEndpointError,\n\tWebrpcError: () => WebrpcError,\n\tWebrpcInternalErrorError: () => WebrpcInternalErrorError,\n\tWebrpcRequestFailedError: () => WebrpcRequestFailedError,\n\tWebrpcServerPanicError: () => WebrpcServerPanicError,\n\tWebrpcStreamFinishedError: () => WebrpcStreamFinishedError,\n\tWebrpcStreamLostError: () => WebrpcStreamLostError,\n\tfromLookupMarketplaceReturn: () => fromLookupMarketplaceReturn,\n\tfromMarketCollection: () => fromMarketCollection,\n\tfromShopCollection: () => fromShopCollection,\n\ttoLookupMarketplaceReturn: () => toLookupMarketplaceReturn,\n\ttoMarketCollection: () => toMarketCollection,\n\ttoShopCollection: () => toShopCollection\n});\n\n//#endregion\n//#region src/adapters/indexer/client.ts\n/**\n* Wrapped Indexer Client\n*\n* Wraps the raw SequenceIndexer with methods that return normalized types.\n* Uses composition rather than inheritance to avoid type conflicts.\n*/\nvar IndexerClient = class {\n\tclient;\n\tconstructor(hostname, projectAccessKey, jwtAuth) {\n\t\tthis.client = new SequenceIndexer(hostname, projectAccessKey, jwtAuth);\n\t}\n\t/**\n\t* Get token balances for an account with normalized types (bigint)\n\t* Accepts tokenId as bigint, transforms to tokenID string for API\n\t*/\n\tasync getTokenBalances(args) {\n\t\tconst apiArgs = toGetTokenBalancesArgs(args);\n\t\tconst rawResponse = await this.client.getTokenBalances(apiArgs);\n\t\treturn toGetTokenBalancesResponse(rawResponse);\n\t}\n\t/**\n\t* Get token supplies for a contract with normalized types (bigint)\n\t*/\n\tasync getTokenSupplies(args) {\n\t\tconst contractAddress = \"collectionAddress\" in args && args.collectionAddress ? args.collectionAddress : args.contractAddress;\n\t\tif (!contractAddress) throw new Error(\"getTokenSupplies requires either contractAddress or collectionAddress\");\n\t\tconst apiArgs = {\n\t\t\t...args,\n\t\t\tcontractAddress\n\t\t};\n\t\tconst rawResponse = await this.client.getTokenSupplies(apiArgs);\n\t\treturn toGetTokenSuppliesResponse(rawResponse, contractAddress);\n\t}\n\t/**\n\t* Get token ID ranges for a contract with normalized types (bigint)\n\t*/\n\tasync getTokenIDRanges(args) {\n\t\tconst contractAddress = \"collectionAddress\" in args && args.collectionAddress ? args.collectionAddress : args.contractAddress;\n\t\tif (!contractAddress) throw new Error(\"getTokenIDRanges requires either contractAddress or collectionAddress\");\n\t\tconst apiArgs = { contractAddress };\n\t\tconst rawResponse = await this.client.getTokenIDRanges(apiArgs);\n\t\treturn toGetTokenIDRangesResponse(rawResponse, contractAddress);\n\t}\n\t/**\n\t* Get token balance details with normalized types (bigint)\n\t*/\n\tasync getTokenBalancesDetails(args) {\n\t\tconst rawResponse = await this.client.getTokenBalancesDetails(args);\n\t\treturn toGetTokenBalancesDetailsResponse(rawResponse);\n\t}\n\t/**\n\t* Get token balances by contract with normalized types (bigint)\n\t*/\n\tasync getTokenBalancesByContract(args) {\n\t\tconst rawResponse = await this.client.getTokenBalancesByContract(args);\n\t\treturn toGetTokenBalancesByContractResponse(rawResponse);\n\t}\n\t/**\n\t* Get token balances for a user in a specific collection\n\t* Convenience method with user-friendly parameter names\n\t*/\n\tasync getUserCollectionBalances(args) {\n\t\tconst apiArgs = toGetUserCollectionBalancesArgs(args);\n\t\treturn (await this.client.getTokenBalancesByContract(apiArgs)).balances.map(toTokenBalance);\n\t}\n\t/**\n\t* Get native token balance with normalized types (bigint)\n\t*/\n\tasync getNativeTokenBalance(args) {\n\t\tconst rawResponse = await this.client.getNativeTokenBalance(args);\n\t\treturn toGetNativeTokenBalanceResponse(rawResponse);\n\t}\n\t/**\n\t* Fetch transaction receipt with normalized types (bigint)\n\t*/\n\tasync fetchTransactionReceipt(args) {\n\t\tconst rawResponse = await this.client.fetchTransactionReceipt(args);\n\t\treturn { receipt: toTransactionReceipt(rawResponse.receipt) };\n\t}\n\t/**\n\t* Access the underlying raw client for any methods not wrapped\n\t*/\n\tget raw() {\n\t\treturn this.client;\n\t}\n};\n\n//#endregion\n//#region src/adapters/indexer/index.ts\nvar indexer_exports = /* @__PURE__ */ __export({\n\tContractType: () => ContractType$3,\n\tIndexerAPI: () => IndexerAPI,\n\tIndexerClient: () => IndexerClient,\n\tResourceStatus: () => ResourceStatus$3,\n\tTransactionStatus: () => TransactionStatus$2,\n\tTransactionType: () => TransactionType$2,\n\ttoContractInfo: () => toContractInfo,\n\ttoGetNativeTokenBalanceResponse: () => toGetNativeTokenBalanceResponse,\n\ttoGetTokenBalancesArgs: () => toGetTokenBalancesArgs,\n\ttoGetTokenBalancesByContractResponse: () => toGetTokenBalancesByContractResponse,\n\ttoGetTokenBalancesDetailsResponse: () => toGetTokenBalancesDetailsResponse,\n\ttoGetTokenBalancesResponse: () => toGetTokenBalancesResponse,\n\ttoGetTokenIDRangesArgs: () => toGetTokenIDRangesArgs,\n\ttoGetTokenIDRangesResponse: () => toGetTokenIDRangesResponse,\n\ttoGetTokenSuppliesArgs: () => toGetTokenSuppliesArgs,\n\ttoGetTokenSuppliesResponse: () => toGetTokenSuppliesResponse,\n\ttoGetUserCollectionBalancesArgs: () => toGetUserCollectionBalancesArgs,\n\ttoNativeTokenBalance: () => toNativeTokenBalance,\n\ttoPage: () => toPage,\n\ttoTokenBalance: () => toTokenBalance,\n\ttoTokenIDRange: () => toTokenIDRange,\n\ttoTokenMetadata: () => toTokenMetadata,\n\ttoTokenSupply: () => toTokenSupply,\n\ttoTransactionReceipt: () => toTransactionReceipt\n});\n\n//#endregion\n//#region src/utils/client-proxy.ts\nfunction chainIdToString(chainId) {\n\treturn chainId.toString();\n}\nfunction wrapChainId(clientMethod) {\n\treturn async (req) => {\n\t\treturn clientMethod({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId)\n\t\t});\n\t};\n}\nfunction wrapCollectionAddress(clientMethod) {\n\treturn async (req) => {\n\t\tconst { collectionAddress, ...rest } = req;\n\t\treturn clientMethod({\n\t\t\t...rest,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractAddress: collectionAddress\n\t\t});\n\t};\n}\nfunction wrapWithTransform(clientMethod, transform) {\n\treturn async (req) => {\n\t\treturn clientMethod(transform(req));\n\t};\n}\nfunction wrapWithBothTransform(clientMethod, requestTransform, responseTransform) {\n\treturn async (req) => {\n\t\treturn responseTransform(await clientMethod(requestTransform(req)));\n\t};\n}\nfunction passthrough(clientMethod) {\n\treturn clientMethod;\n}\n\n//#endregion\n//#region src/adapters/marketplace/transforms.ts\nfunction toDomain(domain) {\n\treturn {\n\t\tname: domain.name,\n\t\tversion: domain.version,\n\t\tchainId: domain.chainId,\n\t\tverifyingContract: normalizeAddress(domain.verifyingContract)\n\t};\n}\nfunction toSignature(signature) {\n\treturn {\n\t\tdomain: toDomain(signature.domain),\n\t\ttypes: signature.types,\n\t\tprimaryType: signature.primaryType,\n\t\tvalue: signature.value\n\t};\n}\nfunction toStep(raw) {\n\tswitch (raw.id) {\n\t\tcase StepType.tokenApproval:\n\t\tcase StepType.buy:\n\t\tcase StepType.sell:\n\t\tcase StepType.cancel:\n\t\tcase StepType.createOffer:\n\t\tcase StepType.createListing:\n\t\t\tif (!raw.to) throw new Error(`Transaction step ${raw.id} missing required field: to`);\n\t\t\tif (!raw.data) throw new Error(`Transaction step ${raw.id} missing required field: data`);\n\t\t\treturn {\n\t\t\t\tid: raw.id,\n\t\t\t\tto: normalizeAddress(raw.to),\n\t\t\t\tdata: raw.data,\n\t\t\t\tvalue: raw.value,\n\t\t\t\tprice: raw.price,\n\t\t\t\t...raw.signature && { signature: toSignature(raw.signature) },\n\t\t\t\t...raw.post && { post: raw.post },\n\t\t\t\t...raw.executeType && { executeType: raw.executeType }\n\t\t\t};\n\t\tcase StepType.signEIP191:\n\t\t\tif (!raw.post) throw new Error(`Signature step ${raw.id} missing required field: post`);\n\t\t\treturn {\n\t\t\t\tid: raw.id,\n\t\t\t\tpost: raw.post\n\t\t\t};\n\t\tcase StepType.signEIP712:\n\t\t\tif (!raw.post) throw new Error(`Signature step ${raw.id} missing required field: post`);\n\t\t\tif (!raw.signature) throw new Error(`Signature step ${raw.id} missing required field: signature`);\n\t\t\treturn {\n\t\t\t\tid: raw.id,\n\t\t\t\tpost: raw.post,\n\t\t\t\tsignature: toSignature(raw.signature)\n\t\t\t};\n\t\tdefault: throw new Error(`Unknown step type: ${raw.id}`);\n\t}\n}\nfunction toSteps(raw) {\n\treturn raw.map(toStep);\n}\nfunction toCurrency(raw) {\n\treturn {\n\t\t...raw,\n\t\tcontractAddress: normalizeAddress(raw.contractAddress)\n\t};\n}\nfunction toCurrencies(raw) {\n\treturn raw.map(toCurrency);\n}\nfunction toOrder(raw) {\n\treturn {\n\t\t...raw,\n\t\tpriceCurrencyAddress: normalizeAddress(raw.priceCurrencyAddress)\n\t};\n}\nfunction toOrders(raw) {\n\treturn raw.map(toOrder);\n}\nfunction toCollectibleOrder(raw) {\n\treturn {\n\t\t...raw,\n\t\tmetadata: {\n\t\t\t...raw.metadata,\n\t\t\ttokenId: typeof raw.metadata.tokenId === \"string\" ? BigInt(raw.metadata.tokenId) : raw.metadata.tokenId\n\t\t},\n\t\torder: raw.order ? toOrder(raw.order) : void 0,\n\t\tlisting: raw.listing ? toOrder(raw.listing) : void 0,\n\t\toffer: raw.offer ? toOrder(raw.offer) : void 0\n\t};\n}\nfunction toCollectibleOrders(raw) {\n\treturn raw.map(toCollectibleOrder);\n}\nfunction toPrimarySaleItem(raw) {\n\treturn {\n\t\t...raw,\n\t\tcurrencyAddress: normalizeAddress(raw.currencyAddress),\n\t\titemAddress: normalizeAddress(raw.itemAddress)\n\t};\n}\nfunction toCollectiblePrimarySaleItem(raw) {\n\treturn {\n\t\t...raw,\n\t\tprimarySaleItem: toPrimarySaleItem(raw.primarySaleItem)\n\t};\n}\nfunction toCollectiblePrimarySaleItems(raw) {\n\treturn raw.map(toCollectiblePrimarySaleItem);\n}\n\n//#endregion\n//#region src/adapters/marketplace/client.ts\nfunction transformCheckoutItem(item) {\n\treturn {\n\t\ttokenId: item.tokenId,\n\t\tquantity: item.quantity\n\t};\n}\nfunction transformCreateReq(req) {\n\treturn {\n\t\t...req,\n\t\ttokenId: req.tokenId,\n\t\tquantity: req.quantity\n\t};\n}\nfunction transformOrderData(data) {\n\treturn {\n\t\torderId: data.orderId,\n\t\tquantity: data.quantity,\n\t\ttokenId: data.tokenId\n\t};\n}\n/**\n* Wrapped Marketplace Client\n*\n* Wraps the raw Marketplace client with methods that accept normalized types (number chainId).\n* Uses proxy utilities to automatically convert chainId from number to string for API calls.\n* Methods are created using wrapper functions to eliminate repetitive conversion code.\n*/\nvar MarketplaceClient = class {\n\tclient;\n\tqueryKey;\n\tgenerateListingTransaction;\n\tgenerateOfferTransaction;\n\tgenerateSellTransaction;\n\tgenerateCancelTransaction;\n\tgenerateBuyTransaction;\n\tgetCollectionDetail;\n\tlistCurrencies;\n\tgetCollectionActiveListingsCurrencies;\n\tgetCollectionActiveOffersCurrencies;\n\tgetCollectible;\n\tgetLowestPriceListingForCollectible;\n\tgetHighestPriceOfferForCollectible;\n\tlistListingsForCollectible;\n\tlistOffersForCollectible;\n\tlistOrdersWithCollectibles;\n\tgetFloorOrder;\n\tgetOrders;\n\tlistCollectibles;\n\tlistPrimarySaleItems;\n\tgetPrimarySaleItem;\n\tgetCountOfPrimarySaleItems;\n\tgetCountOfFilteredCollectibles;\n\tgetCountOfAllCollectibles;\n\tgetCountOfListingsForCollectible;\n\tgetCountOfOffersForCollectible;\n\tgetCountOfFilteredOrders;\n\tgetCountOfAllOrders;\n\tcheckoutOptionsMarketplace;\n\tcheckoutOptionsSalesContract;\n\texecute;\n\tconstructor(hostname, fetch) {\n\t\tthis.client = new Marketplace(hostname, fetch);\n\t\tthis.queryKey = this.client.queryKey;\n\t\tthis.generateListingTransaction = wrapWithBothTransform((req) => this.client.generateListingTransaction(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractType: req.contractType,\n\t\t\tlisting: transformCreateReq(req.listing)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tsteps: toSteps(res.steps)\n\t\t}));\n\t\tthis.generateOfferTransaction = wrapWithBothTransform((req) => this.client.generateOfferTransaction(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractType: req.contractType,\n\t\t\toffer: transformCreateReq(req.offer)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tsteps: toSteps(res.steps)\n\t\t}));\n\t\tthis.generateSellTransaction = wrapWithBothTransform((req) => this.client.generateSellTransaction(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tordersData: req.ordersData.map(transformOrderData)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tsteps: toSteps(res.steps)\n\t\t}));\n\t\tthis.generateCancelTransaction = wrapWithBothTransform((req) => this.client.generateCancelTransaction(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tsteps: toSteps(res.steps)\n\t\t}));\n\t\tthis.generateBuyTransaction = wrapWithBothTransform((req) => this.client.generateBuyTransaction(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tordersData: req.ordersData.map(transformOrderData)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tsteps: toSteps(res.steps)\n\t\t}));\n\t\tthis.getCollectionDetail = wrapCollectionAddress((req) => this.client.getCollectionDetail(req));\n\t\tthis.listCurrencies = wrapWithBothTransform((req) => this.client.listCurrencies(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tcurrencies: toCurrencies(res.currencies)\n\t\t}));\n\t\tthis.getCollectionActiveListingsCurrencies = wrapWithBothTransform((req) => this.client.getCollectionActiveListingsCurrencies(req), (req) => req, (res) => ({\n\t\t\t...res,\n\t\t\tcurrencies: toCurrencies(res.currencies)\n\t\t}));\n\t\tthis.getCollectionActiveOffersCurrencies = wrapWithBothTransform((req) => this.client.getCollectionActiveOffersCurrencies(req), (req) => req, (res) => ({\n\t\t\t...res,\n\t\t\tcurrencies: toCurrencies(res.currencies)\n\t\t}));\n\t\tthis.getCollectible = wrapCollectionAddress((req) => this.client.getCollectible(req));\n\t\tthis.getLowestPriceListingForCollectible = wrapWithBothTransform((req) => this.client.getLowestPriceListingForCollectible(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractAddress: req.collectionAddress\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\torder: res.order ? toOrder(res.order) : void 0\n\t\t}));\n\t\tthis.getHighestPriceOfferForCollectible = wrapWithBothTransform((req) => this.client.getHighestPriceOfferForCollectible(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractAddress: req.collectionAddress\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\torder: res.order ? toOrder(res.order) : void 0\n\t\t}));\n\t\tthis.listListingsForCollectible = wrapWithBothTransform((req) => this.client.listListingsForCollectible(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractAddress: req.collectionAddress\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tlistings: toOrders(res.listings)\n\t\t}));\n\t\tthis.listOffersForCollectible = wrapWithBothTransform((req) => this.client.listOffersForCollectible(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractAddress: req.collectionAddress\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\toffers: toOrders(res.offers)\n\t\t}));\n\t\tthis.listOrdersWithCollectibles = wrapWithBothTransform((req) => this.client.listOrdersWithCollectibles(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractAddress: req.collectionAddress\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tcollectibles: toCollectibleOrders(res.collectibles)\n\t\t}));\n\t\tthis.getFloorOrder = wrapWithBothTransform((req) => this.client.getFloorOrder(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractAddress: req.collectionAddress\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tcollectible: toCollectibleOrder(res.collectible)\n\t\t}));\n\t\tthis.getOrders = wrapWithBothTransform((req) => this.client.getOrders(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\torders: toOrders(res.orders)\n\t\t}));\n\t\tthis.listCollectibles = wrapWithBothTransform((req) => this.client.listCollectibles(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractAddress: req.collectionAddress\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tcollectibles: toCollectibleOrders(res.collectibles)\n\t\t}));\n\t\tthis.listPrimarySaleItems = wrapWithBothTransform((req) => this.client.listPrimarySaleItems(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tprimarySaleItems: toCollectiblePrimarySaleItems(res.primarySaleItems)\n\t\t}));\n\t\tthis.getPrimarySaleItem = wrapWithBothTransform((req) => this.client.getPrimarySaleItem(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\titem: toCollectiblePrimarySaleItem(res.item)\n\t\t}));\n\t\tthis.getCountOfPrimarySaleItems = wrapChainId((req) => this.client.getCountOfPrimarySaleItems(req));\n\t\tthis.getCountOfFilteredCollectibles = wrapCollectionAddress((req) => this.client.getCountOfFilteredCollectibles(req));\n\t\tthis.getCountOfAllCollectibles = wrapCollectionAddress((req) => this.client.getCountOfAllCollectibles(req));\n\t\tthis.getCountOfListingsForCollectible = wrapCollectionAddress((req) => this.client.getCountOfListingsForCollectible(req));\n\t\tthis.getCountOfOffersForCollectible = wrapCollectionAddress((req) => this.client.getCountOfOffersForCollectible(req));\n\t\tthis.getCountOfFilteredOrders = wrapCollectionAddress((req) => this.client.getCountOfFilteredOrders(req));\n\t\tthis.getCountOfAllOrders = wrapCollectionAddress((req) => this.client.getCountOfAllOrders(req));\n\t\tthis.checkoutOptionsMarketplace = wrapWithTransform((req) => this.client.checkoutOptionsMarketplace(req), (req) => {\n\t\t\tconst wallet = \"walletAddress\" in req && req.walletAddress ? req.walletAddress : \"wallet\" in req && req.wallet ? req.wallet : \"\";\n\t\t\treturn {\n\t\t\t\t...req,\n\t\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\t\twallet\n\t\t\t};\n\t\t});\n\t\tthis.checkoutOptionsSalesContract = wrapWithTransform((req) => this.client.checkoutOptionsSalesContract(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\titems: req.items.map(transformCheckoutItem)\n\t\t}));\n\t\tthis.execute = passthrough((req) => this.client.execute(req));\n\t}\n\t/**\n\t* Access the underlying raw client for any methods not wrapped\n\t*/\n\tget raw() {\n\t\treturn this.client;\n\t}\n};\n\n//#endregion\n//#region src/adapters/marketplace/types.ts\nfunction isSignatureStep(step) {\n\treturn step.id === StepType.signEIP191 || step.id === StepType.signEIP712;\n}\nfunction isTransactionStep(step) {\n\treturn [\n\t\tStepType.tokenApproval,\n\t\tStepType.buy,\n\t\tStepType.sell,\n\t\tStepType.cancel,\n\t\tStepType.createOffer,\n\t\tStepType.createListing\n\t].includes(step.id);\n}\nfunction isApprovalStep(step) {\n\treturn step.id === StepType.tokenApproval;\n}\nfunction isBuyStep(step) {\n\treturn step.id === StepType.buy;\n}\nfunction isSellStep(step) {\n\treturn step.id === StepType.sell;\n}\nfunction isCreateListingStep(step) {\n\treturn step.id === StepType.createListing;\n}\nfunction isCreateOfferStep(step) {\n\treturn step.id === StepType.createOffer;\n}\nfunction isCancelStep(step) {\n\treturn step.id === StepType.cancel;\n}\nfunction findStepByType(steps, type) {\n\treturn steps.find((step) => step.id === type);\n}\nfunction findApprovalStep(steps) {\n\treturn steps.find(isApprovalStep);\n}\nfunction findBuyStep(steps) {\n\treturn steps.find(isBuyStep);\n}\nfunction findSellStep(steps) {\n\treturn steps.find(isSellStep);\n}\nfunction hasPendingApproval(steps) {\n\treturn steps.some(isApprovalStep);\n}\n\n//#endregion\n//#region src/adapters/marketplace/index.ts\nvar marketplace_exports = /* @__PURE__ */ __export({\n\tCollectionStatus: () => CollectionStatus,\n\tContractType: () => ContractType$2,\n\tCurrencyStatus: () => CurrencyStatus,\n\tExecuteType: () => ExecuteType,\n\tMarketplaceAPI: () => marketplace_gen_exports,\n\tMarketplaceClient: () => MarketplaceClient,\n\tMarketplaceKind: () => MarketplaceKind,\n\tMetadataStatus: () => MetadataStatus,\n\tOfferType: () => OfferType,\n\tOrderSide: () => OrderSide,\n\tOrderStatus: () => OrderStatus,\n\tOrderbookKind: () => OrderbookKind,\n\tPropertyType: () => PropertyType,\n\tSortOrder: () => SortOrder,\n\tStepType: () => StepType,\n\tTransactionCrypto: () => TransactionCrypto,\n\tfindApprovalStep: () => findApprovalStep,\n\tfindBuyStep: () => findBuyStep,\n\tfindSellStep: () => findSellStep,\n\tfindStepByType: () => findStepByType,\n\thasPendingApproval: () => hasPendingApproval,\n\tisApprovalStep: () => isApprovalStep,\n\tisBuyStep: () => isBuyStep,\n\tisCancelStep: () => isCancelStep,\n\tisCreateListingStep: () => isCreateListingStep,\n\tisCreateOfferStep: () => isCreateOfferStep,\n\tisSellStep: () => isSellStep,\n\tisSignatureStep: () => isSignatureStep,\n\tisTransactionStep: () => isTransactionStep\n});\n\n//#endregion\n//#region src/adapters/metadata/client.ts\n/**\n* Wrapped Metadata Client\n*\n* Wraps the raw @0xsequence/metadata client to accept normalized types (number chainId, bigint tokenId)\n* and automatically convert to/from the raw API types (string chainID, string tokenID).\n*/\n/**\n* Wrapped Metadata Client\n*\n* This client accepts SDK-friendly types (number for chainId, bigint for tokenId)\n* and handles conversion to/from the raw API types internally.\n*/\nvar MetadataClient = class {\n\tclient;\n\tconstructor(hostname, projectAccessKey, jwtAuth) {\n\t\tthis.client = new SequenceMetadata(hostname, projectAccessKey, jwtAuth);\n\t}\n\t/**\n\t* Get contract info\n\t* Accepts normalized types (chainId: number)\n\t*/\n\tasync getContractInfo(args) {\n\t\tconst apiArgs = toGetContractInfoArgs(args);\n\t\tconst rawResult = await this.client.getContractInfo(apiArgs);\n\t\treturn toGetContractInfoReturn(rawResult);\n\t}\n\t/**\n\t* Get contract info batch\n\t* Accepts normalized types (chainId: number)\n\t*/\n\tasync getContractInfoBatch(args) {\n\t\tconst apiArgs = toGetContractInfoBatchArgs(args);\n\t\tconst rawResult = await this.client.getContractInfoBatch(apiArgs);\n\t\treturn toGetContractInfoBatchReturn(rawResult);\n\t}\n\t/**\n\t* Get token metadata\n\t* Accepts normalized types (chainId: number, tokenIds: bigint[])\n\t*/\n\tasync getTokenMetadata(args) {\n\t\tconst apiArgs = toGetTokenMetadataArgs(args);\n\t\tconst rawResult = await this.client.getTokenMetadata(apiArgs);\n\t\treturn toGetTokenMetadataReturn(rawResult);\n\t}\n\t/**\n\t* Get token metadata batch\n\t* Accepts normalized types (chainId: number, tokenIds: bigint[])\n\t*/\n\tasync getTokenMetadataBatch(args) {\n\t\tconst apiArgs = toGetTokenMetadataBatchArgs(args);\n\t\tconst rawResult = await this.client.getTokenMetadataBatch(apiArgs);\n\t\treturn toGetTokenMetadataBatchReturn(rawResult);\n\t}\n\t/**\n\t* Refresh token metadata\n\t* Accepts normalized types (chainId: number, tokenIds: bigint[])\n\t*/\n\tasync refreshTokenMetadata(args) {\n\t\tconst apiArgs = toRefreshTokenMetadataArgs(args);\n\t\treturn this.client.refreshTokenMetadata(apiArgs);\n\t}\n\t/**\n\t* Search token metadata\n\t* Accepts normalized types (chainId: number)\n\t*/\n\tasync searchTokenMetadata(args) {\n\t\tconst apiArgs = toSearchTokenMetadataArgs(args);\n\t\tconst rawResult = await this.client.searchTokenMetadata(apiArgs);\n\t\treturn toSearchTokenMetadataReturn(rawResult);\n\t}\n\t/**\n\t* Get token metadata property filters\n\t* Accepts normalized types (chainId: number)\n\t*/\n\tasync getTokenMetadataPropertyFilters(args) {\n\t\tconst apiArgs = toGetTokenMetadataPropertyFiltersArgs(args);\n\t\tconst rawResult = await this.client.getTokenMetadataPropertyFilters(apiArgs);\n\t\treturn toGetTokenMetadataPropertyFiltersReturn(rawResult);\n\t}\n\t/**\n\t* Access the underlying raw client if needed\n\t* (for advanced use cases or methods not yet wrapped)\n\t*/\n\tget raw() {\n\t\treturn this.client;\n\t}\n};\n\n//#endregion\n//#region src/adapters/metadata/index.ts\nvar metadata_exports = /* @__PURE__ */ __export({\n\tMetadataAPI: () => MetadataAPI,\n\tMetadataClient: () => MetadataClient,\n\ttoAsset: () => toAsset,\n\ttoContractInfo: () => toContractInfo$1,\n\ttoGetContractInfoArgs: () => toGetContractInfoArgs,\n\ttoGetContractInfoBatchArgs: () => toGetContractInfoBatchArgs,\n\ttoGetContractInfoBatchReturn: () => toGetContractInfoBatchReturn,\n\ttoGetContractInfoReturn: () => toGetContractInfoReturn,\n\ttoGetTokenMetadataArgs: () => toGetTokenMetadataArgs,\n\ttoGetTokenMetadataBatchArgs: () => toGetTokenMetadataBatchArgs,\n\ttoGetTokenMetadataBatchReturn: () => toGetTokenMetadataBatchReturn,\n\ttoGetTokenMetadataPropertyFiltersArgs: () => toGetTokenMetadataPropertyFiltersArgs,\n\ttoGetTokenMetadataPropertyFiltersReturn: () => toGetTokenMetadataPropertyFiltersReturn,\n\ttoGetTokenMetadataReturn: () => toGetTokenMetadataReturn,\n\ttoRefreshTokenMetadataArgs: () => toRefreshTokenMetadataArgs,\n\ttoSearchTokenMetadataArgs: () => toSearchTokenMetadataArgs,\n\ttoSearchTokenMetadataReturn: () => toSearchTokenMetadataReturn,\n\ttoTokenMetadata: () => toTokenMetadata$1\n});\n\n//#endregion\n//#region src/utils/type-assertions.ts\n/**\n* PropertyType - Should be identical across metadata and marketplace\n* Values: INT, STRING, ARRAY, GENERIC\n*/\nconst _assertPropertyTypeMatch = true;\n/**\n* ContractType - Different across packages\n*\n* ContractType exists in multiple packages with different structures:\n* - @0xsequence/indexer: Most comprehensive (includes NATIVE, SEQUENCE_WALLET, BRIDGE types, etc.)\n* - @0xsequence/metadata: Limited set (UNKNOWN, ERC20, ERC721, ERC1155, ERC6909, MISC)\n* - marketplace.gen.ts: Limited set (UNKNOWN, ERC20, ERC721, ERC1155)\n*\n* We export ContractType from @0xsequence/indexer in the main index.ts as it's the most\n* general and includes all the values from the other packages. This ensures consumers\n* always get the same type and prevents type conflicts (ContractType$1, ContractType$2, etc).\n*/\n/**\n* ResourceStatus - Should be identical across indexer and metadata\n* Values vary by package but should be structurally identical\n*/\nconst _assertResourceStatusMatch = true;\nconst TYPE_ASSERTIONS = {\n\tpropertyType: _assertPropertyTypeMatch,\n\tresourceStatus: _assertResourceStatusMatch\n};\n\n//#endregion\nexport { builder_exports as Builder, builder_gen_exports as BuilderAPI, CollectionStatus, ContractType, CurrencyStatus, ExecuteType, FilterCondition, indexer_exports as Indexer, marketplace_exports as Marketplace, marketplace_gen_exports as MarketplaceAPI, MarketplaceClient, MarketplaceKind, MarketplaceService, MarketplaceWalletType, metadata_exports as Metadata, MetadataStatus, OfferType, OrderSide, OrderStatus, OrderbookKind, PropertyType, ResourceStatus, IndexerClient as SequenceIndexer, MetadataClient as SequenceMetadata, SortOrder, StepType, TYPE_ASSERTIONS, TransactionCrypto, TransactionOnRampProvider, TransactionStatus, TransactionType, WalletKind, buildPage, findApprovalStep, findBuyStep, findSellStep, findStepByType, formatAmount, hasPendingApproval, isApprovalStep, isBuyStep, isCancelStep, isCreateListingStep, isCreateOfferStep, isSellStep, isSignatureStep, isTransactionStep, normalizeAddress, normalizeChainId, normalizeTokenId, parseAmount, parseBigInt, toApiAddress, toApiTokenId, toMetadataChainId };\n//# sourceMappingURL=index.js.map"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AAEvB,IAAI,YAAY,KAAK,YAAY;CAChC,IAAI,SAAS,EAAE;AACf,MAAK,IAAI,QAAQ,IAChB,WAAU,QAAQ,MAAM;EACvB,KAAK,IAAI;EACT,YAAY;EACZ,CAAC;AAEH,KAAI,QACH,WAAU,QAAQ,OAAO,aAAa,EAAE,OAAO,UAAU,CAAC;AAE3D,QAAO;;;;;ACXR,IAAI,sBAAsC,yBAAS;CAClD,gCAAgC;CAChC,gCAAgC;CAChC,+BAA+B;CAC/B,uBAAuB;CACvB,4BAA4BA;CAC5B,2BAA2B;CAC3B,wBAAwB;CACxB,8BAA8B;CAC9B,0BAA0B;CAC1B,6BAA6B;CAC7B,2BAA2BC;CAC3B,qBAAqBC;CACrB,6BAA6BC;CAC7B,4BAA4BC;CAC5B,4BAA4BC;CAC5B,4BAA4B;CAC5B,2BAA2BC;CAC3B,8BAA8B;CAC9B,oBAAoBC;CACpB,yBAAyBC;CACzB,yBAAyB;CACzB,4BAA4B;CAC5B,6BAA6B;CAC7B,8BAA8B;CAC9B,2BAA2B;CAC3B,qCAAqC;CACrC,2BAA2B;CAC3B,mBAAmB;CACnB,wBAAwB;CACxB,oBAAoBC;CACpB,yBAAyBC;CACzB,gCAAgC;CAChC,gCAAgC;CAChC,8BAA8B;CAC9B,iCAAiC;CACjC,6BAA6B;CAC7B,cAAc;CACd,yBAAy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AQ;GACxC;GACA;GACA;GACA;EACD,4BAA4B,QAAQ;GACnC;GACA;GACA;GACA;EACD,6BAA6B,QAAQ;GACpC;GACA;GACA;GACA;EACD,8BAA8B,QAAQ;GACrC;GACA;GACA;GACA;EACD,+BAA+B,QAAQ;GACtC;GACA;GACA;GACA;EACD,0BAA0B,QAAQ;GACjC;GACA;GACA;GACA;EACD,wBAAwB,QAAQ;GAC/B;GACA;GACA;GACA;EACD,yBAAyB,QAAQ;GAChC;GACA;GACA;GACA;EACD,0BAA0B,QAAQ;GACjC;GACA;GACA;GACA;EACD,6BAA6B,QAAQ;GACpC;GACA;GACA;GACA;EACD,2BAA2B,QAAQ;GAClC;GACA;GACA;GACA;EACD,4BAA4B,QAAQ;GACnC;GACA;GACA;GACA;EACD,UAAU,QAAQ;GACjB;GACA;GACA;GACA;EACD,mBAAmB,QAAQ;GAC1B;GACA;GACA;GACA;EACD,4BAA4B,QAAQ;GACnC;GACA;GACA;GACA;EACD,iCAAiC,QAAQ;GACxC;GACA;GACA;GACA;EACD,gBAAgB,QAAQ;GACvB;GACA;GACA;GACA;EACD,oCAAoC,QAAQ;GAC3C;GACA;GACA;GACA;EACD,mCAAmC,QAAQ;GAC1C;GACA;GACA;GACA;EACD,YAAY,QAAQ;GACnB;GACA;GACA;GACA;EACD,aAAa,QAAQ;GACpB;GACA;GACA;GACA;EACD,YAAY,QAAQ;GACnB;GACA;GACA;GACA;EACD,6BAA6B,QAAQ;GACpC;GACA;GACA;GACA;EACD,+BAA+B,QAAQ;GACtC;GACA;GACA;GACA;EACD,wBAAwB,QAAQ;GAC/B;GACA;GACA;GACA;EACD,qBAAqB,QAAQ;GAC5B;GACA;GACA;GACA;EACD,uBAAuB,QAAQ;GAC9B;GACA;GACA;GACA;EACD,6BAA6B,QAAQ;GACpC;GACA;GACA;GACA;EACD;CACD,kBAAkB,KAAK,SAAS,WAAW;AAC1C,SAAO,KAAK,MAAM,KAAK,IAAI,iBAAiB,EAAE,kBAAkB,WAAW,I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,KAAK,OAAO,sBAAsB,QAAQ,CACnB;;;;;;CAMhD,MAAM,qBAAqB,MAAM;EAChC,MAAM,UAAU,2BAA2B,KAAK;AAChD,SAAO,KAAK,OAAO,qBAAqB,QAAQ;;;;;;CAMjD,MAAM,oBAAoB,MAAM;EAC/B,MAAM,UAAU,0BAA0B,KAAK;AAE/C,SAAO,4BADW,MAAM,KAAK,OAAO,oBAAoB,QAAQ,CACnB;;;;;;CAM9C,MAAM,gCAAgC,MAAM;EAC3C,MAAM,UAAU,sCAAsC,KAAK;AAE3D,SAAO,wCADW,MAAM,KAAK,OAAO,gCAAgC,QAAQ,CACnB;;;;;;CAM1D,IAAI,MAAM;AACT,SAAO,KAAK"}
|
|
1
|
+
{"version":3,"file":"dist.js","names":["InvalidArgumentError","MethodNotFoundError","NotFoundError","PermissionDeniedError","ProjectNotFoundError","RequestConflictError","SessionExpiredError","TimeoutError","UnauthorizedError","WebrpcHeader","WebrpcHeaderValue","webrpcErrorByCode","WebrpcError","WebrpcEndpointError","WebrpcRequestFailedError","WebrpcBadRouteError","WebrpcBadMethodError","WebrpcBadRequestError","WebrpcBadResponseError","WebrpcServerPanicError","WebrpcInternalErrorError","WebrpcClientDisconnectedError","WebrpcStreamLostError","WebrpcStreamFinishedError","ServiceDisabledError","UserNotFoundError","InvalidTierError","EmailTemplateExistsError","SubscriptionLimitError","FeatureNotIncludedError","InvalidNetworkError","InvitationExpiredError","AlreadyCollaboratorError","buildResponse","WebrpcRequestFailedError","WebrpcBadResponseError","WebrpcError","WebrpcEndpointError","WebrpcBadRouteError","WebrpcBadMethodError","WebrpcBadRequestError","WebrpcServerPanicError","WebrpcInternalErrorError","WebrpcClientAbortedError","WebrpcStreamLostError","WebrpcStreamFinishedError","UnauthorizedError","PermissionDeniedError","SessionExpiredError","MethodNotFoundError","RequestConflictError","AbortedError","GeoblockedError","RateLimitedError","ProjectNotFoundError","SecretKeyCorsDisallowedError","AccessKeyNotFoundError","AccessKeyMismatchError","InvalidOriginError","InvalidServiceError","UnauthorizedUserError","InvalidChainError","QuotaExceededError","QuotaRateLimitError","NoDefaultKeyError","MaxAccessKeysError","AtLeastOneKeyError","TimeoutError","NotFoundError","InvalidArgumentError","NotImplementedError","toContractInfo","toTokenMetadata"],"sources":["../../api/dist/chunk.js","../../api/dist/builder.gen.js","../../api/dist/transform.js","../../api/dist/marketplace.gen.js","../../api/dist/transforms.js","../../api/dist/transforms2.js","../../api/dist/index.js"],"sourcesContent":["//#region rolldown:runtime\nvar __defProp = Object.defineProperty;\nvar __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);\nvar __export = (all, symbols) => {\n\tlet target = {};\n\tfor (var name in all) {\n\t\t__defProp(target, name, {\n\t\t\tget: all[name],\n\t\t\tenumerable: true\n\t\t});\n\t}\n\tif (symbols) {\n\t\t__defProp(target, Symbol.toStringTag, { value: \"Module\" });\n\t}\n\treturn target;\n};\n\n//#endregion\nexport { __export as n, __commonJSMin as t };","import { n as __export } from \"./chunk.js\";\n\n//#region src/adapters/builder/builder.gen.ts\nvar builder_gen_exports = /* @__PURE__ */ __export({\n\tAlreadyCollaboratorError: () => AlreadyCollaboratorError,\n\tEmailTemplateExistsError: () => EmailTemplateExistsError,\n\tFeatureNotIncludedError: () => FeatureNotIncludedError,\n\tFilterCondition: () => FilterCondition,\n\tInvalidArgumentError: () => InvalidArgumentError,\n\tInvalidNetworkError: () => InvalidNetworkError,\n\tInvalidTierError: () => InvalidTierError,\n\tInvitationExpiredError: () => InvitationExpiredError,\n\tMarketplaceService: () => MarketplaceService,\n\tMarketplaceWalletType: () => MarketplaceWalletType,\n\tMethodNotFoundError: () => MethodNotFoundError,\n\tNotFoundError: () => NotFoundError,\n\tPermissionDeniedError: () => PermissionDeniedError,\n\tProjectNotFoundError: () => ProjectNotFoundError,\n\tRequestConflictError: () => RequestConflictError,\n\tServiceDisabledError: () => ServiceDisabledError,\n\tSessionExpiredError: () => SessionExpiredError,\n\tSubscriptionLimitError: () => SubscriptionLimitError,\n\tTimeoutError: () => TimeoutError,\n\tUnauthorizedError: () => UnauthorizedError,\n\tUserNotFoundError: () => UserNotFoundError,\n\tWebrpcBadMethodError: () => WebrpcBadMethodError,\n\tWebrpcBadRequestError: () => WebrpcBadRequestError,\n\tWebrpcBadResponseError: () => WebrpcBadResponseError,\n\tWebrpcBadRouteError: () => WebrpcBadRouteError,\n\tWebrpcClientDisconnectedError: () => WebrpcClientDisconnectedError,\n\tWebrpcEndpointError: () => WebrpcEndpointError,\n\tWebrpcError: () => WebrpcError,\n\tWebrpcErrorCodes: () => WebrpcErrorCodes,\n\tWebrpcHeader: () => WebrpcHeader,\n\tWebrpcHeaderValue: () => WebrpcHeaderValue,\n\tWebrpcInternalErrorError: () => WebrpcInternalErrorError,\n\tWebrpcRequestFailedError: () => WebrpcRequestFailedError,\n\tWebrpcServerPanicError: () => WebrpcServerPanicError,\n\tWebrpcStreamFinishedError: () => WebrpcStreamFinishedError,\n\tWebrpcStreamLostError: () => WebrpcStreamLostError,\n\terrors: () => errors,\n\twebrpcErrorByCode: () => webrpcErrorByCode\n});\nconst WebrpcHeader = \"Webrpc\";\nconst WebrpcHeaderValue = \"webrpc@v0.26.0;gen-typescript@v0.17.0;sequence-builder@v0.1.0\";\nlet MarketplaceWalletType = /* @__PURE__ */ function(MarketplaceWalletType$1) {\n\tMarketplaceWalletType$1[\"UNIVERSAL\"] = \"UNIVERSAL\";\n\tMarketplaceWalletType$1[\"EMBEDDED\"] = \"EMBEDDED\";\n\tMarketplaceWalletType$1[\"ECOSYSTEM\"] = \"ECOSYSTEM\";\n\treturn MarketplaceWalletType$1;\n}({});\nlet FilterCondition = /* @__PURE__ */ function(FilterCondition$1) {\n\tFilterCondition$1[\"ENTIRE_KEY\"] = \"ENTIRE_KEY\";\n\tFilterCondition$1[\"SPECIFIC_VALUE\"] = \"SPECIFIC_VALUE\";\n\treturn FilterCondition$1;\n}({});\nvar WebrpcError = class WebrpcError extends Error {\n\tname;\n\tcode;\n\tmessage;\n\tstatus;\n\tcause;\n\t/** @deprecated Use message instead of msg. Deprecated in webrpc v0.11.0. */\n\tmsg;\n\tconstructor(name, code, message, status, cause) {\n\t\tsuper(message);\n\t\tthis.name = name || \"WebrpcError\";\n\t\tthis.code = typeof code === \"number\" ? code : 0;\n\t\tthis.message = message || `endpoint error ${this.code}`;\n\t\tthis.msg = this.message;\n\t\tthis.status = typeof status === \"number\" ? status : 0;\n\t\tthis.cause = cause;\n\t\tObject.setPrototypeOf(this, WebrpcError.prototype);\n\t}\n\tstatic new(payload) {\n\t\treturn new WebrpcError(payload.error, payload.code, payload.message || payload.msg, payload.status, payload.cause);\n\t}\n};\nvar WebrpcEndpointError = class WebrpcEndpointError extends WebrpcError {\n\tconstructor(name = \"WebrpcEndpoint\", code = 0, message = \"endpoint error\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcEndpointError.prototype);\n\t}\n};\nvar WebrpcRequestFailedError = class WebrpcRequestFailedError extends WebrpcError {\n\tconstructor(name = \"WebrpcRequestFailed\", code = -1, message = \"request failed\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcRequestFailedError.prototype);\n\t}\n};\nvar WebrpcBadRouteError = class WebrpcBadRouteError extends WebrpcError {\n\tconstructor(name = \"WebrpcBadRoute\", code = -2, message = \"bad route\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcBadRouteError.prototype);\n\t}\n};\nvar WebrpcBadMethodError = class WebrpcBadMethodError extends WebrpcError {\n\tconstructor(name = \"WebrpcBadMethod\", code = -3, message = \"bad method\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcBadMethodError.prototype);\n\t}\n};\nvar WebrpcBadRequestError = class WebrpcBadRequestError extends WebrpcError {\n\tconstructor(name = \"WebrpcBadRequest\", code = -4, message = \"bad request\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcBadRequestError.prototype);\n\t}\n};\nvar WebrpcBadResponseError = class WebrpcBadResponseError extends WebrpcError {\n\tconstructor(name = \"WebrpcBadResponse\", code = -5, message = \"bad response\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcBadResponseError.prototype);\n\t}\n};\nvar WebrpcServerPanicError = class WebrpcServerPanicError extends WebrpcError {\n\tconstructor(name = \"WebrpcServerPanic\", code = -6, message = \"server panic\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcServerPanicError.prototype);\n\t}\n};\nvar WebrpcInternalErrorError = class WebrpcInternalErrorError extends WebrpcError {\n\tconstructor(name = \"WebrpcInternalError\", code = -7, message = \"internal error\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcInternalErrorError.prototype);\n\t}\n};\nvar WebrpcClientDisconnectedError = class WebrpcClientDisconnectedError extends WebrpcError {\n\tconstructor(name = \"WebrpcClientDisconnected\", code = -8, message = \"client disconnected\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcClientDisconnectedError.prototype);\n\t}\n};\nvar WebrpcStreamLostError = class WebrpcStreamLostError extends WebrpcError {\n\tconstructor(name = \"WebrpcStreamLost\", code = -9, message = \"stream lost\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcStreamLostError.prototype);\n\t}\n};\nvar WebrpcStreamFinishedError = class WebrpcStreamFinishedError extends WebrpcError {\n\tconstructor(name = \"WebrpcStreamFinished\", code = -10, message = \"stream finished\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, WebrpcStreamFinishedError.prototype);\n\t}\n};\nvar UnauthorizedError = class UnauthorizedError extends WebrpcError {\n\tconstructor(name = \"Unauthorized\", code = 1e3, message = \"Unauthorized access\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, UnauthorizedError.prototype);\n\t}\n};\nvar PermissionDeniedError = class PermissionDeniedError extends WebrpcError {\n\tconstructor(name = \"PermissionDenied\", code = 1001, message = \"Permission denied\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, PermissionDeniedError.prototype);\n\t}\n};\nvar SessionExpiredError = class SessionExpiredError extends WebrpcError {\n\tconstructor(name = \"SessionExpired\", code = 1002, message = \"Session expired\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, SessionExpiredError.prototype);\n\t}\n};\nvar MethodNotFoundError = class MethodNotFoundError extends WebrpcError {\n\tconstructor(name = \"MethodNotFound\", code = 1003, message = \"Method not found\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, MethodNotFoundError.prototype);\n\t}\n};\nvar RequestConflictError = class RequestConflictError extends WebrpcError {\n\tconstructor(name = \"RequestConflict\", code = 1004, message = \"Conflict with target resource\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, RequestConflictError.prototype);\n\t}\n};\nvar ServiceDisabledError = class ServiceDisabledError extends WebrpcError {\n\tconstructor(name = \"ServiceDisabled\", code = 1005, message = \"Service disabled\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, ServiceDisabledError.prototype);\n\t}\n};\nvar TimeoutError = class TimeoutError extends WebrpcError {\n\tconstructor(name = \"Timeout\", code = 2e3, message = \"Request timed out\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, TimeoutError.prototype);\n\t}\n};\nvar InvalidArgumentError = class InvalidArgumentError extends WebrpcError {\n\tconstructor(name = \"InvalidArgument\", code = 2001, message = \"Invalid argument\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, InvalidArgumentError.prototype);\n\t}\n};\nvar NotFoundError = class NotFoundError extends WebrpcError {\n\tconstructor(name = \"NotFound\", code = 3e3, message = \"Resource not found\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, NotFoundError.prototype);\n\t}\n};\nvar UserNotFoundError = class UserNotFoundError extends WebrpcError {\n\tconstructor(name = \"UserNotFound\", code = 3001, message = \"User not found\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, UserNotFoundError.prototype);\n\t}\n};\nvar ProjectNotFoundError = class ProjectNotFoundError extends WebrpcError {\n\tconstructor(name = \"ProjectNotFound\", code = 3002, message = \"Project not found\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, ProjectNotFoundError.prototype);\n\t}\n};\nvar InvalidTierError = class InvalidTierError extends WebrpcError {\n\tconstructor(name = \"InvalidTier\", code = 3003, message = \"Invalid subscription tier\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, InvalidTierError.prototype);\n\t}\n};\nvar EmailTemplateExistsError = class EmailTemplateExistsError extends WebrpcError {\n\tconstructor(name = \"EmailTemplateExists\", code = 3004, message = \"Email Template exists\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, EmailTemplateExistsError.prototype);\n\t}\n};\nvar SubscriptionLimitError = class SubscriptionLimitError extends WebrpcError {\n\tconstructor(name = \"SubscriptionLimit\", code = 3005, message = \"Subscription limit reached\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, SubscriptionLimitError.prototype);\n\t}\n};\nvar FeatureNotIncludedError = class FeatureNotIncludedError extends WebrpcError {\n\tconstructor(name = \"FeatureNotIncluded\", code = 3006, message = \"Feature not included\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, FeatureNotIncludedError.prototype);\n\t}\n};\nvar InvalidNetworkError = class InvalidNetworkError extends WebrpcError {\n\tconstructor(name = \"InvalidNetwork\", code = 3007, message = \"Invalid network\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, InvalidNetworkError.prototype);\n\t}\n};\nvar InvitationExpiredError = class InvitationExpiredError extends WebrpcError {\n\tconstructor(name = \"InvitationExpired\", code = 4e3, message = \"Invitation code is expired\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, InvitationExpiredError.prototype);\n\t}\n};\nvar AlreadyCollaboratorError = class AlreadyCollaboratorError extends WebrpcError {\n\tconstructor(name = \"AlreadyCollaborator\", code = 4001, message = \"Already a collaborator\", status = 0, cause) {\n\t\tsuper(name, code, message, status, cause);\n\t\tObject.setPrototypeOf(this, AlreadyCollaboratorError.prototype);\n\t}\n};\nlet errors = /* @__PURE__ */ function(errors$1) {\n\terrors$1[\"WebrpcEndpoint\"] = \"WebrpcEndpoint\";\n\terrors$1[\"WebrpcRequestFailed\"] = \"WebrpcRequestFailed\";\n\terrors$1[\"WebrpcBadRoute\"] = \"WebrpcBadRoute\";\n\terrors$1[\"WebrpcBadMethod\"] = \"WebrpcBadMethod\";\n\terrors$1[\"WebrpcBadRequest\"] = \"WebrpcBadRequest\";\n\terrors$1[\"WebrpcBadResponse\"] = \"WebrpcBadResponse\";\n\terrors$1[\"WebrpcServerPanic\"] = \"WebrpcServerPanic\";\n\terrors$1[\"WebrpcInternalError\"] = \"WebrpcInternalError\";\n\terrors$1[\"WebrpcClientDisconnected\"] = \"WebrpcClientDisconnected\";\n\terrors$1[\"WebrpcStreamLost\"] = \"WebrpcStreamLost\";\n\terrors$1[\"WebrpcStreamFinished\"] = \"WebrpcStreamFinished\";\n\terrors$1[\"Unauthorized\"] = \"Unauthorized\";\n\terrors$1[\"PermissionDenied\"] = \"PermissionDenied\";\n\terrors$1[\"SessionExpired\"] = \"SessionExpired\";\n\terrors$1[\"MethodNotFound\"] = \"MethodNotFound\";\n\terrors$1[\"RequestConflict\"] = \"RequestConflict\";\n\terrors$1[\"ServiceDisabled\"] = \"ServiceDisabled\";\n\terrors$1[\"Timeout\"] = \"Timeout\";\n\terrors$1[\"InvalidArgument\"] = \"InvalidArgument\";\n\terrors$1[\"NotFound\"] = \"NotFound\";\n\terrors$1[\"UserNotFound\"] = \"UserNotFound\";\n\terrors$1[\"ProjectNotFound\"] = \"ProjectNotFound\";\n\terrors$1[\"InvalidTier\"] = \"InvalidTier\";\n\terrors$1[\"EmailTemplateExists\"] = \"EmailTemplateExists\";\n\terrors$1[\"SubscriptionLimit\"] = \"SubscriptionLimit\";\n\terrors$1[\"FeatureNotIncluded\"] = \"FeatureNotIncluded\";\n\terrors$1[\"InvalidNetwork\"] = \"InvalidNetwork\";\n\terrors$1[\"InvitationExpired\"] = \"InvitationExpired\";\n\terrors$1[\"AlreadyCollaborator\"] = \"AlreadyCollaborator\";\n\treturn errors$1;\n}({});\nlet WebrpcErrorCodes = /* @__PURE__ */ function(WebrpcErrorCodes$1) {\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcEndpoint\"] = 0] = \"WebrpcEndpoint\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcRequestFailed\"] = -1] = \"WebrpcRequestFailed\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcBadRoute\"] = -2] = \"WebrpcBadRoute\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcBadMethod\"] = -3] = \"WebrpcBadMethod\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcBadRequest\"] = -4] = \"WebrpcBadRequest\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcBadResponse\"] = -5] = \"WebrpcBadResponse\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcServerPanic\"] = -6] = \"WebrpcServerPanic\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcInternalError\"] = -7] = \"WebrpcInternalError\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcClientDisconnected\"] = -8] = \"WebrpcClientDisconnected\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcStreamLost\"] = -9] = \"WebrpcStreamLost\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcStreamFinished\"] = -10] = \"WebrpcStreamFinished\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"Unauthorized\"] = 1e3] = \"Unauthorized\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"PermissionDenied\"] = 1001] = \"PermissionDenied\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"SessionExpired\"] = 1002] = \"SessionExpired\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"MethodNotFound\"] = 1003] = \"MethodNotFound\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"RequestConflict\"] = 1004] = \"RequestConflict\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"ServiceDisabled\"] = 1005] = \"ServiceDisabled\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"Timeout\"] = 2e3] = \"Timeout\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"InvalidArgument\"] = 2001] = \"InvalidArgument\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"NotFound\"] = 3e3] = \"NotFound\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"UserNotFound\"] = 3001] = \"UserNotFound\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"ProjectNotFound\"] = 3002] = \"ProjectNotFound\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"InvalidTier\"] = 3003] = \"InvalidTier\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"EmailTemplateExists\"] = 3004] = \"EmailTemplateExists\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"SubscriptionLimit\"] = 3005] = \"SubscriptionLimit\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"FeatureNotIncluded\"] = 3006] = \"FeatureNotIncluded\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"InvalidNetwork\"] = 3007] = \"InvalidNetwork\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"InvitationExpired\"] = 4e3] = \"InvitationExpired\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"AlreadyCollaborator\"] = 4001] = \"AlreadyCollaborator\";\n\treturn WebrpcErrorCodes$1;\n}({});\nconst webrpcErrorByCode = {\n\t0: WebrpcEndpointError,\n\t[-1]: WebrpcRequestFailedError,\n\t[-2]: WebrpcBadRouteError,\n\t[-3]: WebrpcBadMethodError,\n\t[-4]: WebrpcBadRequestError,\n\t[-5]: WebrpcBadResponseError,\n\t[-6]: WebrpcServerPanicError,\n\t[-7]: WebrpcInternalErrorError,\n\t[-8]: WebrpcClientDisconnectedError,\n\t[-9]: WebrpcStreamLostError,\n\t[-10]: WebrpcStreamFinishedError,\n\t1e3: UnauthorizedError,\n\t1001: PermissionDeniedError,\n\t1002: SessionExpiredError,\n\t1003: MethodNotFoundError,\n\t1004: RequestConflictError,\n\t1005: ServiceDisabledError,\n\t2e3: TimeoutError,\n\t2001: InvalidArgumentError,\n\t3e3: NotFoundError,\n\t3001: UserNotFoundError,\n\t3002: ProjectNotFoundError,\n\t3003: InvalidTierError,\n\t3004: EmailTemplateExistsError,\n\t3005: SubscriptionLimitError,\n\t3006: FeatureNotIncludedError,\n\t3007: InvalidNetworkError,\n\t4e3: InvitationExpiredError,\n\t4001: AlreadyCollaboratorError\n};\nvar MarketplaceService = class {\n\thostname;\n\tfetch;\n\tpath = \"/rpc/MarketplaceService/\";\n\tconstructor(hostname, fetch) {\n\t\tthis.hostname = hostname.replace(/\\/*$/, \"\");\n\t\tthis.fetch = (input, init) => fetch(input, init);\n\t}\n\turl(name) {\n\t\treturn this.hostname + this.path + name;\n\t}\n\tlookupMarketplace = (args, headers, signal) => {\n\t\treturn this.fetch(this.url(\"LookupMarketplace\"), createHTTPRequest(args, headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn {\n\t\t\t\t\tmarketplace: _data.marketplace,\n\t\t\t\t\tmarketCollections: _data.marketCollections,\n\t\t\t\t\tshopCollections: _data.shopCollections\n\t\t\t\t};\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `lookupMarketplace(): ${error.message || \"\"}` });\n\t\t});\n\t};\n};\nconst createHTTPRequest = (body = {}, headers = {}, signal = null) => {\n\tconst reqHeaders = {\n\t\t...headers,\n\t\t\"Content-Type\": \"application/json\"\n\t};\n\treqHeaders[WebrpcHeader] = WebrpcHeaderValue;\n\treturn {\n\t\tmethod: \"POST\",\n\t\theaders: reqHeaders,\n\t\tbody: JSON.stringify(body || {}),\n\t\tsignal\n\t};\n};\nconst buildResponse = (res) => {\n\treturn res.text().then((text) => {\n\t\tlet data;\n\t\ttry {\n\t\t\tdata = JSON.parse(text);\n\t\t} catch (error) {\n\t\t\tlet message = \"\";\n\t\t\tif (error instanceof Error) message = error.message;\n\t\t\tthrow WebrpcBadResponseError.new({\n\t\t\t\tstatus: res.status,\n\t\t\t\tcause: `JSON.parse(): ${message}: response text: ${text}`\n\t\t\t});\n\t\t}\n\t\tif (!res.ok) throw (webrpcErrorByCode[typeof data.code === \"number\" ? data.code : 0] || WebrpcError).new(data);\n\t\treturn data;\n\t});\n};\n\n//#endregion\nexport { WebrpcBadRequestError as a, WebrpcClientDisconnectedError as c, WebrpcInternalErrorError as d, WebrpcRequestFailedError as f, builder_gen_exports as g, WebrpcStreamLostError as h, WebrpcBadMethodError as i, WebrpcEndpointError as l, WebrpcStreamFinishedError as m, MarketplaceService as n, WebrpcBadResponseError as o, WebrpcServerPanicError as p, MarketplaceWalletType as r, WebrpcBadRouteError as s, FilterCondition as t, WebrpcError as u };\n//# sourceMappingURL=builder.gen.js.map","//#region src/utils/normalize.ts\nfunction normalizeAddress(address) {\n\tif (!address) throw new Error(\"Address cannot be empty\");\n\tif (!address.startsWith(\"0x\")) throw new Error(`Invalid address format: missing 0x prefix - ${address}`);\n\tif (address.length !== 42) throw new Error(`Invalid address length: expected 42 characters, got ${address.length} - ${address}`);\n\tif (!/^0x[0-9a-fA-F]{40}$/.test(address)) throw new Error(`Invalid address format: contains non-hex characters - ${address}`);\n\treturn address;\n}\nfunction toApiAddress(address) {\n\treturn address;\n}\nfunction normalizeChainId(chainId) {\n\tif (typeof chainId === \"number\") return chainId;\n\tif (typeof chainId === \"bigint\") return Number(chainId);\n\treturn Number(chainId);\n}\nfunction toMetadataChainId(chainId) {\n\treturn chainId.toString();\n}\nfunction normalizeTokenId(tokenId) {\n\tif (typeof tokenId === \"bigint\") return tokenId;\n\tif (typeof tokenId === \"string\") return BigInt(tokenId);\n\treturn BigInt(tokenId);\n}\nfunction toApiTokenId(tokenId) {\n\treturn tokenId.toString();\n}\nfunction parseBigInt(value) {\n\tif (typeof value === \"bigint\") return value;\n\tif (typeof value === \"number\") return BigInt(value);\n\ttry {\n\t\treturn BigInt(value);\n\t} catch {\n\t\treturn 0n;\n\t}\n}\nfunction formatAmount(amount, decimals) {\n\tconst str = amount.toString().padStart(decimals + 1, \"0\");\n\treturn `${str.slice(0, -decimals) || \"0\"}.${str.slice(-decimals)}`;\n}\nfunction parseAmount(value, decimals) {\n\tconst [intPart = \"0\", decPart = \"\"] = value.split(\".\");\n\tconst paddedDec = decPart.padEnd(decimals, \"0\").slice(0, decimals);\n\treturn BigInt(intPart + paddedDec);\n}\n\n//#endregion\n//#region src/utils/transform.ts\nfunction transformOptional(value, transformer) {\n\treturn value !== void 0 ? transformer(value) : void 0;\n}\nfunction transformArray(items, transformer) {\n\treturn items.map(transformer);\n}\nfunction transformOptionalArray(items, transformer) {\n\treturn items !== void 0 ? items.map(transformer) : void 0;\n}\nfunction transformRecord(record, transformer) {\n\treturn Object.fromEntries(Object.entries(record).map(([key, value]) => [key, transformer(value, key)]));\n}\nfunction spreadWith(obj, overrides) {\n\treturn {\n\t\t...obj,\n\t\t...overrides\n\t};\n}\nfunction buildPage(params) {\n\tif (params.page === void 0 && params.pageSize === void 0 && !params.sort?.length) return;\n\tconst page = {\n\t\tpage: params.page ?? 1,\n\t\tpageSize: params.pageSize ?? 30\n\t};\n\tif (params.more !== void 0) page.more = params.more;\n\tif (params.sort?.length) page.sort = params.sort;\n\treturn page;\n}\n\n//#endregion\nexport { transformOptionalArray as a, normalizeAddress as c, parseAmount as d, parseBigInt as f, toMetadataChainId as h, transformOptional as i, normalizeChainId as l, toApiTokenId as m, spreadWith as n, transformRecord as o, toApiAddress as p, transformArray as r, formatAmount as s, buildPage as t, normalizeTokenId as u };\n//# sourceMappingURL=transform.js.map","import { n as __export } from \"./chunk.js\";\n\n//#region src/adapters/marketplace/marketplace.gen.ts\nvar marketplace_gen_exports = /* @__PURE__ */ __export({\n\tAbortedError: () => AbortedError,\n\tAccessKeyMismatchError: () => AccessKeyMismatchError,\n\tAccessKeyNotFoundError: () => AccessKeyNotFoundError,\n\tActivityAction: () => ActivityAction,\n\tAdmin: () => Admin,\n\tAtLeastOneKeyError: () => AtLeastOneKeyError,\n\tCollectibleSource: () => CollectibleSource,\n\tCollectibleStatus: () => CollectibleStatus,\n\tCollectionPriority: () => CollectionPriority,\n\tCollectionStatus: () => CollectionStatus,\n\tContractType: () => ContractType,\n\tCurrencyStatus: () => CurrencyStatus,\n\tExecuteType: () => ExecuteType,\n\tGeoblockedError: () => GeoblockedError,\n\tInvalidArgumentError: () => InvalidArgumentError,\n\tInvalidChainError: () => InvalidChainError,\n\tInvalidOriginError: () => InvalidOriginError,\n\tInvalidServiceError: () => InvalidServiceError,\n\tItemsContractStatus: () => ItemsContractStatus,\n\tJsonDecode: () => JsonDecode,\n\tJsonEncode: () => JsonEncode,\n\tMarketplace: () => Marketplace,\n\tMarketplaceKind: () => MarketplaceKind,\n\tMaxAccessKeysError: () => MaxAccessKeysError,\n\tMetadataStatus: () => MetadataStatus,\n\tMethodNotFoundError: () => MethodNotFoundError,\n\tNoDefaultKeyError: () => NoDefaultKeyError,\n\tNotFoundError: () => NotFoundError,\n\tNotImplementedError: () => NotImplementedError,\n\tOfferType: () => OfferType,\n\tOrderSide: () => OrderSide,\n\tOrderStatus: () => OrderStatus,\n\tOrderbookKind: () => OrderbookKind,\n\tPermissionDeniedError: () => PermissionDeniedError,\n\tPrimarySaleContractStatus: () => PrimarySaleContractStatus,\n\tPrimarySaleItemDetailType: () => PrimarySaleItemDetailType,\n\tPrimarySaleVersion: () => PrimarySaleVersion,\n\tProjectNotFoundError: () => ProjectNotFoundError,\n\tProjectStatus: () => ProjectStatus,\n\tPropertyType: () => PropertyType,\n\tQuotaExceededError: () => QuotaExceededError,\n\tQuotaRateLimitError: () => QuotaRateLimitError,\n\tRateLimitedError: () => RateLimitedError,\n\tRequestConflictError: () => RequestConflictError,\n\tSecretKeyCorsDisallowedError: () => SecretKeyCorsDisallowedError,\n\tSessionExpiredError: () => SessionExpiredError,\n\tSortOrder: () => SortOrder,\n\tSourceKind: () => SourceKind,\n\tStepType: () => StepType,\n\tTimeoutError: () => TimeoutError,\n\tTransactionCrypto: () => TransactionCrypto,\n\tTransactionNFTCheckoutProvider: () => TransactionNFTCheckoutProvider,\n\tTransactionOnRampProvider: () => TransactionOnRampProvider,\n\tTransactionSwapProvider: () => TransactionSwapProvider,\n\tUnauthorizedError: () => UnauthorizedError,\n\tUnauthorizedUserError: () => UnauthorizedUserError,\n\tVersionFromHeader: () => VersionFromHeader,\n\tWalletKind: () => WalletKind,\n\tWebrpcBadMethodError: () => WebrpcBadMethodError,\n\tWebrpcBadRequestError: () => WebrpcBadRequestError,\n\tWebrpcBadResponseError: () => WebrpcBadResponseError,\n\tWebrpcBadRouteError: () => WebrpcBadRouteError,\n\tWebrpcClientAbortedError: () => WebrpcClientAbortedError,\n\tWebrpcEndpointError: () => WebrpcEndpointError,\n\tWebrpcError: () => WebrpcError,\n\tWebrpcErrorCodes: () => WebrpcErrorCodes,\n\tWebrpcHeader: () => WebrpcHeader,\n\tWebrpcHeaderValue: () => WebrpcHeaderValue,\n\tWebrpcInternalErrorError: () => WebrpcInternalErrorError,\n\tWebrpcRequestFailedError: () => WebrpcRequestFailedError,\n\tWebrpcSchemaHash: () => WebrpcSchemaHash,\n\tWebrpcSchemaVersion: () => WebrpcSchemaVersion,\n\tWebrpcServerPanicError: () => WebrpcServerPanicError,\n\tWebrpcStreamFinishedError: () => WebrpcStreamFinishedError,\n\tWebrpcStreamLostError: () => WebrpcStreamLostError,\n\tWebrpcVersion: () => WebrpcVersion,\n\terrors: () => errors,\n\twebrpcErrorByCode: () => webrpcErrorByCode\n});\nconst WebrpcVersion = \"v1\";\nconst WebrpcSchemaVersion = \"v0-25.11.10+051e186\";\nconst WebrpcSchemaHash = \"4e2360c7b6314298aa3190c291646b7f0356c723\";\nlet SortOrder = /* @__PURE__ */ function(SortOrder$1) {\n\tSortOrder$1[\"ASC\"] = \"ASC\";\n\tSortOrder$1[\"DESC\"] = \"DESC\";\n\treturn SortOrder$1;\n}({});\nlet PropertyType = /* @__PURE__ */ function(PropertyType$1) {\n\tPropertyType$1[\"INT\"] = \"INT\";\n\tPropertyType$1[\"STRING\"] = \"STRING\";\n\tPropertyType$1[\"ARRAY\"] = \"ARRAY\";\n\tPropertyType$1[\"GENERIC\"] = \"GENERIC\";\n\treturn PropertyType$1;\n}({});\nlet MarketplaceKind = /* @__PURE__ */ function(MarketplaceKind$1) {\n\tMarketplaceKind$1[\"unknown\"] = \"unknown\";\n\tMarketplaceKind$1[\"sequence_marketplace_v1\"] = \"sequence_marketplace_v1\";\n\tMarketplaceKind$1[\"sequence_marketplace_v2\"] = \"sequence_marketplace_v2\";\n\tMarketplaceKind$1[\"blur\"] = \"blur\";\n\tMarketplaceKind$1[\"zerox\"] = \"zerox\";\n\tMarketplaceKind$1[\"opensea\"] = \"opensea\";\n\tMarketplaceKind$1[\"looks_rare\"] = \"looks_rare\";\n\tMarketplaceKind$1[\"x2y2\"] = \"x2y2\";\n\tMarketplaceKind$1[\"alienswap\"] = \"alienswap\";\n\tMarketplaceKind$1[\"payment_processor\"] = \"payment_processor\";\n\tMarketplaceKind$1[\"mintify\"] = \"mintify\";\n\tMarketplaceKind$1[\"magic_eden\"] = \"magic_eden\";\n\treturn MarketplaceKind$1;\n}({});\nlet OrderbookKind = /* @__PURE__ */ function(OrderbookKind$1) {\n\tOrderbookKind$1[\"unknown\"] = \"unknown\";\n\tOrderbookKind$1[\"sequence_marketplace_v1\"] = \"sequence_marketplace_v1\";\n\tOrderbookKind$1[\"sequence_marketplace_v2\"] = \"sequence_marketplace_v2\";\n\tOrderbookKind$1[\"blur\"] = \"blur\";\n\tOrderbookKind$1[\"opensea\"] = \"opensea\";\n\tOrderbookKind$1[\"looks_rare\"] = \"looks_rare\";\n\tOrderbookKind$1[\"reservoir\"] = \"reservoir\";\n\tOrderbookKind$1[\"x2y2\"] = \"x2y2\";\n\tOrderbookKind$1[\"magic_eden\"] = \"magic_eden\";\n\treturn OrderbookKind$1;\n}({});\nlet SourceKind = /* @__PURE__ */ function(SourceKind$1) {\n\tSourceKind$1[\"unknown\"] = \"unknown\";\n\tSourceKind$1[\"external\"] = \"external\";\n\tSourceKind$1[\"sequence_marketplace_v1\"] = \"sequence_marketplace_v1\";\n\tSourceKind$1[\"sequence_marketplace_v2\"] = \"sequence_marketplace_v2\";\n\tSourceKind$1[\"opensea\"] = \"opensea\";\n\tSourceKind$1[\"magic_eden\"] = \"magic_eden\";\n\treturn SourceKind$1;\n}({});\nlet OrderSide = /* @__PURE__ */ function(OrderSide$1) {\n\tOrderSide$1[\"unknown\"] = \"unknown\";\n\tOrderSide$1[\"listing\"] = \"listing\";\n\tOrderSide$1[\"offer\"] = \"offer\";\n\treturn OrderSide$1;\n}({});\nlet OfferType = /* @__PURE__ */ function(OfferType$1) {\n\tOfferType$1[\"unknown\"] = \"unknown\";\n\tOfferType$1[\"item\"] = \"item\";\n\tOfferType$1[\"collection\"] = \"collection\";\n\treturn OfferType$1;\n}({});\nlet OrderStatus = /* @__PURE__ */ function(OrderStatus$1) {\n\tOrderStatus$1[\"unknown\"] = \"unknown\";\n\tOrderStatus$1[\"active\"] = \"active\";\n\tOrderStatus$1[\"inactive\"] = \"inactive\";\n\tOrderStatus$1[\"expired\"] = \"expired\";\n\tOrderStatus$1[\"cancelled\"] = \"cancelled\";\n\tOrderStatus$1[\"filled\"] = \"filled\";\n\tOrderStatus$1[\"decimals_missing\"] = \"decimals_missing\";\n\treturn OrderStatus$1;\n}({});\nlet ContractType = /* @__PURE__ */ function(ContractType$1) {\n\tContractType$1[\"UNKNOWN\"] = \"UNKNOWN\";\n\tContractType$1[\"ERC20\"] = \"ERC20\";\n\tContractType$1[\"ERC721\"] = \"ERC721\";\n\tContractType$1[\"ERC1155\"] = \"ERC1155\";\n\treturn ContractType$1;\n}({});\nlet CollectionPriority = /* @__PURE__ */ function(CollectionPriority$1) {\n\tCollectionPriority$1[\"unknown\"] = \"unknown\";\n\tCollectionPriority$1[\"low\"] = \"low\";\n\tCollectionPriority$1[\"normal\"] = \"normal\";\n\tCollectionPriority$1[\"high\"] = \"high\";\n\treturn CollectionPriority$1;\n}({});\nlet CollectionStatus = /* @__PURE__ */ function(CollectionStatus$1) {\n\tCollectionStatus$1[\"unknown\"] = \"unknown\";\n\tCollectionStatus$1[\"created\"] = \"created\";\n\tCollectionStatus$1[\"syncing_orders\"] = \"syncing_orders\";\n\tCollectionStatus$1[\"active\"] = \"active\";\n\tCollectionStatus$1[\"failed\"] = \"failed\";\n\tCollectionStatus$1[\"inactive\"] = \"inactive\";\n\tCollectionStatus$1[\"incompatible_type\"] = \"incompatible_type\";\n\treturn CollectionStatus$1;\n}({});\nlet ProjectStatus = /* @__PURE__ */ function(ProjectStatus$1) {\n\tProjectStatus$1[\"unknown\"] = \"unknown\";\n\tProjectStatus$1[\"active\"] = \"active\";\n\tProjectStatus$1[\"inactive\"] = \"inactive\";\n\treturn ProjectStatus$1;\n}({});\nlet ItemsContractStatus = /* @__PURE__ */ function(ItemsContractStatus$1) {\n\tItemsContractStatus$1[\"unknown\"] = \"unknown\";\n\tItemsContractStatus$1[\"created\"] = \"created\";\n\tItemsContractStatus$1[\"syncing_contract_metadata\"] = \"syncing_contract_metadata\";\n\tItemsContractStatus$1[\"synced_contract_metadata\"] = \"synced_contract_metadata\";\n\tItemsContractStatus$1[\"syncing_tokens\"] = \"syncing_tokens\";\n\tItemsContractStatus$1[\"synced_tokens\"] = \"synced_tokens\";\n\tItemsContractStatus$1[\"active\"] = \"active\";\n\tItemsContractStatus$1[\"inactive\"] = \"inactive\";\n\tItemsContractStatus$1[\"incompatible_type\"] = \"incompatible_type\";\n\treturn ItemsContractStatus$1;\n}({});\nlet CollectibleStatus = /* @__PURE__ */ function(CollectibleStatus$1) {\n\tCollectibleStatus$1[\"unknown\"] = \"unknown\";\n\tCollectibleStatus$1[\"active\"] = \"active\";\n\tCollectibleStatus$1[\"inactive\"] = \"inactive\";\n\treturn CollectibleStatus$1;\n}({});\nlet CollectibleSource = /* @__PURE__ */ function(CollectibleSource$1) {\n\tCollectibleSource$1[\"unknown\"] = \"unknown\";\n\tCollectibleSource$1[\"indexer\"] = \"indexer\";\n\tCollectibleSource$1[\"manual\"] = \"manual\";\n\treturn CollectibleSource$1;\n}({});\nlet CurrencyStatus = /* @__PURE__ */ function(CurrencyStatus$1) {\n\tCurrencyStatus$1[\"unknown\"] = \"unknown\";\n\tCurrencyStatus$1[\"created\"] = \"created\";\n\tCurrencyStatus$1[\"syncing_metadata\"] = \"syncing_metadata\";\n\tCurrencyStatus$1[\"active\"] = \"active\";\n\tCurrencyStatus$1[\"failed\"] = \"failed\";\n\treturn CurrencyStatus$1;\n}({});\nlet WalletKind = /* @__PURE__ */ function(WalletKind$1) {\n\tWalletKind$1[\"unknown\"] = \"unknown\";\n\tWalletKind$1[\"sequence\"] = \"sequence\";\n\treturn WalletKind$1;\n}({});\nlet StepType = /* @__PURE__ */ function(StepType$1) {\n\tStepType$1[\"unknown\"] = \"unknown\";\n\tStepType$1[\"tokenApproval\"] = \"tokenApproval\";\n\tStepType$1[\"buy\"] = \"buy\";\n\tStepType$1[\"sell\"] = \"sell\";\n\tStepType$1[\"createListing\"] = \"createListing\";\n\tStepType$1[\"createOffer\"] = \"createOffer\";\n\tStepType$1[\"signEIP712\"] = \"signEIP712\";\n\tStepType$1[\"signEIP191\"] = \"signEIP191\";\n\tStepType$1[\"cancel\"] = \"cancel\";\n\treturn StepType$1;\n}({});\nlet TransactionCrypto = /* @__PURE__ */ function(TransactionCrypto$1) {\n\tTransactionCrypto$1[\"none\"] = \"none\";\n\tTransactionCrypto$1[\"partially\"] = \"partially\";\n\tTransactionCrypto$1[\"all\"] = \"all\";\n\treturn TransactionCrypto$1;\n}({});\nlet TransactionNFTCheckoutProvider = /* @__PURE__ */ function(TransactionNFTCheckoutProvider$1) {\n\tTransactionNFTCheckoutProvider$1[\"unknown\"] = \"unknown\";\n\tTransactionNFTCheckoutProvider$1[\"transak\"] = \"transak\";\n\tTransactionNFTCheckoutProvider$1[\"sardine\"] = \"sardine\";\n\treturn TransactionNFTCheckoutProvider$1;\n}({});\nlet TransactionOnRampProvider = /* @__PURE__ */ function(TransactionOnRampProvider$1) {\n\tTransactionOnRampProvider$1[\"unknown\"] = \"unknown\";\n\tTransactionOnRampProvider$1[\"transak\"] = \"transak\";\n\tTransactionOnRampProvider$1[\"sardine\"] = \"sardine\";\n\treturn TransactionOnRampProvider$1;\n}({});\nlet TransactionSwapProvider = /* @__PURE__ */ function(TransactionSwapProvider$1) {\n\tTransactionSwapProvider$1[\"unknown\"] = \"unknown\";\n\tTransactionSwapProvider$1[\"lifi\"] = \"lifi\";\n\treturn TransactionSwapProvider$1;\n}({});\nlet ExecuteType = /* @__PURE__ */ function(ExecuteType$1) {\n\tExecuteType$1[\"unknown\"] = \"unknown\";\n\tExecuteType$1[\"order\"] = \"order\";\n\tExecuteType$1[\"createListing\"] = \"createListing\";\n\tExecuteType$1[\"createItemOffer\"] = \"createItemOffer\";\n\tExecuteType$1[\"createTraitOffer\"] = \"createTraitOffer\";\n\treturn ExecuteType$1;\n}({});\nlet ActivityAction = /* @__PURE__ */ function(ActivityAction$1) {\n\tActivityAction$1[\"unknown\"] = \"unknown\";\n\tActivityAction$1[\"listing\"] = \"listing\";\n\tActivityAction$1[\"offer\"] = \"offer\";\n\tActivityAction$1[\"mint\"] = \"mint\";\n\tActivityAction$1[\"sale\"] = \"sale\";\n\tActivityAction$1[\"listingCancel\"] = \"listingCancel\";\n\tActivityAction$1[\"offerCancel\"] = \"offerCancel\";\n\tActivityAction$1[\"transfer\"] = \"transfer\";\n\treturn ActivityAction$1;\n}({});\nlet PrimarySaleContractStatus = /* @__PURE__ */ function(PrimarySaleContractStatus$1) {\n\tPrimarySaleContractStatus$1[\"unknown\"] = \"unknown\";\n\tPrimarySaleContractStatus$1[\"created\"] = \"created\";\n\tPrimarySaleContractStatus$1[\"syncing_items\"] = \"syncing_items\";\n\tPrimarySaleContractStatus$1[\"active\"] = \"active\";\n\tPrimarySaleContractStatus$1[\"inactive\"] = \"inactive\";\n\tPrimarySaleContractStatus$1[\"incompatible_type\"] = \"incompatible_type\";\n\tPrimarySaleContractStatus$1[\"failed\"] = \"failed\";\n\treturn PrimarySaleContractStatus$1;\n}({});\nlet PrimarySaleVersion = /* @__PURE__ */ function(PrimarySaleVersion$1) {\n\tPrimarySaleVersion$1[\"v0\"] = \"v0\";\n\tPrimarySaleVersion$1[\"v1\"] = \"v1\";\n\treturn PrimarySaleVersion$1;\n}({});\nlet PrimarySaleItemDetailType = /* @__PURE__ */ function(PrimarySaleItemDetailType$1) {\n\tPrimarySaleItemDetailType$1[\"unknown\"] = \"unknown\";\n\tPrimarySaleItemDetailType$1[\"global\"] = \"global\";\n\tPrimarySaleItemDetailType$1[\"individual\"] = \"individual\";\n\treturn PrimarySaleItemDetailType$1;\n}({});\nlet MetadataStatus = /* @__PURE__ */ function(MetadataStatus$1) {\n\tMetadataStatus$1[\"NOT_AVAILABLE\"] = \"NOT_AVAILABLE\";\n\tMetadataStatus$1[\"REFRESHING\"] = \"REFRESHING\";\n\tMetadataStatus$1[\"AVAILABLE\"] = \"AVAILABLE\";\n\treturn MetadataStatus$1;\n}({});\nvar Admin = class {\n\thostname;\n\tfetch;\n\tpath = \"/rpc/Admin/\";\n\tconstructor(hostname, fetch) {\n\t\tthis.hostname = hostname.replace(/\\/*$/, \"\");\n\t\tthis.fetch = (input, init) => fetch(input, init);\n\t}\n\turl(name) {\n\t\treturn this.hostname + this.path + name;\n\t}\n\tqueryKey = {\n\t\tcreateCollection: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"createCollection\",\n\t\t\treq\n\t\t],\n\t\tgetCollection: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"getCollection\",\n\t\t\treq\n\t\t],\n\t\tupdateCollection: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"updateCollection\",\n\t\t\treq\n\t\t],\n\t\tlistCollections: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"listCollections\",\n\t\t\treq\n\t\t],\n\t\tdeleteCollection: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"deleteCollection\",\n\t\t\treq\n\t\t],\n\t\tsyncCollection: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"syncCollection\",\n\t\t\treq\n\t\t],\n\t\tcreatePrimarySaleContract: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"createPrimarySaleContract\",\n\t\t\treq\n\t\t],\n\t\tdeletePrimarySaleContract: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"deletePrimarySaleContract\",\n\t\t\treq\n\t\t],\n\t\tcreateCurrency: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"createCurrency\",\n\t\t\treq\n\t\t],\n\t\tcreateCurrencies: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"createCurrencies\",\n\t\t\treq\n\t\t],\n\t\tupdateCurrency: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"updateCurrency\",\n\t\t\treq\n\t\t],\n\t\tlistCurrencies: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"listCurrencies\",\n\t\t\treq\n\t\t],\n\t\tdeleteCurrency: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"deleteCurrency\",\n\t\t\treq\n\t\t],\n\t\taddCollectibles: (req) => [\n\t\t\t\"Admin\",\n\t\t\t\"addCollectibles\",\n\t\t\treq\n\t\t]\n\t};\n\tcreateCollection = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"CreateCollection\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"CreateCollectionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollection = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollection\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tupdateCollection = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"UpdateCollection\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"UpdateCollectionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistCollections = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListCollections\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListCollectionsResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tdeleteCollection = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"DeleteCollection\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"DeleteCollectionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tsyncCollection = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"SyncCollection\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"SyncCollectionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tcreatePrimarySaleContract = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"CreatePrimarySaleContract\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"CreatePrimarySaleContractResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tdeletePrimarySaleContract = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"DeletePrimarySaleContract\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"DeletePrimarySaleContractResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tcreateCurrency = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"CreateCurrency\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"CreateCurrencyResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tcreateCurrencies = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"CreateCurrencies\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"CreateCurrenciesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tupdateCurrency = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"UpdateCurrency\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"UpdateCurrencyResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistCurrencies = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListCurrencies\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListCurrenciesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tdeleteCurrency = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"DeleteCurrency\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"DeleteCurrencyResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\taddCollectibles = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"AddCollectibles\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"AddCollectiblesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n};\nvar Marketplace = class {\n\thostname;\n\tfetch;\n\tpath = \"/rpc/Marketplace/\";\n\tconstructor(hostname, fetch) {\n\t\tthis.hostname = hostname.replace(/\\/*$/, \"\");\n\t\tthis.fetch = (input, init) => fetch(input, init);\n\t}\n\turl(name) {\n\t\treturn this.hostname + this.path + name;\n\t}\n\tqueryKey = {\n\t\tlistCurrencies: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listCurrencies\",\n\t\t\treq\n\t\t],\n\t\tgetCollectionDetail: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCollectionDetail\",\n\t\t\treq\n\t\t],\n\t\tgetCollectionActiveListingsCurrencies: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCollectionActiveListingsCurrencies\",\n\t\t\treq\n\t\t],\n\t\tgetCollectionActiveOffersCurrencies: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCollectionActiveOffersCurrencies\",\n\t\t\treq\n\t\t],\n\t\tgetCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCollectible\",\n\t\t\treq\n\t\t],\n\t\tgetLowestPriceOfferForCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getLowestPriceOfferForCollectible\",\n\t\t\treq\n\t\t],\n\t\tgetHighestPriceOfferForCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getHighestPriceOfferForCollectible\",\n\t\t\treq\n\t\t],\n\t\tgetLowestPriceListingForCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getLowestPriceListingForCollectible\",\n\t\t\treq\n\t\t],\n\t\tgetHighestPriceListingForCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getHighestPriceListingForCollectible\",\n\t\t\treq\n\t\t],\n\t\tlistListingsForCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listListingsForCollectible\",\n\t\t\treq\n\t\t],\n\t\tlistOffersForCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listOffersForCollectible\",\n\t\t\treq\n\t\t],\n\t\tlistOrdersWithCollectibles: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listOrdersWithCollectibles\",\n\t\t\treq\n\t\t],\n\t\tgetCountOfAllOrders: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCountOfAllOrders\",\n\t\t\treq\n\t\t],\n\t\tgetCountOfFilteredOrders: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCountOfFilteredOrders\",\n\t\t\treq\n\t\t],\n\t\tlistListings: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listListings\",\n\t\t\treq\n\t\t],\n\t\tlistOffers: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listOffers\",\n\t\t\treq\n\t\t],\n\t\tgetCountOfListingsForCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCountOfListingsForCollectible\",\n\t\t\treq\n\t\t],\n\t\tgetCountOfOffersForCollectible: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCountOfOffersForCollectible\",\n\t\t\treq\n\t\t],\n\t\tgetCollectibleLowestOffer: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCollectibleLowestOffer\",\n\t\t\treq\n\t\t],\n\t\tgetCollectibleHighestOffer: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCollectibleHighestOffer\",\n\t\t\treq\n\t\t],\n\t\tgetCollectibleLowestListing: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCollectibleLowestListing\",\n\t\t\treq\n\t\t],\n\t\tgetCollectibleHighestListing: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCollectibleHighestListing\",\n\t\t\treq\n\t\t],\n\t\tlistCollectibleListings: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listCollectibleListings\",\n\t\t\treq\n\t\t],\n\t\tlistCollectibleOffers: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listCollectibleOffers\",\n\t\t\treq\n\t\t],\n\t\tgenerateBuyTransaction: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"generateBuyTransaction\",\n\t\t\treq\n\t\t],\n\t\tgenerateSellTransaction: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"generateSellTransaction\",\n\t\t\treq\n\t\t],\n\t\tgenerateListingTransaction: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"generateListingTransaction\",\n\t\t\treq\n\t\t],\n\t\tgenerateOfferTransaction: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"generateOfferTransaction\",\n\t\t\treq\n\t\t],\n\t\tgenerateCancelTransaction: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"generateCancelTransaction\",\n\t\t\treq\n\t\t],\n\t\texecute: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"execute\",\n\t\t\treq\n\t\t],\n\t\tlistCollectibles: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listCollectibles\",\n\t\t\treq\n\t\t],\n\t\tgetCountOfAllCollectibles: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCountOfAllCollectibles\",\n\t\t\treq\n\t\t],\n\t\tgetCountOfFilteredCollectibles: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCountOfFilteredCollectibles\",\n\t\t\treq\n\t\t],\n\t\tgetFloorOrder: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getFloorOrder\",\n\t\t\treq\n\t\t],\n\t\tlistCollectiblesWithLowestListing: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listCollectiblesWithLowestListing\",\n\t\t\treq\n\t\t],\n\t\tlistCollectiblesWithHighestOffer: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listCollectiblesWithHighestOffer\",\n\t\t\treq\n\t\t],\n\t\tsyncOrder: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"syncOrder\",\n\t\t\treq\n\t\t],\n\t\tsyncOrders: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"syncOrders\",\n\t\t\treq\n\t\t],\n\t\tgetOrders: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getOrders\",\n\t\t\treq\n\t\t],\n\t\tcheckoutOptionsMarketplace: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"checkoutOptionsMarketplace\",\n\t\t\treq\n\t\t],\n\t\tcheckoutOptionsSalesContract: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"checkoutOptionsSalesContract\",\n\t\t\treq\n\t\t],\n\t\tsupportedMarketplaces: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"supportedMarketplaces\",\n\t\t\treq\n\t\t],\n\t\tgetPrimarySaleItem: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getPrimarySaleItem\",\n\t\t\treq\n\t\t],\n\t\tlistPrimarySaleItems: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"listPrimarySaleItems\",\n\t\t\treq\n\t\t],\n\t\tgetCountOfPrimarySaleItems: (req) => [\n\t\t\t\"Marketplace\",\n\t\t\t\"getCountOfPrimarySaleItems\",\n\t\t\treq\n\t\t]\n\t};\n\tlistCurrencies = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListCurrencies\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListCurrenciesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollectionDetail = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollectionDetail\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectionDetailResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollectionActiveListingsCurrencies = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollectionActiveListingsCurrencies\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectionActiveListingsCurrenciesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollectionActiveOffersCurrencies = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollectionActiveOffersCurrencies\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectionActiveOffersCurrenciesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetLowestPriceOfferForCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetLowestPriceOfferForCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetLowestPriceOfferForCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetHighestPriceOfferForCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetHighestPriceOfferForCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetHighestPriceOfferForCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetLowestPriceListingForCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetLowestPriceListingForCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetLowestPriceListingForCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetHighestPriceListingForCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetHighestPriceListingForCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetHighestPriceListingForCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistListingsForCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListListingsForCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListListingsForCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistOffersForCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListOffersForCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListOffersForCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistOrdersWithCollectibles = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListOrdersWithCollectibles\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListOrdersWithCollectiblesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCountOfAllOrders = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCountOfAllOrders\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCountOfAllOrdersResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCountOfFilteredOrders = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCountOfFilteredOrders\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCountOfFilteredOrdersResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistListings = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListListings\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListListingsResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistOffers = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListOffers\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListOffersResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCountOfListingsForCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCountOfListingsForCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCountOfListingsForCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCountOfOffersForCollectible = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCountOfOffersForCollectible\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCountOfOffersForCollectibleResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollectibleLowestOffer = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollectibleLowestOffer\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectibleLowestOfferResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollectibleHighestOffer = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollectibleHighestOffer\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectibleHighestOfferResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollectibleLowestListing = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollectibleLowestListing\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectibleLowestListingResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCollectibleHighestListing = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCollectibleHighestListing\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCollectibleHighestListingResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistCollectibleListings = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListCollectibleListings\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListCollectibleListingsResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistCollectibleOffers = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListCollectibleOffers\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListCollectibleOffersResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgenerateBuyTransaction = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GenerateBuyTransaction\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GenerateBuyTransactionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgenerateSellTransaction = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GenerateSellTransaction\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GenerateSellTransactionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgenerateListingTransaction = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GenerateListingTransaction\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GenerateListingTransactionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgenerateOfferTransaction = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GenerateOfferTransaction\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GenerateOfferTransactionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgenerateCancelTransaction = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GenerateCancelTransaction\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GenerateCancelTransactionResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\texecute = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"Execute\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ExecuteResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistCollectibles = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListCollectibles\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListCollectiblesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCountOfAllCollectibles = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCountOfAllCollectibles\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCountOfAllCollectiblesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCountOfFilteredCollectibles = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCountOfFilteredCollectibles\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCountOfFilteredCollectiblesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetFloorOrder = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetFloorOrder\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetFloorOrderResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistCollectiblesWithLowestListing = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListCollectiblesWithLowestListing\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListCollectiblesWithLowestListingResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistCollectiblesWithHighestOffer = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListCollectiblesWithHighestOffer\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListCollectiblesWithHighestOfferResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tsyncOrder = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"SyncOrder\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"SyncOrderResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tsyncOrders = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"SyncOrders\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"SyncOrdersResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetOrders = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetOrders\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetOrdersResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tcheckoutOptionsMarketplace = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"CheckoutOptionsMarketplace\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"CheckoutOptionsMarketplaceResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tcheckoutOptionsSalesContract = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"CheckoutOptionsSalesContract\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"CheckoutOptionsSalesContractResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tsupportedMarketplaces = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"SupportedMarketplaces\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"SupportedMarketplacesResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetPrimarySaleItem = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetPrimarySaleItem\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetPrimarySaleItemResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tlistPrimarySaleItems = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"ListPrimarySaleItems\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"ListPrimarySaleItemsResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n\tgetCountOfPrimarySaleItems = (req, headers, signal) => {\n\t\treturn this.fetch(this.url(\"GetCountOfPrimarySaleItems\"), createHttpRequest(JsonEncode(req), headers, signal)).then((res) => {\n\t\t\treturn buildResponse(res).then((_data) => {\n\t\t\t\treturn JsonDecode(_data, \"GetCountOfPrimarySaleItemsResponse\");\n\t\t\t});\n\t\t}, (error) => {\n\t\t\tthrow WebrpcRequestFailedError.new({ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}` });\n\t\t});\n\t};\n};\nconst createHttpRequest = (body = \"{}\", headers = {}, signal = null) => {\n\treturn {\n\t\tmethod: \"POST\",\n\t\theaders: {\n\t\t\t...headers,\n\t\t\t\"Content-Type\": \"application/json\",\n\t\t\t[WebrpcHeader]: WebrpcHeaderValue\n\t\t},\n\t\tbody,\n\t\tsignal\n\t};\n};\nconst buildResponse = (res) => {\n\treturn res.text().then((text) => {\n\t\tlet data;\n\t\ttry {\n\t\t\tdata = JSON.parse(text);\n\t\t} catch (error) {\n\t\t\tthrow WebrpcBadResponseError.new({\n\t\t\t\tstatus: res.status,\n\t\t\t\tcause: `JSON.parse(): ${error instanceof Error ? error.message : String(error)}: response text: ${text}`\n\t\t\t});\n\t\t}\n\t\tif (!res.ok) throw (webrpcErrorByCode[typeof data.code === \"number\" ? data.code : 0] || WebrpcError).new(data);\n\t\treturn data;\n\t});\n};\nconst BIG_INT_FIELDS = {\n\tActivity: [\n\t\t\"tokenId\",\n\t\t\"quantity\",\n\t\t\"priceAmount\"\n\t],\n\tAddCollectiblesRequest: [\"tokenIds[]\"],\n\tAdditionalFee: [\"amount\"],\n\tAsset: [\"tokenId\"],\n\tCheckoutOptionsItem: [\"tokenId\", \"quantity\"],\n\tCheckoutOptionsSalesContractRequest: [[\"items\", \"CheckoutOptionsItem[]\"]],\n\tCollectible: [\"tokenId\"],\n\tCollectibleOrder: [\n\t\t[\"metadata\", \"TokenMetadata\"],\n\t\t[\"order\", \"Order\"],\n\t\t[\"listing\", \"Order\"],\n\t\t[\"offer\", \"Order\"]\n\t],\n\tCollectiblePrimarySaleItem: [[\"metadata\", \"TokenMetadata\"], [\"primarySaleItem\", \"PrimarySaleItem\"]],\n\tCollectiblesFilter: [[\"prices\", \"PriceFilter[]\"]],\n\tCreateReq: [\n\t\t\"tokenId\",\n\t\t\"quantity\",\n\t\t\"pricePerToken\"\n\t],\n\tGenerateBuySellTransactionResponse: [[\"steps\", \"Step[]\"]],\n\tGenerateBuyTransactionRequest: [[\"ordersData\", \"OrderData[]\"], [\"additionalFees\", \"AdditionalFee[]\"]],\n\tGenerateBuyTransactionResponse: [[\"resp\", \"GenerateBuySellTransactionResponse\"], [\"steps\", \"Step[]\"]],\n\tGenerateCancelTransactionResponse: [[\"steps\", \"Step[]\"]],\n\tGenerateListingTransactionRequest: [[\"listing\", \"CreateReq\"], [\"additionalFees\", \"AdditionalFee[]\"]],\n\tGenerateListingTransactionResponse: [[\"steps\", \"Step[]\"]],\n\tGenerateOfferTransactionRequest: [[\"offer\", \"CreateReq\"], [\"additionalFees\", \"AdditionalFee[]\"]],\n\tGenerateOfferTransactionResponse: [[\"steps\", \"Step[]\"]],\n\tGenerateSellTransactionRequest: [[\"ordersData\", \"OrderData[]\"], [\"additionalFees\", \"AdditionalFee[]\"]],\n\tGenerateSellTransactionResponse: [[\"resp\", \"GenerateBuySellTransactionResponse\"], [\"steps\", \"Step[]\"]],\n\tGetCollectibleHighestListingRequest: [\"tokenId\"],\n\tGetCollectibleHighestListingResponse: [[\"order\", \"Order\"]],\n\tGetCollectibleHighestOfferRequest: [\"tokenId\"],\n\tGetCollectibleHighestOfferResponse: [[\"order\", \"Order\"]],\n\tGetCollectibleLowestListingRequest: [\"tokenId\"],\n\tGetCollectibleLowestListingResponse: [[\"order\", \"Order\"]],\n\tGetCollectibleLowestOfferRequest: [\"tokenId\"],\n\tGetCollectibleLowestOfferResponse: [[\"order\", \"Order\"]],\n\tGetCollectibleRequest: [\"tokenId\"],\n\tGetCollectibleResponse: [[\"metadata\", \"TokenMetadata\"]],\n\tGetCountOfFilteredCollectiblesRequest: [[\"filter\", \"CollectiblesFilter\"]],\n\tGetCountOfFilteredOrdersRequest: [[\"filter\", \"OrdersFilter\"]],\n\tGetCountOfListingsForCollectibleRequest: [\"tokenId\"],\n\tGetCountOfOffersForCollectibleRequest: [\"tokenId\"],\n\tGetFloorOrderRequest: [[\"filter\", \"CollectiblesFilter\"]],\n\tGetFloorOrderResponse: [[\"collectible\", \"CollectibleOrder\"]],\n\tGetHighestPriceListingForCollectibleRequest: [\"tokenId\"],\n\tGetHighestPriceListingForCollectibleResponse: [[\"order\", \"Order\"]],\n\tGetHighestPriceOfferForCollectibleRequest: [\"tokenId\"],\n\tGetHighestPriceOfferForCollectibleResponse: [[\"order\", \"Order\"]],\n\tGetLowestPriceListingForCollectibleRequest: [\"tokenId\"],\n\tGetLowestPriceListingForCollectibleResponse: [[\"order\", \"Order\"]],\n\tGetLowestPriceOfferForCollectibleRequest: [\"tokenId\"],\n\tGetLowestPriceOfferForCollectibleResponse: [[\"order\", \"Order\"]],\n\tGetOrdersResponse: [[\"orders\", \"Order[]\"]],\n\tGetPrimarySaleItemRequest: [\"tokenId\"],\n\tGetPrimarySaleItemResponse: [[\"item\", \"CollectiblePrimarySaleItem\"]],\n\tListCollectibleActivitiesRequest: [\"tokenId\"],\n\tListCollectibleActivitiesResponse: [[\"activities\", \"Activity[]\"]],\n\tListCollectibleListingsRequest: [\"tokenId\"],\n\tListCollectibleListingsResponse: [[\"listings\", \"Order[]\"]],\n\tListCollectibleOffersRequest: [\"tokenId\"],\n\tListCollectibleOffersResponse: [[\"offers\", \"Order[]\"]],\n\tListCollectiblesRequest: [[\"filter\", \"CollectiblesFilter\"]],\n\tListCollectiblesResponse: [[\"collectibles\", \"CollectibleOrder[]\"]],\n\tListCollectiblesWithHighestOfferRequest: [[\"filter\", \"CollectiblesFilter\"]],\n\tListCollectiblesWithHighestOfferResponse: [[\"collectibles\", \"CollectibleOrder[]\"]],\n\tListCollectiblesWithLowestListingRequest: [[\"filter\", \"CollectiblesFilter\"]],\n\tListCollectiblesWithLowestListingResponse: [[\"collectibles\", \"CollectibleOrder[]\"]],\n\tListCollectionActivitiesResponse: [[\"activities\", \"Activity[]\"]],\n\tListListingsForCollectibleRequest: [\"tokenId\"],\n\tListListingsForCollectibleResponse: [[\"listings\", \"Order[]\"]],\n\tListListingsResponse: [[\"listings\", \"Order[]\"]],\n\tListOffersForCollectibleRequest: [\"tokenId\"],\n\tListOffersForCollectibleResponse: [[\"offers\", \"Order[]\"]],\n\tListOffersResponse: [[\"offers\", \"Order[]\"]],\n\tListOrdersWithCollectiblesRequest: [[\"filter\", \"OrdersFilter\"]],\n\tListOrdersWithCollectiblesResponse: [[\"collectibles\", \"CollectibleOrder[]\"]],\n\tListPrimarySaleItemsResponse: [[\"primarySaleItems\", \"CollectiblePrimarySaleItem[]\"]],\n\tOrder: [\n\t\t\"tokenId\",\n\t\t\"priceAmount\",\n\t\t\"priceAmountNet\",\n\t\t\"quantityInitial\",\n\t\t\"quantityRemaining\",\n\t\t\"quantityAvailable\"\n\t],\n\tOrderData: [\"quantity\", \"tokenId\"],\n\tOrdersFilter: [[\"prices\", \"PriceFilter[]\"]],\n\tPriceFilter: [\"min\", \"max\"],\n\tPrimarySaleItem: [\n\t\t\"tokenId\",\n\t\t\"priceAmount\",\n\t\t\"supply\",\n\t\t\"supplyCap\"\n\t],\n\tStep: [\"value\", \"price\"],\n\tSyncOrderRequest: [[\"order\", \"Order\"]],\n\tSyncOrdersRequest: [[\"orders\", \"Order[]\"]],\n\tTokenMetadata: [\"tokenId\", [\"assets\", \"Asset[]\"]]\n};\nfunction decodeType(typ, obj) {\n\tif (obj == null || typeof obj !== \"object\") return obj;\n\tconst descs = BIG_INT_FIELDS[typ] || [];\n\tif (!descs.length) return obj;\n\tfor (const d of descs) {\n\t\tif (Array.isArray(d)) {\n\t\t\tconst [fieldName, nestedType] = d;\n\t\t\tif (fieldName.endsWith(\"[]\")) {\n\t\t\t\tconst arr = obj[fieldName.slice(0, -2)];\n\t\t\t\tif (Array.isArray(arr)) for (let i = 0; i < arr.length; i++) arr[i] = decodeType(nestedType, arr[i]);\n\t\t\t} else if (obj[fieldName]) if (nestedType.endsWith(\"[]\")) {\n\t\t\t\tconst baseType = nestedType.slice(0, -2);\n\t\t\t\tconst arr = obj[fieldName];\n\t\t\t\tif (Array.isArray(arr)) for (let i = 0; i < arr.length; i++) arr[i] = decodeType(baseType, arr[i]);\n\t\t\t} else obj[fieldName] = decodeType(nestedType, obj[fieldName]);\n\t\t\tcontinue;\n\t\t}\n\t\tif (d.endsWith(\"[]\")) {\n\t\t\tconst base = d.slice(0, -2);\n\t\t\tconst arr = obj[base];\n\t\t\tif (Array.isArray(arr)) for (let i = 0; i < arr.length; i++) {\n\t\t\t\tconst v$1 = arr[i];\n\t\t\t\tif (typeof v$1 === \"string\") try {\n\t\t\t\t\tarr[i] = BigInt(v$1);\n\t\t\t\t} catch (e) {\n\t\t\t\t\tthrow WebrpcBadResponseError.new({ cause: `Invalid bigint value for ${base}[${i}]: ${v$1}` });\n\t\t\t\t}\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\t\tconst v = obj[d];\n\t\tif (typeof v === \"string\") try {\n\t\t\tobj[d] = BigInt(v);\n\t\t} catch (e) {\n\t\t\tthrow WebrpcBadResponseError.new({ cause: `Invalid bigint value for ${d}: ${v}` });\n\t\t}\n\t}\n\treturn obj;\n}\nconst JsonEncode = (obj) => {\n\treturn JSON.stringify(obj, (_key, value) => typeof value === \"bigint\" ? value.toString() : value);\n};\nconst JsonDecode = (data, typ = \"\") => {\n\tlet parsed = data;\n\tif (typeof data === \"string\") try {\n\t\tparsed = JSON.parse(data);\n\t} catch (err) {\n\t\tthrow WebrpcBadResponseError.new({ cause: `JsonDecode: JSON.parse failed: ${err.message}` });\n\t}\n\treturn decodeType(typ, parsed);\n};\nvar WebrpcError = class WebrpcError extends Error {\n\tcode;\n\tstatus;\n\tconstructor(error = {}) {\n\t\tsuper(error.message);\n\t\tthis.name = error.name || \"WebrpcEndpointError\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 0;\n\t\tthis.message = error.message || `endpoint error`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcError.prototype);\n\t}\n\tstatic new(payload) {\n\t\treturn new this({\n\t\t\tmessage: payload.message,\n\t\t\tcode: payload.code,\n\t\t\tstatus: payload.status,\n\t\t\tcause: payload.cause\n\t\t});\n\t}\n};\nvar WebrpcEndpointError = class WebrpcEndpointError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcEndpoint\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 0;\n\t\tthis.message = error.message || `endpoint error`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcEndpointError.prototype);\n\t}\n};\nvar WebrpcRequestFailedError = class WebrpcRequestFailedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcRequestFailed\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -1;\n\t\tthis.message = error.message || `request failed`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcRequestFailedError.prototype);\n\t}\n};\nvar WebrpcBadRouteError = class WebrpcBadRouteError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcBadRoute\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -2;\n\t\tthis.message = error.message || `bad route`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 404;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcBadRouteError.prototype);\n\t}\n};\nvar WebrpcBadMethodError = class WebrpcBadMethodError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcBadMethod\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -3;\n\t\tthis.message = error.message || `bad method`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 405;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcBadMethodError.prototype);\n\t}\n};\nvar WebrpcBadRequestError = class WebrpcBadRequestError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcBadRequest\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -4;\n\t\tthis.message = error.message || `bad request`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcBadRequestError.prototype);\n\t}\n};\nvar WebrpcBadResponseError = class WebrpcBadResponseError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcBadResponse\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -5;\n\t\tthis.message = error.message || `bad response`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 500;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcBadResponseError.prototype);\n\t}\n};\nvar WebrpcServerPanicError = class WebrpcServerPanicError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcServerPanic\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -6;\n\t\tthis.message = error.message || `server panic`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 500;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcServerPanicError.prototype);\n\t}\n};\nvar WebrpcInternalErrorError = class WebrpcInternalErrorError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcInternalError\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -7;\n\t\tthis.message = error.message || `internal error`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 500;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcInternalErrorError.prototype);\n\t}\n};\nvar WebrpcClientAbortedError = class WebrpcClientAbortedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcClientAborted\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -8;\n\t\tthis.message = error.message || `request aborted by client`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcClientAbortedError.prototype);\n\t}\n};\nvar WebrpcStreamLostError = class WebrpcStreamLostError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcStreamLost\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -9;\n\t\tthis.message = error.message || `stream lost`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcStreamLostError.prototype);\n\t}\n};\nvar WebrpcStreamFinishedError = class WebrpcStreamFinishedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"WebrpcStreamFinished\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : -10;\n\t\tthis.message = error.message || `stream finished`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 200;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, WebrpcStreamFinishedError.prototype);\n\t}\n};\nvar UnauthorizedError = class UnauthorizedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"Unauthorized\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1e3;\n\t\tthis.message = error.message || `Unauthorized access`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 401;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, UnauthorizedError.prototype);\n\t}\n};\nvar PermissionDeniedError = class PermissionDeniedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"PermissionDenied\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1001;\n\t\tthis.message = error.message || `Permission denied`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, PermissionDeniedError.prototype);\n\t}\n};\nvar SessionExpiredError = class SessionExpiredError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"SessionExpired\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1002;\n\t\tthis.message = error.message || `Session expired`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, SessionExpiredError.prototype);\n\t}\n};\nvar MethodNotFoundError = class MethodNotFoundError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"MethodNotFound\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1003;\n\t\tthis.message = error.message || `Method not found`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 404;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, MethodNotFoundError.prototype);\n\t}\n};\nvar RequestConflictError = class RequestConflictError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"RequestConflict\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1004;\n\t\tthis.message = error.message || `Conflict with target resource`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 409;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, RequestConflictError.prototype);\n\t}\n};\nvar AbortedError = class AbortedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"Aborted\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1005;\n\t\tthis.message = error.message || `Request aborted`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, AbortedError.prototype);\n\t}\n};\nvar GeoblockedError = class GeoblockedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"Geoblocked\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1006;\n\t\tthis.message = error.message || `Geoblocked region`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 451;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, GeoblockedError.prototype);\n\t}\n};\nvar RateLimitedError = class RateLimitedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"RateLimited\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1007;\n\t\tthis.message = error.message || `Rate-limited. Please slow down.`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 429;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, RateLimitedError.prototype);\n\t}\n};\nvar ProjectNotFoundError = class ProjectNotFoundError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"ProjectNotFound\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1008;\n\t\tthis.message = error.message || `Project not found`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 401;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, ProjectNotFoundError.prototype);\n\t}\n};\nvar SecretKeyCorsDisallowedError = class SecretKeyCorsDisallowedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"SecretKeyCorsDisallowed\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1009;\n\t\tthis.message = error.message || `CORS disallowed. Admin API Secret Key can't be used from a web app.`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, SecretKeyCorsDisallowedError.prototype);\n\t}\n};\nvar AccessKeyNotFoundError = class AccessKeyNotFoundError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"AccessKeyNotFound\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1101;\n\t\tthis.message = error.message || `Access key not found`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 401;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, AccessKeyNotFoundError.prototype);\n\t}\n};\nvar AccessKeyMismatchError = class AccessKeyMismatchError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"AccessKeyMismatch\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1102;\n\t\tthis.message = error.message || `Access key mismatch`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, AccessKeyMismatchError.prototype);\n\t}\n};\nvar InvalidOriginError = class InvalidOriginError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"InvalidOrigin\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1103;\n\t\tthis.message = error.message || `Invalid origin for Access Key`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, InvalidOriginError.prototype);\n\t}\n};\nvar InvalidServiceError = class InvalidServiceError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"InvalidService\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1104;\n\t\tthis.message = error.message || `Service not enabled for Access key`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, InvalidServiceError.prototype);\n\t}\n};\nvar UnauthorizedUserError = class UnauthorizedUserError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"UnauthorizedUser\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1105;\n\t\tthis.message = error.message || `Unauthorized user`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, UnauthorizedUserError.prototype);\n\t}\n};\nvar InvalidChainError = class InvalidChainError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"InvalidChain\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1106;\n\t\tthis.message = error.message || `Network not enabled for Access key`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, InvalidChainError.prototype);\n\t}\n};\nvar QuotaExceededError = class QuotaExceededError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"QuotaExceeded\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1200;\n\t\tthis.message = error.message || `Quota request exceeded`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 429;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, QuotaExceededError.prototype);\n\t}\n};\nvar QuotaRateLimitError = class QuotaRateLimitError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"QuotaRateLimit\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1201;\n\t\tthis.message = error.message || `Quota rate limit exceeded`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 429;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, QuotaRateLimitError.prototype);\n\t}\n};\nvar NoDefaultKeyError = class NoDefaultKeyError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"NoDefaultKey\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1300;\n\t\tthis.message = error.message || `No default access key found`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, NoDefaultKeyError.prototype);\n\t}\n};\nvar MaxAccessKeysError = class MaxAccessKeysError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"MaxAccessKeys\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1301;\n\t\tthis.message = error.message || `Access keys limit reached`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, MaxAccessKeysError.prototype);\n\t}\n};\nvar AtLeastOneKeyError = class AtLeastOneKeyError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"AtLeastOneKey\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1302;\n\t\tthis.message = error.message || `You need at least one Access Key`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 403;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, AtLeastOneKeyError.prototype);\n\t}\n};\nvar TimeoutError = class TimeoutError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"Timeout\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 1900;\n\t\tthis.message = error.message || `Request timed out`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 408;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, TimeoutError.prototype);\n\t}\n};\nvar NotFoundError = class NotFoundError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"NotFound\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 2e3;\n\t\tthis.message = error.message || `Resource not found`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, NotFoundError.prototype);\n\t}\n};\nvar InvalidArgumentError = class InvalidArgumentError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"InvalidArgument\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 2001;\n\t\tthis.message = error.message || `Invalid argument`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 400;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, InvalidArgumentError.prototype);\n\t}\n};\nvar NotImplementedError = class NotImplementedError extends WebrpcError {\n\tconstructor(error = {}) {\n\t\tsuper(error);\n\t\tthis.name = error.name || \"NotImplemented\";\n\t\tthis.code = typeof error.code === \"number\" ? error.code : 9999;\n\t\tthis.message = error.message || `Not Implemented`;\n\t\tthis.status = typeof error.status === \"number\" ? error.status : 500;\n\t\tif (error.cause !== void 0) this.cause = error.cause;\n\t\tObject.setPrototypeOf(this, NotImplementedError.prototype);\n\t}\n};\nlet errors = /* @__PURE__ */ function(errors$1) {\n\terrors$1[\"WebrpcEndpoint\"] = \"WebrpcEndpoint\";\n\terrors$1[\"WebrpcRequestFailed\"] = \"WebrpcRequestFailed\";\n\terrors$1[\"WebrpcBadRoute\"] = \"WebrpcBadRoute\";\n\terrors$1[\"WebrpcBadMethod\"] = \"WebrpcBadMethod\";\n\terrors$1[\"WebrpcBadRequest\"] = \"WebrpcBadRequest\";\n\terrors$1[\"WebrpcBadResponse\"] = \"WebrpcBadResponse\";\n\terrors$1[\"WebrpcServerPanic\"] = \"WebrpcServerPanic\";\n\terrors$1[\"WebrpcInternalError\"] = \"WebrpcInternalError\";\n\terrors$1[\"WebrpcClientAborted\"] = \"WebrpcClientAborted\";\n\terrors$1[\"WebrpcStreamLost\"] = \"WebrpcStreamLost\";\n\terrors$1[\"WebrpcStreamFinished\"] = \"WebrpcStreamFinished\";\n\terrors$1[\"Unauthorized\"] = \"Unauthorized\";\n\terrors$1[\"PermissionDenied\"] = \"PermissionDenied\";\n\terrors$1[\"SessionExpired\"] = \"SessionExpired\";\n\terrors$1[\"MethodNotFound\"] = \"MethodNotFound\";\n\terrors$1[\"RequestConflict\"] = \"RequestConflict\";\n\terrors$1[\"Aborted\"] = \"Aborted\";\n\terrors$1[\"Geoblocked\"] = \"Geoblocked\";\n\terrors$1[\"RateLimited\"] = \"RateLimited\";\n\terrors$1[\"ProjectNotFound\"] = \"ProjectNotFound\";\n\terrors$1[\"SecretKeyCorsDisallowed\"] = \"SecretKeyCorsDisallowed\";\n\terrors$1[\"AccessKeyNotFound\"] = \"AccessKeyNotFound\";\n\terrors$1[\"AccessKeyMismatch\"] = \"AccessKeyMismatch\";\n\terrors$1[\"InvalidOrigin\"] = \"InvalidOrigin\";\n\terrors$1[\"InvalidService\"] = \"InvalidService\";\n\terrors$1[\"UnauthorizedUser\"] = \"UnauthorizedUser\";\n\terrors$1[\"InvalidChain\"] = \"InvalidChain\";\n\terrors$1[\"QuotaExceeded\"] = \"QuotaExceeded\";\n\terrors$1[\"QuotaRateLimit\"] = \"QuotaRateLimit\";\n\terrors$1[\"NoDefaultKey\"] = \"NoDefaultKey\";\n\terrors$1[\"MaxAccessKeys\"] = \"MaxAccessKeys\";\n\terrors$1[\"AtLeastOneKey\"] = \"AtLeastOneKey\";\n\terrors$1[\"Timeout\"] = \"Timeout\";\n\terrors$1[\"NotFound\"] = \"NotFound\";\n\terrors$1[\"InvalidArgument\"] = \"InvalidArgument\";\n\terrors$1[\"NotImplemented\"] = \"NotImplemented\";\n\treturn errors$1;\n}({});\nlet WebrpcErrorCodes = /* @__PURE__ */ function(WebrpcErrorCodes$1) {\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcEndpoint\"] = 0] = \"WebrpcEndpoint\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcRequestFailed\"] = -1] = \"WebrpcRequestFailed\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcBadRoute\"] = -2] = \"WebrpcBadRoute\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcBadMethod\"] = -3] = \"WebrpcBadMethod\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcBadRequest\"] = -4] = \"WebrpcBadRequest\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcBadResponse\"] = -5] = \"WebrpcBadResponse\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcServerPanic\"] = -6] = \"WebrpcServerPanic\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcInternalError\"] = -7] = \"WebrpcInternalError\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcClientAborted\"] = -8] = \"WebrpcClientAborted\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcStreamLost\"] = -9] = \"WebrpcStreamLost\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"WebrpcStreamFinished\"] = -10] = \"WebrpcStreamFinished\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"Unauthorized\"] = 1e3] = \"Unauthorized\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"PermissionDenied\"] = 1001] = \"PermissionDenied\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"SessionExpired\"] = 1002] = \"SessionExpired\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"MethodNotFound\"] = 1003] = \"MethodNotFound\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"RequestConflict\"] = 1004] = \"RequestConflict\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"Aborted\"] = 1005] = \"Aborted\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"Geoblocked\"] = 1006] = \"Geoblocked\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"RateLimited\"] = 1007] = \"RateLimited\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"ProjectNotFound\"] = 1008] = \"ProjectNotFound\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"SecretKeyCorsDisallowed\"] = 1009] = \"SecretKeyCorsDisallowed\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"AccessKeyNotFound\"] = 1101] = \"AccessKeyNotFound\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"AccessKeyMismatch\"] = 1102] = \"AccessKeyMismatch\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"InvalidOrigin\"] = 1103] = \"InvalidOrigin\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"InvalidService\"] = 1104] = \"InvalidService\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"UnauthorizedUser\"] = 1105] = \"UnauthorizedUser\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"InvalidChain\"] = 1106] = \"InvalidChain\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"QuotaExceeded\"] = 1200] = \"QuotaExceeded\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"QuotaRateLimit\"] = 1201] = \"QuotaRateLimit\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"NoDefaultKey\"] = 1300] = \"NoDefaultKey\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"MaxAccessKeys\"] = 1301] = \"MaxAccessKeys\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"AtLeastOneKey\"] = 1302] = \"AtLeastOneKey\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"Timeout\"] = 1900] = \"Timeout\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"NotFound\"] = 2e3] = \"NotFound\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"InvalidArgument\"] = 2001] = \"InvalidArgument\";\n\tWebrpcErrorCodes$1[WebrpcErrorCodes$1[\"NotImplemented\"] = 9999] = \"NotImplemented\";\n\treturn WebrpcErrorCodes$1;\n}({});\nconst webrpcErrorByCode = {\n\t[0]: WebrpcEndpointError,\n\t[-1]: WebrpcRequestFailedError,\n\t[-2]: WebrpcBadRouteError,\n\t[-3]: WebrpcBadMethodError,\n\t[-4]: WebrpcBadRequestError,\n\t[-5]: WebrpcBadResponseError,\n\t[-6]: WebrpcServerPanicError,\n\t[-7]: WebrpcInternalErrorError,\n\t[-8]: WebrpcClientAbortedError,\n\t[-9]: WebrpcStreamLostError,\n\t[-10]: WebrpcStreamFinishedError,\n\t[1e3]: UnauthorizedError,\n\t[1001]: PermissionDeniedError,\n\t[1002]: SessionExpiredError,\n\t[1003]: MethodNotFoundError,\n\t[1004]: RequestConflictError,\n\t[1005]: AbortedError,\n\t[1006]: GeoblockedError,\n\t[1007]: RateLimitedError,\n\t[1008]: ProjectNotFoundError,\n\t[1009]: SecretKeyCorsDisallowedError,\n\t[1101]: AccessKeyNotFoundError,\n\t[1102]: AccessKeyMismatchError,\n\t[1103]: InvalidOriginError,\n\t[1104]: InvalidServiceError,\n\t[1105]: UnauthorizedUserError,\n\t[1106]: InvalidChainError,\n\t[1200]: QuotaExceededError,\n\t[1201]: QuotaRateLimitError,\n\t[1300]: NoDefaultKeyError,\n\t[1301]: MaxAccessKeysError,\n\t[1302]: AtLeastOneKeyError,\n\t[1900]: TimeoutError,\n\t[2e3]: NotFoundError,\n\t[2001]: InvalidArgumentError,\n\t[9999]: NotImplementedError\n};\nconst WebrpcHeader = \"Webrpc\";\nconst WebrpcHeaderValue = \"webrpc@v0.31.1;gen-typescript@v0.23.1;api-client@v0-25.11.10+051e186\";\nfunction VersionFromHeader(headers) {\n\tconst headerValue = headers.get(WebrpcHeader);\n\tif (!headerValue) return {\n\t\tWebrpcGenVersion: \"\",\n\t\tcodeGenName: \"\",\n\t\tcodeGenVersion: \"\",\n\t\tschemaName: \"\",\n\t\tschemaVersion: \"\"\n\t};\n\treturn parseWebrpcGenVersions(headerValue);\n}\nfunction parseWebrpcGenVersions(header) {\n\tconst versions = header.split(\";\");\n\tif (versions.length < 3) return {\n\t\tWebrpcGenVersion: \"\",\n\t\tcodeGenName: \"\",\n\t\tcodeGenVersion: \"\",\n\t\tschemaName: \"\",\n\t\tschemaVersion: \"\"\n\t};\n\tconst [_, WebrpcGenVersion] = versions[0].split(\"@\");\n\tconst [codeGenName, codeGenVersion] = versions[1].split(\"@\");\n\tconst [schemaName, schemaVersion] = versions[2].split(\"@\");\n\treturn {\n\t\tWebrpcGenVersion: WebrpcGenVersion ?? \"\",\n\t\tcodeGenName: codeGenName ?? \"\",\n\t\tcodeGenVersion: codeGenVersion ?? \"\",\n\t\tschemaName: schemaName ?? \"\",\n\t\tschemaVersion: schemaVersion ?? \"\"\n\t};\n}\n\n//#endregion\nexport { StepType as _, CurrencyStatus as a, WalletKind as b, MarketplaceKind as c, OrderSide as d, OrderStatus as f, SortOrder as g, PropertyType as h, ContractType as i, MetadataStatus as l, PrimarySaleItemDetailType as m, CollectionPriority as n, ExecuteType as o, OrderbookKind as p, CollectionStatus as r, Marketplace as s, ActivityAction as t, OfferType as u, TransactionCrypto as v, marketplace_gen_exports as x, TransactionOnRampProvider as y };\n//# sourceMappingURL=marketplace.gen.js.map","import { a as transformOptionalArray, c as normalizeAddress, i as transformOptional, l as normalizeChainId, n as spreadWith, r as transformArray, u as normalizeTokenId } from \"./transform.js\";\n\n//#region src/adapters/indexer/transforms.ts\nfunction toContractInfo(raw) {\n\tif (!raw.address || !raw.address.startsWith(\"0x\") || raw.address.length !== 42) return;\n\treturn spreadWith(raw, {\n\t\tchainId: normalizeChainId(raw.chainId),\n\t\taddress: normalizeAddress(raw.address),\n\t\textensions: transformOptional(raw.extensions, (ext) => {\n\t\t\tconst result = { ...ext };\n\t\t\tif (ext.originChainId !== void 0) result.originChainId = normalizeChainId(ext.originChainId);\n\t\t\tif (ext.originAddress?.startsWith(\"0x\") && ext.originAddress.length === 42) result.originAddress = normalizeAddress(ext.originAddress);\n\t\t\treturn result;\n\t\t})\n\t});\n}\nfunction toTokenMetadata(raw) {\n\treturn spreadWith(raw, {\n\t\ttokenId: normalizeTokenId(raw.tokenId),\n\t\tattributes: raw.attributes\n\t});\n}\nfunction toNativeTokenBalance(raw) {\n\tconst result = {\n\t\taccountAddress: normalizeAddress(raw.accountAddress),\n\t\tchainId: normalizeChainId(raw.chainId),\n\t\tbalance: BigInt(raw.balance)\n\t};\n\tif (raw.errorReason) result.errorReason = raw.errorReason;\n\treturn result;\n}\nfunction toTokenBalance(raw) {\n\tconst { tokenID, contractType, ...rest } = raw;\n\treturn spreadWith(rest, {\n\t\tcontractType,\n\t\tcontractAddress: normalizeAddress(raw.contractAddress),\n\t\taccountAddress: normalizeAddress(raw.accountAddress),\n\t\ttokenId: raw.tokenID ? normalizeTokenId(raw.tokenID) : 0n,\n\t\tbalance: BigInt(raw.balance),\n\t\tchainId: normalizeChainId(raw.chainId),\n\t\tcontractInfo: transformOptional(raw.contractInfo, toContractInfo),\n\t\ttokenMetadata: transformOptional(raw.tokenMetadata, toTokenMetadata),\n\t\tuniqueCollectibles: transformOptional(raw.uniqueCollectibles, BigInt)\n\t});\n}\nfunction toTokenSupply(raw, contractAddress) {\n\treturn {\n\t\ttokenId: normalizeTokenId(raw.tokenID),\n\t\tsupply: BigInt(raw.supply),\n\t\tchainId: normalizeChainId(raw.chainId),\n\t\tcontractAddress,\n\t\tcontractInfo: transformOptional(raw.contractInfo, toContractInfo),\n\t\ttokenMetadata: transformOptional(raw.tokenMetadata, toTokenMetadata)\n\t};\n}\nfunction toTransactionReceipt(raw) {\n\treturn spreadWith(raw, {\n\t\teffectiveGasPrice: BigInt(raw.effectiveGasPrice),\n\t\tfrom: raw.from?.startsWith(\"0x\") && raw.from.length === 42 ? normalizeAddress(raw.from) : void 0,\n\t\tto: raw.to?.startsWith(\"0x\") && raw.to.length === 42 ? normalizeAddress(raw.to) : void 0,\n\t\tlogs: transformArray(raw.logs, (log) => {\n\t\t\tconst { contractAddress, index, ...rest } = log;\n\t\t\treturn spreadWith(rest, {\n\t\t\t\taddress: normalizeAddress(contractAddress),\n\t\t\t\tlogIndex: index\n\t\t\t});\n\t\t})\n\t});\n}\nfunction toTokenIDRange(raw) {\n\treturn {\n\t\tstartTokenId: normalizeTokenId(raw.start),\n\t\tendTokenId: normalizeTokenId(raw.end)\n\t};\n}\nfunction toPage(raw) {\n\tif (!raw) return {\n\t\tpage: 0,\n\t\tpageSize: 0,\n\t\tmore: false\n\t};\n\treturn spreadWith(raw, {\n\t\tpage: raw.page || 0,\n\t\tpageSize: raw.pageSize || 0,\n\t\tmore: raw.more || false\n\t});\n}\nfunction toGetTokenBalancesResponse(raw) {\n\treturn spreadWith(raw, {\n\t\tbalances: transformArray(raw.balances, toTokenBalance),\n\t\tpage: toPage(raw.page)\n\t});\n}\nfunction toGetTokenSuppliesResponse(raw, contractAddress) {\n\tconst tokenIDs = transformOptionalArray(raw.tokenIDs, (tokenSupply) => toTokenSupply(tokenSupply, contractAddress)) || [];\n\treturn spreadWith(raw, {\n\t\tcontractAddress,\n\t\ttokenIDs,\n\t\tsupplies: tokenIDs,\n\t\tpage: toPage(raw.page)\n\t});\n}\nfunction toGetTokenIDRangesResponse(raw, contractAddress) {\n\tconst tokenIDRanges = transformOptionalArray(raw.tokenIDRanges, toTokenIDRange) || [];\n\treturn spreadWith(raw, {\n\t\tcontractAddress,\n\t\ttokenIDRanges,\n\t\tranges: tokenIDRanges\n\t});\n}\nfunction toGetTokenBalancesDetailsResponse(raw) {\n\treturn spreadWith(raw, {\n\t\tpage: toPage(raw.page),\n\t\tnativeBalances: (raw.nativeBalances || []).map(toNativeTokenBalance),\n\t\tbalances: raw.balances.map(toTokenBalance)\n\t});\n}\nfunction toGetTokenBalancesByContractResponse(raw) {\n\treturn spreadWith(raw, {\n\t\tpage: toPage(raw.page),\n\t\tbalances: raw.balances.map(toTokenBalance)\n\t});\n}\nfunction toGetNativeTokenBalanceResponse(raw) {\n\treturn spreadWith(raw, { balance: toNativeTokenBalance(raw.balance) });\n}\nfunction toGetTokenBalancesArgs(req) {\n\tconst { tokenId, ...rest } = req;\n\tconst accountAddress = \"userAddress\" in req && req.userAddress ? req.userAddress : \"accountAddress\" in req ? req.accountAddress : void 0;\n\tconst contractAddress = \"collectionAddress\" in req && req.collectionAddress ? req.collectionAddress : \"contractAddress\" in req && req.contractAddress ? req.contractAddress : void 0;\n\treturn {\n\t\t...rest,\n\t\t...accountAddress && { accountAddress },\n\t\t...contractAddress && { contractAddress },\n\t\t...tokenId !== void 0 && { tokenID: tokenId.toString() }\n\t};\n}\nfunction toGetTokenSuppliesArgs(req) {\n\tconst { collectionAddress: _collectionAddress, contractAddress: _contractAddress, ...rest } = req;\n\tconst contractAddress = _contractAddress || _collectionAddress;\n\treturn {\n\t\t...rest,\n\t\tcontractAddress\n\t};\n}\nfunction toGetTokenIDRangesArgs(req) {\n\treturn { contractAddress: req.contractAddress || req.collectionAddress };\n}\nfunction toGetUserCollectionBalancesArgs(req) {\n\treturn {\n\t\tfilter: {\n\t\t\taccountAddresses: [req.userAddress],\n\t\t\tcontractAddresses: [req.collectionAddress]\n\t\t},\n\t\tomitMetadata: req.includeMetadata === false ? true : void 0\n\t};\n}\n\n//#endregion\nexport { toTokenSupply as _, toGetTokenBalancesDetailsResponse as a, toGetTokenIDRangesResponse as c, toGetUserCollectionBalancesArgs as d, toNativeTokenBalance as f, toTokenMetadata as g, toTokenIDRange as h, toGetTokenBalancesByContractResponse as i, toGetTokenSuppliesArgs as l, toTokenBalance as m, toGetNativeTokenBalanceResponse as n, toGetTokenBalancesResponse as o, toPage as p, toGetTokenBalancesArgs as r, toGetTokenIDRangesArgs as s, toContractInfo as t, toGetTokenSuppliesResponse as u, toTransactionReceipt as v };\n//# sourceMappingURL=transforms.js.map","import { a as transformOptionalArray, c as normalizeAddress, h as toMetadataChainId, i as transformOptional, l as normalizeChainId, m as toApiTokenId, n as spreadWith, o as transformRecord, r as transformArray, u as normalizeTokenId } from \"./transform.js\";\n\n//#region src/adapters/metadata/transforms.ts\nfunction toBridgeInfo(raw) {\n\treturn { tokenAddress: normalizeAddress(raw.tokenAddress) };\n}\nfunction toContractInfo(raw) {\n\tconst extensions = {\n\t\tlink: raw.extensions.link,\n\t\tdescription: raw.extensions.description,\n\t\tcategories: raw.extensions.categories,\n\t\togImage: raw.extensions.ogImage,\n\t\togName: raw.extensions.ogName,\n\t\tblacklist: raw.extensions.blacklist,\n\t\tverified: raw.extensions.verified,\n\t\tverifiedBy: raw.extensions.verifiedBy,\n\t\tfeatured: raw.extensions.featured,\n\t\tfeatureIndex: raw.extensions.featureIndex\n\t};\n\tif (raw.extensions.originChainId !== void 0) extensions.originChainId = normalizeChainId(raw.extensions.originChainId);\n\tif (raw.extensions.originAddress !== void 0) extensions.originAddress = normalizeAddress(raw.extensions.originAddress);\n\tif (raw.extensions.bridgeInfo !== void 0) extensions.bridgeInfo = transformRecord(raw.extensions.bridgeInfo, toBridgeInfo);\n\treturn spreadWith(raw, {\n\t\taddress: normalizeAddress(raw.address),\n\t\tchainId: normalizeChainId(raw.chainId),\n\t\ttype: raw.type,\n\t\textensions\n\t});\n}\nfunction toAsset(raw) {\n\treturn spreadWith(raw, { tokenId: transformOptional(raw.tokenId, normalizeTokenId) });\n}\nfunction toTokenMetadata(raw) {\n\treturn spreadWith(raw, {\n\t\tchainId: transformOptional(raw.chainId, normalizeChainId),\n\t\tcontractAddress: transformOptional(raw.contractAddress, normalizeAddress),\n\t\ttokenId: normalizeTokenId(raw.tokenId),\n\t\tassets: transformOptionalArray(raw.assets, toAsset)\n\t});\n}\nfunction toGetContractInfoReturn(raw) {\n\treturn spreadWith(raw, { contractInfo: toContractInfo(raw.contractInfo) });\n}\nfunction toGetContractInfoBatchReturn(raw) {\n\treturn spreadWith(raw, { contractInfoMap: transformRecord(raw.contractInfoMap, toContractInfo) });\n}\nfunction toGetTokenMetadataReturn(raw) {\n\treturn spreadWith(raw, { tokenMetadata: transformArray(raw.tokenMetadata, toTokenMetadata) });\n}\nfunction toGetTokenMetadataBatchReturn(raw) {\n\treturn spreadWith(raw, { contractTokenMetadata: transformRecord(raw.contractTokenMetadata, (metadata) => transformArray(metadata, toTokenMetadata)) });\n}\nfunction toSearchTokenMetadataReturn(raw) {\n\treturn spreadWith(raw, { tokenMetadata: transformArray(raw.tokenMetadata, toTokenMetadata) });\n}\nfunction toGetContractInfoArgs(normalized) {\n\tconst contractAddress = \"collectionAddress\" in normalized && normalized.collectionAddress ? normalized.collectionAddress : \"contractAddress\" in normalized && normalized.contractAddress ? normalized.contractAddress : \"\";\n\treturn {\n\t\tchainID: toMetadataChainId(normalized.chainId),\n\t\tcontractAddress\n\t};\n}\nfunction toGetContractInfoBatchArgs(normalized) {\n\treturn {\n\t\tchainID: toMetadataChainId(normalized.chainId),\n\t\tcontractAddresses: normalized.contractAddresses\n\t};\n}\nfunction toGetTokenMetadataArgs(normalized) {\n\tconst contractAddress = \"collectionAddress\" in normalized && normalized.collectionAddress ? normalized.collectionAddress : \"contractAddress\" in normalized && normalized.contractAddress ? normalized.contractAddress : \"\";\n\treturn {\n\t\tchainID: toMetadataChainId(normalized.chainId),\n\t\tcontractAddress,\n\t\ttokenIDs: transformArray(normalized.tokenIds, toApiTokenId)\n\t};\n}\nfunction toGetTokenMetadataBatchArgs(normalized) {\n\treturn {\n\t\tchainID: toMetadataChainId(normalized.chainId),\n\t\tcontractTokenMap: transformRecord(normalized.contractTokenMap, (tokenIds) => transformArray(tokenIds, toApiTokenId))\n\t};\n}\nfunction toRefreshTokenMetadataArgs(normalized) {\n\tconst contractAddress = \"collectionAddress\" in normalized && normalized.collectionAddress ? normalized.collectionAddress : \"contractAddress\" in normalized && normalized.contractAddress ? normalized.contractAddress : \"\";\n\treturn {\n\t\tchainID: toMetadataChainId(normalized.chainId),\n\t\tcontractAddress,\n\t\ttokenIDs: transformOptionalArray(normalized.tokenIds, toApiTokenId)\n\t};\n}\nfunction toSearchTokenMetadataArgs(normalized) {\n\tconst contractAddress = \"collectionAddress\" in normalized && normalized.collectionAddress ? normalized.collectionAddress : \"contractAddress\" in normalized && normalized.contractAddress ? normalized.contractAddress : \"\";\n\treturn {\n\t\tchainID: toMetadataChainId(normalized.chainId),\n\t\tcontractAddress,\n\t\tfilter: normalized.filter,\n\t\tpage: normalized.page\n\t};\n}\nfunction toGetTokenMetadataPropertyFiltersArgs(normalized) {\n\tconst contractAddress = \"collectionAddress\" in normalized && normalized.collectionAddress !== void 0 ? normalized.collectionAddress : normalized.contractAddress;\n\treturn {\n\t\tchainID: toMetadataChainId(normalized.chainId),\n\t\tcontractAddress,\n\t\texcludeProperties: normalized.excludeProperties,\n\t\texcludePropertyValues: normalized.excludePropertyValues\n\t};\n}\nfunction toGetTokenMetadataPropertyFiltersReturn(raw) {\n\treturn raw;\n}\n\n//#endregion\nexport { toGetContractInfoBatchReturn as a, toGetTokenMetadataBatchArgs as c, toGetTokenMetadataPropertyFiltersReturn as d, toGetTokenMetadataReturn as f, toTokenMetadata as g, toSearchTokenMetadataReturn as h, toGetContractInfoBatchArgs as i, toGetTokenMetadataBatchReturn as l, toSearchTokenMetadataArgs as m, toContractInfo as n, toGetContractInfoReturn as o, toRefreshTokenMetadataArgs as p, toGetContractInfoArgs as r, toGetTokenMetadataArgs as s, toAsset as t, toGetTokenMetadataPropertyFiltersArgs as u };\n//# sourceMappingURL=transforms2.js.map","import { n as __export } from \"./chunk.js\";\nimport { a as WebrpcBadRequestError, c as WebrpcClientDisconnectedError, d as WebrpcInternalErrorError, f as WebrpcRequestFailedError, g as builder_gen_exports, h as WebrpcStreamLostError, i as WebrpcBadMethodError, l as WebrpcEndpointError, m as WebrpcStreamFinishedError, n as MarketplaceService, o as WebrpcBadResponseError, p as WebrpcServerPanicError, r as MarketplaceWalletType, s as WebrpcBadRouteError, t as FilterCondition, u as WebrpcError } from \"./builder.gen.js\";\nimport { c as normalizeAddress, d as parseAmount, f as parseBigInt, h as toMetadataChainId, l as normalizeChainId, m as toApiTokenId, p as toApiAddress, r as transformArray, s as formatAmount, t as buildPage, u as normalizeTokenId } from \"./transform.js\";\nimport { _ as StepType, a as CurrencyStatus, b as WalletKind, c as MarketplaceKind, d as OrderSide, f as OrderStatus, g as SortOrder, h as PropertyType, i as ContractType$2, l as MetadataStatus, o as ExecuteType, p as OrderbookKind, r as CollectionStatus, s as Marketplace, u as OfferType, v as TransactionCrypto, x as marketplace_gen_exports, y as TransactionOnRampProvider } from \"./marketplace.gen.js\";\nimport { _ as toTokenSupply, a as toGetTokenBalancesDetailsResponse, c as toGetTokenIDRangesResponse, d as toGetUserCollectionBalancesArgs, f as toNativeTokenBalance, g as toTokenMetadata, h as toTokenIDRange, i as toGetTokenBalancesByContractResponse, l as toGetTokenSuppliesArgs, m as toTokenBalance, n as toGetNativeTokenBalanceResponse, o as toGetTokenBalancesResponse, p as toPage, r as toGetTokenBalancesArgs, s as toGetTokenIDRangesArgs, t as toContractInfo, u as toGetTokenSuppliesResponse, v as toTransactionReceipt } from \"./transforms.js\";\nimport { a as toGetContractInfoBatchReturn, c as toGetTokenMetadataBatchArgs, d as toGetTokenMetadataPropertyFiltersReturn, f as toGetTokenMetadataReturn, g as toTokenMetadata$1, h as toSearchTokenMetadataReturn, i as toGetContractInfoBatchArgs, l as toGetTokenMetadataBatchReturn, m as toSearchTokenMetadataArgs, n as toContractInfo$1, o as toGetContractInfoReturn, p as toRefreshTokenMetadataArgs, r as toGetContractInfoArgs, s as toGetTokenMetadataArgs, t as toAsset, u as toGetTokenMetadataPropertyFiltersArgs } from \"./transforms2.js\";\nimport \"./types/index.js\";\nimport * as IndexerAPI from \"@0xsequence/indexer\";\nimport { ContractType, ContractType as ContractType$3, ResourceStatus, ResourceStatus as ResourceStatus$3, SequenceIndexer, TransactionStatus, TransactionStatus as TransactionStatus$2, TransactionType, TransactionType as TransactionType$2 } from \"@0xsequence/indexer\";\nimport * as MetadataAPI from \"@0xsequence/metadata\";\nimport { SequenceMetadata } from \"@0xsequence/metadata\";\n\n//#region src/adapters/marketplace/normalize.ts\nfunction normalizeMarketplaceKind(kind) {\n\treturn kind === MarketplaceKind.magic_eden ? MarketplaceKind.opensea : kind;\n}\nfunction normalizeOrderbookKind(kind) {\n\treturn kind === OrderbookKind.magic_eden ? OrderbookKind.opensea : kind;\n}\n\n//#endregion\n//#region src/adapters/builder/transforms.ts\nfunction toLookupMarketplaceReturn(data) {\n\tconst marketCollections = transformArray(data.marketCollections, toMarketCollection);\n\tconst shopCollections = transformArray(data.shopCollections, toShopCollection);\n\treturn {\n\t\tmarketplace: {\n\t\t\t...data.marketplace,\n\t\t\tmarket: {\n\t\t\t\t...data.marketplace.market,\n\t\t\t\tcollections: marketCollections\n\t\t\t},\n\t\t\tshop: {\n\t\t\t\t...data.marketplace.shop,\n\t\t\t\tcollections: shopCollections\n\t\t\t}\n\t\t},\n\t\tmarketCollections,\n\t\tshopCollections\n\t};\n}\nfunction toMarketCollection(data) {\n\treturn {\n\t\t...data,\n\t\tmarketplaceCollectionType: \"market\",\n\t\tchainId: normalizeChainId(data.chainId),\n\t\titemsAddress: normalizeAddress(data.itemsAddress),\n\t\tcontractType: data.contractType,\n\t\tdestinationMarketplace: normalizeOrderbookKind(data.destinationMarketplace)\n\t};\n}\nfunction toShopCollection(data) {\n\treturn {\n\t\t...data,\n\t\tmarketplaceCollectionType: \"shop\",\n\t\tchainId: normalizeChainId(data.chainId),\n\t\titemsAddress: normalizeAddress(data.itemsAddress),\n\t\tsaleAddress: normalizeAddress(data.saleAddress),\n\t\ttokenIds: transformArray(data.tokenIds, normalizeTokenId),\n\t\tcustomTokenIds: transformArray(data.customTokenIds, normalizeTokenId)\n\t};\n}\nfunction fromLookupMarketplaceReturn(data) {\n\tconst marketCollections = transformArray(data.marketplace.market.collections, fromMarketCollection);\n\tconst shopCollections = transformArray(data.marketplace.shop.collections, fromShopCollection);\n\treturn {\n\t\tmarketplace: {\n\t\t\t...data.marketplace,\n\t\t\tmarket: {\n\t\t\t\tenabled: data.marketplace.market.enabled,\n\t\t\t\tbannerUrl: data.marketplace.market.bannerUrl,\n\t\t\t\togImage: data.marketplace.market.ogImage,\n\t\t\t\tprivate: data.marketplace.market.private\n\t\t\t},\n\t\t\tshop: {\n\t\t\t\tenabled: data.marketplace.shop.enabled,\n\t\t\t\tbannerUrl: data.marketplace.shop.bannerUrl,\n\t\t\t\togImage: data.marketplace.shop.ogImage,\n\t\t\t\tprivate: data.marketplace.shop.private\n\t\t\t}\n\t\t},\n\t\tmarketCollections,\n\t\tshopCollections\n\t};\n}\nfunction fromMarketCollection(data) {\n\tconst { marketplaceCollectionType, ...rest } = data;\n\treturn rest;\n}\nfunction fromShopCollection(data) {\n\tconst { marketplaceCollectionType, ...rest } = data;\n\treturn {\n\t\t...rest,\n\t\ttokenIds: transformArray(rest.tokenIds, toApiTokenId),\n\t\tcustomTokenIds: transformArray(rest.customTokenIds, toApiTokenId)\n\t};\n}\n\n//#endregion\n//#region src/adapters/builder/index.ts\nvar builder_exports = /* @__PURE__ */ __export({\n\tBuilderAPI: () => builder_gen_exports,\n\tFilterCondition: () => FilterCondition,\n\tMarketplaceWalletType: () => MarketplaceWalletType,\n\tWebrpcBadMethodError: () => WebrpcBadMethodError,\n\tWebrpcBadRequestError: () => WebrpcBadRequestError,\n\tWebrpcBadResponseError: () => WebrpcBadResponseError,\n\tWebrpcBadRouteError: () => WebrpcBadRouteError,\n\tWebrpcClientDisconnectedError: () => WebrpcClientDisconnectedError,\n\tWebrpcEndpointError: () => WebrpcEndpointError,\n\tWebrpcError: () => WebrpcError,\n\tWebrpcInternalErrorError: () => WebrpcInternalErrorError,\n\tWebrpcRequestFailedError: () => WebrpcRequestFailedError,\n\tWebrpcServerPanicError: () => WebrpcServerPanicError,\n\tWebrpcStreamFinishedError: () => WebrpcStreamFinishedError,\n\tWebrpcStreamLostError: () => WebrpcStreamLostError,\n\tfromLookupMarketplaceReturn: () => fromLookupMarketplaceReturn,\n\tfromMarketCollection: () => fromMarketCollection,\n\tfromShopCollection: () => fromShopCollection,\n\ttoLookupMarketplaceReturn: () => toLookupMarketplaceReturn,\n\ttoMarketCollection: () => toMarketCollection,\n\ttoShopCollection: () => toShopCollection\n});\n\n//#endregion\n//#region src/adapters/indexer/client.ts\n/**\n* Wrapped Indexer Client\n*\n* Wraps the raw SequenceIndexer with methods that return normalized types.\n* Uses composition rather than inheritance to avoid type conflicts.\n*/\nvar IndexerClient = class {\n\tclient;\n\tconstructor(hostname, projectAccessKey, jwtAuth) {\n\t\tthis.client = new SequenceIndexer(hostname, projectAccessKey, jwtAuth);\n\t}\n\t/**\n\t* Get token balances for an account with normalized types (bigint)\n\t* Accepts tokenId as bigint, transforms to tokenID string for API\n\t*/\n\tasync getTokenBalances(args) {\n\t\tconst apiArgs = toGetTokenBalancesArgs(args);\n\t\tconst rawResponse = await this.client.getTokenBalances(apiArgs);\n\t\treturn toGetTokenBalancesResponse(rawResponse);\n\t}\n\t/**\n\t* Get token supplies for a contract with normalized types (bigint)\n\t*/\n\tasync getTokenSupplies(args) {\n\t\tconst contractAddress = \"collectionAddress\" in args && args.collectionAddress ? args.collectionAddress : args.contractAddress;\n\t\tif (!contractAddress) throw new Error(\"getTokenSupplies requires either contractAddress or collectionAddress\");\n\t\tconst apiArgs = {\n\t\t\t...args,\n\t\t\tcontractAddress\n\t\t};\n\t\tconst rawResponse = await this.client.getTokenSupplies(apiArgs);\n\t\treturn toGetTokenSuppliesResponse(rawResponse, contractAddress);\n\t}\n\t/**\n\t* Get token ID ranges for a contract with normalized types (bigint)\n\t*/\n\tasync getTokenIDRanges(args) {\n\t\tconst contractAddress = \"collectionAddress\" in args && args.collectionAddress ? args.collectionAddress : args.contractAddress;\n\t\tif (!contractAddress) throw new Error(\"getTokenIDRanges requires either contractAddress or collectionAddress\");\n\t\tconst apiArgs = { contractAddress };\n\t\tconst rawResponse = await this.client.getTokenIDRanges(apiArgs);\n\t\treturn toGetTokenIDRangesResponse(rawResponse, contractAddress);\n\t}\n\t/**\n\t* Get token balance details with normalized types (bigint)\n\t*/\n\tasync getTokenBalancesDetails(args) {\n\t\tconst rawResponse = await this.client.getTokenBalancesDetails(args);\n\t\treturn toGetTokenBalancesDetailsResponse(rawResponse);\n\t}\n\t/**\n\t* Get token balances by contract with normalized types (bigint)\n\t*/\n\tasync getTokenBalancesByContract(args) {\n\t\tconst rawResponse = await this.client.getTokenBalancesByContract(args);\n\t\treturn toGetTokenBalancesByContractResponse(rawResponse);\n\t}\n\t/**\n\t* Get token balances for a user in a specific collection\n\t* Convenience method with user-friendly parameter names\n\t*/\n\tasync getUserCollectionBalances(args) {\n\t\tconst apiArgs = toGetUserCollectionBalancesArgs(args);\n\t\treturn (await this.client.getTokenBalancesByContract(apiArgs)).balances.map(toTokenBalance);\n\t}\n\t/**\n\t* Get native token balance with normalized types (bigint)\n\t*/\n\tasync getNativeTokenBalance(args) {\n\t\tconst rawResponse = await this.client.getNativeTokenBalance(args);\n\t\treturn toGetNativeTokenBalanceResponse(rawResponse);\n\t}\n\t/**\n\t* Fetch transaction receipt with normalized types (bigint)\n\t*/\n\tasync fetchTransactionReceipt(args) {\n\t\tconst rawResponse = await this.client.fetchTransactionReceipt(args);\n\t\treturn { receipt: toTransactionReceipt(rawResponse.receipt) };\n\t}\n\t/**\n\t* Access the underlying raw client for any methods not wrapped\n\t*/\n\tget raw() {\n\t\treturn this.client;\n\t}\n};\n\n//#endregion\n//#region src/adapters/indexer/index.ts\nvar indexer_exports = /* @__PURE__ */ __export({\n\tContractType: () => ContractType$3,\n\tIndexerAPI: () => IndexerAPI,\n\tIndexerClient: () => IndexerClient,\n\tResourceStatus: () => ResourceStatus$3,\n\tTransactionStatus: () => TransactionStatus$2,\n\tTransactionType: () => TransactionType$2,\n\ttoContractInfo: () => toContractInfo,\n\ttoGetNativeTokenBalanceResponse: () => toGetNativeTokenBalanceResponse,\n\ttoGetTokenBalancesArgs: () => toGetTokenBalancesArgs,\n\ttoGetTokenBalancesByContractResponse: () => toGetTokenBalancesByContractResponse,\n\ttoGetTokenBalancesDetailsResponse: () => toGetTokenBalancesDetailsResponse,\n\ttoGetTokenBalancesResponse: () => toGetTokenBalancesResponse,\n\ttoGetTokenIDRangesArgs: () => toGetTokenIDRangesArgs,\n\ttoGetTokenIDRangesResponse: () => toGetTokenIDRangesResponse,\n\ttoGetTokenSuppliesArgs: () => toGetTokenSuppliesArgs,\n\ttoGetTokenSuppliesResponse: () => toGetTokenSuppliesResponse,\n\ttoGetUserCollectionBalancesArgs: () => toGetUserCollectionBalancesArgs,\n\ttoNativeTokenBalance: () => toNativeTokenBalance,\n\ttoPage: () => toPage,\n\ttoTokenBalance: () => toTokenBalance,\n\ttoTokenIDRange: () => toTokenIDRange,\n\ttoTokenMetadata: () => toTokenMetadata,\n\ttoTokenSupply: () => toTokenSupply,\n\ttoTransactionReceipt: () => toTransactionReceipt\n});\n\n//#endregion\n//#region src/utils/client-proxy.ts\nfunction chainIdToString(chainId) {\n\treturn chainId.toString();\n}\nfunction wrapChainId(clientMethod) {\n\treturn async (req) => {\n\t\treturn clientMethod({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId)\n\t\t});\n\t};\n}\nfunction wrapCollectionAddress(clientMethod) {\n\treturn async (req) => {\n\t\tconst { collectionAddress, ...rest } = req;\n\t\treturn clientMethod({\n\t\t\t...rest,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractAddress: collectionAddress\n\t\t});\n\t};\n}\nfunction wrapWithTransform(clientMethod, transform) {\n\treturn async (req) => {\n\t\treturn clientMethod(transform(req));\n\t};\n}\nfunction wrapWithBothTransform(clientMethod, requestTransform, responseTransform) {\n\treturn async (req) => {\n\t\treturn responseTransform(await clientMethod(requestTransform(req)));\n\t};\n}\nfunction passthrough(clientMethod) {\n\treturn clientMethod;\n}\n\n//#endregion\n//#region src/adapters/marketplace/transforms.ts\nfunction toDomain(domain) {\n\treturn {\n\t\tname: domain.name,\n\t\tversion: domain.version,\n\t\tchainId: domain.chainId,\n\t\tverifyingContract: normalizeAddress(domain.verifyingContract)\n\t};\n}\nfunction toSignature(signature) {\n\treturn {\n\t\tdomain: toDomain(signature.domain),\n\t\ttypes: signature.types,\n\t\tprimaryType: signature.primaryType,\n\t\tvalue: signature.value\n\t};\n}\nfunction toStep(raw) {\n\tswitch (raw.id) {\n\t\tcase StepType.tokenApproval:\n\t\tcase StepType.buy:\n\t\tcase StepType.sell:\n\t\tcase StepType.cancel:\n\t\tcase StepType.createOffer:\n\t\tcase StepType.createListing:\n\t\t\tif (!raw.to) throw new Error(`Transaction step ${raw.id} missing required field: to`);\n\t\t\tif (!raw.data) throw new Error(`Transaction step ${raw.id} missing required field: data`);\n\t\t\treturn {\n\t\t\t\tid: raw.id,\n\t\t\t\tto: normalizeAddress(raw.to),\n\t\t\t\tdata: raw.data,\n\t\t\t\tvalue: raw.value,\n\t\t\t\tprice: raw.price,\n\t\t\t\t...raw.signature && { signature: toSignature(raw.signature) },\n\t\t\t\t...raw.post && { post: raw.post },\n\t\t\t\t...raw.executeType && { executeType: raw.executeType }\n\t\t\t};\n\t\tcase StepType.signEIP191:\n\t\t\tif (!raw.post) throw new Error(`Signature step ${raw.id} missing required field: post`);\n\t\t\treturn {\n\t\t\t\tid: raw.id,\n\t\t\t\tpost: raw.post\n\t\t\t};\n\t\tcase StepType.signEIP712:\n\t\t\tif (!raw.post) throw new Error(`Signature step ${raw.id} missing required field: post`);\n\t\t\tif (!raw.signature) throw new Error(`Signature step ${raw.id} missing required field: signature`);\n\t\t\treturn {\n\t\t\t\tid: raw.id,\n\t\t\t\tpost: raw.post,\n\t\t\t\tsignature: toSignature(raw.signature)\n\t\t\t};\n\t\tdefault: throw new Error(`Unknown step type: ${raw.id}`);\n\t}\n}\nfunction toSteps(raw) {\n\treturn raw.map(toStep);\n}\nfunction toCurrency(raw) {\n\treturn {\n\t\t...raw,\n\t\tcontractAddress: normalizeAddress(raw.contractAddress)\n\t};\n}\nfunction toCurrencies(raw) {\n\treturn raw.map(toCurrency);\n}\nfunction toOrder(raw) {\n\treturn {\n\t\t...raw,\n\t\tmarketplace: normalizeMarketplaceKind(raw.marketplace),\n\t\tpriceCurrencyAddress: normalizeAddress(raw.priceCurrencyAddress)\n\t};\n}\nfunction toOrders(raw) {\n\treturn raw.map(toOrder);\n}\nfunction toCollectibleOrder(raw) {\n\treturn {\n\t\t...raw,\n\t\tmetadata: {\n\t\t\t...raw.metadata,\n\t\t\ttokenId: typeof raw.metadata.tokenId === \"string\" ? BigInt(raw.metadata.tokenId) : raw.metadata.tokenId\n\t\t},\n\t\torder: raw.order ? toOrder(raw.order) : void 0,\n\t\tlisting: raw.listing ? toOrder(raw.listing) : void 0,\n\t\toffer: raw.offer ? toOrder(raw.offer) : void 0\n\t};\n}\nfunction toCollectibleOrders(raw) {\n\treturn raw.map(toCollectibleOrder);\n}\nfunction toPrimarySaleItem(raw) {\n\treturn {\n\t\t...raw,\n\t\tcurrencyAddress: normalizeAddress(raw.currencyAddress),\n\t\titemAddress: normalizeAddress(raw.itemAddress)\n\t};\n}\nfunction toCollectiblePrimarySaleItem(raw) {\n\treturn {\n\t\t...raw,\n\t\tprimarySaleItem: toPrimarySaleItem(raw.primarySaleItem)\n\t};\n}\nfunction toCollectiblePrimarySaleItems(raw) {\n\treturn raw.map(toCollectiblePrimarySaleItem);\n}\n\n//#endregion\n//#region src/adapters/marketplace/client.ts\nfunction transformCheckoutItem(item) {\n\treturn {\n\t\ttokenId: item.tokenId,\n\t\tquantity: item.quantity\n\t};\n}\nfunction transformCreateReq(req) {\n\treturn {\n\t\t...req,\n\t\ttokenId: req.tokenId,\n\t\tquantity: req.quantity\n\t};\n}\nfunction transformOrderData(data) {\n\treturn {\n\t\torderId: data.orderId,\n\t\tquantity: data.quantity,\n\t\ttokenId: data.tokenId\n\t};\n}\n/**\n* Wrapped Marketplace Client\n*\n* Wraps the raw Marketplace client with methods that accept normalized types (number chainId).\n* Uses proxy utilities to automatically convert chainId from number to string for API calls.\n* Methods are created using wrapper functions to eliminate repetitive conversion code.\n*/\nvar MarketplaceClient = class {\n\tclient;\n\tqueryKey;\n\tgenerateListingTransaction;\n\tgenerateOfferTransaction;\n\tgenerateSellTransaction;\n\tgenerateCancelTransaction;\n\tgenerateBuyTransaction;\n\tgetCollectionDetail;\n\tlistCurrencies;\n\tgetCollectionActiveListingsCurrencies;\n\tgetCollectionActiveOffersCurrencies;\n\tgetCollectible;\n\tgetLowestPriceListingForCollectible;\n\tgetHighestPriceOfferForCollectible;\n\tlistListingsForCollectible;\n\tlistOffersForCollectible;\n\tlistOrdersWithCollectibles;\n\tgetFloorOrder;\n\tgetOrders;\n\tlistCollectibles;\n\tlistPrimarySaleItems;\n\tgetPrimarySaleItem;\n\tgetCountOfPrimarySaleItems;\n\tgetCountOfFilteredCollectibles;\n\tgetCountOfAllCollectibles;\n\tgetCountOfListingsForCollectible;\n\tgetCountOfOffersForCollectible;\n\tgetCountOfFilteredOrders;\n\tgetCountOfAllOrders;\n\tcheckoutOptionsMarketplace;\n\tcheckoutOptionsSalesContract;\n\texecute;\n\tconstructor(hostname, fetch) {\n\t\tthis.client = new Marketplace(hostname, fetch);\n\t\tthis.queryKey = this.client.queryKey;\n\t\tthis.generateListingTransaction = wrapWithBothTransform((req) => this.client.generateListingTransaction(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractType: req.contractType,\n\t\t\tlisting: transformCreateReq(req.listing)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tsteps: toSteps(res.steps)\n\t\t}));\n\t\tthis.generateOfferTransaction = wrapWithBothTransform((req) => this.client.generateOfferTransaction(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractType: req.contractType,\n\t\t\toffer: transformCreateReq(req.offer)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tsteps: toSteps(res.steps)\n\t\t}));\n\t\tthis.generateSellTransaction = wrapWithBothTransform((req) => this.client.generateSellTransaction(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tordersData: req.ordersData.map(transformOrderData)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tsteps: toSteps(res.steps)\n\t\t}));\n\t\tthis.generateCancelTransaction = wrapWithBothTransform((req) => this.client.generateCancelTransaction(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tsteps: toSteps(res.steps)\n\t\t}));\n\t\tthis.generateBuyTransaction = wrapWithBothTransform((req) => this.client.generateBuyTransaction(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tordersData: req.ordersData.map(transformOrderData)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tsteps: toSteps(res.steps)\n\t\t}));\n\t\tthis.getCollectionDetail = wrapCollectionAddress((req) => this.client.getCollectionDetail(req));\n\t\tthis.listCurrencies = wrapWithBothTransform((req) => this.client.listCurrencies(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tcurrencies: toCurrencies(res.currencies)\n\t\t}));\n\t\tthis.getCollectionActiveListingsCurrencies = wrapWithBothTransform((req) => this.client.getCollectionActiveListingsCurrencies(req), (req) => req, (res) => ({\n\t\t\t...res,\n\t\t\tcurrencies: toCurrencies(res.currencies)\n\t\t}));\n\t\tthis.getCollectionActiveOffersCurrencies = wrapWithBothTransform((req) => this.client.getCollectionActiveOffersCurrencies(req), (req) => req, (res) => ({\n\t\t\t...res,\n\t\t\tcurrencies: toCurrencies(res.currencies)\n\t\t}));\n\t\tthis.getCollectible = wrapCollectionAddress((req) => this.client.getCollectible(req));\n\t\tthis.getLowestPriceListingForCollectible = wrapWithBothTransform((req) => this.client.getLowestPriceListingForCollectible(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractAddress: req.collectionAddress\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\torder: res.order ? toOrder(res.order) : void 0\n\t\t}));\n\t\tthis.getHighestPriceOfferForCollectible = wrapWithBothTransform((req) => this.client.getHighestPriceOfferForCollectible(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractAddress: req.collectionAddress\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\torder: res.order ? toOrder(res.order) : void 0\n\t\t}));\n\t\tthis.listListingsForCollectible = wrapWithBothTransform((req) => this.client.listListingsForCollectible(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractAddress: req.collectionAddress\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tlistings: toOrders(res.listings)\n\t\t}));\n\t\tthis.listOffersForCollectible = wrapWithBothTransform((req) => this.client.listOffersForCollectible(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractAddress: req.collectionAddress\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\toffers: toOrders(res.offers)\n\t\t}));\n\t\tthis.listOrdersWithCollectibles = wrapWithBothTransform((req) => this.client.listOrdersWithCollectibles(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractAddress: req.collectionAddress\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tcollectibles: toCollectibleOrders(res.collectibles)\n\t\t}));\n\t\tthis.getFloorOrder = wrapWithBothTransform((req) => this.client.getFloorOrder(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractAddress: req.collectionAddress\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tcollectible: toCollectibleOrder(res.collectible)\n\t\t}));\n\t\tthis.getOrders = wrapWithBothTransform((req) => this.client.getOrders(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\torders: toOrders(res.orders)\n\t\t}));\n\t\tthis.listCollectibles = wrapWithBothTransform((req) => this.client.listCollectibles(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\tcontractAddress: req.collectionAddress\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tcollectibles: toCollectibleOrders(res.collectibles)\n\t\t}));\n\t\tthis.listPrimarySaleItems = wrapWithBothTransform((req) => this.client.listPrimarySaleItems(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\tprimarySaleItems: toCollectiblePrimarySaleItems(res.primarySaleItems)\n\t\t}));\n\t\tthis.getPrimarySaleItem = wrapWithBothTransform((req) => this.client.getPrimarySaleItem(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId)\n\t\t}), (res) => ({\n\t\t\t...res,\n\t\t\titem: toCollectiblePrimarySaleItem(res.item)\n\t\t}));\n\t\tthis.getCountOfPrimarySaleItems = wrapChainId((req) => this.client.getCountOfPrimarySaleItems(req));\n\t\tthis.getCountOfFilteredCollectibles = wrapCollectionAddress((req) => this.client.getCountOfFilteredCollectibles(req));\n\t\tthis.getCountOfAllCollectibles = wrapCollectionAddress((req) => this.client.getCountOfAllCollectibles(req));\n\t\tthis.getCountOfListingsForCollectible = wrapCollectionAddress((req) => this.client.getCountOfListingsForCollectible(req));\n\t\tthis.getCountOfOffersForCollectible = wrapCollectionAddress((req) => this.client.getCountOfOffersForCollectible(req));\n\t\tthis.getCountOfFilteredOrders = wrapCollectionAddress((req) => this.client.getCountOfFilteredOrders(req));\n\t\tthis.getCountOfAllOrders = wrapCollectionAddress((req) => this.client.getCountOfAllOrders(req));\n\t\tthis.checkoutOptionsMarketplace = wrapWithTransform((req) => this.client.checkoutOptionsMarketplace(req), (req) => {\n\t\t\tconst wallet = \"walletAddress\" in req && req.walletAddress ? req.walletAddress : \"wallet\" in req && req.wallet ? req.wallet : \"\";\n\t\t\treturn {\n\t\t\t\t...req,\n\t\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\t\twallet\n\t\t\t};\n\t\t});\n\t\tthis.checkoutOptionsSalesContract = wrapWithTransform((req) => this.client.checkoutOptionsSalesContract(req), (req) => ({\n\t\t\t...req,\n\t\t\tchainId: chainIdToString(req.chainId),\n\t\t\titems: req.items.map(transformCheckoutItem)\n\t\t}));\n\t\tthis.execute = passthrough((req) => this.client.execute(req));\n\t}\n\t/**\n\t* Access the underlying raw client for any methods not wrapped\n\t*/\n\tget raw() {\n\t\treturn this.client;\n\t}\n};\n\n//#endregion\n//#region src/adapters/marketplace/types.ts\nfunction isSignatureStep(step) {\n\treturn step.id === StepType.signEIP191 || step.id === StepType.signEIP712;\n}\nfunction isTransactionStep(step) {\n\treturn [\n\t\tStepType.tokenApproval,\n\t\tStepType.buy,\n\t\tStepType.sell,\n\t\tStepType.cancel,\n\t\tStepType.createOffer,\n\t\tStepType.createListing\n\t].includes(step.id);\n}\nfunction isApprovalStep(step) {\n\treturn step.id === StepType.tokenApproval;\n}\nfunction isBuyStep(step) {\n\treturn step.id === StepType.buy;\n}\nfunction isSellStep(step) {\n\treturn step.id === StepType.sell;\n}\nfunction isCreateListingStep(step) {\n\treturn step.id === StepType.createListing;\n}\nfunction isCreateOfferStep(step) {\n\treturn step.id === StepType.createOffer;\n}\nfunction isCancelStep(step) {\n\treturn step.id === StepType.cancel;\n}\nfunction findStepByType(steps, type) {\n\treturn steps.find((step) => step.id === type);\n}\nfunction findApprovalStep(steps) {\n\treturn steps.find(isApprovalStep);\n}\nfunction findBuyStep(steps) {\n\treturn steps.find(isBuyStep);\n}\nfunction findSellStep(steps) {\n\treturn steps.find(isSellStep);\n}\nfunction hasPendingApproval(steps) {\n\treturn steps.some(isApprovalStep);\n}\n\n//#endregion\n//#region src/adapters/marketplace/index.ts\nvar marketplace_exports = /* @__PURE__ */ __export({\n\tCollectionStatus: () => CollectionStatus,\n\tContractType: () => ContractType$2,\n\tCurrencyStatus: () => CurrencyStatus,\n\tExecuteType: () => ExecuteType,\n\tMarketplaceAPI: () => marketplace_gen_exports,\n\tMarketplaceClient: () => MarketplaceClient,\n\tMarketplaceKind: () => MarketplaceKind,\n\tMetadataStatus: () => MetadataStatus,\n\tOfferType: () => OfferType,\n\tOrderSide: () => OrderSide,\n\tOrderStatus: () => OrderStatus,\n\tOrderbookKind: () => OrderbookKind,\n\tPropertyType: () => PropertyType,\n\tSortOrder: () => SortOrder,\n\tStepType: () => StepType,\n\tTransactionCrypto: () => TransactionCrypto,\n\tfindApprovalStep: () => findApprovalStep,\n\tfindBuyStep: () => findBuyStep,\n\tfindSellStep: () => findSellStep,\n\tfindStepByType: () => findStepByType,\n\thasPendingApproval: () => hasPendingApproval,\n\tisApprovalStep: () => isApprovalStep,\n\tisBuyStep: () => isBuyStep,\n\tisCancelStep: () => isCancelStep,\n\tisCreateListingStep: () => isCreateListingStep,\n\tisCreateOfferStep: () => isCreateOfferStep,\n\tisSellStep: () => isSellStep,\n\tisSignatureStep: () => isSignatureStep,\n\tisTransactionStep: () => isTransactionStep\n});\n\n//#endregion\n//#region src/adapters/metadata/client.ts\n/**\n* Wrapped Metadata Client\n*\n* Wraps the raw @0xsequence/metadata client to accept normalized types (number chainId, bigint tokenId)\n* and automatically convert to/from the raw API types (string chainID, string tokenID).\n*/\n/**\n* Wrapped Metadata Client\n*\n* This client accepts SDK-friendly types (number for chainId, bigint for tokenId)\n* and handles conversion to/from the raw API types internally.\n*/\nvar MetadataClient = class {\n\tclient;\n\tconstructor(hostname, projectAccessKey, jwtAuth) {\n\t\tthis.client = new SequenceMetadata(hostname, projectAccessKey, jwtAuth);\n\t}\n\t/**\n\t* Get contract info\n\t* Accepts normalized types (chainId: number)\n\t*/\n\tasync getContractInfo(args) {\n\t\tconst apiArgs = toGetContractInfoArgs(args);\n\t\tconst rawResult = await this.client.getContractInfo(apiArgs);\n\t\treturn toGetContractInfoReturn(rawResult);\n\t}\n\t/**\n\t* Get contract info batch\n\t* Accepts normalized types (chainId: number)\n\t*/\n\tasync getContractInfoBatch(args) {\n\t\tconst apiArgs = toGetContractInfoBatchArgs(args);\n\t\tconst rawResult = await this.client.getContractInfoBatch(apiArgs);\n\t\treturn toGetContractInfoBatchReturn(rawResult);\n\t}\n\t/**\n\t* Get token metadata\n\t* Accepts normalized types (chainId: number, tokenIds: bigint[])\n\t*/\n\tasync getTokenMetadata(args) {\n\t\tconst apiArgs = toGetTokenMetadataArgs(args);\n\t\tconst rawResult = await this.client.getTokenMetadata(apiArgs);\n\t\treturn toGetTokenMetadataReturn(rawResult);\n\t}\n\t/**\n\t* Get token metadata batch\n\t* Accepts normalized types (chainId: number, tokenIds: bigint[])\n\t*/\n\tasync getTokenMetadataBatch(args) {\n\t\tconst apiArgs = toGetTokenMetadataBatchArgs(args);\n\t\tconst rawResult = await this.client.getTokenMetadataBatch(apiArgs);\n\t\treturn toGetTokenMetadataBatchReturn(rawResult);\n\t}\n\t/**\n\t* Refresh token metadata\n\t* Accepts normalized types (chainId: number, tokenIds: bigint[])\n\t*/\n\tasync refreshTokenMetadata(args) {\n\t\tconst apiArgs = toRefreshTokenMetadataArgs(args);\n\t\treturn this.client.refreshTokenMetadata(apiArgs);\n\t}\n\t/**\n\t* Search token metadata\n\t* Accepts normalized types (chainId: number)\n\t*/\n\tasync searchTokenMetadata(args) {\n\t\tconst apiArgs = toSearchTokenMetadataArgs(args);\n\t\tconst rawResult = await this.client.searchTokenMetadata(apiArgs);\n\t\treturn toSearchTokenMetadataReturn(rawResult);\n\t}\n\t/**\n\t* Get token metadata property filters\n\t* Accepts normalized types (chainId: number)\n\t*/\n\tasync getTokenMetadataPropertyFilters(args) {\n\t\tconst apiArgs = toGetTokenMetadataPropertyFiltersArgs(args);\n\t\tconst rawResult = await this.client.getTokenMetadataPropertyFilters(apiArgs);\n\t\treturn toGetTokenMetadataPropertyFiltersReturn(rawResult);\n\t}\n\t/**\n\t* Access the underlying raw client if needed\n\t* (for advanced use cases or methods not yet wrapped)\n\t*/\n\tget raw() {\n\t\treturn this.client;\n\t}\n};\n\n//#endregion\n//#region src/adapters/metadata/index.ts\nvar metadata_exports = /* @__PURE__ */ __export({\n\tMetadataAPI: () => MetadataAPI,\n\tMetadataClient: () => MetadataClient,\n\ttoAsset: () => toAsset,\n\ttoContractInfo: () => toContractInfo$1,\n\ttoGetContractInfoArgs: () => toGetContractInfoArgs,\n\ttoGetContractInfoBatchArgs: () => toGetContractInfoBatchArgs,\n\ttoGetContractInfoBatchReturn: () => toGetContractInfoBatchReturn,\n\ttoGetContractInfoReturn: () => toGetContractInfoReturn,\n\ttoGetTokenMetadataArgs: () => toGetTokenMetadataArgs,\n\ttoGetTokenMetadataBatchArgs: () => toGetTokenMetadataBatchArgs,\n\ttoGetTokenMetadataBatchReturn: () => toGetTokenMetadataBatchReturn,\n\ttoGetTokenMetadataPropertyFiltersArgs: () => toGetTokenMetadataPropertyFiltersArgs,\n\ttoGetTokenMetadataPropertyFiltersReturn: () => toGetTokenMetadataPropertyFiltersReturn,\n\ttoGetTokenMetadataReturn: () => toGetTokenMetadataReturn,\n\ttoRefreshTokenMetadataArgs: () => toRefreshTokenMetadataArgs,\n\ttoSearchTokenMetadataArgs: () => toSearchTokenMetadataArgs,\n\ttoSearchTokenMetadataReturn: () => toSearchTokenMetadataReturn,\n\ttoTokenMetadata: () => toTokenMetadata$1\n});\n\n//#endregion\n//#region src/utils/type-assertions.ts\n/**\n* PropertyType - Should be identical across metadata and marketplace\n* Values: INT, STRING, ARRAY, GENERIC\n*/\nconst _assertPropertyTypeMatch = true;\n/**\n* ContractType - Different across packages\n*\n* ContractType exists in multiple packages with different structures:\n* - @0xsequence/indexer: Most comprehensive (includes NATIVE, SEQUENCE_WALLET, BRIDGE types, etc.)\n* - @0xsequence/metadata: Limited set (UNKNOWN, ERC20, ERC721, ERC1155, ERC6909, MISC)\n* - marketplace.gen.ts: Limited set (UNKNOWN, ERC20, ERC721, ERC1155)\n*\n* We export ContractType from @0xsequence/indexer in the main index.ts as it's the most\n* general and includes all the values from the other packages. This ensures consumers\n* always get the same type and prevents type conflicts (ContractType$1, ContractType$2, etc).\n*/\n/**\n* ResourceStatus - Should be identical across indexer and metadata\n* Values vary by package but should be structurally identical\n*/\nconst _assertResourceStatusMatch = true;\nconst TYPE_ASSERTIONS = {\n\tpropertyType: _assertPropertyTypeMatch,\n\tresourceStatus: _assertResourceStatusMatch\n};\n\n//#endregion\nexport { builder_exports as Builder, builder_gen_exports as BuilderAPI, CollectionStatus, ContractType, CurrencyStatus, ExecuteType, FilterCondition, indexer_exports as Indexer, marketplace_exports as Marketplace, marketplace_gen_exports as MarketplaceAPI, MarketplaceClient, MarketplaceKind, MarketplaceService, MarketplaceWalletType, metadata_exports as Metadata, MetadataStatus, OfferType, OrderSide, OrderStatus, OrderbookKind, PropertyType, ResourceStatus, IndexerClient as SequenceIndexer, MetadataClient as SequenceMetadata, SortOrder, StepType, TYPE_ASSERTIONS, TransactionCrypto, TransactionOnRampProvider, TransactionStatus, TransactionType, WalletKind, buildPage, findApprovalStep, findBuyStep, findSellStep, findStepByType, formatAmount, hasPendingApproval, isApprovalStep, isBuyStep, isCancelStep, isCreateListingStep, isCreateOfferStep, isSellStep, isSignatureStep, isTransactionStep, normalizeAddress, normalizeChainId, normalizeTokenId, parseAmount, parseBigInt, toApiAddress, toApiTokenId, toMetadataChainId };\n//# sourceMappingURL=index.js.map"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AAEvB,IAAI,YAAY,KAAK,YAAY;CAChC,IAAI,SAAS,EAAE;AACf,MAAK,IAAI,QAAQ,IAChB,WAAU,QAAQ,MAAM;EACvB,KAAK,IAAI;EACT,YAAY;EACZ,CAAC;AAEH,KAAI,QACH,WAAU,QAAQ,OAAO,aAAa,EAAE,OAAO,UAAU,CAAC;AAE3D,QAAO;;;;;ACXR,IAAI,sBAAsC,yBAAS;CAClD,gCAAgC;CAChC,gCAAgC;CAChC,+BAA+B;CAC/B,uBAAuB;CACvB,4BAA4BA;CAC5B,2BAA2B;CAC3B,wBAAwB;CACxB,8BAA8B;CAC9B,0BAA0B;CAC1B,6BAA6B;CAC7B,2BAA2BC;CAC3B,qBAAqBC;CACrB,6BAA6BC;CAC7B,4BAA4BC;CAC5B,4BAA4BC;CAC5B,4BAA4B;CAC5B,2BAA2BC;CAC3B,8BAA8B;CAC9B,oBAAoBC;CACpB,yBAAyBC;CACzB,yBAAyB;CACzB,4BAA4B;CAC5B,6BAA6B;CAC7B,8BAA8B;CAC9B,2BAA2B;CAC3B,qCAAqC;CACrC,2BAA2B;CAC3B,mBAAmB;CACnB,wBAAwB;CACxB,oBAAoBC;CACpB,yBAAyBC;CACzB,gCAAgC;CAChC,gCAAgC;CAChC,8BAA8B;CAC9B,iCAAiC;CACjC,6BAA6B;CAC7B,cAAc;CACd,yBAAyBC;CACzB,CAAC;AACF,MAAMF,iBAAe;AACrB,MAAMC,sBAAoB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