{"packageName":"@cedros/trade-react","packageRoot":"workspace/react","entryPath":"workspace/react/dist/web/register.js","surfaceEntryPaths":{"web":"workspace/react/dist/web/register.js"},"surfaceFilePaths":{"web":["workspace/react/dist/approvedPair-C2gVtD2Y.js","workspace/react/dist/CandlestickPlot-CH_oM9Mm.js","workspace/react/dist/cedros-extension.manifest-B-7fANy7.js","workspace/react/dist/ExternalWalletSwap-CNrX_zRs.js","workspace/react/dist/portfolio-N8aWyHHT.js","workspace/react/dist/runtimeStyles--FvTipgV.js","workspace/react/dist/style.css","workspace/react/dist/Tabs-BK1QJlcw.js","workspace/react/dist/usePendingNavigationGuard-BdMNd90d.js","workspace/react/dist/web/register.js"]},"files":[{"path":"workspace/react/dist/approvedPair-C2gVtD2Y.js","kind":"module","text":"import e, { createContext as t, useCallback as n, useContext as r, useEffect as i, useLayoutEffect as a, useMemo as o, useRef as s, useState as c } from \"react\";\nimport { Fragment as l, jsx as u, jsxs as d } from \"react/jsx-runtime\";\n// src/utils/externalOrder.ts\nfunction f(e, t) {\n\tlet n = () => /* @__PURE__ */ Error();\n\tif (!Number.isInteger(t.slippageBps) || t.slippageBps < 0 || t.slippageBps > 5e3 || !e || typeof e != \"object\") throw n();\n\tlet r = Object.fromEntries(Object.entries(e));\n\tfor (let e of [\n\t\t\"inputMint\",\n\t\t\"outputMint\",\n\t\t\"taker\",\n\t\t\"slippageBps\"\n\t]) if (r[e] !== t[e]) throw n();\n\tlet i = (e) => typeof e == \"string\" && /^\\d+$/.test(e) && BigInt(e) > 0n;\n\tif (r.inAmount !== t.amount || !i(r.outAmount) || !i(r.otherAmountThreshold) || BigInt(r.otherAmountThreshold) > BigInt(r.outAmount) || BigInt(r.otherAmountThreshold) < BigInt(r.outAmount) * BigInt(1e4 - t.slippageBps) / 10000n || typeof r.requestId != \"string\" || !/^[a-zA-Z0-9_-]{8,128}$/.test(r.requestId) || typeof r.transaction != \"string\" || !/^[A-Za-z0-9+/]{128,4096}={0,2}$/.test(r.transaction)) throw n();\n\tlet a = (e, t = !1) => {\n\t\tlet i = r[e];\n\t\tif (typeof i != \"number\" || !Number.isFinite(i) || !t && i < 0) throw n();\n\t\treturn i;\n\t}, o = (e) => {\n\t\tlet t = a(e);\n\t\tif (!Number.isSafeInteger(t)) throw n();\n\t\treturn t;\n\t};\n\tif (r.expireAt !== void 0 && (typeof r.expireAt != \"string\" || !Number.isFinite(Date.parse(r.expireAt)))) throw n();\n\treturn {\n\t\t...t,\n\t\toutAmount: r.outAmount,\n\t\totherAmountThreshold: r.otherAmountThreshold,\n\t\trequestId: r.requestId,\n\t\ttransaction: r.transaction,\n\t\tpriceImpactPct: a(\"priceImpactPct\", !0),\n\t\tfeeBps: o(\"feeBps\"),\n\t\tsignatureFeeLamports: o(\"signatureFeeLamports\"),\n\t\tprioritizationFeeLamports: o(\"prioritizationFeeLamports\"),\n\t\trentFeeLamports: o(\"rentFeeLamports\"),\n\t\t...typeof r.expireAt == \"string\" ? { expireAt: r.expireAt } : {}\n\t};\n}\nfunction p(e, t = \"\") {\n\tif (!e || typeof e != \"object\" || !(\"status\" in e) || !(\"signature\" in e) || typeof e.signature != \"string\" || t && e.signature && e.signature !== t) throw Error();\n\tif (e.status === \"confirmed\" && /^[1-9A-HJ-NP-Za-km-z]{64,88}$/.test(e.signature)) return {\n\t\tstatus: \"confirmed\",\n\t\tsignature: e.signature\n\t};\n\tif (e.status === \"failed\" && (!e.signature || /^[1-9A-HJ-NP-Za-km-z]{64,88}$/.test(e.signature))) return {\n\t\tstatus: \"failed\",\n\t\tsignature: e.signature || t\n\t};\n\tthrow Error();\n}\nfunction m(e) {\n\treturn e && typeof e == \"object\" && \"status\" in e && e.status === \"pending\" && \"signature\" in e && typeof e.signature == \"string\" && /^[1-9A-HJ-NP-Za-km-z]{64,88}$/.test(e.signature) ? {\n\t\tstatus: \"pending\",\n\t\tsignature: e.signature\n\t} : p(e);\n}\n// src/utils/base58.ts\nvar h = \"123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz\";\nfunction g(e) {\n\tlet t = 0;\n\tfor (; t < e.length && e[t] === 0;) t++;\n\tlet n = 0n;\n\tfor (let r of e.subarray(t)) n = n << 8n | BigInt(r);\n\tlet r = \"\";\n\tfor (; n > 0n;) r = h[Number(n % 58n)] + r, n /= 58n;\n\treturn \"1\".repeat(t) + r;\n}\nfunction _(e) {\n\tlet t = 0n;\n\tfor (let n of e) {\n\t\tlet e = h.indexOf(n);\n\t\tif (e < 0) throw Error();\n\t\tt = t * 58n + BigInt(e);\n\t}\n\tlet n = [];\n\tfor (; t > 0n;) n.push(Number(t & 255n)), t >>= 8n;\n\tfor (let t of e) {\n\t\tif (t !== \"1\") break;\n\t\tn.push(0);\n\t}\n\treturn Uint8Array.from(n.reverse());\n}\n// src/utils/solanaTransaction.ts\nfunction v(e) {\n\tif (!/^[A-Za-z0-9+/]+={0,2}$/.test(e) || e.length % 4 || e.length > 4096) throw Error();\n\treturn Uint8Array.from(atob(e), (e) => e.charCodeAt(0));\n}\nfunction y(e) {\n\treturn btoa(String.fromCharCode(...e));\n}\nfunction b(e) {\n\tlet [t, n] = x(e, 0), r = e.slice(n, n + 64);\n\treturn t > 0 && r.length === 64 && r.some(Boolean) ? g(r) : \"\";\n}\nfunction x(e, t) {\n\tlet n = 0;\n\tfor (let r = 0; r < 3; r++) {\n\t\tlet i = e[t + r];\n\t\tif (i === void 0) break;\n\t\tif (n |= (i & 127) << 7 * r, i < 128 && n <= 65535) {\n\t\t\tif (r > 0 && n < 2 ** (7 * r)) throw Error();\n\t\t\treturn [n, t + r + 1];\n\t\t}\n\t}\n\tthrow Error();\n}\nfunction S(e, t) {\n\treturn e.length === t.length && e.every((e, n) => e === t[n]);\n}\nfunction C(e, t) {\n\tlet [n, r] = x(e, 0), i = r + n * 64;\n\tif (!n || n > 16 || e.length > 1232 || i >= e.length || t.publicKey.length !== 32) throw Error();\n\tlet a = e[i];\n\tif (a >= 128 && a !== 128) throw Error();\n\tlet o = i + +(a === 128);\n\tif (e[o] !== n) throw Error();\n\tlet [s, c] = x(e, o + 3);\n\tif (s < n || s > 256 || e[o + 1] >= n || e[o + 2] > s - n) throw Error();\n\tlet l = c + s * 32 + 32, u = () => {\n\t\tlet [t, n] = x(e, l);\n\t\treturn l = n, t;\n\t}, d = (t) => {\n\t\tlet n = l;\n\t\tif (l += t, l > e.length) throw Error();\n\t\treturn e.subarray(n, l);\n\t}, f = [], p = u();\n\tfor (let e = 0; e < p; e++) {\n\t\tlet e = d(1)[0];\n\t\tif (e === 0 || e >= s) throw Error();\n\t\tf.push(...d(u())), d(u());\n\t}\n\tlet m = 0;\n\tif (a === 128) {\n\t\tlet e = u();\n\t\tfor (let t = 0; t < e; t++) {\n\t\t\td(32);\n\t\t\tlet e = d(u()), t = d(u());\n\t\t\tif (e.length + t.length === 0) throw Error();\n\t\t\tm += e.length + t.length;\n\t\t}\n\t}\n\tif (l !== e.length || s + m > 256 || f.some((e) => e >= s + m)) throw Error();\n\tlet h = Array.from({ length: n }, (e, t) => t).find((n) => S(e.slice(c + n * 32, c + (n + 1) * 32), t.publicKey));\n\tif (h === void 0) throw Error();\n\treturn h;\n}\nfunction w(e, t, n) {\n\tlet r = C(e, n), [i, a] = x(e, 0), [o, s] = x(t, 0), c = a + i * 64;\n\tif (i !== o || a !== s || t.length !== e.length || !S(e.slice(c), t.slice(c)) || !t.slice(a + r * 64, a + (r + 1) * 64).some(Boolean)) throw Error();\n\tfor (let n = 0; n < i; n++) {\n\t\tlet i = e.slice(a + n * 64, a + (n + 1) * 64);\n\t\tif (n !== r && i.some(Boolean) && !S(i, t.slice(a + n * 64, a + (n + 1) * 64))) throw Error();\n\t}\n}\n// src/utils/serverUrl.ts\nvar T = class extends TypeError {\n\tconstructor() {\n\t\tsuper(\"Invalid Trade server URL: use HTTPS without credentials, whitespace, query or fragment\"), this.code = \"CONFIG_ERROR\", this.name = \"TradeServerUrlError\";\n\t}\n};\nfunction ee(e) {\n\tif (/[\\s\\\\?#]/.test(e)) throw new T();\n\tif (e === \"\" || e.startsWith(\"/\") && !e.startsWith(\"//\")) return e.replace(/\\/+$/, \"\");\n\tif (!/^https?:\\/\\//i.test(e)) throw new T();\n\tlet t;\n\ttry {\n\t\tt = new URL(e);\n\t} catch {\n\t\tthrow new T();\n\t}\n\tlet n = [\n\t\t\"localhost\",\n\t\t\"127.0.0.1\",\n\t\t\"[::1]\"\n\t].includes(t.hostname);\n\tif (t.protocol !== \"https:\" && !(t.protocol === \"http:\" && n) || t.username || t.password) throw new T();\n\treturn t.toString().replace(/\\/+$/, \"\");\n}\n// src/utils/apiClient.ts\nvar te = class {\n\tconstructor(e, t, n) {\n\t\tthis.baseUrl = e, this.tokenFn = t, this.apiKey = n;\n\t}\n\tasync request(e, t) {\n\t\tlet n = ee(this.baseUrl), r = {\n\t\t\t\"Content-Type\": \"application/json\",\n\t\t\t...t?.headers\n\t\t}, i = this.tokenFn?.();\n\t\ti && (r.Authorization = `Bearer ${i}`), this.apiKey && (r[\"x-api-key\"] = this.apiKey);\n\t\tlet a = await fetch(`${n}${e}`, {\n\t\t\t...t,\n\t\t\theaders: r,\n\t\t\tredirect: \"error\"\n\t\t});\n\t\tif (!a.ok) {\n\t\t\tlet e = ne(await a.json().catch(() => null), a.status, a.statusText);\n\t\t\tthrow new E(a.status, e.code, e.message);\n\t\t}\n\t\treturn a.json();\n\t}\n\tget(e, t) {\n\t\treturn this.request(e, { signal: t });\n\t}\n\tpost(e, t, n) {\n\t\treturn this.request(e, {\n\t\t\tmethod: \"POST\",\n\t\t\tbody: JSON.stringify(t),\n\t\t\t...n ? { signal: n } : {}\n\t\t});\n\t}\n\tgetTokens(e, t) {\n\t\treturn this.post(\"/tokens\", {\n\t\t\top: \"list\",\n\t\t\tcategory: e\n\t\t}, t).then(ae);\n\t}\n\tgetToken(e) {\n\t\treturn this.post(\"/tokens\", {\n\t\t\top: \"get\",\n\t\t\tmint: e\n\t\t});\n\t}\n\tgetDefaultTokens() {\n\t\treturn this.post(\"/tokens\", { op: \"defaults\" }).then(ae);\n\t}\n\tgetExternalOrder(e) {\n\t\treturn this.post(\"/swap\", {\n\t\t\top: \"external-order\",\n\t\t\t...e\n\t\t}).then((t) => f(t, e));\n\t}\n\texecuteExternalOrder(e, t) {\n\t\tlet n = b(v(e));\n\t\treturn this.post(\"/swap\", {\n\t\t\top: \"external-execute\",\n\t\t\tsignedTransaction: e,\n\t\t\trequestId: t\n\t\t}).then((e) => p(e, n));\n\t}\n\tgetExternalStatus(e) {\n\t\treturn this.post(\"/swap\", {\n\t\t\top: \"external-status\",\n\t\t\tsignature: e\n\t\t}).then((t) => {\n\t\t\tlet n = m(t);\n\t\t\tif (n.signature !== e) throw new E(502, \"invalid_response\", \"Transaction status mismatch\");\n\t\t\treturn n;\n\t\t});\n\t}\n\tgetQuote(e) {\n\t\treturn this.post(\"/swap\", {\n\t\t\top: \"quote\",\n\t\t\t...e\n\t\t}).then((t) => le(t, e));\n\t}\n\tgetSwapDefaults(e) {\n\t\treturn this.post(\"/swap\", { op: \"defaults\" }, e).then(oe);\n\t}\n\tbuildSwap(e, t) {\n\t\treturn this.post(\"/swap\", {\n\t\t\top: \"build\",\n\t\t\tquote: e,\n\t\t\tuserPublicKey: t\n\t\t});\n\t}\n\tcompareQuotes(e, t, n, r, i) {\n\t\treturn this.post(\"/swap\", {\n\t\t\top: \"compare\",\n\t\t\tinputMint: e,\n\t\t\toutputMint: t,\n\t\t\tamount: n,\n\t\t\tslippageBps: r\n\t\t}, i).then((i) => ue(i, {\n\t\t\tinputMint: e,\n\t\t\toutputMint: t,\n\t\t\tamount: n,\n\t\t\tslippageBps: r\n\t\t}));\n\t}\n\texecuteSwap(e, t, n) {\n\t\treturn this.post(\"/swap\", {\n\t\t\top: \"execute\",\n\t\t\tsignedTransaction: e,\n\t\t\tprovider: t,\n\t\t\trequestId: n\n\t\t});\n\t}\n\tsimulateSwap(e) {\n\t\treturn this.post(\"/swap\", {\n\t\t\top: \"simulate\",\n\t\t\tsignedTransaction: e\n\t\t}).then(re);\n\t}\n\tgetSwapRoutes() {\n\t\treturn this.post(\"/swap\", { op: \"routes\" });\n\t}\n\tgetProviders() {\n\t\treturn this.post(\"/swap\", { op: \"providers\" }).then(se);\n\t}\n\tgetPrice(e, t) {\n\t\treturn this.post(\"/prices\", {\n\t\t\top: \"mint\",\n\t\t\tmint: e\n\t\t}, t);\n\t}\n\tasync getPriceBySymbol(e) {\n\t\tlet t = (await this.getTokens()).tokens.find((t) => t.symbol.toLowerCase() === e.toLowerCase());\n\t\tif (!t) throw new E(404, \"not_found\", \"token symbol not found\");\n\t\treturn this.post(\"/prices\", {\n\t\t\top: \"mint\",\n\t\t\tmint: t.mint,\n\t\t\tcoingeckoId: t.coingeckoId\n\t\t});\n\t}\n\tgetBatchPrices(e, t) {\n\t\treturn this.post(\"/prices\", {\n\t\t\top: \"batch\",\n\t\t\tmints: e\n\t\t}, t);\n\t}\n\tbuildTransfer(e) {\n\t\treturn this.post(\"/transfers\", {\n\t\t\top: \"build\",\n\t\t\t...e\n\t\t});\n\t}\n\texecuteTransfer(e) {\n\t\treturn this.post(\"/transfers\", {\n\t\t\top: \"execute\",\n\t\t\tsignedTransaction: e,\n\t\t\tprovider: \"rpc\"\n\t\t});\n\t}\n\texecuteTransaction(e, t = \"rpc\", n) {\n\t\treturn this.post(\"/swap\", {\n\t\t\top: \"execute\",\n\t\t\tsignedTransaction: e,\n\t\t\tprovider: t,\n\t\t\trequestId: n\n\t\t});\n\t}\n\tresolveAddress(e) {\n\t\treturn this.post(\"/transfers\", {\n\t\t\top: \"resolve\",\n\t\t\taddress: e\n\t\t});\n\t}\n\tcreateLimitOrder(e) {\n\t\treturn this.post(\"/orders\", {\n\t\t\top: \"limit\",\n\t\t\t...e\n\t\t});\n\t}\n\tcreateStopLoss(e) {\n\t\treturn this.post(\"/orders\", {\n\t\t\top: \"stop-loss\",\n\t\t\t...e\n\t\t});\n\t}\n\tcreateTakeProfit(e) {\n\t\treturn this.post(\"/orders\", {\n\t\t\top: \"take-profit\",\n\t\t\t...e\n\t\t});\n\t}\n\tcreateDca(e) {\n\t\treturn this.post(\"/orders\", {\n\t\t\top: \"dca\",\n\t\t\t...e\n\t\t});\n\t}\n\tcancelOrder(e, t) {\n\t\treturn this.post(\"/orders\", {\n\t\t\top: \"cancel\",\n\t\t\torderId: e,\n\t\t\tmaker: t\n\t\t});\n\t}\n\tcreateTrailingStop(e) {\n\t\treturn this.post(\"/orders\", {\n\t\t\top: \"trailing-stop\",\n\t\t\t...e\n\t\t});\n\t}\n\tcreateOco(e) {\n\t\treturn this.post(\"/orders\", {\n\t\t\top: \"oco\",\n\t\t\t...e\n\t\t});\n\t}\n\tcreateBracket(e) {\n\t\treturn this.post(\"/orders\", {\n\t\t\top: \"bracket\",\n\t\t\t...e\n\t\t});\n\t}\n\tgetOpenOrders(e, t) {\n\t\treturn this.post(\"/orders\", {\n\t\t\top: \"open\",\n\t\t\twallet: e\n\t\t}, t);\n\t}\n\tgetMonitoredOrders(e, t) {\n\t\treturn this.post(\"/orders\", {\n\t\t\top: \"monitored\",\n\t\t\twallet: e\n\t\t}, t);\n\t}\n\tgetExecutions(e, t) {\n\t\treturn this.post(\"/orders\", {\n\t\t\top: \"executions\",\n\t\t\torderId: e,\n\t\t\twallet: t\n\t\t});\n\t}\n\tasync getPositions(e, t) {\n\t\treturn me(await this.post(\"/positions\", {\n\t\t\top: \"balances\",\n\t\t\taddress: e\n\t\t}, t));\n\t}\n\tgetPnl(e, t) {\n\t\treturn this.post(\"/positions\", {\n\t\t\top: \"pnl\",\n\t\t\taddress: e\n\t\t}, t);\n\t}\n\tgetTradeHistory(e, t, n, r) {\n\t\treturn this.post(\"/positions\", {\n\t\t\top: \"history\",\n\t\t\taddress: e,\n\t\t\tmint: t,\n\t\t\tlimit: n\n\t\t}, r).then((e) => ({ trades: e.trades ?? e.history ?? [] }));\n\t}\n\tgetOrderbook(e, t) {\n\t\treturn this.post(\"/orderbook\", {\n\t\t\top: \"book\",\n\t\t\tmarket: e\n\t\t}, t);\n\t}\n\tfindMarkets(e, t) {\n\t\treturn this.post(\"/orderbook\", {\n\t\t\top: \"markets\",\n\t\t\tbaseMint: e,\n\t\t\tquoteMint: t\n\t\t});\n\t}\n\tplaceManifestOrder(e) {\n\t\treturn this.post(\"/orderbook\", {\n\t\t\top: \"place\",\n\t\t\t...e\n\t\t});\n\t}\n\tgetPendingActions(e, t) {\n\t\treturn this.post(\"/actions\", {\n\t\t\top: \"list\",\n\t\t\twallet: e\n\t\t}, t);\n\t}\n\tcompleteAction(e, t, n) {\n\t\treturn this.post(\"/actions\", {\n\t\t\top: \"complete\",\n\t\t\tactionId: e,\n\t\t\twallet: n,\n\t\t\tsignature: t\n\t\t});\n\t}\n\tdismissAction(e, t) {\n\t\treturn this.post(\"/actions\", {\n\t\t\top: \"dismiss\",\n\t\t\tactionId: e,\n\t\t\twallet: t\n\t\t});\n\t}\n\tgetHealth(e) {\n\t\treturn this.get(\"/health\", e);\n\t}\n}, E = class extends Error {\n\tconstructor(e, t, n) {\n\t\tsuper(n), this.status = e, this.code = t, this.name = \"TradeApiError\";\n\t}\n};\nfunction ne(e, t, n) {\n\tif (e && typeof e == \"object\") {\n\t\tlet r = e;\n\t\tif (typeof r.error == \"string\") return {\n\t\t\tcode: r.error,\n\t\t\tmessage: String(r.detail ?? r.message ?? n)\n\t\t};\n\t\tif (r.error && typeof r.error == \"object\") {\n\t\t\tlet e = r.error;\n\t\t\treturn {\n\t\t\t\tcode: String(e.code ?? j(t)),\n\t\t\t\tmessage: String(e.message ?? r.detail ?? n)\n\t\t\t};\n\t\t}\n\t}\n\treturn {\n\t\tcode: j(t),\n\t\tmessage: n\n\t};\n}\nfunction re(e) {\n\tlet t = () => new E(502, \"PROVIDER_ERROR\", \"Invalid simulation response\");\n\tif (!e || typeof e != \"object\" || Array.isArray(e)) throw t();\n\tlet n = k(e.simulation), r = n ? A(n, \"err\") : void 0, i = e.error ?? r, a = typeof e.success == \"boolean\" ? e.success : typeof e.ok == \"boolean\" ? e.ok : r === void 0 ? void 0 : r === null;\n\tif (a === void 0 || a && i != null) throw t();\n\tlet o = Array.isArray(e.logs) ? e.logs : ge(n, \"logs\"), s = typeof e.unitsConsumed == \"number\" ? e.unitsConsumed : he(n, \"unitsConsumed\");\n\treturn {\n\t\tsuccess: a,\n\t\t...o ? { logs: o } : {},\n\t\t...typeof s == \"number\" ? { unitsConsumed: s } : {},\n\t\t...!a && i !== void 0 ? { error: i } : {},\n\t\t...e.simulation === void 0 ? {} : { simulation: e.simulation }\n\t};\n}\nvar ie = [\n\t\"logoUrl\",\n\t\"coingeckoId\",\n\t\"tradingviewSymbol\"\n];\nfunction ae(e) {\n\tif (!e || typeof e != \"object\" || !(\"tokens\" in e) || !Array.isArray(e.tokens)) throw new E(502, \"PROVIDER_ERROR\", \"Token policy is unavailable\");\n\tlet t = e.tokens.map((e) => {\n\t\tif (!e || typeof e != \"object\") throw new E(502, \"PROVIDER_ERROR\", \"Invalid token policy\");\n\t\tlet t = e;\n\t\tif (typeof t.mint != \"string\" || !t.mint.trim() || typeof t.symbol != \"string\" || !t.symbol.trim() || typeof t.name != \"string\" || !t.name.trim() || typeof t.decimals != \"number\" || !Number.isInteger(t.decimals) || t.decimals < 0 || t.decimals > 18 || t.categories !== void 0 && (!Array.isArray(t.categories) || !t.categories.every((e) => typeof e == \"string\")) || ie.some((e) => t[e] != null && typeof t[e] != \"string\")) throw new E(502, \"PROVIDER_ERROR\", \"Invalid token policy\");\n\t\tlet n = {\n\t\t\tmint: t.mint,\n\t\t\tsymbol: t.symbol,\n\t\t\tname: t.name,\n\t\t\tdecimals: t.decimals,\n\t\t\tcategories: t.categories === void 0 ? [] : t.categories\n\t\t};\n\t\tfor (let e of ie) {\n\t\t\tlet r = t[e];\n\t\t\ttypeof r == \"string\" && (n[e] = r);\n\t\t}\n\t\treturn n;\n\t});\n\tif (new Set(t.map((e) => e.mint)).size !== t.length) throw new E(502, \"PROVIDER_ERROR\", \"Duplicate token policy\");\n\treturn {\n\t\ttokens: t,\n\t\tcount: t.length\n\t};\n}\nfunction oe(e, { allowEmptyProviders: t = !1 } = {}) {\n\tif (!e || typeof e != \"object\") throw new E(502, \"PROVIDER_ERROR\", \"Provider policy is unavailable\");\n\tlet n = e;\n\tif (typeof n.defaultSlippageBps != \"number\" || !Number.isInteger(n.defaultSlippageBps) || n.defaultSlippageBps < 0 || n.defaultSlippageBps > 5e3 || !Array.isArray(n.enabledProviders) || !t && !n.enabledProviders.length || !n.enabledProviders.every((e) => typeof e == \"string\" && e.trim()) || n.externalWalletSwapsEnabled !== void 0 && typeof n.externalWalletSwapsEnabled != \"boolean\") throw new E(502, \"PROVIDER_ERROR\", \"Invalid provider policy\");\n\treturn {\n\t\tdefaultSlippageBps: n.defaultSlippageBps,\n\t\tenabledProviders: n.enabledProviders,\n\t\t...typeof n.externalWalletSwapsEnabled == \"boolean\" ? { externalWalletSwapsEnabled: n.externalWalletSwapsEnabled } : {}\n\t};\n}\nfunction se(e) {\n\tif (!Array.isArray(e) || !e.every(ce) || new Set(e.map((e) => e.name)).size !== e.length) throw new E(502, \"PROVIDER_ERROR\", \"Invalid provider status\");\n\treturn e;\n}\nfunction ce(e) {\n\tlet t = k(e), n = k(t?.capabilities), r = k(t?.health);\n\treturn !!(t && typeof t.name == \"string\" && t.name.trim() && typeof t.enabled == \"boolean\" && n && n.name === t.name && [\n\t\t\"gasless\",\n\t\t\"mevProtected\",\n\t\t\"supportsExactOut\"\n\t].every((e) => typeof n[e] == \"boolean\") && r && r.name === t.name && typeof r.healthy == \"boolean\" && (r.checked === void 0 || typeof r.checked == \"boolean\") && (r.latencyMs === void 0 || typeof r.latencyMs == \"number\" && Number.isFinite(r.latencyMs) && r.latencyMs >= 0) && (r.error === void 0 || typeof r.error == \"string\"));\n}\nfunction le(e, t) {\n\tlet n = D(e, t);\n\tif (!n) throw O();\n\treturn n;\n}\nfunction ue(e, t) {\n\tif (!Array.isArray(e)) throw O();\n\tlet n = /* @__PURE__ */ new Map();\n\tfor (let r of e) {\n\t\tlet e = D(r, t);\n\t\tif (!e) continue;\n\t\tlet i = e.provider.toLocaleLowerCase(\"en-US\"), a = n.get(i);\n\t\t(!a || BigInt(e.outAmount) > BigInt(a.outAmount)) && n.set(i, e);\n\t}\n\tlet r = [...n.values()];\n\tif (r.sort((e, t) => pe(t.outAmount, e.outAmount)), r.length === 0) throw O();\n\treturn r;\n}\nfunction D(e, t) {\n\tif (!e || typeof e != \"object\" || Array.isArray(e)) return null;\n\tlet n = e, r = typeof n.provider == \"string\" ? n.provider.trim() : \"\";\n\tif (!r || t.provider && r !== t.provider || n.inputMint !== t.inputMint || n.outputMint !== t.outputMint || n.inAmount !== t.amount || !fe(n.inAmount) || !fe(n.outAmount) || n.otherAmountThreshold !== void 0 && n.otherAmountThreshold !== null && (!de(n.otherAmountThreshold) || BigInt(n.otherAmountThreshold) > BigInt(n.outAmount)) || typeof n.priceImpactPct != \"number\" || !Number.isFinite(n.priceImpactPct)) return null;\n\tlet i = n.slippageBps;\n\treturn typeof i != \"number\" || !Number.isInteger(i) || i < 0 || i > 5e3 || t.slippageBps !== void 0 && i !== t.slippageBps || typeof n.otherAmountThreshold == \"string\" && BigInt(n.otherAmountThreshold) < BigInt(n.outAmount) * BigInt(1e4 - i) / 10000n || typeof n.gasless != \"boolean\" ? null : {\n\t\tprovider: r,\n\t\tinputMint: t.inputMint,\n\t\toutputMint: t.outputMint,\n\t\tinAmount: t.amount,\n\t\toutAmount: n.outAmount,\n\t\t...typeof n.otherAmountThreshold == \"string\" ? { otherAmountThreshold: n.otherAmountThreshold } : {},\n\t\tpriceImpactPct: n.priceImpactPct,\n\t\tslippageBps: i,\n\t\t...n.routeData === void 0 ? {} : { routeData: n.routeData },\n\t\tgasless: n.gasless\n\t};\n}\nfunction de(e) {\n\treturn typeof e == \"string\" && /^\\d+$/.test(e);\n}\nfunction fe(e) {\n\treturn de(e) && BigInt(e) > 0n;\n}\nfunction pe(e, t) {\n\tlet n = BigInt(e), r = BigInt(t);\n\treturn n < r ? -1 : +(n > r);\n}\nfunction O() {\n\treturn new E(502, \"PROVIDER_ERROR\", \"No provider returned a valid quote\");\n}\nfunction me(e) {\n\treturn {\n\t\tholdings: [e.solBalance, ...e.tokens ?? []].filter(Boolean).map((e) => ({\n\t\t\tmint: e.mint,\n\t\t\tsymbol: e.symbol ?? void 0,\n\t\t\tbalance: e.amount,\n\t\t\tdecimals: e.decimals,\n\t\t\tuiBalance: String(e.uiAmount ?? \"0\")\n\t\t})),\n\t\topenOrders: 0,\n\t\ttotalValue: \"0\",\n\t\tdegraded: e.degraded ?? !1\n\t};\n}\nfunction k(e) {\n\treturn !e || typeof e != \"object\" || Array.isArray(e) ? null : e;\n}\nfunction A(e, t) {\n\treturn e?.[t];\n}\nfunction he(e, t) {\n\tlet n = A(e, t);\n\treturn typeof n == \"number\" ? n : void 0;\n}\nfunction ge(e, t) {\n\tlet n = A(e, t);\n\treturn Array.isArray(n) && n.every((e) => typeof e == \"string\") ? n : void 0;\n}\nfunction j(e) {\n\treturn e === 401 || e === 403 ? \"UNAUTHORIZED\" : e === 429 ? \"RATE_LIMITED\" : e >= 400 && e < 500 ? \"BAD_REQUEST\" : e >= 500 ? \"PROVIDER_ERROR\" : \"UNKNOWN\";\n}\nfunction _e(e) {\n\treturn typeof e == \"object\" && !!e && \"name\" in e && e.name === \"AbortError\";\n}\n// src/i18n/messages.ts\nvar M = {\n\t\"admin.settings.leaveBody\": \"Leave Trade settings and discard unsaved edits in all tabs? Settings already saved will stay unchanged.\",\n\t\"common.saving\": \"Saving…\",\n\t\"admin.tokens.editorDescription\": \"Approve the identity visitors will see when choosing a token.\",\n\t\"admin.tokens.optionalDetails\": \"Logo, categories and market data\",\n\t\"admin.tokens.discardTitle\": \"Discard token changes?\",\n\t\"admin.tokens.discardBody\": \"Your changes have not been saved. The approved token list will stay unchanged.\",\n\t\"admin.tokens.keepEditing\": \"Keep editing\",\n\t\"admin.tokens.discardChanges\": \"Discard changes\",\n\t\"admin.readiness.reviewTokens\": \"Review Trade settings → Token registry to update the approved list.\",\n\t\"admin.readiness.reviewProviders\": \"Review Trade settings → Quote routes to check the enabled providers.\",\n\t\"jupiter.entryGuidance\": \"Choose your tokens and amount. Review the return and fees before approving in your wallet.\",\n\t\"swap.choosePayToken\": \"Choose token to pay\",\n\t\"swap.chooseReceiveToken\": \"Choose token to receive\",\n\t\"swap.returnIn\": \"Return in {symbol}\",\n\t\"swap.routeAdvantage\": \"{provider} returns {amount} {symbol} more than the next route.\",\n\t\"swap.routeAdvantageUnitless\": \"{provider} returns {amount} more than the next route.\",\n\t\"jupiter.editSwap\": \"Edit swap\",\n\t\"jupiter.reviewUntil\": \"Review valid until {time}. Approval happens in your wallet.\",\n\t\"jupiter.costs\": \"Fees\",\n\t\"admin.readiness.policySummary\": \"{tokens} approved tokens · {responded} of {expected} routes responded\",\n\t\"admin.readiness.policySummary.one\": \"{tokens} approved tokens · {responded} of {expected} route responded\",\n\t\"admin.readiness.unknownCoverage\": \"{tokens} approved tokens · route coverage unverified\",\n\t\"swap.estimatedReturn\": \"Estimated return\",\n\t\"swap.routeDifference\": \"{amount} less than the best route\",\n\t\"swap.sameReturn\": \"Same estimated return\",\n\t\"admin.readiness.previousCheck\": \"Previous check — current status unverified\",\n\t\"admin.readiness.previousSample\": \"Estimate from the last successful check\",\n\t\"admin.providers.details\": \"Provider details\",\n\t\"jupiter.reviewWallet\": \"Signing with {wallet}\",\n\t\"jupiter.reviewGuidance\": \"Review the amounts, minimum received and fees, then approve in your wallet. This quote expires within one minute; an expired quote requires a fresh review.\",\n\t\"public.featureUnavailable\": \"This feature is unavailable on this site.\",\n\t\"swap.highImpact\": \"Price impact is {impact}. Review the rate and protection details before relying on this estimate.\",\n\t\"swap.quoteDetails\": \"Quote details\",\n\t\"swap.enterToCompare\": \"Your estimate and available routes appear here after you enter an amount.\",\n\t\"swap.noTokenMatches\": \"Try a token name, symbol, or full mint address from this site’s approved list.\",\n\t\"swap.noApprovedTokens\": \"No approved tokens are available for this side of the pair. Close the picker and choose another pair.\",\n\t\"swap.showApprovedTokens\": \"Show approved tokens\",\n\t\"admin.tokens.preview\": \"Visitor preview\",\n\t\"admin.settings.protectionSummary\": \"Applied by default to new quotes and wallet swap reviews.\",\n\t\"admin.readiness.details\": \"Check details and scope\",\n\t\"jupiter.connectToReview\": \"Connect a wallet to review this swap.\",\n\t\"jupiter.connectWallet\": \"Connect {wallet}\",\n\t\"jupiter.enterToReview\": \"Enter an amount to review the exact return and fees.\",\n\t\"admin.providers.allowQuotes\": \"Use {provider} for quotes\",\n\t\"trading.title\": \"Trading\",\n\t\"public.portfolioDescription\": \"View your balances and trading activity.\",\n\t\"public.transferDescription\": \"Send tokens to another Solana wallet.\",\n\t\"public.tradingDescription\": \"Place and manage Solana token orders.\",\n\t\"admin.settings.editProtection\": \"Edit protection\",\n\t\"common.copy\": \"Copy\",\n\t\"common.copied\": \"Copied\",\n\t\"common.copyIdentifier\": \"Copy {label}\",\n\t\"common.copyFailed\": \"Could not copy. Select the full value above to copy it manually.\",\n\t\"swap.exactAmount\": \"Exact amount\",\n\t\"swap.previewDescription\": \"Enter an amount to compare approved routes. No wallet or signature needed.\",\n\t\"admin.tokens.optionalMetadata\": \"Categories and market data\",\n\t\"admin.tokens.details\": \"Token details\",\n\t\"jupiter.pendingTitle\": \"Confirmation pending\",\n\t\"jupiter.failedTitle\": \"Swap failed\",\n\t\"jupiter.newSwap\": \"Start another swap\",\n\t\"jupiter.backToSwap\": \"Back to swap\",\n\t\"jupiter.walletDetails\": \"Wallet address\",\n\t\"jupiter.walletSettingBody\": \"Visitors can approve swaps in their own wallets when a Trade block uses Jupiter execution. Quote previews remain available without a wallet.\",\n\t\"jupiter.settingEnabled\": \"Wallet swaps allowed\",\n\t\"jupiter.settingDisabled\": \"Quote previews only\",\n\t\"admin.tokens.invalidPolicyTitle\": \"Token policy needs repair\",\n\t\"admin.tokens.invalidPolicyBody\": \"The saved token list is invalid, so visitors cannot get quotes. Retry after correcting it, or restore the default tokens.\",\n\t\"admin.tokens.restoreDefaultsBody\": \"Replace the invalid token list with the default tokens? This removes the saved custom token policy. Other settings stay unchanged.\",\n\t\"jupiter.enable\": \"Allow swaps signed by visitors in their existing Solana wallets\",\n\t\"jupiter.policyLoading\": \"Checking swap availability…\",\n\t\"jupiter.policyUnavailable\": \"Swap availability could not be checked. Retry before connecting your wallet.\",\n\t\"jupiter.reviewPolicyUnavailable\": \"Swap availability could not be checked. Review a fresh quote to try again.\",\n\t\"jupiter.reviewValidity\": \"This quote is valid for up to one minute. If it expires, review a fresh quote before signing.\",\n\t\"jupiter.reviewExpired\": \"This quote expired. Review a fresh quote to continue. No swap was submitted.\",\n\t\"jupiter.eyebrow\": \"Solana trading\",\n\t\"jupiter.title\": \"Swap tokens\",\n\t\"jupiter.description\": \"Connect your Solana wallet, compare the current exchange rate, and review your swap with Jupiter.\",\n\t\"jupiter.approval\": \"Your wallet asks you to approve each swap. Review the tokens, amount, fees, and minimum received before signing.\",\n\t\"jupiter.connect\": \"Connect your Solana wallet\",\n\t\"jupiter.disconnect\": \"Disconnect from this page\",\n\t\"jupiter.noWallet\": \"Open this page in your Phantom or Solflare wallet browser, or enable a compatible Solana wallet extension.\",\n\t\"jupiter.connectFailed\": \"The wallet connection was not completed. Try again in your wallet.\",\n\t\"jupiter.orderFailed\": \"The swap could not be prepared. No swap was submitted. Review a fresh quote to try again.\",\n\t\"jupiter.tokensChanged\": \"The site updated its approved tokens. Check the pair and amount, then request a new review.\",\n\t\"jupiter.disabled\": \"Swaps are currently unavailable on this site. No new swap was submitted. Try again after the site owner enables them.\",\n\t\"jupiter.signFailed\": \"The swap was not submitted. Wallet approval was declined, the quote expired, or the wallet changed. Review a fresh quote to continue.\",\n\t\"jupiter.unknown\": \"The swap status is not confirmed yet. Check the same transaction before starting another swap.\",\n\t\"jupiter.walletRecovery\": \"You can also check your wallet activity. Leaving this page does not cancel a submitted transaction. After returning, check its status here or verify the outcome in your wallet.\",\n\t\"jupiter.acknowledge\": \"I verified the outcome in my wallet — stop tracking here\",\n\t\"jupiter.recoveryUnavailable\": \"This browser cannot save recovery information. Keep this page open until the transaction status is known.\",\n\t\"jupiter.pay\": \"You pay\",\n\t\"jupiter.amount\": \"Amount\",\n\t\"jupiter.receive\": \"You receive\",\n\t\"jupiter.review\": \"Review swap\",\n\t\"jupiter.working\": \"Working…\",\n\t\"jupiter.reviewTitle\": \"Review your swap\",\n\t\"jupiter.waitingApproval\": \"Waiting for wallet approval\",\n\t\"jupiter.waitingApprovalBody\": \"Approve or decline the request in your wallet. Keep this page open while the request completes.\",\n\t\"jupiter.minimum\": \"Minimum received\",\n\t\"jupiter.impact\": \"Price impact\",\n\t\"jupiter.fee\": \"Swap fee\",\n\t\"jupiter.network\": \"Estimated network and account fees\",\n\t\"jupiter.approve\": \"Approve in wallet\",\n\t\"jupiter.checkStatus\": \"Check transaction status\",\n\t\"jupiter.confirmed\": \"Swap confirmed\",\n\t\"jupiter.confirmedBody\": \"Confirmed on Solana. View the transaction for the final amounts and fees.\",\n\t\"jupiter.quotedReturn\": \"Quoted return\",\n\t\"jupiter.failed\": \"The swap failed. Network fees may still apply. Review a new quote before trying again.\",\n\t\"jupiter.explorer\": \"View transaction\",\n\t\"common.loading\": \"Loading…\",\n\t\"common.close\": \"Close\",\n\t\"common.dismiss\": \"Dismiss\",\n\t\"common.remove\": \"Remove\",\n\t\"common.cancel\": \"Cancel\",\n\t\"common.save\": \"Save\",\n\t\"common.create\": \"Create\",\n\t\"common.refresh\": \"Refresh\",\n\t\"common.retry\": \"Retry\",\n\t\"common.updated\": \"Updated {time}\",\n\t\"common.actions\": \"Actions\",\n\t\"common.status\": \"Status\",\n\t\"common.ready\": \"Ready\",\n\t\"common.unknown\": \"unknown\",\n\t\"common.none\": \"none\",\n\t\"common.notSet\": \"not set\",\n\t\"common.optional\": \"optional\",\n\t\"common.defaultLimit\": \"default limit\",\n\t\"common.unavailable\": \"Unavailable\",\n\t\"common.milliseconds\": \"{value} ms\",\n\t\"common.minutesShort\": \"{value} min\",\n\t\"common.secondsShort\": \"{value} s\",\n\t\"errors.requestFailed\": \"The request did not go through. Check your connection and try again.\",\n\t\"errors.unauthorized\": \"You do not have permission to perform this action.\",\n\t\"errors.rateLimited\": \"Too many requests. Wait a moment and try again.\",\n\t\"errors.invalidMint\": \"Enter a valid token address.\",\n\t\"errors.invalidAmount\": \"Enter a valid amount.\",\n\t\"errors.tokenNotFound\": \"That token could not be found.\",\n\t\"errors.noProviders\": \"No swap providers are available right now. Try again later or contact the site owner.\",\n\t\"errors.indexerNotConfigured\": \"Portfolio data is not connected for this site yet.\",\n\t\"errors.badRequest\": \"The request was rejected. Review your input and try again.\",\n\t\"errors.provider\": \"A trading service is temporarily unavailable. Try again in a moment.\",\n\t\"errors.rpc\": \"Could not reach the Solana network. Try again shortly.\",\n\t\"errors.config\": \"Cedros Trade is not fully set up yet. Contact the site owner.\",\n\t\"errors.upstreamTimeout\": \"A service took too long to respond. Try again shortly.\",\n\t\"autosave.unsaved\": \"Unsaved changes\",\n\t\"autosave.saving\": \"Saving…\",\n\t\"autosave.saved\": \"Saved just now\",\n\t\"autosave.idle\": \"Saved\",\n\t\"autosave.offline\": \"Offline - changes will sync\",\n\t\"autosave.conflict\": \"Conflict - review changes\",\n\t\"autosave.failed\": \"Save failed - retry\",\n\t\"autosave.review\": \"Review\",\n\t\"autosave.unresolvedDiscard\": \"Cannot discard an autosave with an unresolved result.\",\n\t\"autosave.discard\": \"Discard local changes\",\n\t\"admin.group.tools\": \"Tools\",\n\t\"admin.group.settings\": \"Settings\",\n\t\"admin.group.extensionSettings\": \"Extension Settings\",\n\t\"admin.nav.overview\": \"Overview\",\n\t\"admin.nav.providers\": \"Quote routes\",\n\t\"admin.nav.tokens\": \"Token registry\",\n\t\"admin.nav.monitor\": \"Future automation\",\n\t\"admin.nav.settings\": \"Trade settings\",\n\t\"admin.overview.title\": \"Quote preview\",\n\t\"admin.overview.totalQuotes\": \"Total quotes\",\n\t\"admin.overview.totalSwaps\": \"Total swaps\",\n\t\"admin.overview.monitorMode\": \"Monitor mode\",\n\t\"admin.overview.serviceStatus\": \"Service status\",\n\t\"admin.overview.executionsSucceeded\": \"Executions succeeded\",\n\t\"admin.overview.executionsFailed\": \"Executions failed\",\n\t\"admin.overview.executionFailureRate\": \"Execution failure rate\",\n\t\"admin.overview.description\": \"Check that visitors can receive an approved conversion estimate.\",\n\t\"admin.overview.activityTitle\": \"Future transaction diagnostics\",\n\t\"admin.overview.activityBody\": \"These dry-run order and execution counts are retained for future wallet integration. They are not required to publish the quote preview.\",\n\t\"admin.overview.emptyTitle\": \"Runtime data unavailable\",\n\t\"admin.overview.emptyBody\": \"Bind the Cedros Trade server routes to populate health and metric summaries.\",\n\t\"admin.readiness.title\": \"Launch readiness\",\n\t\"admin.readiness.description\": \"Verify the same runtime, token policy, and provider comparison that visitors use on the quote page.\",\n\t\"admin.readiness.quoteReady\": \"Quote preview ready\",\n\t\"admin.readiness.needsAttention\": \"Quote preview needs attention\",\n\t\"admin.readiness.ready\": \"Ready\",\n\t\"admin.readiness.blocked\": \"Blocked\",\n\t\"admin.readiness.notChecked\": \"Not checked\",\n\t\"admin.readiness.runtime\": \"Trade runtime\",\n\t\"admin.readiness.runtimeReady\": \"The packaged Wasm route is responding.\",\n\t\"admin.readiness.runtimeBlocked\": \"The packaged Wasm route is not responding.\",\n\t\"admin.readiness.provider\": \"Launch-pair routes\",\n\t\"admin.readiness.providerReady\": \"All {responded} of {expected} approved routes returned a quote for the launch pair, {pair}.\",\n\t\"admin.readiness.providerPartial\": \"{responded} of {expected} approved routes returned a quote for the launch pair, {pair}. Missing: {providers}. Retry or disable a route the site does not intend to offer.\",\n\t\"admin.readiness.providerUnknown\": \"The approved route policy could not be loaded, so complete coverage cannot be verified. Retry before publishing.\",\n\t\"admin.readiness.providerBlocked\": \"No enabled provider returned a quote for the launch pair, {pair}. Review quote-route access and try again.\",\n\t\"admin.readiness.providerWaiting\": \"The launch-pair quote will be checked after the token policy is available and includes a compatible pair.\",\n\t\"admin.readiness.defaultPair\": \"Launch pair unavailable\",\n\t\"admin.readiness.sampleReady\": \"What a visitor would see now\",\n\t\"admin.readiness.samplePartial\": \"Best estimate from responding routes\",\n\t\"admin.readiness.sampleEstimate\": \"{input} {inputSymbol} → {output} {outputSymbol} via {provider}\",\n\t\"admin.readiness.sampleImpact\": \"Price impact {impact}\",\n\t\"admin.readiness.sampleMinimum\": \"Minimum received {amount} {symbol}\",\n\t\"admin.readiness.scope\": \"This check uses one unit of the displayed launch pair. Other approved pairs and amounts are quoted when visitors enter them; this is a current estimate, not a guarantee or a transaction.\",\n\t\"admin.readiness.tokens\": \"Token policy\",\n\t\"admin.readiness.tokenCount\": \"{count} reviewed tokens are available.\",\n\t\"admin.readiness.tokensUnavailable\": \"The approved token policy could not be loaded. Retry before publishing.\",\n\t\"admin.readiness.tokensIncomplete\": \"Only {count} reviewed token entries are available. Add at least two compatible tokens before publishing.\",\n\t\"admin.readiness.transactions\": \"Wallet transactions\",\n\t\"admin.readiness.transactionsBlocked\": \"General swap and order signing are not available through a documented Cedros public-block contract. Keep transactional pages unpublished; quote preview can still be used when the checks above pass.\",\n\t\"admin.readiness.hostHandoff\": \"Host handoff required\",\n\t\"admin.readiness.publishNext\": \"Review the quote page in Cedros Pages before publishing. This check does not change its publication state.\",\n\t\"admin.readiness.recheck\": \"Run check again\",\n\t\"admin.readiness.checking\": \"Checking…\",\n\t\"admin.readiness.checkedAt\": \"Checked {time}\",\n\t\"admin.integrations.title\": \"Integration boundaries\",\n\t\"admin.integrations.description\": \"Review the official Cedros contracts that own identity, CRM, checkout, subscriptions, and payment rails before enabling production traffic.\",\n\t\"admin.integrations.loginUser\": \"Cedros Login user context\",\n\t\"admin.integrations.loginAdmin\": \"Cedros Login admin auth\",\n\t\"admin.integrations.crmProfile\": \"CRM profiles and tags\",\n\t\"admin.integrations.payBoundary\": \"Cedros Pay checkout boundary\",\n\t\"admin.integrations.available\": \"Available\",\n\t\"admin.integrations.missing\": \"Missing\",\n\t\"admin.integrations.hostOwned\": \"Host-owned\",\n\t\"admin.integrations.notConsumed\": \"Not consumed\",\n\t\"admin.integrations.audited\": \"Audited\",\n\t\"admin.integrations.paySummary\": \"Cedros Trade does not create checkout, subscription, x402, Stripe, refund, dispute, or paid-access flows. Any future commerce or entitlement gate must depend on Cedros Pay 2.0 contracts and fail closed when Pay state is missing, pending, failed, refunded, disputed, stale, or unavailable.\",\n\t\"admin.providers.title\": \"Quote routes\",\n\t\"admin.providers.description\": \"Choose the providers included in visitor comparisons.\",\n\t\"admin.providers.healthScope\": \"Health shows the last provider check. Use Quote preview to verify current quote coverage.\",\n\t\"admin.providers.noneEnabledTitle\": \"No quote routes enabled\",\n\t\"admin.providers.noneEnabledBody\": \"Enable a provider below so visitors can receive conversion estimates.\",\n\t\"admin.providers.healthy\": \"Healthy\",\n\t\"admin.providers.unhealthy\": \"Unhealthy\",\n\t\"admin.providers.notChecked\": \"Not checked\",\n\t\"admin.providers.notCheckedBody\": \"Run the readiness check to confirm this route can return a quote.\",\n\t\"admin.providers.dflowCredentialMissing\": \"DFlow is unavailable until the host stores its API credential.\",\n\t\"admin.providers.configureDflowFirst\": \"Configure the host-managed dflowApiKey secret before enabling DFlow.\",\n\t\"admin.providers.gasless\": \"Gasless\",\n\t\"admin.providers.mevProtected\": \"MEV-protected\",\n\t\"admin.providers.enabled\": \"Enabled\",\n\t\"admin.providers.disabled\": \"Disabled\",\n\t\"admin.providers.enable\": \"Enable\",\n\t\"admin.providers.disable\": \"Disable\",\n\t\"admin.providers.enabling\": \"Enabling…\",\n\t\"admin.providers.disabling\": \"Disabling…\",\n\t\"admin.providers.enabledSuccess\": \"{provider} enabled for visitor quotes.\",\n\t\"admin.providers.disabledSuccess\": \"{provider} disabled for visitor quotes.\",\n\t\"admin.providers.toggleError\": \"Could not update providers. No change was saved — try again.\",\n\t\"admin.providers.keepOne\": \"Keep at least one provider enabled so visitors can request quotes.\",\n\t\"admin.providers.emptyTitle\": \"No providers returned\",\n\t\"admin.providers.emptyBody\": \"Provider records appear after the server route and approved upstream bindings are available.\",\n\t\"admin.tokens.title\": \"Token registry\",\n\t\"admin.tokens.description\": \"Review which tokens visitors can select in the public quote preview.\",\n\t\"admin.tokens.count\": \"{count} tokens\",\n\t\"admin.tokens.count.one\": \"{count} token\",\n\t\"admin.tokens.add\": \"Add token\",\n\t\"admin.tokens.addTitle\": \"Add token\",\n\t\"admin.tokens.editTitle\": \"Edit {symbol}\",\n\t\"admin.tokens.saveChanges\": \"Save changes\",\n\t\"admin.tokens.search\": \"Filter tokens…\",\n\t\"admin.tokens.mintPlaceholder\": \"Mint address\",\n\t\"admin.tokens.symbolPlaceholder\": \"Symbol (e.g. SOL)\",\n\t\"admin.tokens.namePlaceholder\": \"Name (e.g. Solana)\",\n\t\"admin.tokens.decimalsPlaceholder\": \"Decimals\",\n\t\"admin.tokens.logoUrlPlaceholder\": \"Logo URL\",\n\t\"admin.tokens.coingeckoIdPlaceholder\": \"CoinGecko ID\",\n\t\"admin.tokens.tradingviewSymbolPlaceholder\": \"TradingView symbol\",\n\t\"admin.tokens.categoriesPlaceholder\": \"Categories (comma-separated)\",\n\t\"admin.tokens.tableToken\": \"Token\",\n\t\"admin.tokens.tableMint\": \"Mint\",\n\t\"admin.tokens.tableDecimals\": \"Dec\",\n\t\"admin.tokens.tableCategories\": \"Categories\",\n\t\"admin.tokens.edit\": \"Edit\",\n\t\"admin.tokens.delete\": \"Delete token\",\n\t\"admin.tokens.moreActions\": \"More actions for {symbol}\",\n\t\"admin.tokens.clearSearch\": \"Clear search\",\n\t\"admin.tokens.confirmDelete\": \"Delete {symbol} token?\",\n\t\"admin.tokens.added\": \"Token added.\",\n\t\"admin.tokens.updated\": \"Token updated.\",\n\t\"admin.tokens.removed\": \"Token removed.\",\n\t\"admin.tokens.restored\": \"Default tokens restored.\",\n\t\"admin.tokens.restoreDefaults\": \"Restore default tokens\",\n\t\"admin.tokens.registryChanged\": \"The token registry changed. Review the refreshed tokens before saving again. Your draft is still here.\",\n\t\"admin.settings.changed\": \"Settings changed while you were editing. Review the refreshed values before saving again. Your draft is still here.\",\n\t\"admin.settings.currentProtection\": \"Current saved protection: {value}%.\",\n\t\"admin.tokens.errorMissing\": \"This token is no longer in the registry. Cancel this edit to return to the current tokens.\",\n\t\"admin.tokens.failed\": \"Could not save token registry\",\n\t\"admin.tokens.emptyTitle\": \"No tokens yet\",\n\t\"admin.tokens.emptyBody\": \"Restore the default approved tokens to enable quote previews, then review and customize the list for this site.\",\n\t\"admin.tokens.noSearchResultsTitle\": \"No tokens match your search\",\n\t\"admin.tokens.noSearchResultsBody\": \"No registered token matches “{term}”. Clear the search to see all tokens.\",\n\t\"admin.tokens.deletePendingTitle\": \"Confirm token removal\",\n\t\"admin.tokens.deletePendingBody\": \"This removes mint {mint} from the registry and can make the public quote page hide or reject it. This cannot be undone.\",\n\t\"admin.tokens.errorRequired\": \"Mint, symbol, name, and decimals are required.\",\n\t\"admin.tokens.errorDecimals\": \"Decimals must be an integer from 0 to 18.\",\n\t\"admin.tokens.errorDuplicateMint\": \"A token with that mint already exists.\",\n\t\"admin.tokens.errorMinimum\": \"Keep at least two approved assets so visitors can compare a conversion.\",\n\t\"admin.tokens.errorLimit\": \"The token registry supports at most 100 approved assets.\",\n\t\"admin.tokens.errorMetadataLength\": \"Symbol and token metadata are too long.\",\n\t\"admin.tokens.errorLogoUrl\": \"Logo URL must be a valid HTTPS URL.\",\n\t\"admin.tokens.errorCategories\": \"Use at most 16 categories, with no more than 32 characters per category.\",\n\t\"admin.monitor.title\": \"Price monitor\",\n\t\"admin.monitor.description\": \"Inspect monitored-order volume, poll cadence, execution totals, and dry-run status before automation is enabled.\",\n\t\"admin.monitor.resume\": \"Resume\",\n\t\"admin.monitor.pause\": \"Pause\",\n\t\"admin.monitor.activeOrders\": \"Active orders\",\n\t\"admin.monitor.pollInterval\": \"Poll interval\",\n\t\"admin.monitor.totalExecutions\": \"Total executions\",\n\t\"admin.monitor.paused\": \"Paused\",\n\t\"admin.monitor.running\": \"Running\",\n\t\"admin.monitor.dryRun\": \"Test mode\",\n\t\"admin.monitor.dryRunNoticeTitle\": \"Test mode only\",\n\t\"admin.monitor.dryRunNoticeBody\": \"The price monitor reports stored order and execution counts. It does not evaluate triggers, place trades, or sign transactions. The schedule can remain disabled. Live execution stays off until Cedros publishes a general signing contract.\",\n\t\"admin.monitor.emptyTitle\": \"Monitor status unavailable\",\n\t\"admin.monitor.emptyBody\": \"Metrics will appear after the price-monitor job and metrics route are bound.\",\n\t\"admin.settings.title\": \"Trade settings\",\n\t\"admin.settings.description\": \"Choose which quote routes visitors can use and the protection applied by default.\",\n\t\"admin.settings.tabs\": \"Quote settings sections\",\n\t\"admin.settings.runtimeConfig\": \"Defaults & swaps\",\n\t\"admin.settings.runtimeSummary\": \"Wallet swaps\",\n\t\"admin.settings.futureAutomationTitle\": \"Future automation\",\n\t\"admin.settings.futureAutomationBody\": \"Optional compatibility diagnostics for monitored orders. Live execution remains unavailable until Cedros publishes verified wallet ownership and a general signing contract.\",\n\t\"admin.settings.saved\": \"Trade settings saved.\",\n\t\"admin.settings.network\": \"Network\",\n\t\"admin.settings.rpcUrl\": \"RPC URL\",\n\t\"admin.settings.jupiterPreview\": \"Jupiter quote preview\",\n\t\"admin.settings.jupiterCompatibility\": \"Jupiter transaction compatibility\",\n\t\"admin.settings.jupiterPrice\": \"Jupiter price\",\n\t\"admin.settings.jupiterKey\": \"Jupiter key\",\n\t\"admin.settings.ultra\": \"Ultra\",\n\t\"admin.settings.dflow\": \"DFlow\",\n\t\"admin.settings.dflowKey\": \"DFlow key\",\n\t\"admin.settings.coingecko\": \"CoinGecko\",\n\t\"admin.settings.coingeckoKey\": \"CoinGecko key\",\n\t\"admin.settings.slippage\": \"Quote protection\",\n\t\"admin.settings.slippageHint\": \"Maximum price movement allowed by the estimate. Keep 0.3% unless this site needs a deliberate exception. Range 0–50%.\",\n\t\"admin.settings.saveSlippage\": \"Save protection\",\n\t\"admin.settings.enabledProviders\": \"Enabled providers: {providers}\",\n\t\"admin.settings.enabledProviderCount\": \"Enabled quote routes\",\n\t\"admin.settings.connectionDetails\": \"Connection details\",\n\t\"admin.settings.errorSlippageRange\": \"Enter a percentage from 0 to 50 with no more than two decimal places.\",\n\t\"admin.settings.secretRedacted\": \"Stored as a secret; value is redacted.\",\n\t\"admin.settings.secretConfigured\": \"Configured; value is redacted.\",\n\t\"admin.status.loadingTitle\": \"Loading\",\n\t\"admin.status.loadingSummary\": \"Checking Cedros Trade status.\",\n\t\"admin.status.permissionTitle\": \"Permission required\",\n\t\"admin.status.permissionSummary\": \"Manage extensions permission is required.\",\n\t\"admin.status.serverUnboundTitle\": \"Server unbound\",\n\t\"admin.status.serverUnboundSummary\": \"Cedros Trade server routes are not configured.\",\n\t\"admin.status.statsUnavailableTitle\": \"Stats unavailable\",\n\t\"admin.status.statsUnavailableSummary\": \"Analytics data is unavailable; route checks still run separately.\",\n\t\"admin.status.analyticsError\": \"Analytics error\",\n\t\"admin.status.statusUnavailableTitle\": \"Status unavailable\",\n\t\"admin.status.refreshFailed\": \"Refresh failed · showing the last check\",\n\t\"admin.status.stale\": \"Stale\",\n\t\"admin.status.staleSummary\": \"The last readiness check is out of date. Recheck the quote path before publishing.\",\n\t\"admin.status.retryLater\": \"Retry later\",\n\t\"admin.status.noRuntimeTitle\": \"No runtime data\",\n\t\"admin.status.noRuntimeSummary\": \"Bind the Cedros Trade server routes, then open settings to review providers and tokens.\",\n\t\"admin.status.noData\": \"No data\",\n\t\"admin.status.tradeTitle\": \"Trade status\",\n\t\"admin.status.tradeSummary\": \"Service {serviceStatus}; monitor {monitorStatus}.\",\n\t\"admin.status.quoteTitle\": \"Quote preview\",\n\t\"admin.status.quoteReadySummary\": \"The public quote path is responding through {providerCount} provider routes.\",\n\t\"admin.status.quoteReadySummary.one\": \"The public quote path is responding through {providerCount} provider route.\",\n\t\"admin.status.quotePartialSummary\": \"The public quote path is degraded: {responded} of {expected} approved routes responded.\",\n\t\"admin.status.quoteAttentionSummary\": \"The public quote path needs attention. Review runtime, provider access, and token policy before publishing.\",\n\t\"admin.status.runtimeAttentionSummary\": \"The trade runtime is not healthy. Recheck it before publishing the quote page.\",\n\t\"admin.status.tokenPolicyUnavailableSummary\": \"The approved token policy could not be loaded. Retry before publishing the quote page.\",\n\t\"admin.status.tokenPolicyIncompleteSummary\": \"Only {count} reviewed token entries are available. Add a compatible pair before publishing.\",\n\t\"admin.status.providerPolicyUnavailableSummary\": \"The approved route policy could not be loaded, so quote coverage is unknown.\",\n\t\"admin.status.quoteUnavailableSummary\": \"No enabled provider returned a quote for the launch pair. Review quote-route access and retry.\",\n\t\"admin.status.providersQuoted\": \"Routes compared\",\n\t\"admin.status.pairTested\": \"Launch pair\",\n\t\"admin.status.lastChecked\": \"Last checked\",\n\t\"admin.status.activeOrders\": \"Active orders\",\n\t\"admin.status.pendingActions\": \"Pending actions\",\n\t\"admin.status.state\": \"State\",\n\t\"admin.status.openMonitor\": \"Open monitor\",\n\t\"admin.status.unbound\": \"Unbound\",\n\t\"admin.metrics.notMeasured\": \"Not measured yet\",\n\t\"admin.status.service.healthy\": \"Healthy\",\n\t\"admin.status.service.degraded\": \"Degraded\",\n\t\"admin.status.service.ok\": \"OK\",\n\t\"admin.status.service.down\": \"Down\",\n\t\"admin.status.service.unknown\": \"Unknown\",\n\t\"swap.title\": \"Swap\",\n\t\"swap.previewTitle\": \"Conversion estimate\",\n\t\"swap.youPay\": \"You pay\",\n\t\"swap.youReceive\": \"You receive\",\n\t\"swap.switchTokens\": \"Switch tokens\",\n\t\"swap.provider\": \"Provider\",\n\t\"swap.gasless\": \"gasless\",\n\t\"swap.priceImpact\": \"Price impact\",\n\t\"swap.rate\": \"1 {inputSymbol} = {rate} {outputSymbol}\",\n\t\"swap.minReceived\": \"Min received\",\n\t\"swap.connectWallet\": \"Connect Wallet\",\n\t\"swap.previewOnly\": \"Wallet signing unavailable\",\n\t\"swap.signing\": \"Confirm in your wallet…\",\n\t\"swap.complete\": \"Swap Complete\",\n\t\"swap.fetchingQuote\": \"Fetching quote…\",\n\t\"swap.enterAmount\": \"Enter Amount\",\n\t\"swap.submitAction\": \"Swap {inputAmount} {inputSymbol} → {outputAmount} {outputSymbol}\",\n\t\"swap.selectToken\": \"Select token\",\n\t\"swap.searchToken\": \"Search by name, symbol, or mint…\",\n\t\"swap.noTokensFound\": \"No tokens found\",\n\t\"swap.favoriteToken\": \"Favorite {symbol}\",\n\t\"swap.unfavoriteToken\": \"Remove {symbol} from favorites\",\n\t\"swap.slippage\": \"Slippage\",\n\t\"swap.slippageRange\": \"Enter a slippage between 0% and 50%.\",\n\t\"swap.custom\": \"Custom\",\n\t\"swap.providerComparison\": \"Provider comparison\",\n\t\"swap.best\": \"Best\",\n\t\"swap.bestAvailable\": \"Best available\",\n\t\"swap.alternatives\": \"Available routes\",\n\t\"swap.bestAdvantage\": \"The best route returns {amount} {outputSymbol} more than the next available route.\",\n\t\"swap.coverageComplete\": \"All {count} approved routes were compared.\",\n\t\"swap.coverageComplete.one\": \"The approved route was compared.\",\n\t\"swap.coveragePartial\": \"Comparison incomplete: {responded} of {expected} approved routes responded. Missing: {providers}. This is the best available estimate; refresh before relying on it.\",\n\t\"swap.coverageUnknown\": \"The approved route list could not be verified. This estimate is still usable, but refresh before relying on it.\",\n\t\"swap.quoteSettings\": \"Quote settings\",\n\t\"swap.quoteReady\": \"Quote ready\",\n\t\"swap.quoteReadyBody\": \"Every approved route responded. This current estimate completes the preview and does not move funds.\",\n\t\"swap.quotePartialBody\": \"This is the best estimate from the routes that responded, not a complete comparison.\",\n\t\"swap.refreshRequired\": \"Refresh required\",\n\t\"swap.quoteStaleBody\": \"Market estimates change quickly. Refresh this result before using it to make a decision.\",\n\t\"swap.refreshQuote\": \"Refresh quote\",\n\t\"swap.loadingTokenPolicy\": \"Loading the site’s approved tokens…\",\n\t\"swap.tokenPolicyUnavailable\": \"Approved tokens are unavailable right now. Retry before requesting a quote. If this continues, contact the site owner.\",\n\t\"swap.tokenPolicyIncomplete\": \"Quote preview is unavailable because this site does not have two compatible approved tokens. Contact the site owner.\",\n\t\"swap.supportRecovery\": \"Still unavailable? Contact the site owner and include the token pair and approximate amount. Never share wallet credentials.\",\n\t\"transfer.title\": \"Send\",\n\t\"transfer.recipient\": \"Recipient\",\n\t\"transfer.recipientPlaceholder\": \"Wallet address or name.sol\",\n\t\"transfer.resolving\": \"Looking up name…\",\n\t\"transfer.resolvesTo\": \"Resolves to: {address}\",\n\t\"transfer.resolveFailed\": \"Could not resolve this .sol name. Check the spelling or paste a wallet address.\",\n\t\"transfer.errorEnterValidAmount\": \"Enter a valid amount.\",\n\t\"transfer.ataWarning\": \"This will create a token account for the recipient ({rent} rent).\",\n\t\"transfer.sent\": \"Sent!\",\n\t\"transfer.unavailable\": \"Wallet signing unavailable\",\n\t\"transaction.action.swap\": \"Swap\",\n\t\"transaction.action.transfer\": \"Transfer\",\n\t\"transaction.submitted\": \"{action} submitted\",\n\t\"transaction.confirmed\": \"{action} confirmed\",\n\t\"transaction.submittedBody\": \"The network has received the transaction. It may still take a moment to confirm.\",\n\t\"transaction.confirmedBody\": \"The network confirmed this transaction.\",\n\t\"transaction.viewExplorer\": \"View on explorer\",\n\t\"transaction.reference\": \"Transaction reference\",\n\t\"transaction.failed\": \"The transaction was not accepted. Review the wallet or provider message and try again.\",\n\t\"public.badge.ownerReviewed\": \"Owner-reviewed page\",\n\t\"public.badge.walletRequired\": \"Wallet required\",\n\t\"public.badge.hostSigned\": \"Host-signed actions\",\n\t\"public.badge.privateDataSafe\": \"Private data hidden\",\n\t\"public.disclosure.providers\": \"Quotes and routing are provided by third parties ({providers}); nothing on this page is financial advice.\",\n\t\"public.disclosure.thirdParty\": \"Quotes and routing are provided by third-party providers; nothing on this page is financial advice.\",\n\t\"public.disclosure.wallet\": \"Approve and sign swaps in your own wallet. Cedros and this site never hold your funds or keys.\",\n\t\"public.disclosure.preview\": \"Estimates only; no trade is made. Cedros and this site never hold your funds or keys.\",\n\t\"public.badge.quotePreview\": \"Quote preview\",\n\t\"public.badge.transactionReady\": \"Transaction ready\",\n\t\"public.badge.walletConnected\": \"Wallet connected\",\n\t\"public.badge.unavailable\": \"Setup required\",\n\t\"public.quoteOnly.title\": \"No wallet needed\",\n\t\"public.quoteOnly.body\": \"Compare current conversion estimates without signing a transaction or moving funds.\",\n\t\"public.transactionUnavailable.title\": \"Send from your wallet app\",\n\t\"public.transactionUnavailable.body\": \"Transfers cannot be started on this site. Use your wallet app to send tokens. This page has not created a transaction.\",\n\t\"public.tradingUnavailable.title\": \"Orders are unavailable here\",\n\t\"public.tradingUnavailable.body\": \"Use your wallet’s trading tools to place an order. This site has not created or signed a transaction.\",\n\t\"public.portfolioUnavailable.title\": \"View balances in your wallet app\",\n\t\"public.portfolioUnavailable.body\": \"This site does not have access to your portfolio. Open your wallet app to view balances and activity.\",\n\t\"public.notice.walletTitle\": \"Wallet context required\",\n\t\"public.notice.walletBody\": \"Trading data and signing controls stay disabled until Cedros Login and the host wallet context identify the visitor.\",\n\t\"public.notice.signingTitle\": \"Signing is explicit\",\n\t\"public.notice.signingBody\": \"Cedros Trade builds transactions, then hands them to Cedros Wallet or the host wallet signing flow. Private keys and seed phrases are never requested here.\",\n\t\"public.notice.providerTitle\": \"Provider readiness\",\n\t\"public.notice.providerBody\": \"Quotes and market data depend on the site owner enabling approved provider routes before publishing this page.\",\n\t\"public.notice.indexerTitle\": \"Portfolio scope\",\n\t\"public.notice.indexerBody\": \"Balances are wallet scoped. P&L and history appear only when an approved indexer binding is available.\",\n\t\"public.integration.statusLabel\": \"Integration status\",\n\t\"public.integration.login.label\": \"Cedros Login\",\n\t\"public.integration.login.required\": \"Required\",\n\t\"public.integration.login.summary\": \"Signed-out, stale-session, deleted-user, missing-profile, and permission-denied states keep wallet-scoped data and signing controls disabled.\",\n\t\"public.integration.pay.label\": \"Cedros Pay\",\n\t\"public.integration.pay.notUsed\": \"No checkout here\",\n\t\"public.integration.pay.summary\": \"Stripe card, Solana x402 stablecoin, subscription, refund, dispute, and paid-access states belong to Cedros Pay surfaces, not Cedros Trade pages.\",\n\t\"public.empty.walletTitle\": \"Connect a wallet to continue\",\n\t\"public.empty.walletBody\": \"This section only shows wallet-scoped balances, orders, and history after the host provides authenticated wallet context.\",\n\t\"trading.tab.positions\": \"Positions\",\n\t\"trading.tab.orders\": \"Orders\",\n\t\"trading.tab.pnl\": \"P&L\",\n\t\"trading.tab.history\": \"History\",\n\t\"trading.tab.monitored\": \"Monitored\",\n\t\"trading.tab.orderbook\": \"Orderbook\",\n\t\"trading.tab.group\": \"Trading activity\",\n\t\"trading.buy\": \"Buy\",\n\t\"trading.sell\": \"Sell\",\n\t\"trading.orderSide\": \"Order side\",\n\t\"trading.limit\": \"Limit\",\n\t\"trading.stopLoss\": \"Stop Loss\",\n\t\"trading.takeProfit\": \"Take Profit\",\n\t\"trading.trailing\": \"Trailing\",\n\t\"trading.oco\": \"OCO\",\n\t\"trading.bracket\": \"Bracket\",\n\t\"trading.dca\": \"DCA\",\n\t\"trading.auto\": \"Auto\",\n\t\"trading.orderType\": \"Order type\",\n\t\"trading.limitPrice\": \"Limit Price\",\n\t\"trading.triggerPrice\": \"Trigger Price\",\n\t\"trading.markPrice\": \"Mark\",\n\t\"trading.amount\": \"Amount\",\n\t\"trading.cycles\": \"Cycles\",\n\t\"trading.interval\": \"Interval\",\n\t\"trading.hourly\": \"Hourly\",\n\t\"trading.daily\": \"Daily\",\n\t\"trading.weekly\": \"Weekly\",\n\t\"trading.trailPercentage\": \"Trail Percentage\",\n\t\"trading.percentBelowPeak\": \"% below peak\",\n\t\"trading.stopLossPrice\": \"Stop Loss Price\",\n\t\"trading.takeProfitPrice\": \"Take Profit Price\",\n\t\"trading.stopLossPercent\": \"Stop Loss %\",\n\t\"trading.takeProfitPercent\": \"Take Profit %\",\n\t\"trading.submit\": \"{side} {symbol}\",\n\t\"trading.errorWalletSigningRequired\": \"Wallet signing is required\",\n\t\"trading.errorEnterPrice\": \"Enter a price\",\n\t\"trading.errorEnterValidAmountPrice\": \"Enter a valid amount and price\",\n\t\"trading.errorEnterTriggerPrice\": \"Enter a trigger price\",\n\t\"trading.errorEnterValidAmount\": \"Enter a valid amount\",\n\t\"trading.errorEmbeddedWalletTrailing\": \"Embedded wallet required for trailing stops\",\n\t\"trading.errorEmbeddedWalletBracket\": \"Embedded wallet required for bracket orders\",\n\t\"trading.errorOcoPrices\": \"Enter both stop-loss and take-profit prices\",\n\t\"trading.errorEnableAutoFeature\": \"Enable at least one auto feature\",\n\t\"trading.errorValidCycleCount\": \"Enter a valid cycle count\",\n\t\"trading.auto.priceTargets\": \"Price Targets\",\n\t\"trading.auto.priceTargetsDesc\": \"Set multiple price targets to auto-sell portions\",\n\t\"trading.auto.profitProtection\": \"Profit Protection\",\n\t\"trading.auto.profitProtectionDesc\": \"Auto-sell if price drops from peak\",\n\t\"trading.auto.stopLossDesc\": \"Auto-sell if price drops below threshold\",\n\t\"trading.auto.trailingStop\": \"Trailing Stop\",\n\t\"trading.auto.trailingStopDesc\": \"Stop-loss that follows price upward\",\n\t\"trading.auto.pricePlaceholder\": \"Price\",\n\t\"trading.auto.dropPercentPlaceholder\": \"Drop %\",\n\t\"trading.auto.activateAbovePlaceholder\": \"Activate above\",\n\t\"trading.auto.stopPricePlaceholder\": \"Stop price\",\n\t\"trading.auto.trailPercentPlaceholder\": \"Trail %\",\n\t\"trading.auto.priceSuffix\": \"price\",\n\t\"trading.auto.triggerSuffix\": \"trigger\",\n\t\"trading.auto.addTarget\": \"+ Add Target\",\n\t\"trading.auto.removeTarget\": \"Remove target {index}\",\n\t\"trading.auto.summaryTakeProfit\": \"Take-profit at {price}\",\n\t\"trading.auto.summaryStopLoss\": \"Stop-loss at {price}\",\n\t\"trading.auto.summaryTrailing\": \"Trailing stop {percent}\",\n\t\"trading.chart.emptyTitle\": \"Chart data unavailable\",\n\t\"trading.chart.title\": \"Price history\",\n\t\"trading.chart.navigation\": \"Use + and − to zoom, arrow keys to pan, and Home to fit all history. Drag to pan, or hold Control or Command while scrolling to zoom. Double-click to reset.\",\n\t\"trading.chart.unavailable\": \"The price chart could not be displayed. Retry to load it.\",\n\t\"trading.chart.summary\": \"Latest close {close} across {count} price intervals.\",\n\t\"trading.chart.summary.one\": \"Latest close {close} across {count} price interval.\",\n\t\"trading.chart.data\": \"View price data\",\n\t\"trading.chart.interval\": \"Date / time\",\n\t\"trading.chart.open\": \"Open\",\n\t\"trading.chart.high\": \"High\",\n\t\"trading.chart.low\": \"Low\",\n\t\"trading.chart.close\": \"Close\",\n\t\"trading.chart.emptyBody\": \"There is no price history to show for this market yet.\",\n\t\"orders.noOpenOrders\": \"No open orders\",\n\t\"orders.type\": \"Type\",\n\t\"orders.pair\": \"Pair\",\n\t\"orders.trigger\": \"Trigger\",\n\t\"orders.cancel\": \"Cancel\",\n\t\"orders.cancelConfirm\": \"Confirm cancel\",\n\t\"orders.cancelKeep\": \"Keep order\",\n\t\"orders.cancelling\": \"Cancelling…\",\n\t\"orders.cancelFailed\": \"Could not cancel the order. It is still active — try again.\",\n\t\"orders.dcaSchedules\": \"DCA Schedules\",\n\t\"orders.cycles\": \"{completed}/{total} cycles\",\n\t\"orders.cycles.one\": \"{completed}/{total} cycle\",\n\t\"orders.next\": \"Next: {date}\",\n\t\"orders.noMonitored\": \"No monitored orders\",\n\t\"orders.triggerPrice\": \"Trigger: {price}\",\n\t\"orders.peakPrice\": \"Peak: {price}\",\n\t\"orders.filledAt\": \"Filled @ {price}\",\n\t\"orders.pendingActions\": \"Pending Actions ({count})\",\n\t\"orders.pendingActions.one\": \"Pending Action ({count})\",\n\t\"orders.expires\": \"Expires {time}\",\n\t\"orders.sign\": \"Sign\",\n\t\"orders.actionTriggered\": \"{type} triggered — sign to execute\",\n\t\"orders.type.limit\": \"Limit\",\n\t\"orders.type.stopLoss\": \"Stop Loss\",\n\t\"orders.type.takeProfit\": \"Take Profit\",\n\t\"orders.type.trailingStop\": \"Trailing Stop\",\n\t\"orders.type.oco\": \"OCO\",\n\t\"orders.type.ocoSl\": \"OCO Stop Loss\",\n\t\"orders.type.ocoTpWatcher\": \"OCO Take Profit\",\n\t\"orders.type.bracket\": \"Bracket\",\n\t\"orders.type.dca\": \"DCA\",\n\t\"orders.status.open\": \"Open\",\n\t\"orders.status.filled\": \"Filled\",\n\t\"orders.status.monitoring\": \"Monitoring\",\n\t\"orders.status.executed\": \"Executed\",\n\t\"orders.status.cancelled\": \"Cancelled\",\n\t\"orders.status.failed\": \"Failed\",\n\t\"orders.status.actionPending\": \"Action Pending\",\n\t\"orders.status.independent\": \"Independent\",\n\t\"orders.status.pendingEntry\": \"Pending Entry\",\n\t\"orders.status.active\": \"Active\",\n\t\"orders.status.completed\": \"Completed\",\n\t\"orders.status.expired\": \"Expired\",\n\t\"trades.type.swap\": \"Swap\",\n\t\"trades.type.buy\": \"Buy\",\n\t\"trades.type.sell\": \"Sell\",\n\t\"trades.type.transfer\": \"Transfer\",\n\t\"portfolio.title\": \"Portfolio\",\n\t\"portfolio.connectWallet\": \"Connect a wallet to view your portfolio\",\n\t\"portfolio.totalValue\": \"Total Value\",\n\t\"portfolio.openOrders\": \"Open Orders\",\n\t\"portfolio.noHoldings\": \"No holdings\",\n\t\"portfolio.degradedBalances\": \"Token balances are unavailable right now. Showing SOL balance only.\",\n\t\"portfolio.token\": \"Token\",\n\t\"portfolio.balance\": \"Balance\",\n\t\"portfolio.price\": \"Price\",\n\t\"portfolio.value\": \"Value\",\n\t\"portfolio.pnlUnavailable\": \"P&L unavailable - indexer not configured\",\n\t\"portfolio.tradeHistoryUnavailable\": \"Trade history unavailable - indexer not configured\",\n\t\"portfolio.noTradeHistory\": \"No trade history\",\n\t\"portfolio.costBasis\": \"Cost Basis\",\n\t\"portfolio.pnl\": \"P&L\",\n\t\"portfolio.entry\": \"Entry\",\n\t\"portfolio.current\": \"Current\",\n\t\"portfolio.date\": \"Date\",\n\t\"portfolio.type\": \"Type\",\n\t\"portfolio.in\": \"In\",\n\t\"portfolio.out\": \"Out\",\n\t\"portfolio.source\": \"Source\",\n\t\"orderbook.noData\": \"No orderbook data\",\n\t\"orderbook.noDataHint\": \"This market has no live orderbook yet. It appears once a market data route is connected for this pair.\",\n\t\"orderbook.title\": \"Orderbook\",\n\t\"orderbook.live\": \"Live\",\n\t\"orderbook.liveTooltip\": \"Connected to a live market data feed.\",\n\t\"orderbook.polling\": \"Polling\",\n\t\"orderbook.pollingTooltip\": \"Refreshing on a timer. Live updates resume when the data feed reconnects.\",\n\t\"orderbook.selectLevel\": \"Use price {price} for a {side} order\",\n\t\"orderbook.price\": \"Price\",\n\t\"orderbook.size\": \"Size\",\n\t\"orderbook.total\": \"Total\",\n\t\"orderbook.spread\": \"Spread\",\n\t\"orderbook.mid\": \"Mid: {price}\",\n\t\"metadata.extension.description\": \"Owner-governed Solana conversion previews that compare approved providers while wallet-dependent compatibility surfaces remain secondary and fail-closed.\",\n\t\"metadata.dashboard.status.description\": \"Shows whether the visitor quote journey is ready to publish.\",\n\t\"metadata.block.tradeSurface.displayName\": \"Solana Quote Preview\",\n\t\"metadata.block.tradeSurface.description\": \"Owner-editable multi-provider conversion estimate, with preserved compatibility modes for host-integrated wallet surfaces.\",\n\t\"metadata.block.tradeSurface.nativeFallback\": \"Open this Cedros Trade page in the web experience.\",\n\t\"metadata.authoredSurface.tradePages.displayName\": \"Trade Pages (Compatibility Set)\",\n\t\"metadata.authoredSurface.tradePages.description\": \"The primary quote preview plus preserved setup-state pages for existing wallet-dependent Trade content.\",\n\t\"metadata.authoredSurface.tradePages.eyebrow\": \"Trade\",\n\t\"metadata.authoredUtility.tradePageSet.displayName\": \"Legacy Trade Page Set\",\n\t\"metadata.authoredUtility.tradePageSet.description\": \"Preserves the released four-page set for existing content; new sites should create only the Solana Quote Preview.\",\n\t\"metadata.template.swap.displayName\": \"Solana Quote Preview\",\n\t\"metadata.template.transfer.displayName\": \"Transfer Setup (Requires Host)\",\n\t\"metadata.template.trading.displayName\": \"Trading Setup (Requires Host)\",\n\t\"metadata.template.portfolio.displayName\": \"Portfolio Setup (Requires Host)\",\n\t\"metadata.page.swap.displayName\": \"Solana Quote Preview\",\n\t\"metadata.page.transfer.displayName\": \"Transfer Setup (Requires Host)\",\n\t\"metadata.page.trading.displayName\": \"Trading Setup (Requires Host)\",\n\t\"metadata.page.portfolio.displayName\": \"Portfolio Setup (Requires Host)\",\n\t\"metadata.page.swap.description\": \"Extension-owned public page that compares approved Solana providers and explains the best current conversion estimate without moving funds.\",\n\t\"metadata.page.transfer.description\": \"Compatibility page retained for existing authored content; it stays unavailable until Cedros supplies verified wallet identity and signing.\",\n\t\"metadata.page.trading.description\": \"Compatibility page retained for existing authored content; order actions stay unavailable without verified wallet identity and signing.\",\n\t\"metadata.page.portfolio.description\": \"Compatibility page retained for existing authored content; wallet-scoped data stays unavailable without verified wallet identity.\",\n\t\"metadata.surface.swap.body\": \"Compare approved Solana routes and understand the best current conversion estimate.\",\n\t\"metadata.surface.transfer.body\": \"Prepare a SOL or SPL transfer only after a documented authenticated wallet and signing integration is connected.\",\n\t\"metadata.surface.trading.body\": \"Manage smart Solana orders only after a documented verified-wallet signing integration is connected.\",\n\t\"metadata.surface.portfolio.body\": \"Review balances and activity only after the host supplies verified wallet identity.\",\n\t\"metadata.template.swapFallback\": \"Swap page unavailable in this export. Open the Cedros Trade web page.\",\n\t\"metadata.template.transferFallback\": \"Transfer page unavailable in this export. Open the Cedros Trade web page.\",\n\t\"metadata.template.tradingFallback\": \"Trading page unavailable in this export. Open the Cedros Trade web page.\",\n\t\"metadata.template.portfolioFallback\": \"Portfolio page unavailable in this export. Open the Cedros Trade web page.\",\n\t\"metadata.form.tradeSupport.title\": \"Quote Preview Support\",\n\t\"metadata.form.tradeSupport.description\": \"Tell us what went wrong with your quote. The site owner can review the details and reply by email.\",\n\t\"metadata.form.tradeSupport.submit\": \"Send request\",\n\t\"metadata.form.tradeSupport.successTitle\": \"Request received\",\n\t\"metadata.form.tradeSupport.successMessage\": \"Your request has been sent. The site owner will review it and follow up if more information is needed.\",\n\t\"metadata.form.email.label\": \"Email\",\n\t\"metadata.form.email.placeholder\": \"you@example.com\",\n\t\"metadata.form.email.help\": \"Used only to respond to this support request.\",\n\t\"metadata.form.issueType.label\": \"Issue type\",\n\t\"metadata.form.issue.swap\": \"Quote did not load\",\n\t\"metadata.form.issue.transfer\": \"Amount or rate looks wrong\",\n\t\"metadata.form.issue.order\": \"Token is unavailable\",\n\t\"metadata.form.issue.portfolio\": \"Quote details are unclear\",\n\t\"metadata.form.issue.other\": \"Other\",\n\t\"metadata.form.message.label\": \"Message\",\n\t\"metadata.form.message.placeholder\": \"Include the token symbols, approximate amount, and what you expected. Do not include private wallet credentials.\",\n\t\"metadata.form.consent.label\": \"I consent to being contacted about this support request.\",\n\t\"metadata.form.consent.help\": \"The site owner may use the submitted email address only to respond to this request.\",\n\t\"metadata.docs.gettingStarted.displayName\": \"Understanding Your Solana Quote\",\n\t\"metadata.docs.gettingStarted.title\": \"Understanding Your Solana Quote\",\n\t\"metadata.docs.gettingStarted.excerpt\": \"How to request, interpret, refresh, and troubleshoot a Cedros Trade conversion estimate.\",\n\t\"metadata.docs.gettingStarted.navLabel\": \"Understanding Quotes\",\n\t\"metadata.docs.gettingStarted.bodyMarkdown\": \"# Understanding Your Solana Quote\\n\\nCedros Trade compares current estimates from the Solana providers approved by this site. A quote helps you understand a possible conversion; it does not move funds or request a wallet signature.\\n\\n## Get An Estimate\\n\\n1. Choose the token you would provide and the token you want to receive.\\n2. Enter an amount.\\n3. Wait for the available providers to return estimates.\\n\\nThe page selects the estimate with the highest received amount from the providers that responded. If an approved route is missing, the page labels the result as best available and names the missing provider so you can refresh before relying on it.\\n\\n## Read The Result\\n\\n- **Rate** shows the estimated conversion for one input token.\\n- **Price impact** estimates how much the conversion may move the market price.\\n- **Minimum received** reflects the quote protection selected by the site.\\n- **Available routes** lets you compare the responding providers.\\n- **Updated** tells you when the estimate was received.\\n\\nQuotes can change quickly. Refresh the estimate before using it to make a decision.\\n\\n## If A Quote Does Not Load\\n\\nCheck the amount and token pair, then retry. A provider may be temporarily unavailable even when another provider is working. If no provider returns an estimate, use the Quote Preview Support form and include the token symbols and approximate amount. Never send a seed phrase, private key, password, one-time code, or API key.\\n\",\n\t\"metadata.docs.walletSafety.displayName\": \"Wallet Safety For Future Trade Actions\",\n\t\"metadata.docs.walletSafety.title\": \"Wallet Safety For Future Trade Actions\",\n\t\"metadata.docs.walletSafety.excerpt\": \"Internal compatibility guidance for a future documented wallet-signing integration.\",\n\t\"metadata.docs.walletSafety.navLabel\": \"Wallet Safety\",\n\t\"metadata.docs.walletSafety.bodyMarkdown\": \"# Wallet Safety For Future Trade Actions\\n\\nThis internal compatibility guide applies only if this site later connects a documented wallet identity and signing integration. The current public Cedros Trade quote preview does not move funds or request a signature.\\n\\n## Never Share\\n\\n- Seed phrases\\n- Private keys\\n- Passwords\\n- One-time codes\\n- API keys\\n- Card numbers or wallet recovery material\\n\\n## Review Before Signing\\n\\n- The connected wallet is the intended wallet.\\n- The token mint and symbol match what you expect.\\n- The amount, slippage, and recipient are correct.\\n- The transaction source is trusted by your site.\\n\\n## Support Notes\\n\\nA public wallet address or transaction signature may help authorized support investigate a future transaction issue. Never send private credentials through forms, chat, email, or docs comments.\\n\",\n\t\"metadata.onboarding.reviewReadiness.displayName\": \"Check quote readiness\",\n\t\"metadata.onboarding.reviewReadiness.description\": \"Confirm that the public runtime, token policy, and every enabled provider can complete the same real comparison quote.\",\n\t\"metadata.onboarding.configureProviders.displayName\": \"Review quote providers\",\n\t\"metadata.onboarding.configureProviders.description\": \"Keep only approved provider routes enabled and resolve any upstream access failure.\",\n\t\"metadata.onboarding.reviewTokenRegistry.displayName\": \"Review quote tokens\",\n\t\"metadata.onboarding.reviewTokenRegistry.description\": \"Confirm the token pairs visitors may compare on the public quote page.\",\n\t\"metadata.onboarding.configureSettings.displayName\": \"Review quote protection\",\n\t\"metadata.onboarding.configureSettings.description\": \"Accept the 0.3% default or choose a site-specific exception before publishing.\",\n\t\"metadata.onboarding.verifyMonitor.displayName\": \"Optional: review future automation\",\n\t\"metadata.onboarding.verifyMonitor.description\": \"Inspect the preserved dry-run monitor only when evaluating a future documented wallet-signing integration; it is not required for quote launch.\",\n\t\"metadata.analytics.swapBuilt.displayName\": \"Swap Built\",\n\t\"metadata.analytics.swapBuilt.description\": \"Counts successful swap preparation attempts before wallet signing, including visitor-approved external wallets.\",\n\t\"metadata.analytics.quotePreviewed.displayName\": \"Quote Previewed\",\n\t\"metadata.analytics.quotePreviewed.description\": \"Counts completed public quote comparisons using redacted token, amount, slippage, and provider metadata.\",\n\t\"metadata.analytics.swapBuildFailed.displayName\": \"Swap Build Failed\",\n\t\"metadata.analytics.swapBuildFailed.description\": \"Counts failed swap transaction build attempts using redacted provider and bucket metadata.\",\n\t\"metadata.analytics.swapExecutionRecorded.displayName\": \"Swap Execution Recorded\",\n\t\"metadata.analytics.swapExecutionRecorded.description\": \"Counts confirmed or failed execute-response observations without signatures; repeated observations are not unique settled transactions.\",\n\t\"metadata.analytics.transferBuilt.displayName\": \"Transfer Built\",\n\t\"metadata.analytics.transferBuilt.description\": \"Counts successful SOL or SPL transfer transaction builds before a documented wallet signing handoff.\",\n\t\"metadata.analytics.orderSubmitted.displayName\": \"Order Submitted\",\n\t\"metadata.analytics.orderSubmitted.description\": \"Counts accepted smart or monitored order submissions after validation.\",\n\t\"metadata.analytics.tradeWorkflowBlocked.displayName\": \"Trade Workflow Blocked\",\n\t\"metadata.analytics.tradeWorkflowBlocked.description\": \"Counts transfer, order, or orderbook workflows blocked by missing host contracts.\",\n\t\"metadata.analytics.adminActionCompleted.displayName\": \"Admin Action Completed\",\n\t\"metadata.analytics.adminActionCompleted.description\": \"Counts completed provider, token registry, settings, and monitor actions in the admin module.\",\n\t\"metadata.analytics.monitorRunRecorded.displayName\": \"Monitor Run Recorded\",\n\t\"metadata.analytics.monitorRunRecorded.description\": \"Counts price monitor job run outcomes using redacted aggregate status metadata.\"\n};\n// src/i18n/core.ts\nfunction N(e = {}) {\n\tlet t = xe(e.locale), n = e.currency || \"USD\", r = e.priceCurrency || \"USD\", i = e.exchangeRates, a = {\n\t\t...M,\n\t\t...e.messages\n\t}, o = new Intl.PluralRules(t), s = (e) => a[e] ?? M[e];\n\treturn {\n\t\tlocale: t,\n\t\ttimeZone: e.timeZone,\n\t\tcurrency: n,\n\t\tmessages: a,\n\t\tt: (e, t) => {\n\t\t\tlet n = s(e);\n\t\t\treturn n === void 0 ? e : Te(n, t);\n\t\t},\n\t\ttn: (e, n, r) => {\n\t\t\tlet i = `${e}.${o.select(n)}`, c = a[i] ?? s(e);\n\t\t\treturn c === void 0 ? e : Te(c, {\n\t\t\t\t...r,\n\t\t\t\tcount: R(t, n)\n\t\t\t});\n\t\t},\n\t\ttEnum: (e, t, n) => {\n\t\t\tif (t == null || t === \"\") return n ?? \"\";\n\t\t\tlet r = `${e}.${De(t)}`;\n\t\t\treturn s(r) ?? n ?? Oe(t);\n\t\t},\n\t\ttParts: (e) => Ee(s(e) ?? e),\n\t\tformatNumber: (e, n) => R(t, e, n),\n\t\tformatCurrency: (e, a) => ke(t, n, r, i, e, a),\n\t\tformatPercent: (e, n) => Ae(t, e, n),\n\t\tformatCompact: (e, n) => je(t, e, n),\n\t\tformatList: (e, n) => Me(t, e, n),\n\t\tformatDate: (n, r) => Ne(t, e.timeZone, n, r),\n\t\tformatTime: (n, r) => Pe(t, e.timeZone, n, r),\n\t\tparseNumber: (e) => ye(e, t),\n\t\tnormalizeDecimal: (e) => P(e, t)\n\t};\n}\nfunction ve(e, t) {\n\treturn {\n\t\t...e,\n\t\t...t,\n\t\tmessages: {\n\t\t\t...e?.messages,\n\t\t\t...t?.messages\n\t\t}\n\t};\n}\nfunction P(e, t = \"en-US\") {\n\tlet n = Ie(e.trim(), t), { decimal: r, groups: i } = Fe(t), a = r !== \".\" && !n.includes(r) && !i.includes(\".\") ? \".\" : r, o = n.split(a);\n\tif (o.length > 2) return \"\";\n\tlet s = o[0], c = o[1];\n\tif (c !== void 0 && !/^\\d*$/.test(c)) return \"\";\n\tlet l = s.startsWith(\"-\");\n\tl && (s = s.slice(1));\n\tfor (let e of i) {\n\t\tlet t = /\\s/u.test(e) ? [\n\t\t\te,\n\t\t\t\" \",\n\t\t\t\"\\xA0\",\n\t\t\t\" \"\n\t\t] : [e];\n\t\tfor (let e of t) s = s.split(e).join(\"|\");\n\t}\n\tlet u = s.split(\"|\");\n\tif (!u.every((e) => /^\\d+$/.test(e))) return \"\";\n\tif (u.length > 1) {\n\t\tlet e = new Intl.NumberFormat(t).formatToParts(123456789012345n).filter((e) => e.type === \"integer\").map((e) => Array.from(e.value).length), n = e[e.length - 1], r = e[e.length - 2] ?? n;\n\t\tif (u[u.length - 1].length !== n || u[0].length > r || u.slice(1, -1).some((e) => e.length !== r)) return \"\";\n\t}\n\treturn `${l ? \"-\" : \"\"}${u.join(\"\")}${c === void 0 ? \"\" : `.${c}`}`;\n}\nfunction ye(e, t = \"en-US\") {\n\tlet n = P(e, t);\n\tif (!/^-?\\d+(\\.\\d+)?$/.test(n)) return null;\n\tlet r = Number(n);\n\treturn Number.isFinite(r) ? r : null;\n}\nfunction F(e, t, n = \"en-US\", r = 4) {\n\tif (!/^\\d+$/.test(e) || !I(t) || !I(r)) return e;\n\tlet i = Math.min(t, r), a = t - i, o = 10n ** BigInt(a), s = BigInt(e), c = o === 1n ? s : (s + o / 2n) / o;\n\treturn s > 0n && c === 0n ? L(s, t, n) : L(c, i, n);\n}\nfunction be(e, t, n, r, i = \"en-US\", a = 6) {\n\tif (!/^\\d+$/.test(e) || !/^\\d+$/.test(n) || !I(t) || !I(r) || !I(a)) return null;\n\tlet o = BigInt(n);\n\tif (o === 0n) return null;\n\tlet s = BigInt(e) * 10n ** BigInt(r + a), c = o * 10n ** BigInt(t), l = (s + c / 2n) / c;\n\treturn BigInt(e) > 0n && l === 0n ? `<${L(1n, a, i)}` : L(l, a, i);\n}\nfunction xe(e) {\n\ttry {\n\t\treturn Intl.getCanonicalLocales(e || Ce())[0] || \"en-US\";\n\t} catch {\n\t\treturn \"en-US\";\n\t}\n}\nfunction I(e) {\n\treturn Number.isInteger(e) && e >= 0 && e <= 30;\n}\nfunction L(e, t, n) {\n\tlet r = 10n ** BigInt(t), i = t === 0 ? e : e / r, a = t === 0 ? \"\" : (e % r).toString().padStart(t, \"0\").replace(/0+$/, \"\"), o = new Intl.NumberFormat(n, {\n\t\tuseGrouping: !0,\n\t\tmaximumFractionDigits: 0\n\t}).format(i);\n\treturn a ? `${o}${new Intl.NumberFormat(n, {\n\t\tuseGrouping: !1,\n\t\tminimumFractionDigits: 1\n\t}).formatToParts(1.1).find((e) => e.type === \"decimal\")?.value ?? \".\"}${Se(a, n)}` : o;\n}\nfunction Se(e, t) {\n\tlet n = new Intl.NumberFormat(t, { useGrouping: !1 }), r = Array.from({ length: 10 }, (e, t) => n.format(t));\n\treturn e.replace(/\\d/g, (e) => r[Number(e)]);\n}\nfunction Ce() {\n\treturn typeof navigator < \"u\" && navigator.language ? navigator.language : \"en-US\";\n}\nvar we = /\\{([a-zA-Z0-9_]+)\\}/g;\nfunction Te(e, t) {\n\treturn e == null ? \"\" : t ? e.replace(we, (e, n) => {\n\t\tlet r = t[n];\n\t\treturn r == null ? \"\" : String(r);\n\t}) : e;\n}\nfunction Ee(e) {\n\tlet t = [], n = 0;\n\tfor (let r of e.matchAll(we)) {\n\t\tlet i = r.index ?? 0;\n\t\ti > n && t.push({\n\t\t\ttype: \"text\",\n\t\t\tvalue: e.slice(n, i)\n\t\t}), t.push({\n\t\t\ttype: \"arg\",\n\t\t\tname: r[1]\n\t\t}), n = i + r[0].length;\n\t}\n\treturn n < e.length && t.push({\n\t\ttype: \"text\",\n\t\tvalue: e.slice(n)\n\t}), t;\n}\nfunction De(e) {\n\treturn e.trim().replace(/[-_\\s]+([a-zA-Z0-9])/g, (e, t) => t.toUpperCase()).replace(/[-_\\s]+/g, \"\");\n}\nfunction Oe(e) {\n\treturn e.replace(/[-_]+/g, \" \").trim();\n}\nfunction R(e, t, n) {\n\tlet r = typeof t == \"number\" ? t : Number(t);\n\treturn Number.isFinite(r) ? new Intl.NumberFormat(e, n).format(r) : String(t);\n}\nfunction ke(e, t, n, r, i, a) {\n\tlet o = typeof i == \"number\" ? i : Number(i);\n\tif (!Number.isFinite(o)) return String(i);\n\tlet { currency: s, ...c } = a ?? {}, l = s || t, u = o, d = l;\n\tif (l !== n) {\n\t\tlet e = r?.[l];\n\t\te != null && Number.isFinite(e) ? u = o * e : d = n;\n\t}\n\treturn new Intl.NumberFormat(e, {\n\t\tstyle: \"currency\",\n\t\tcurrency: d,\n\t\t...c\n\t}).format(u);\n}\nfunction Ae(e, t, n) {\n\tlet r = typeof t == \"number\" ? t : Number(t);\n\tif (!Number.isFinite(r)) return String(t);\n\tlet i = n?.valueIsFraction ? r : r / 100, { valueIsFraction: a, ...o } = n ?? {};\n\treturn new Intl.NumberFormat(e, {\n\t\tstyle: \"percent\",\n\t\t...o\n\t}).format(i);\n}\nfunction je(e, t, n) {\n\treturn R(e, t, {\n\t\tnotation: \"compact\",\n\t\tmaximumFractionDigits: 1,\n\t\t...n\n\t});\n}\nfunction Me(e, t, n) {\n\treturn new Intl.ListFormat(e, n).format(t);\n}\nfunction Ne(e, t, n, r) {\n\tlet i = new Date(n);\n\treturn Number.isNaN(i.getTime()) ? String(n) : new Intl.DateTimeFormat(e, {\n\t\ttimeZone: t,\n\t\t...r\n\t}).format(i);\n}\nfunction Pe(e, t, n, r) {\n\treturn Ne(e, t, n, {\n\t\thour: \"numeric\",\n\t\tminute: \"2-digit\",\n\t\t...r\n\t});\n}\nfunction Fe(e) {\n\tlet t = new Intl.NumberFormat(e).formatToParts(12345.6), n = t.find((e) => e.type === \"decimal\")?.value ?? \".\", r = new Set(t.filter((e) => e.type === \"group\").map((e) => e.value));\n\treturn n !== \",\" && r.add(\",\"), {\n\t\tdecimal: n,\n\t\tgroups: Array.from(r)\n\t};\n}\nfunction Ie(e, t) {\n\tlet n = new Intl.NumberFormat(t, { useGrouping: !1 }).format(9876543210), r = new Map([...n].map((e, t) => [e, String(9 - t)]));\n\treturn [...e].map((e) => r.get(e) ?? e).join(\"\");\n}\n// src/i18n/I18nProvider.tsx\nvar Le = N(), Re = t(Le);\nfunction ze({ children: e, locale: t, timeZone: n, currency: r, priceCurrency: i, exchangeRates: a, messages: s }) {\n\tlet c = o(() => N({\n\t\tlocale: t,\n\t\ttimeZone: n,\n\t\tcurrency: r,\n\t\tpriceCurrency: i,\n\t\texchangeRates: a,\n\t\tmessages: s\n\t}), [\n\t\tr,\n\t\ta,\n\t\tt,\n\t\ts,\n\t\ti,\n\t\tn\n\t]);\n\treturn /* @__PURE__ */ u(Re.Provider, {\n\t\tvalue: c,\n\t\tchildren: e\n\t});\n}\nfunction Be() {\n\treturn r(Re);\n}\n// src/components/shared/NativeMotion.tsx\nvar z = t({\n\tisPresent: !0,\n\tcomplete: () => {}\n});\nfunction Ve({ children: e }) {\n\tlet t = typeof e == \"boolean\" ? null : e, [r, i] = c(t), o = s(t);\n\to.current = t;\n\tlet l = r !== null && (t === null || r.key !== t.key);\n\ta(() => {\n\t\tl || i(t);\n\t}, [t, l]);\n\tlet d = n(() => i(o.current), []);\n\treturn /* @__PURE__ */ u(z.Provider, {\n\t\tvalue: {\n\t\t\tisPresent: !l,\n\t\t\tcomplete: d\n\t\t},\n\t\tchildren: l ? r : t\n\t});\n}\nfunction B() {\n\treturn r(z).isPresent;\n}\nfunction V() {\n\tlet [e, t] = c(() => typeof window < \"u\" && typeof window.matchMedia == \"function\" && window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches);\n\treturn i(() => {\n\t\tif (typeof window > \"u\" || typeof window.matchMedia != \"function\") return;\n\t\tlet e = window.matchMedia(\"(prefers-reduced-motion: reduce)\"), n = () => t(e.matches);\n\t\treturn n(), e.addEventListener(\"change\", n), () => e.removeEventListener(\"change\", n);\n\t}, []), e;\n}\nfunction He(e, { enter: t, exit: n, duration: i = 180, easing: o = \"cubic-bezier(0.16, 1, 0.3, 1)\", removeOnExit: s = !1 }) {\n\tlet { isPresent: c, complete: l } = r(z), u = V(), d = JSON.stringify(t), f = JSON.stringify(n);\n\ta(() => {\n\t\tlet t = e.current;\n\t\tif (!t) return;\n\t\tif (!c && (u || i <= 0 || typeof t.animate != \"function\")) {\n\t\t\ts && l();\n\t\t\treturn;\n\t\t}\n\t\tlet n = c ? d ? JSON.parse(d) : void 0 : f ? [JSON.parse(f)] : void 0;\n\t\tif (!n || u || typeof t.animate != \"function\") return;\n\t\tlet r = t.animate(n, {\n\t\t\tduration: i,\n\t\t\teasing: o,\n\t\t\tfill: c ? \"backwards\" : \"forwards\"\n\t\t}), a = () => {\n\t\t\t!c && s && l();\n\t\t};\n\t\tr.onfinish = a;\n\t\tlet p = !c && s ? window.setTimeout(a, i + 100) : void 0;\n\t\treturn () => {\n\t\t\twindow.clearTimeout(p), r.onfinish = null, r.cancel();\n\t\t};\n\t}, [\n\t\te,\n\t\td,\n\t\tf,\n\t\ti,\n\t\to,\n\t\tc,\n\t\tl,\n\t\tu,\n\t\ts\n\t]);\n}\n// src/components/shared/MotionSystem.tsx\nvar Ue = {\n\ttype: \"spring\",\n\tstiffness: 520,\n\tdamping: 38,\n\tmass: .85\n}, We = {\n\ttype: \"spring\",\n\tstiffness: 410,\n\tdamping: 40,\n\tmass: .95\n}, Ge = {\n\ttype: \"spring\",\n\tstiffness: 460,\n\tdamping: 42,\n\tmass: .9\n};\nfunction Ke({ children: e }) {\n\treturn /* @__PURE__ */ u(l, { children: e });\n}\nfunction qe({ activeKey: e, order: t, children: n, className: r = \"\" }) {\n\tlet i = Math.max(0, t.indexOf(e)), o = s(i), c = i === o.current || i > o.current ? 1 : -1;\n\treturn a(() => {\n\t\to.current = i;\n\t}, [i]), /* @__PURE__ */ u(\"div\", {\n\t\tclassName: `ct-directional-panel ${r}`,\n\t\tchildren: /* @__PURE__ */ u(Ve, { children: /* @__PURE__ */ u(Je, {\n\t\t\tdirection: c,\n\t\t\tchildren: n\n\t\t}, e) })\n\t});\n}\nfunction Je({ direction: e, children: t }) {\n\tlet n = B(), r = V(), i = s(null), o = r ? 0 : 24;\n\treturn He(i, {\n\t\tenter: [{\n\t\t\topacity: 0,\n\t\t\ttransform: `translateX(${e * o}px)`\n\t\t}, {\n\t\t\topacity: 1,\n\t\t\ttransform: \"translateX(0)\"\n\t\t}],\n\t\texit: {\n\t\t\topacity: 0,\n\t\t\ttransform: `translateX(${e * -o}px)`\n\t\t},\n\t\tduration: 180,\n\t\tremoveOnExit: !0\n\t}), a(() => {\n\t\ti.current && (i.current.inert = !n);\n\t}, [n]), /* @__PURE__ */ u(\"div\", {\n\t\tref: i,\n\t\tclassName: \"ct-directional-panel__item\",\n\t\t\"aria-hidden\": !n || void 0,\n\t\tchildren: t\n\t});\n}\nfunction Ye({ open: e, children: t, id: n, className: r = \"\" }) {\n\tlet i = s(null);\n\treturn a(() => {\n\t\ti.current && (i.current.inert = !e);\n\t}, [e]), /* @__PURE__ */ u(\"div\", {\n\t\tref: i,\n\t\tid: n,\n\t\tclassName: `ct-collapsible ${e ? \"ct-collapsible--open\" : \"\"} ${r}`,\n\t\t\"aria-hidden\": !e || void 0,\n\t\tchildren: /* @__PURE__ */ u(\"div\", {\n\t\t\tclassName: \"ct-collapsible__inner\",\n\t\t\tchildren: t\n\t\t})\n\t});\n}\nfunction Xe({ axis: e = \"y\", ariaLabel: t, className: r = \"\", children: o, onScroll: l, ...d }) {\n\tlet f = s(null), [p, m] = c({\n\t\tstart: !0,\n\t\tend: !0\n\t}), h = n(() => {\n\t\tlet t = f.current;\n\t\tif (!t) return;\n\t\tlet n = e === \"x\", r = n ? t.scrollLeft : t.scrollTop, i = n ? t.clientWidth : t.clientHeight;\n\t\tt.style.setProperty(\"--ct-scroll-viewport-size\", `${i}px`);\n\t\tlet a = n ? t.scrollWidth : t.scrollHeight, o = Math.max(0, a - i);\n\t\tm({\n\t\t\tstart: r <= 1,\n\t\t\tend: r >= o - 1\n\t\t});\n\t}, [e]);\n\treturn a(() => {\n\t\th();\n\t\tlet e = f.current;\n\t\tif (!e || typeof ResizeObserver > \"u\") return;\n\t\tlet t = new ResizeObserver(h);\n\t\treturn t.observe(e), e.firstElementChild && t.observe(e.firstElementChild), () => t.disconnect();\n\t}, [o, h]), i(() => {\n\t\tlet e = () => h();\n\t\treturn window.addEventListener(\"resize\", e), () => window.removeEventListener(\"resize\", e);\n\t}, [h]), /* @__PURE__ */ u(\"div\", {\n\t\tref: f,\n\t\t...d,\n\t\trole: t ? \"region\" : d.role,\n\t\t\"aria-label\": t,\n\t\ttabIndex: t ? 0 : d.tabIndex,\n\t\t\"data-scroll-axis\": e,\n\t\t\"data-scroll-start\": p.start ? \"true\" : \"false\",\n\t\t\"data-scroll-end\": p.end ? \"true\" : \"false\",\n\t\tclassName: `ct-scroll-boundary ${t ? \"ct-focusable\" : \"\"} ${r}`,\n\t\tonScroll: (e) => {\n\t\t\th(), l?.(e);\n\t\t},\n\t\tchildren: o\n\t});\n}\nfunction Ze(e) {\n\tlet [t, n] = c(!1);\n\treturn i(() => {\n\t\tif (typeof window > \"u\" || typeof window.matchMedia != \"function\") return;\n\t\tlet t = window.matchMedia(e), r = () => n(t.matches);\n\t\treturn r(), t.addEventListener?.(\"change\", r), () => t.removeEventListener?.(\"change\", r);\n\t}, [e]), t;\n}\nvar Qe = e.forwardRef(function({ className: e = \"\", motionClassName: t = \"\", ...n }, r) {\n\tlet i = e.split(/\\s+/).filter((e) => e && e !== \"ct-pressable\").join(\" \");\n\treturn /* @__PURE__ */ u(\"button\", {\n\t\tref: r,\n\t\t...n,\n\t\tclassName: `ct-motion-pressable ${t} ${i}`\n\t});\n}), H = {\n\tBAD_REQUEST: \"errors.badRequest\",\n\tCOINGECKO_ERROR: \"errors.provider\",\n\tCONFIG_ERROR: \"errors.config\",\n\tINDEXER_NOT_CONFIGURED: \"errors.indexerNotConfigured\",\n\tINVALID_AMOUNT: \"errors.invalidAmount\",\n\tINVALID_MINT: \"errors.invalidMint\",\n\tNO_PROVIDERS_AVAILABLE: \"errors.noProviders\",\n\tPROVIDER_ERROR: \"errors.provider\",\n\tRATE_LIMITED: \"errors.rateLimited\",\n\tRPC_ERROR: \"errors.rpc\",\n\tTOKEN_NOT_FOUND: \"errors.tokenNotFound\",\n\tUNAUTHORIZED: \"errors.unauthorized\",\n\tUPSTREAM_TIMEOUT: \"errors.upstreamTimeout\"\n};\nfunction $e(e, t) {\n\tif (e instanceof E) return t.t(U(e) ?? \"errors.requestFailed\");\n\tlet n = U(e);\n\treturn n ? t.t(n) : e instanceof Error && e.message ? e.message : t.t(\"errors.requestFailed\");\n}\nfunction U(e) {\n\tif (e instanceof E) return H[e.code] ?? et(e.status);\n\tif (typeof e == \"object\" && e) {\n\t\tlet t = \"code\" in e && typeof e.code == \"string\" ? e.code : null, n = \"status\" in e && typeof e.status == \"number\" ? e.status : null;\n\t\tif (t && H[t]) return H[t];\n\t\tif (n) return et(n);\n\t}\n\treturn null;\n}\nfunction et(e) {\n\treturn e === 409 ? \"admin.settings.changed\" : e === 401 || e === 403 ? \"errors.unauthorized\" : e === 429 ? \"errors.rateLimited\" : e >= 400 && e < 500 ? \"errors.badRequest\" : e >= 500 ? \"errors.provider\" : null;\n}\n// src/utils/asyncResourceCache.ts\nvar tt = 128, nt = 3e5, W = /* @__PURE__ */ new Map(), G = /* @__PURE__ */ new Map(), K;\nfunction q() {\n\tif (clearTimeout(K), K = void 0, W.size === 0) return;\n\tlet e = Math.min(...Array.from(W.values(), (e) => e.expiresAt));\n\tK = setTimeout(() => {\n\t\tlet e = Date.now();\n\t\tfor (let [t, n] of W) n.expiresAt <= e && W.delete(t);\n\t\tq();\n\t}, Math.max(0, e - Date.now()));\n}\nfunction rt(e, t) {\n\tlet n = W.get(e);\n\tif (n) {\n\t\tif (Date.now() >= n.expiresAt || Date.now() - n.updatedAt > t) W.delete(e), q();\n\t\telse return W.delete(e), W.set(e, n), n.data;\n\t}\n}\nfunction it(e, t = !1) {\n\tt && (G.get(e)?.controller.abort(), G.delete(e)), W.delete(e), q();\n}\nfunction at(e, t, n) {\n\tlet r = G.get(e);\n\tif (!r) {\n\t\tlet i = new AbortController(), a = /* @__PURE__ */ new Set(), o, s = (async () => (i.signal.throwIfAborted(), t(i.signal)))();\n\t\tr = {\n\t\t\tcontroller: i,\n\t\t\tconsumers: a,\n\t\t\tpromise: new Promise((e, t) => {\n\t\t\t\to = () => t(new DOMException(\"Resource canceled\", \"AbortError\")), i.signal.addEventListener(\"abort\", o, { once: !0 }), s.then(e, t);\n\t\t\t}).finally(() => {\n\t\t\t\ti.signal.removeEventListener(\"abort\", o);\n\t\t\t}).then((t) => {\n\t\t\t\tif (!i.signal.aborted && G.get(e)?.controller === i) {\n\t\t\t\t\tlet r = Date.now(), i = Math.min(Math.max(0, n), nt);\n\t\t\t\t\tif (i > 0) {\n\t\t\t\t\t\tfor (W.delete(e), W.set(e, {\n\t\t\t\t\t\t\tdata: t,\n\t\t\t\t\t\t\tupdatedAt: r,\n\t\t\t\t\t\t\texpiresAt: r + i\n\t\t\t\t\t\t}); W.size > tt;) {\n\t\t\t\t\t\t\tlet e = W.keys().next();\n\t\t\t\t\t\t\tif (e.done) break;\n\t\t\t\t\t\t\tW.delete(e.value);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tq();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn t;\n\t\t\t}).finally(() => {\n\t\t\t\tG.get(e)?.controller === i && G.delete(e);\n\t\t\t})\n\t\t}, G.set(e, r);\n\t}\n\tlet i = Symbol();\n\tr.consumers.add(i);\n\tlet a = r;\n\treturn {\n\t\tpromise: a.promise,\n\t\tsignal: a.controller.signal,\n\t\trelease() {\n\t\t\ta.consumers.delete(i), a.consumers.size === 0 && G.get(e) === a && (a.controller.abort(), G.delete(e));\n\t\t}\n\t};\n}\n// src/utils/useAsyncResource.ts\nvar ot = 3e4, st = /* @__PURE__ */ new WeakMap(), ct = 1;\nfunction lt({ key: e, load: t, initialData: r, cacheTimeMs: a = ot, pollMs: o, mapError: l }) {\n\tlet u = e ? ft(e) : null, d = ut(u, a, r), [f, p] = c({\n\t\tkey: u,\n\t\tdata: d.data\n\t}), [m, h] = c(d.isLoading), [g, _] = c(null), v = s(0), y = s(null), b = s(null), x = s(r);\n\tx.current = r;\n\tlet S = s(t), C = s(l);\n\tS.current = t, C.current = l;\n\tlet w = n(async (e) => {\n\t\tif (!u) {\n\t\t\tp({\n\t\t\t\tkey: u,\n\t\t\t\tdata: x.current\n\t\t\t}), h(!1), _(null);\n\t\t\treturn;\n\t\t}\n\t\tif (!e?.force) {\n\t\t\tlet e = dt(u, a);\n\t\t\tif (e !== void 0) {\n\t\t\t\tp({\n\t\t\t\t\tkey: u,\n\t\t\t\t\tdata: e\n\t\t\t\t}), h(!1), _(null);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tif (b.current && !e?.force && !e?.throwOnError) return b.current.catch(() => void 0);\n\t\te?.force && it(u, !0);\n\t\tlet t = v.current + 1;\n\t\tv.current = t, y.current?.();\n\t\tlet n = at(u, S.current, a);\n\t\ty.current = n.release, p((e) => e.key === u ? e : {\n\t\t\tkey: u,\n\t\t\tdata: x.current\n\t\t}), h(!0), _(null);\n\t\tlet r = (async () => {\n\t\t\ttry {\n\t\t\t\tlet r = await n.promise;\n\t\t\t\tif (v.current !== t || n.signal.aborted) {\n\t\t\t\t\tif (e?.throwOnError) throw new DOMException(\"Resource canceled\", \"AbortError\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tp({\n\t\t\t\t\tkey: u,\n\t\t\t\t\tdata: r\n\t\t\t\t});\n\t\t\t} catch (r) {\n\t\t\t\tif (v.current === t && !n.signal.aborted && _(C.current?.(r) ?? (r instanceof Error ? r.message : \"Request failed\")), e?.throwOnError) throw r;\n\t\t\t} finally {\n\t\t\t\tn.release(), v.current === t && (b.current = null, h(!1));\n\t\t\t}\n\t\t})();\n\t\treturn b.current = r, r;\n\t}, [u, a]);\n\treturn i(() => (w(), () => {\n\t\tv.current += 1, y.current?.(), b.current = null;\n\t}), [w]), i(() => {\n\t\tif (!u || !o) return;\n\t\tlet e = !1, t, n = async () => {\n\t\t\tit(u), await w(), e || (t = setTimeout(() => void n(), o));\n\t\t};\n\t\treturn t = setTimeout(() => void n(), o), () => {\n\t\t\te = !0, clearTimeout(t);\n\t\t};\n\t}, [\n\t\tu,\n\t\to,\n\t\tw\n\t]), {\n\t\tdata: f.key === u ? f.data : d.data,\n\t\tisLoading: f.key === u ? m : d.isLoading,\n\t\terror: f.key === u ? g : null,\n\t\trefresh: w\n\t};\n}\nfunction ut(e, t, n) {\n\tlet r = e ? dt(e, t) : void 0;\n\treturn {\n\t\tdata: r ?? n,\n\t\tisLoading: e !== null && r === void 0\n\t};\n}\nfunction dt(e, t) {\n\treturn rt(e, t);\n}\nfunction ft(e) {\n\treturn JSON.stringify(e.map(pt));\n}\nfunction pt(e) {\n\tif (e === null) return \"null\";\n\tif (e === void 0) return \"undefined\";\n\tif (typeof e == \"object\" || typeof e == \"function\") {\n\t\tlet t = st.get(e);\n\t\treturn t || (t = ct, ct += 1, st.set(e, t)), `ref:${t}`;\n\t}\n\treturn `${typeof e}:${String(e)}`;\n}\n// src/components/shared/TokenAvatar.tsx\nfunction mt({ token: e, className: t = \"\" }) {\n\tlet [n, r] = c(null), [i, a] = c(null), o = !!(e.logoUrl && i === e.logoUrl && n !== e.logoUrl), s = Array.from(e.symbol.trim()).slice(0, 2).join(\"\").toUpperCase() || \"·\";\n\treturn /* @__PURE__ */ d(\"span\", {\n\t\tclassName: `ct-token-avatar ct:relative ct:flex ct:shrink-0 ct:items-center ct:justify-center ct:overflow-hidden ct:rounded-full ct:font-semibold ${t}`,\n\t\t\"aria-hidden\": \"true\",\n\t\tchildren: [!o && /* @__PURE__ */ u(\"span\", {\n\t\t\tclassName: \"ct-token-monogram\",\n\t\t\t\"data-monogram\": s\n\t\t}), e.logoUrl && n !== e.logoUrl && /* @__PURE__ */ u(\"img\", {\n\t\t\tsrc: e.logoUrl,\n\t\t\talt: \"\",\n\t\t\tclassName: `ct:absolute ct:inset-0 ct:h-full ct:w-full ct:object-contain ${o ? \"\" : \"ct:opacity-0\"}`,\n\t\t\tonLoad: () => a(e.logoUrl ?? null),\n\t\t\tonError: () => r(e.logoUrl ?? null)\n\t\t})]\n\t});\n}\n// src/components/shared/VisualPrimitives.tsx\nfunction ht(e) {\n\tif (typeof e == \"number\") return !Number.isFinite(e) || Math.abs(e) > 2 ** 53 - 1 ? null : {\n\t\tprefix: \"\",\n\t\tsuffix: \"\",\n\t\tvalue: e,\n\t\tfractionDigits: Y(String(e))\n\t};\n\tlet t = e.match(/[-+]?\\d[\\d,]*(?:\\.\\d+)?/);\n\tif (!t) return null;\n\tlet n = Number(t[0].replace(/,/g, \"\"));\n\treturn !Number.isFinite(n) || Math.abs(n) > 2 ** 53 - 1 || Y(t[0]) > 20 ? null : {\n\t\tprefix: e.slice(0, t.index),\n\t\tsuffix: e.slice((t.index ?? 0) + t[0].length),\n\t\tvalue: n,\n\t\tfractionDigits: Y(t[0])\n\t};\n}\nfunction J(e, t) {\n\treturn `${e.prefix}${t.toLocaleString(void 0, {\n\t\tminimumFractionDigits: e.fractionDigits,\n\t\tmaximumFractionDigits: e.fractionDigits\n\t})}${e.suffix}`;\n}\nvar gt = V;\nfunction _t({ value: e, className: t = \"\", durationMs: n = 900 }) {\n\tlet r = gt(), a = o(() => {\n\t\tlet t = ht(e);\n\t\treturn t && typeof e == \"string\" && J(t, t.value) !== e ? null : t;\n\t}, [e]), f = String(e), [p, m] = c(() => a ? J(a, 0) : f), h = s(null), g = s(0), [_, v] = c(() => typeof IntersectionObserver > \"u\");\n\treturn i(() => {\n\t\tif (_ || typeof IntersectionObserver > \"u\") return;\n\t\tlet e = h.current;\n\t\tif (!e) return;\n\t\tlet t = new IntersectionObserver((e) => {\n\t\t\te.some((e) => e.isIntersecting) && (v(!0), t.disconnect());\n\t\t}, { threshold: .2 });\n\t\treturn t.observe(e), () => t.disconnect();\n\t}, [_]), i(() => {\n\t\tif (!a || r || !Number.isFinite(n) || n <= 0) {\n\t\t\tg.current = a?.value ?? 0, m(f);\n\t\t\treturn;\n\t\t}\n\t\tif (!_) return;\n\t\tlet e = g.current, t = performance.now(), i, o = (r) => {\n\t\t\tlet s = Math.min(1, Math.max(0, (r - t) / n)), c = 1 - (1 - s) ** 3;\n\t\t\tg.current = e + (a.value - e) * c, m(s === 1 ? f : J(a, g.current)), s < 1 && (i = requestAnimationFrame(o));\n\t\t};\n\t\treturn i = requestAnimationFrame(o), () => cancelAnimationFrame(i);\n\t}, [\n\t\tn,\n\t\tf,\n\t\t_,\n\t\ta,\n\t\tr\n\t]), /* @__PURE__ */ u(\"span\", {\n\t\tref: h,\n\t\tclassName: t,\n\t\tchildren: a ? /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(\"span\", {\n\t\t\tclassName: \"ct:sr-only\",\n\t\t\tchildren: f\n\t\t}), /* @__PURE__ */ u(\"span\", {\n\t\t\t\"aria-hidden\": \"true\",\n\t\t\tchildren: p\n\t\t})] }) : f\n\t});\n}\nfunction vt({ children: e, className: t = \"\" }) {\n\tlet n = typeof e == \"string\" || typeof e == \"number\" ? String(e) : void 0;\n\treturn /* @__PURE__ */ u(\"span\", {\n\t\tclassName: `ct-rolling-label ${t}`,\n\t\t\"aria-live\": \"polite\",\n\t\tchildren: /* @__PURE__ */ u(\"span\", {\n\t\t\tclassName: \"ct-rolling-label__text\",\n\t\t\tchildren: e\n\t\t}, n ?? \"node\")\n\t});\n}\nfunction yt({ className: e = \"\", tone: t = \"default\" }) {\n\treturn /* @__PURE__ */ u(\"div\", {\n\t\tclassName: `ct-empty-visual ${e}`,\n\t\tstyle: xt(t),\n\t\t\"aria-hidden\": \"true\"\n\t});\n}\nfunction bt({ tone: e = \"default\", pulse: t = !1, className: n = \"\" }) {\n\treturn /* @__PURE__ */ u(\"span\", {\n\t\tclassName: `ct-status-dot ${t ? \"ct-status-dot--pulse\" : \"\"} ${St(e)} ${n}`,\n\t\t\"aria-hidden\": \"true\"\n\t});\n}\nfunction xt(e) {\n\treturn e === \"success\" ? {\n\t\t\"--ct-empty-accent\": \"var(--ct-success)\",\n\t\t\"--ct-empty-accent-2\": \"var(--ct-success)\"\n\t} : e === \"info\" ? {\n\t\t\"--ct-empty-accent\": \"var(--ct-info)\",\n\t\t\"--ct-empty-accent-2\": \"var(--ct-info)\"\n\t} : e === \"warning\" ? {\n\t\t\"--ct-empty-accent\": \"var(--ct-warning)\",\n\t\t\"--ct-empty-accent-2\": \"var(--ct-warning)\"\n\t} : {};\n}\nfunction Y(e) {\n\treturn e.includes(\".\") ? e.split(\".\")[1].length : 0;\n}\nfunction St(e) {\n\treturn e === \"success\" ? \"ct:text-(--ct-success)\" : e === \"warning\" ? \"ct:text-(--ct-warning)\" : e === \"danger\" ? \"ct:text-(--ct-destructive)\" : e === \"info\" ? \"ct:text-(--ct-info)\" : \"ct:text-(--ct-muted-foreground)\";\n}\n// src/components/shared/Icons.tsx\nfunction X({ className: e = \"ct:h-[1em] ct:w-[1em]\", title: t, strokeWidth: n = 2, children: r }) {\n\treturn /* @__PURE__ */ d(\"svg\", {\n\t\tviewBox: \"0 0 24 24\",\n\t\tfill: \"none\",\n\t\tstroke: \"currentColor\",\n\t\tstrokeWidth: n,\n\t\tstrokeLinecap: \"round\",\n\t\tstrokeLinejoin: \"round\",\n\t\tclassName: e,\n\t\t\"aria-hidden\": !t || void 0,\n\t\trole: t ? \"img\" : void 0,\n\t\tfocusable: \"false\",\n\t\tchildren: [t ? /* @__PURE__ */ u(\"title\", { children: t }) : null, r]\n\t});\n}\nfunction Ct(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M7 4v15\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"m3.5 7.5 3.5-3.5 3.5 3.5\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M17 20V5\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"m13.5 16.5 3.5 3.5 3.5-3.5\" })\n\t\t]\n\t});\n}\nfunction wt(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [/* @__PURE__ */ u(\"path\", { d: \"M6 6 18 18\" }), /* @__PURE__ */ u(\"path\", { d: \"M18 6 6 18\" })]\n\t});\n}\nfunction Tt(e) {\n\treturn /* @__PURE__ */ u(X, {\n\t\t...e,\n\t\tchildren: /* @__PURE__ */ u(\"path\", { d: \"M20 6 9 17l-5-5\" })\n\t});\n}\nfunction Et(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [/* @__PURE__ */ u(\"circle\", {\n\t\t\tcx: \"12\",\n\t\t\tcy: \"12\",\n\t\t\tr: \"9\"\n\t\t}), /* @__PURE__ */ u(\"path\", { d: \"m8.5 12 2.5 2.5 4.5-5\" })]\n\t});\n}\nfunction Dt(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0Z\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M12 9v4\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M12 17h.01\" })\n\t\t]\n\t});\n}\nfunction Ot(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ u(\"circle\", {\n\t\t\t\tcx: \"12\",\n\t\t\t\tcy: \"12\",\n\t\t\t\tr: \"9\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M12 11v5\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M12 8h.01\" })\n\t\t]\n\t});\n}\nfunction kt(e) {\n\treturn /* @__PURE__ */ u(X, {\n\t\t...e,\n\t\tchildren: /* @__PURE__ */ u(\"path\", { d: \"m6 9 6 6 6-6\" })\n\t});\n}\nfunction At(e) {\n\treturn /* @__PURE__ */ u(X, {\n\t\t...e,\n\t\tchildren: /* @__PURE__ */ u(\"path\", { d: \"m9 6 6 6-6 6\" })\n\t});\n}\nfunction jt(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [/* @__PURE__ */ u(\"circle\", {\n\t\t\tcx: \"11\",\n\t\t\tcy: \"11\",\n\t\t\tr: \"7\"\n\t\t}), /* @__PURE__ */ u(\"path\", { d: \"m20 20-3.2-3.2\" })]\n\t});\n}\nfunction Mt({ filled: e = !1, ...t }) {\n\treturn /* @__PURE__ */ u(X, {\n\t\t...t,\n\t\tchildren: /* @__PURE__ */ u(\"path\", {\n\t\t\td: \"M12 3.5l2.6 5.27 5.82.85-4.21 4.1.99 5.78L12 16.77 6.8 19.5l.99-5.78-4.21-4.1 5.82-.85L12 3.5Z\",\n\t\t\tfill: e ? \"currentColor\" : \"none\"\n\t\t})\n\t});\n}\nfunction Nt(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M3 8a2 2 0 0 1 2-2h12.5a1.5 1.5 0 0 1 1.5 1.5V8\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M3 8v9a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2H5a2 2 0 0 1-2-2Z\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M16.5 13.5h.01\" })\n\t\t]\n\t});\n}\nfunction Pt(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [/* @__PURE__ */ u(\"path\", { d: \"M3 17 9.5 10.5l3.5 3.5L21 6.5\" }), /* @__PURE__ */ u(\"path\", { d: \"M15 6.5h6v6\" })]\n\t});\n}\nfunction Ft(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [/* @__PURE__ */ u(\"path\", { d: \"M3 7 9.5 13.5l3.5-3.5L21 17.5\" }), /* @__PURE__ */ u(\"path\", { d: \"M15 17.5h6v-6\" })]\n\t});\n}\nfunction It(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M20 11a8 8 0 0 0-14.3-4.6L3 9\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M3 4v5h5\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M4 13a8 8 0 0 0 14.3 4.6L21 15\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M21 20v-5h-5\" })\n\t\t]\n\t});\n}\nfunction Lt(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [/* @__PURE__ */ u(\"rect\", {\n\t\t\tx: \"9\",\n\t\t\ty: \"9\",\n\t\t\twidth: \"11\",\n\t\t\theight: \"11\",\n\t\t\trx: \"2\"\n\t\t}), /* @__PURE__ */ u(\"path\", { d: \"M5 15a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2\" })]\n\t});\n}\nfunction Rt(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M4 7h10\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M18 7h2\" }),\n\t\t\t/* @__PURE__ */ u(\"circle\", {\n\t\t\t\tcx: \"16\",\n\t\t\t\tcy: \"7\",\n\t\t\t\tr: \"2\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M4 17h2\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M10 17h10\" }),\n\t\t\t/* @__PURE__ */ u(\"circle\", {\n\t\t\t\tcx: \"8\",\n\t\t\t\tcy: \"17\",\n\t\t\t\tr: \"2\"\n\t\t\t})\n\t\t]\n\t});\n}\nfunction zt(e) {\n\treturn /* @__PURE__ */ u(X, {\n\t\t...e,\n\t\tchildren: /* @__PURE__ */ u(\"path\", { d: \"M13 2 4.5 13.5H11l-1 8.5L19.5 10H13l0-8Z\" })\n\t});\n}\nfunction Bt(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M14 4h6v6\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M20 4 11 13\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M18 14v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4\" })\n\t\t]\n\t});\n}\nfunction Vt(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [/* @__PURE__ */ u(\"path\", { d: \"M12 3 5 6v5.5c0 4.2 2.9 7.6 7 9 4.1-1.4 7-4.8 7-9V6l-7-3Z\" }), /* @__PURE__ */ u(\"path\", { d: \"m9 11.5 2 2 4-4.5\" })]\n\t});\n}\nfunction Ht(e) {\n\treturn /* @__PURE__ */ u(X, {\n\t\t...e,\n\t\tchildren: /* @__PURE__ */ u(\"path\", { d: \"M3 12h3.5l2.5 7 4-15 2.5 8H21\" })\n\t});\n}\nfunction Ut(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ u(\"circle\", {\n\t\t\t\tcx: \"12\",\n\t\t\t\tcy: \"12\",\n\t\t\t\tr: \"8.5\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ u(\"circle\", {\n\t\t\t\tcx: \"12\",\n\t\t\t\tcy: \"12\",\n\t\t\t\tr: \"4.5\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ u(\"circle\", {\n\t\t\t\tcx: \"12\",\n\t\t\t\tcy: \"12\",\n\t\t\t\tr: \"1\",\n\t\t\t\tfill: \"currentColor\",\n\t\t\t\tstroke: \"none\"\n\t\t\t})\n\t\t]\n\t});\n}\nfunction Wt(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M8.2 3h7.6L21 8.2v7.6L15.8 21H8.2L3 15.8V8.2L8.2 3Z\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M12 8v4.5\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"M12 16h.01\" })\n\t\t]\n\t});\n}\nfunction Gt(e) {\n\treturn /* @__PURE__ */ d(X, {\n\t\t...e,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"m12 3 8.5 4.5L12 12 3.5 7.5 12 3Z\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"m4 12 8 4.3 8-4.3\" }),\n\t\t\t/* @__PURE__ */ u(\"path\", { d: \"m4 16.3 8 4.3 8-4.3\" })\n\t\t]\n\t});\n}\nfunction Kt({ className: e = \"ct:h-4 ct:w-4\" }) {\n\treturn /* @__PURE__ */ u(\"span\", {\n\t\tclassName: `ct-spinner ${e}`,\n\t\t\"aria-hidden\": \"true\"\n\t});\n}\nfunction qt({ icon: e, large: t = !1, className: n = \"\" }) {\n\treturn /* @__PURE__ */ u(\"span\", {\n\t\tclassName: `ct-icon-medallion ${t ? \"ct-icon-medallion-lg\" : \"\"} ${n}`,\n\t\t\"aria-hidden\": \"true\",\n\t\tchildren: /* @__PURE__ */ u(e, {\n\t\t\tclassName: t ? \"ct:h-7 ct:w-7\" : \"ct:h-5 ct:w-5\",\n\t\t\tstrokeWidth: 1.6\n\t\t})\n\t});\n}\n// src/components/shared/QuoteAmount.tsx\nfunction Jt({ atomic: e, decimals: t, symbol: n, align: r = \"end\" }) {\n\tlet i = Be(), a = F(e, t, i.locale, t), o = BigInt(e), s = 10n ** BigInt(t), c = o >= 1000000000n * s, l = o > 0n && t > 6 && o < 10n ** BigInt(t - 6);\n\tif (!c && !l && a.length <= 16) return /* @__PURE__ */ u(\"span\", {\n\t\tclassName: \"ct:block ct:min-w-0 ct:break-all\",\n\t\tchildren: a\n\t});\n\tlet f = c ? i.formatCompact(Number(o) / 10 ** t, { maximumFractionDigits: 2 }) : l ? i.formatNumber(Number(o) / 10 ** t, {\n\t\tnotation: \"scientific\",\n\t\tmaximumFractionDigits: 4\n\t}) : F(e, t, i.locale, o >= 1000000n * s ? 2 : o >= 1000n * s ? 4 : 6);\n\treturn /* @__PURE__ */ d(\"details\", {\n\t\tclassName: `ct-quote-amount ct:min-w-0 ct:w-full ${r === \"start\" ? \"ct:text-left\" : \"ct:text-right\"}`,\n\t\tchildren: [/* @__PURE__ */ d(\"summary\", {\n\t\t\tclassName: \"ct-focusable ct:cursor-pointer ct:min-h-11\",\n\t\t\tchildren: [\n\t\t\t\t\"≈\",\n\t\t\t\tf,\n\t\t\t\t/* @__PURE__ */ u(\"span\", {\n\t\t\t\t\tclassName: \"ct:block ct:text-xs ct:font-normal ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: /* @__PURE__ */ d(\"span\", {\n\t\t\t\t\t\tclassName: \"ct:inline-flex ct:items-center ct:gap-1\",\n\t\t\t\t\t\tchildren: [/* @__PURE__ */ u(kt, { className: \"ct-quote-amount__chevron ct:h-3 ct:w-3\" }), i.t(\"swap.exactAmount\")]\n\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t]\n\t\t}), /* @__PURE__ */ d(\"span\", {\n\t\t\tclassName: \"ct:mt-2 ct:block ct:break-all ct:text-sm\",\n\t\t\tchildren: [/* @__PURE__ */ u(\"span\", { children: a }), /* @__PURE__ */ d(\"span\", { children: [\" \", n] })]\n\t\t})]\n\t});\n}\n// src/components/shared/providerDisplayName.ts\nfunction Yt(e) {\n\treturn e.toLowerCase() === \"dflow\" ? \"DFlow\" : e.toLowerCase() === \"jupiter\" ? \"Jupiter\" : e;\n}\n// src/components/swap/quoteCoverage.ts\nvar Xt = 3e4;\nfunction Zt(e, t, n) {\n\treturn e === null ? \"none\" : t - e >= 3e4 ? \"stale\" : !n?.known || !n.complete ? \"partial\" : \"current\";\n}\nfunction Qt(e, t) {\n\tlet n = new Set(t.map((e) => Z(e.provider)).filter((e) => !!e));\n\tif (e === null) return {\n\t\tknown: !1,\n\t\tcomplete: !1,\n\t\texpectedCount: 0,\n\t\trespondedCount: n.size,\n\t\tmissingProviders: []\n\t};\n\tlet r = $t(e), i = r.filter((e) => {\n\t\tlet t = Z(e);\n\t\treturn t !== null && !n.has(t);\n\t}), a = r.length - i.length;\n\treturn {\n\t\tknown: !0,\n\t\tcomplete: r.length > 0 && i.length === 0,\n\t\texpectedCount: r.length,\n\t\trespondedCount: a,\n\t\tmissingProviders: i\n\t};\n}\nfunction $t(e) {\n\tlet t = /* @__PURE__ */ new Map();\n\tfor (let n of e) {\n\t\tlet e = Z(n);\n\t\te && !t.has(e) && t.set(e, n.trim());\n\t}\n\treturn [...t.values()];\n}\nfunction Z(e) {\n\treturn e?.trim().toLocaleLowerCase(\"en-US\") || null;\n}\n// src/components/swap/approvedPair.ts\nvar Q = \"So11111111111111111111111111111111111111112\", $ = \"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v\", en = {\n\tinputMint: Q,\n\toutputMint: $\n};\nfunction tn(e, t = en, n, r) {\n\tlet i = e.filter((e) => e.mint && (!n || n.includes(e.mint))), a = e.filter((e) => e.mint && (!r || r.includes(e.mint))), o = nn(i, t.inputMint, Q), s = nn(a, t.outputMint, $);\n\tfor (let e of o) {\n\t\tlet t = s.find((t) => t !== e);\n\t\tif (t) return {\n\t\t\tinputMint: e,\n\t\t\toutputMint: t\n\t\t};\n\t}\n\treturn null;\n}\nfunction nn(e, ...t) {\n\tlet n = e.flatMap((e) => e.mint ? [e.mint] : []), r = new Set(n);\n\treturn [.../* @__PURE__ */ new Set([...t.filter((e) => r.has(e)), ...n])];\n}\nexport { B as $, Ft as A, lt as B, jt as C, m as Ct, Mt as D, Kt as E, yt as F, Ge as G, Ye as H, vt as I, Xe as J, We as K, bt as L, Nt as M, zt as N, Ct as O, _t as P, He as Q, gt as R, It as S, g as St, Rt as T, qe as U, $e as V, Ke as W, Ze as X, Qe as Y, Ve as Z, Bt as _, y as _t, Qt as a, be as at, Gt as b, C as bt, Jt as c, ye as ct, Et as d, E as dt, V as et, Tt as f, j as ft, Lt as g, v as gt, wt as h, ee as ht, Xt as i, F as it, Pt as j, Ut as k, Ht as l, M as lt, At as m, oe as mt, $ as n, Be as nt, Zt as o, ve as ot, kt as p, _e as pt, Ue as q, tn as r, N as rt, Yt as s, P as st, Q as t, ze as tt, Dt as u, te as ut, qt as v, b as vt, Vt as w, Wt as x, _ as xt, Ot as y, w as yt, mt as z };\n","imports":[{"dynamic":false,"end":159,"specifier":"react","start":154},{"dynamic":false,"end":231,"specifier":"react/jsx-runtime","start":214}],"hasUnsupportedDynamicImports":false},{"path":"workspace/react/dist/CandlestickPlot-CH_oM9Mm.js","kind":"module","text":"import { nt as e } from \"./approvedPair-C2gVtD2Y.js\";\nimport { d as t, f as n, u as r } from \"./portfolio-N8aWyHHT.js\";\nimport { useEffect as i, useId as a, useRef as o, useState as s } from \"react\";\nimport { Fragment as c, jsx as l, jsxs as u } from \"react/jsx-runtime\";\n// src/components/trading/CandlestickPlot.tsx\nfunction d(e) {\n\tif (!e || /(?:var|env)\\s*\\(/i.test(e) || typeof document > \"u\") return;\n\tlet t = document.createElement(\"span\").style;\n\treturn t.color = e, t.color || void 0;\n}\nfunction f({ data: f, theme: p }) {\n\tlet { t: m, formatNumber: h, formatDate: g } = e(), _ = a(), v = a(), y = o(null), [b, x] = s(640), [S, C] = s({\n\t\tstart: 0,\n\t\tcount: 0\n\t}), [w, T] = s(null), E = o(null), D = o(!1);\n\ti(() => {\n\t\tf.length ? D.current ? C((e) => t(e.start, e.count, f.length)) : (D.current = !0, C({\n\t\t\tstart: 0,\n\t\t\tcount: f.length\n\t\t})) : D.current = !1;\n\t}, [f]), i(() => {\n\t\tlet e = y.current;\n\t\tif (!e || typeof ResizeObserver > \"u\") return;\n\t\tlet t = new ResizeObserver((e) => {\n\t\t\tlet t = e[0]?.contentRect.width;\n\t\t\tt && Number.isFinite(t) && x(Math.max(240, t));\n\t\t});\n\t\treturn t.observe(e), () => t.disconnect();\n\t}, []);\n\tlet O = t(S.start, S.count || f.length, f.length), k = f.slice(O.start, O.start + O.count), A = 70;\n\tfor (let e of k) for (let t of [e.high, e.low]) A = Math.max(A, h(t, { maximumSignificantDigits: 8 }).length * 7 + 12);\n\tlet j = Math.min(b * .45, A), M = Math.max(1, b - j), N = Infinity, P = -Infinity;\n\tfor (let e of k) N = Math.min(N, e.low), P = Math.max(P, e.high);\n\tk.length || (N = 0, P = 1);\n\tlet F = P - N, I = F > 0 ? F * .05 : P === 0 ? 1 : Math.max(Math.abs(P) * .01, Number.MIN_VALUE);\n\tN -= I, P += I;\n\tlet L = P - N, R = (e) => 272 - (e - N) / L * 272, z = M / Math.max(1, O.count), B = (e) => (e + .5) * z, V = (e) => C((t) => n(t.start, t.count || f.length, f.length, e)), H = (e) => C(t(O.start + e, O.count, f.length)), U = (e) => {\n\t\tlet t = y.current?.getBoundingClientRect();\n\t\treturn t && t.width > 0 ? Math.max(0, Math.min(O.count - 1, Math.floor((e - t.left) * b / t.width / z))) : 0;\n\t};\n\ti(() => {\n\t\tlet e = y.current;\n\t\tif (!e) return;\n\t\tlet t = (e) => {\n\t\t\t(e.ctrlKey || e.metaKey) && e.deltaY !== 0 && (e.preventDefault(), C((t) => n(t.start, t.count || f.length, f.length, e.deltaY < 0)));\n\t\t};\n\t\treturn e.addEventListener(\"wheel\", t, { passive: !1 }), () => e.removeEventListener(\"wheel\", t);\n\t}, [f.length]);\n\tlet W = w === null ? void 0 : k[w], G = (e) => g(new Date(r(e.time)), {\n\t\ttimeZone: \"UTC\",\n\t\tyear: \"numeric\",\n\t\tmonth: \"short\",\n\t\tday: \"numeric\",\n\t\t...typeof e.time == \"number\" ? {\n\t\t\thour: \"numeric\",\n\t\t\tminute: \"2-digit\"\n\t\t} : {}\n\t}), K = {\n\t\tbackground: `var(--ct-background, ${p === \"dark\" ? \"#0a0a0a\" : \"#fafafa\"})`,\n\t\tmuted: `var(--ct-muted-foreground, ${p === \"dark\" ? \"#b3b3b3\" : \"#595959\"})`,\n\t\tborder: `var(--ct-border, ${p === \"dark\" ? \"#262626\" : \"#e5e5e5\"})`,\n\t\tbuy: `var(--ct-buy, ${p === \"dark\" ? \"#4ade80\" : \"#166534\"})`,\n\t\tsell: `var(--ct-sell, ${p === \"dark\" ? \"#fca5a5\" : \"#b91c1c\"})`\n\t};\n\treturn /* @__PURE__ */ u(c, { children: [\n\t\t/* @__PURE__ */ l(\"p\", {\n\t\t\tid: v,\n\t\t\tclassName: \"ct:sr-only\",\n\t\t\tchildren: m(\"trading.chart.navigation\")\n\t\t}),\n\t\t/* @__PURE__ */ u(\"svg\", {\n\t\t\tref: y,\n\t\t\trole: \"group\",\n\t\t\ttabIndex: 0,\n\t\t\t\"aria-label\": m(\"trading.chart.title\"),\n\t\t\t\"aria-describedby\": v,\n\t\t\tviewBox: `0 0 ${b} 300`,\n\t\t\tpreserveAspectRatio: \"none\",\n\t\t\tclassName: \"ct-focusable ct:absolute ct:inset-0 ct:h-full ct:w-full\",\n\t\t\tstyle: {\n\t\t\t\tbackground: K.background,\n\t\t\t\ttouchAction: \"pan-y\"\n\t\t\t},\n\t\t\t\"data-start\": O.start,\n\t\t\t\"data-count\": O.count,\n\t\t\tonDoubleClick: () => C({\n\t\t\t\tstart: 0,\n\t\t\t\tcount: f.length\n\t\t\t}),\n\t\t\tonKeyDown: (e) => {\n\t\t\t\t[\n\t\t\t\t\t\"ArrowLeft\",\n\t\t\t\t\t\"ArrowRight\",\n\t\t\t\t\t\"+\",\n\t\t\t\t\t\"=\",\n\t\t\t\t\t\"-\",\n\t\t\t\t\t\"Home\",\n\t\t\t\t\t\"End\",\n\t\t\t\t\t\"Escape\"\n\t\t\t\t].includes(e.key) && e.preventDefault(), (e.key === \"+\" || e.key === \"=\") && V(!0), e.key === \"-\" && V(!1), e.key === \"ArrowLeft\" && H(-Math.max(1, Math.floor(O.count / 5))), e.key === \"ArrowRight\" && H(Math.max(1, Math.floor(O.count / 5))), e.key === \"Home\" && C({\n\t\t\t\t\tstart: 0,\n\t\t\t\t\tcount: f.length\n\t\t\t\t}), e.key === \"End\" && C({\n\t\t\t\t\tstart: Math.max(0, f.length - O.count),\n\t\t\t\t\tcount: O.count\n\t\t\t\t}), e.key === \"Escape\" && T(null);\n\t\t\t},\n\t\t\tonPointerDown: (e) => {\n\t\t\t\te.button !== 0 || e.isPrimary === !1 || E.current || (E.current = {\n\t\t\t\t\tid: e.pointerId,\n\t\t\t\t\tx: e.clientX,\n\t\t\t\t\tstart: O.start\n\t\t\t\t}, e.currentTarget.setPointerCapture(e.pointerId));\n\t\t\t},\n\t\t\tonPointerMove: (e) => {\n\t\t\t\tlet n = E.current;\n\t\t\t\tif (!(e.isPrimary === !1 || n && n.id !== e.pointerId) && (T(U(e.clientX)), n && n.id === e.pointerId)) {\n\t\t\t\t\tlet r = e.currentTarget.getBoundingClientRect(), i = r.width ? (n.x - e.clientX) * b / r.width / z : 0;\n\t\t\t\t\tC(t(n.start + i, O.count, f.length));\n\t\t\t\t}\n\t\t\t},\n\t\t\tonPointerUp: (e) => {\n\t\t\t\tE.current?.id === e.pointerId && (E.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));\n\t\t\t},\n\t\t\tonPointerCancel: (e) => {\n\t\t\t\tE.current?.id === e.pointerId && (E.current = null);\n\t\t\t},\n\t\t\tonLostPointerCapture: (e) => {\n\t\t\t\tE.current?.id === e.pointerId && (E.current = null);\n\t\t\t},\n\t\t\tonPointerLeave: () => {\n\t\t\t\tE.current || T(null);\n\t\t\t},\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ l(\"defs\", { children: /* @__PURE__ */ l(\"clipPath\", {\n\t\t\t\t\tid: _,\n\t\t\t\t\tchildren: /* @__PURE__ */ l(\"rect\", {\n\t\t\t\t\t\twidth: M,\n\t\t\t\t\t\theight: 272\n\t\t\t\t\t})\n\t\t\t\t}) }),\n\t\t\t\tArray.from({ length: 5 }, (e, t) => {\n\t\t\t\t\tlet n = N + t / 4 * L, r = 272 * (1 - t / 4);\n\t\t\t\t\treturn /* @__PURE__ */ u(\"g\", { children: [/* @__PURE__ */ l(\"line\", {\n\t\t\t\t\t\tx2: M,\n\t\t\t\t\t\ty1: r,\n\t\t\t\t\t\ty2: r,\n\t\t\t\t\t\tstroke: K.border\n\t\t\t\t\t}), /* @__PURE__ */ l(\"text\", {\n\t\t\t\t\t\tx: M + 6,\n\t\t\t\t\t\ty: Math.max(12, r),\n\t\t\t\t\t\tfill: K.muted,\n\t\t\t\t\t\tfontSize: \"11\",\n\t\t\t\t\t\tchildren: h(n, {\n\t\t\t\t\t\t\tmaximumSignificantDigits: 8,\n\t\t\t\t\t\t\t...h(n, { maximumSignificantDigits: 8 }).length * 7 > j - 12 ? { notation: \"scientific\" } : {}\n\t\t\t\t\t\t})\n\t\t\t\t\t})] }, t);\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ u(\"g\", {\n\t\t\t\t\tclipPath: `url(#${_})`,\n\t\t\t\t\tchildren: [k.map((e, t) => {\n\t\t\t\t\t\tlet n = e.close >= e.open ? K.buy : K.sell, i = d(e.color) ?? n, a = d(e.wickColor) ?? n, o = d(e.borderColor) ?? n;\n\t\t\t\t\t\treturn /* @__PURE__ */ u(\"g\", {\n\t\t\t\t\t\t\t\"data-candle\": \"true\",\n\t\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t\t/* @__PURE__ */ u(\"title\", { children: [\n\t\t\t\t\t\t\t\t\tG(e),\n\t\t\t\t\t\t\t\t\t\": \",\n\t\t\t\t\t\t\t\t\th(e.close, { maximumSignificantDigits: 8 })\n\t\t\t\t\t\t\t\t] }),\n\t\t\t\t\t\t\t\t/* @__PURE__ */ l(\"line\", {\n\t\t\t\t\t\t\t\t\tx1: B(t),\n\t\t\t\t\t\t\t\t\tx2: B(t),\n\t\t\t\t\t\t\t\t\ty1: R(e.high),\n\t\t\t\t\t\t\t\t\ty2: R(e.low),\n\t\t\t\t\t\t\t\t\tstroke: a\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t/* @__PURE__ */ l(\"rect\", {\n\t\t\t\t\t\t\t\t\tx: B(t) - z * .3,\n\t\t\t\t\t\t\t\t\ty: Math.min(R(e.open), R(e.close)),\n\t\t\t\t\t\t\t\t\twidth: Math.max(.5, z * .6),\n\t\t\t\t\t\t\t\t\theight: Math.max(1, Math.abs(R(e.open) - R(e.close))),\n\t\t\t\t\t\t\t\t\tfill: i,\n\t\t\t\t\t\t\t\t\tstroke: o\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}, r(e.time));\n\t\t\t\t\t}), W && w !== null && /* @__PURE__ */ u(\"g\", {\n\t\t\t\t\t\tpointerEvents: \"none\",\n\t\t\t\t\t\tstroke: K.muted,\n\t\t\t\t\t\tstrokeDasharray: \"3 3\",\n\t\t\t\t\t\tchildren: [/* @__PURE__ */ l(\"line\", {\n\t\t\t\t\t\t\tx1: B(w),\n\t\t\t\t\t\t\tx2: B(w),\n\t\t\t\t\t\t\ty2: 272\n\t\t\t\t\t\t}), /* @__PURE__ */ l(\"line\", {\n\t\t\t\t\t\t\tx2: M,\n\t\t\t\t\t\t\ty1: R(W.close),\n\t\t\t\t\t\t\ty2: R(W.close)\n\t\t\t\t\t\t})]\n\t\t\t\t\t})]\n\t\t\t\t}),\n\t\t\t\tk.filter((e, t) => t === 0 || t === k.length - 1).map((e, t) => /* @__PURE__ */ l(\"text\", {\n\t\t\t\t\tx: t ? M : 0,\n\t\t\t\t\ty: 294,\n\t\t\t\t\ttextAnchor: t ? \"end\" : \"start\",\n\t\t\t\t\tfill: K.muted,\n\t\t\t\t\tfontSize: \"11\",\n\t\t\t\t\tchildren: G(e)\n\t\t\t\t}, t))\n\t\t\t]\n\t\t}),\n\t\tW && /* @__PURE__ */ u(\"div\", {\n\t\t\tclassName: \"ct:pointer-events-none ct:absolute ct:left-2 ct:top-2 ct:rounded-sm ct:bg-(--ct-surface) ct:p-2 ct:text-xs ct-tabular-num\",\n\t\t\tchildren: [\n\t\t\t\tG(W),\n\t\t\t\t\" · \",\n\t\t\t\t[\n\t\t\t\t\t\"open\",\n\t\t\t\t\t\"high\",\n\t\t\t\t\t\"low\",\n\t\t\t\t\t\"close\"\n\t\t\t\t].map((e) => `${m(`trading.chart.${e}`)} ${h(W[e], { maximumSignificantDigits: 8 })}`).join(\" · \")\n\t\t\t]\n\t\t})\n\t] });\n}\nexport { f as default };\n","imports":[{"dynamic":false,"end":51,"specifier":"./approvedPair-C2gVtD2Y.js","start":25},{"dynamic":false,"end":117,"specifier":"./portfolio-N8aWyHHT.js","start":94},{"dynamic":false,"end":197,"specifier":"react","start":192},{"dynamic":false,"end":269,"specifier":"react/jsx-runtime","start":252}],"hasUnsupportedDynamicImports":false},{"path":"workspace/react/dist/cedros-extension.manifest-B-7fANy7.js","kind":"module","text":"var e = {\n\tschemaVersion: 1,\n\textensionId: \"cedros-trade\",\n\tdisplayName: \"Cedros Trade\",\n\tversion: \"3.2.6\",\n\tdescription: \"Solana quote previews and owner-enabled Jupiter swaps with visitor-approved external wallets.\",\n\tplatformApiVersion: \"1\",\n\tcompatibility: {\n\t\tplatformApiVersion: \"1\",\n\t\twitChecksum: \"58d100893076c351ccfcafde2f97604fa98b938bda778c5d7379117f18b71915\"\n\t},\n\tpackageFamily: {\n\t\tserver: {\n\t\t\tpackageName: \"cedros-trade-extension\",\n\t\t\tversion: \"3.2.6\",\n\t\t\trequired: !0\n\t\t},\n\t\treact: {\n\t\t\tpackageName: \"@cedros/trade-react\",\n\t\t\tversion: \"3.2.6\",\n\t\t\trequired: !0\n\t\t},\n\t\treactNative: {\n\t\t\tpackageName: \"@cedros/trade-react-native\",\n\t\t\tversion: \"3.2.6\",\n\t\t\trequired: !0\n\t\t}\n\t},\n\tdependencies: {\n\t\tservices: [],\n\t\tcapabilities: [\n\t\t\t{\n\t\t\t\tcapabilityId: \"cedros-login:user-context\",\n\t\t\t\trequired: !1,\n\t\t\t\treason: \"Optional authenticated visitor context for preserved wallet-dependent compatibility surfaces; the public quote preview is anonymous and verified wallet ownership remains fail-closed without a separate published contract.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tcapabilityId: \"cedros-login:admin-auth\",\n\t\t\t\trequired: !0,\n\t\t\t\treason: \"Required to enforce admin/operator authorization for Cedros Trade admin surfaces and API routes.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tcapabilityId: \"cedros-data:extension-storage-cas-v1\",\n\t\t\t\trequired: !0,\n\t\t\t\treason: \"Required by the published compare-and-set import used to purge resolved pending-action records safely under concurrent updates.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tcapabilityId: \"cedros-wallet:account-read-transaction-sign\",\n\t\t\t\trequired: !1,\n\t\t\t\treason: \"Optional published Cedros Wallet Tokenization contract for its documented transfer approval and Wallet-owned submission path; it does not provide a general swap or order signing contract.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tcapabilityId: \"cedros-notifications:route-write\",\n\t\t\t\trequired: !1,\n\t\t\t\treason: \"Optional published Cedros Notifications binding that materializes Cedros Trade team notification routes for declared server events.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tcapabilityId: \"cedros-data:extension-http-access-v1\",\n\t\t\t\trequired: !1,\n\t\t\t\treason: \"Optional automatic exact-host grants on supporting hosts. Trade does not depend on these semantics or call http.fetch with operation=access: hosts without this capability continue using the existing CA5SS4B_EXTENSION_HTTP_ALLOWLIST base for api.jup.ag. Current live sites already run Core 8b11216a.\"\n\t\t\t}\n\t\t],\n\t\textensions: [\n\t\t\t{\n\t\t\t\textensionId: \"cedros-login\",\n\t\t\t\tminVersion: \"0.0.55\",\n\t\t\t\trequired: !0,\n\t\t\t\treason: \"Provides admin auth required for operator surfaces and optional user context for preserved authenticated compatibility surfaces.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\textensionId: \"cedros-wallet\",\n\t\t\t\tminVersion: \"0.0.2\",\n\t\t\t\trequired: !1,\n\t\t\t\treason: \"Optionally supports the documented Tokenization transfer contract. General swap and order signing remain host-coordinated until Cedros publishes a compatible public integration.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\textensionId: \"cedros-notifications\",\n\t\t\t\tminVersion: \"0.1.9\",\n\t\t\t\trequired: !1,\n\t\t\t\treason: \"Optional first-party notification route/template provisioning for Cedros Trade server events.\"\n\t\t\t}\n\t\t]\n\t},\n\thttpAccess: { exactHosts: [\"api.jup.ag\"] },\n\trequiredServices: [],\n\trequiredCapabilities: [\"cedros-login:admin-auth\", \"cedros-data:extension-storage-cas-v1\"],\n\tsurfaces: {\n\t\tserver: {\n\t\t\tpackageRef: \"server\",\n\t\t\trequired: !0,\n\t\t\troutes: [\n\t\t\t\t\"cedros-trade:health\",\n\t\t\t\t\"cedros-trade:tokens\",\n\t\t\t\t\"cedros-trade:prices\",\n\t\t\t\t\"cedros-trade:swap\",\n\t\t\t\t\"cedros-trade:transfers\",\n\t\t\t\t\"cedros-trade:orders\",\n\t\t\t\t\"cedros-trade:actions\",\n\t\t\t\t\"cedros-trade:positions\",\n\t\t\t\t\"cedros-trade:orderbook\",\n\t\t\t\t\"cedros-trade:admin-api\",\n\t\t\t\t\"cedros-trade:metrics\",\n\t\t\t\t\"cedros-trade:ai-discovery\"\n\t\t\t],\n\t\t\tjobs: [\"cedros-trade:price-monitor\"],\n\t\t\tevents: [\n\t\t\t\t\"cedros-trade:quote-previewed\",\n\t\t\t\t\"cedros-trade:swap-built\",\n\t\t\t\t\"cedros-trade:swap-build-failed\",\n\t\t\t\t\"cedros-trade:swap-execution-recorded\",\n\t\t\t\t\"cedros-trade:trade-workflow-blocked\",\n\t\t\t\t\"cedros-trade:admin-action-completed\",\n\t\t\t\t\"cedros-trade:monitor-run-recorded\"\n\t\t\t],\n\t\t\tmigrations: [\"cedros-trade:trade-runtime-v1\"],\n\t\t\tsettingsSchemas: [\"cedros-trade:runtime-settings\"],\n\t\t\tcontentModels: [\n\t\t\t\t\"cedros-trade:monitored-orders\",\n\t\t\t\t\"cedros-trade:execution-records\",\n\t\t\t\t\"cedros-trade:pending-actions\",\n\t\t\t\t\"cedros-trade:external-swap-approvals\",\n\t\t\t\t\"cedros-trade:configuration\"\n\t\t\t]\n\t\t},\n\t\tadmin: {\n\t\t\tpackageRef: \"react\",\n\t\t\trequired: !0,\n\t\t\tmoduleIds: [\"cedros-trade:admin\"],\n\t\t\tslotIds: [],\n\t\t\teditorSurfaceIds: []\n\t\t},\n\t\tweb: {\n\t\t\tpackageRef: \"react\",\n\t\t\trequired: !0,\n\t\t\trouteIds: [\n\t\t\t\t\"cedros-trade:quote-page\",\n\t\t\t\t\"cedros-trade:swap-page\",\n\t\t\t\t\"cedros-trade:transfer-page\",\n\t\t\t\t\"cedros-trade:trading-page\",\n\t\t\t\t\"cedros-trade:portfolio-page\"\n\t\t\t],\n\t\t\tblockTypes: [\"cedros-trade:trade-surface\"],\n\t\t\ttemplateIds: [\n\t\t\t\t\"cedros-trade:quote-template\",\n\t\t\t\t\"cedros-trade:swap-template\",\n\t\t\t\t\"cedros-trade:transfer-template\",\n\t\t\t\t\"cedros-trade:trading-template\",\n\t\t\t\t\"cedros-trade:portfolio-template\"\n\t\t\t],\n\t\t\tauthoredSurfaceIds: [\"cedros-trade:trade-pages\"],\n\t\t\ttemplateUtilityIds: [\"cedros-trade:trade-page-set\"]\n\t\t},\n\t\tnative: {\n\t\t\tpackageRef: \"reactNative\",\n\t\t\trequired: !0,\n\t\t\tscreenIds: [],\n\t\t\tstackIds: [],\n\t\t\tproviderIds: []\n\t\t},\n\t\tai: {\n\t\t\tpackageRef: \"server\",\n\t\t\tskills: [\n\t\t\t\t{\n\t\t\t\t\tid: \"cedros-trade:swap-skill\",\n\t\t\t\t\tname: \"Swap\",\n\t\t\t\t\tdescription: \"Discover swap quote, build, and execute routes for Solana token swaps.\",\n\t\t\t\t\tcategory: \"trading\",\n\t\t\t\t\ttags: [\"swap\", \"solana\"],\n\t\t\t\t\tvisibility: \"authenticated\",\n\t\t\t\t\tdocs: { markdown: \"Skill-only discovery for public swap quote workflows. The current Cedros public block runtime does not supply verified wallet ownership or general signing. Build and execute operations remain fail-closed until Cedros publishes compatible contracts; this is not an executable AI capability.\" }\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tid: \"cedros-trade:transfers-skill\",\n\t\t\t\t\tname: \"Transfers\",\n\t\t\t\t\tdescription: \"Discover transfer resolve, build, and execute routes for SOL and SPL transfers.\",\n\t\t\t\t\tcategory: \"trading\",\n\t\t\t\t\ttags: [\"transfer\", \"solana\"],\n\t\t\t\t\tvisibility: \"authenticated\",\n\t\t\t\t\tdocs: { markdown: \"Skill-only discovery for SOL and SPL transfer routes. Wallet-scoped build and execute operations remain fail-closed until Cedros publishes verified wallet-owner context and a general signing contract or documented public Wallet wrapper. Do not include raw recipients, signatures, or transactions in AI logs or site-brain records.\" }\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tid: \"cedros-trade:orders-skill\",\n\t\t\t\t\tname: \"Orders\",\n\t\t\t\t\tdescription: \"Discover smart order routes for limit, stop-loss, take-profit, DCA, OCO, bracket, and trailing-stop workflows.\",\n\t\t\t\t\tcategory: \"trading\",\n\t\t\t\t\ttags: [\"orders\", \"automation\"],\n\t\t\t\t\tvisibility: \"authenticated\",\n\t\t\t\t\tdocs: { markdown: \"Skill-only discovery for limit, stop-loss, take-profit, DCA, OCO, bracket, and trailing-stop workflows. Smart order actions require verified wallet-owner context, a general signing contract, database/provider bindings, explicit approval, idempotency, and redacted logs. This is not an executable AI capability.\" }\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tid: \"cedros-trade:positions-skill\",\n\t\t\t\t\tname: \"Positions\",\n\t\t\t\t\tdescription: \"Discover portfolio, P&L, and trade history routes.\",\n\t\t\t\t\tcategory: \"portfolio\",\n\t\t\t\t\ttags: [\"portfolio\", \"history\"],\n\t\t\t\t\tvisibility: \"authenticated\",\n\t\t\t\t\tdocs: { markdown: \"Skill-only discovery for portfolio balances, P&L, and trade history. Wallet-scoped reads remain fail-closed until Cedros publishes verified wallet-owner request context. P&L and history also require an approved host indexer binding.\" }\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tid: \"cedros-trade:orderbook-skill\",\n\t\t\t\t\tname: \"Orderbook\",\n\t\t\t\t\tdescription: \"Discover Manifest orderbook routes and WebSocket metadata.\",\n\t\t\t\t\tcategory: \"trading\",\n\t\t\t\t\ttags: [\"orderbook\", \"manifest\"],\n\t\t\t\t\tvisibility: \"authenticated\",\n\t\t\t\t\tdocs: { markdown: \"Skill-only discovery for Manifest orderbook reads, streams, and order transaction builds. Behavior remains disabled until the host provides approved Manifest market configuration, verified wallet-owner context, a general signing contract, and required route/provider bindings.\" }\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tid: \"cedros-trade:admin-skill\",\n\t\t\t\t\tname: \"Admin\",\n\t\t\t\t\tdescription: \"Discover admin operations for providers, tokens, settings, monitor controls, and readiness.\",\n\t\t\t\t\tcategory: \"admin\",\n\t\t\t\t\ttags: [\"admin\", \"operators\"],\n\t\t\t\t\tvisibility: \"admin\",\n\t\t\t\t\tdocs: { markdown: \"Skill-only discovery for provider, token registry, runtime settings, monitor readiness, and launch-readiness operations. Admin behavior requires Cedros admin auth, `manage_extensions` or narrower published permissions, host settings and secret storage, and server-side enforcement. Hiding UI sections is not authorization, and admin mutations should emit redacted site-brain records through the Wasm telemetry seam.\" }\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t},\n\tregistration: {\n\t\tserver: { entrypoint: \"cedros_trade_extension::register_extension_family\" },\n\t\tadmin: { entrypoint: \"@cedros/trade-react/admin/register\" },\n\t\tweb: { entrypoint: \"@cedros/trade-react/web/register\" },\n\t\tnative: { entrypoint: \"@cedros/trade-react-native/register\" }\n\t},\n\tadminModules: [{\n\t\tmoduleId: \"cedros-trade:admin\",\n\t\textensionId: \"cedros-trade\",\n\t\tdisplayName: \"Cedros Trade\",\n\t\tversion: \"3.2.6\",\n\t\tpackageName: \"@cedros/trade-react\",\n\t\tpackageSubpath: \"./admin/register\",\n\t\trequiredServices: [],\n\t\trequiredCapabilities: [\"cedros-login:admin-auth\"],\n\t\tsectionIds: [\"cedros-trade:overview\", \"cedros-trade:settings\"],\n\t\tslots: [],\n\t\tcontributions: { dashboardCards: [{\n\t\t\tid: \"cedros-trade:status-card\",\n\t\t\tdisplayName: \"Quote preview\",\n\t\t\tdescription: \"Shows whether the visitor quote journey is ready to publish.\",\n\t\t\torder: 20,\n\t\t\trequiredPermission: \"manage_extensions\"\n\t\t}] },\n\t\tsectionIcons: {\n\t\t\t\"cedros-trade:overview\": \"analytics\",\n\t\t\t\"cedros-trade:settings\": \"extensions\"\n\t\t},\n\t\tnavigation: { sections: [{\n\t\t\tid: \"cedros-trade:overview\",\n\t\t\tlabel: \"Overview\",\n\t\t\tgroup: \"Tools\",\n\t\t\torder: 0,\n\t\t\tlabelKey: \"admin.nav.overview\",\n\t\t\tgroupKey: \"admin.group.tools\",\n\t\t\trequiredPermission: \"manage_extensions\"\n\t\t}, {\n\t\t\tid: \"cedros-trade:settings\",\n\t\t\tlabel: \"Trade settings\",\n\t\t\tgroup: \"Extension Settings\",\n\t\t\torder: 0,\n\t\t\tlabelKey: \"admin.nav.settings\",\n\t\t\tgroupKey: \"admin.group.extensionSettings\",\n\t\t\trequiredPermission: \"manage_extensions\",\n\t\t\treplacesSectionIds: [\n\t\t\t\t\"cedros-trade:providers\",\n\t\t\t\t\"cedros-trade:tokens\",\n\t\t\t\t\"cedros-trade:monitor\"\n\t\t\t]\n\t\t}] }\n\t}],\n\tpageSeeds: [\n\t\t{\n\t\t\tid: \"cedros-trade:quote-page\",\n\t\t\tdisplayName: \"Solana Quote Preview\",\n\t\t\ttitle: \"Conversion estimate\",\n\t\t\troutePath: \"/trade/quote\",\n\t\t\tdescription: \"Extension-owned public page that compares approved Solana providers and explains the best current conversion estimate without moving funds.\",\n\t\t\tslug: \"trade-quote\",\n\t\t\tautoCreateOnEnable: !0,\n\t\t\tpublishOnEnable: !1,\n\t\t\ttemplateId: \"cedros-trade:quote-template\",\n\t\t\tseo: {\n\t\t\t\ttitle: \"Solana Conversion Quote\",\n\t\t\t\tdescription: \"Compare owner-approved Solana providers and understand the best current conversion estimate, price impact, protection, and freshness.\",\n\t\t\t\tnoindex: !1,\n\t\t\t\tcanonicalPath: \"/trade/quote\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:swap-page\",\n\t\t\tdisplayName: \"Solana Quote Preview\",\n\t\t\ttitle: \"Quote preview\",\n\t\t\troutePath: \"/trade/swap\",\n\t\t\tdescription: \"Extension-owned public page that compares approved Solana providers and explains the best current conversion estimate without moving funds.\",\n\t\t\tslug: \"trade-swap\",\n\t\t\tautoCreateOnEnable: !1,\n\t\t\tpublishOnEnable: !1,\n\t\t\ttemplateId: \"cedros-trade:swap-template\",\n\t\t\tseo: {\n\t\t\t\ttitle: \"Solana Conversion Quote\",\n\t\t\t\tdescription: \"Compare owner-approved Solana providers and understand the best current conversion estimate, price impact, protection, and freshness.\",\n\t\t\t\tnoindex: !1,\n\t\t\t\tcanonicalPath: \"/trade/swap\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:transfer-page\",\n\t\t\tdisplayName: \"Transfer Setup (Requires Host)\",\n\t\t\ttitle: \"Transfer\",\n\t\t\troutePath: \"/trade/transfer\",\n\t\t\tdescription: \"Compatibility page retained for existing authored content; it stays unavailable until Cedros supplies verified wallet identity and signing.\",\n\t\t\tslug: \"trade-transfer\",\n\t\t\tautoCreateOnEnable: !1,\n\t\t\tpublishOnEnable: !1,\n\t\t\ttemplateId: \"cedros-trade:transfer-template\",\n\t\t\tseo: {\n\t\t\t\ttitle: \"Trade Transfer\",\n\t\t\t\tdescription: \"Prepare wallet-scoped SOL or SPL token transfers with explicit signing review.\",\n\t\t\t\tnoindex: !0\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:trading-page\",\n\t\t\tdisplayName: \"Trading Setup (Requires Host)\",\n\t\t\ttitle: \"Trading\",\n\t\t\troutePath: \"/trade\",\n\t\t\tdescription: \"Compatibility page retained for existing authored content; order actions stay unavailable without verified wallet identity and signing.\",\n\t\t\tslug: \"trade\",\n\t\t\tautoCreateOnEnable: !1,\n\t\t\tpublishOnEnable: !1,\n\t\t\ttemplateId: \"cedros-trade:trading-template\",\n\t\t\tseo: {\n\t\t\t\ttitle: \"Trading Workspace\",\n\t\t\t\tdescription: \"Review charts, order tickets, positions, and orderbooks for an authenticated wallet.\",\n\t\t\t\tnoindex: !0\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:portfolio-page\",\n\t\t\tdisplayName: \"Portfolio Setup (Requires Host)\",\n\t\t\ttitle: \"Portfolio\",\n\t\t\troutePath: \"/trade/portfolio\",\n\t\t\tdescription: \"Compatibility page retained for existing authored content; wallet-scoped data stays unavailable without verified wallet identity.\",\n\t\t\tslug: \"trade-portfolio\",\n\t\t\tautoCreateOnEnable: !1,\n\t\t\tpublishOnEnable: !1,\n\t\t\ttemplateId: \"cedros-trade:portfolio-template\",\n\t\t\tseo: {\n\t\t\t\ttitle: \"Trade Portfolio\",\n\t\t\t\tdescription: \"Review wallet-scoped balances, positions, P&L, and trade history.\",\n\t\t\t\tnoindex: !0\n\t\t\t}\n\t\t}\n\t],\n\tproviderAccess: [{\n\t\tid: \"cedros-trade:blockchain-config\",\n\t\tprovider: \"blockchain\",\n\t\tdisplayName: \"Blockchain configuration\",\n\t\tdescription: \"Reads site-owned Solana wallet and RPC readiness through the Cedros blockchain provider before RPC-backed trade routes run.\",\n\t\tscopes: [\"blockchain.config.read\"],\n\t\ttags: [\n\t\t\t\"trading\",\n\t\t\t\"solana\",\n\t\t\t\"readiness\"\n\t\t]\n\t}],\n\tdatabaseAccess: [{\n\t\tid: \"cedros-trade:trade-db\",\n\t\tdisplayName: \"Cedros Trade Data\",\n\t\tdescription: \"Host-mediated storage for monitored orders, execution records, pending wallet actions, exact external-swap approvals, and version-guarded owner policy.\",\n\t\tcontentModels: [\n\t\t\t\"cedros-trade:monitored-orders\",\n\t\t\t\"cedros-trade:execution-records\",\n\t\t\t\"cedros-trade:pending-actions\",\n\t\t\t\"cedros-trade:external-swap-approvals\",\n\t\t\t\"cedros-trade:configuration\"\n\t\t],\n\t\tmigrations: [\"cedros-trade:trade-runtime-v1\"],\n\t\ttags: [\"trading\", \"orders\"],\n\t\tscopes: [\n\t\t\t{\n\t\t\t\tverb: \"read\",\n\t\t\t\tresource: \"trade monitored orders, execution records, and pending wallet actions, and version-guarded owner policy\",\n\t\t\t\tsummary: \"Read Cedros Trade runtime records for user workflows and admin views.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tverb: \"count\",\n\t\t\t\tresource: \"trade monitored orders, execution records, and pending wallet actions\",\n\t\t\t\tsummary: \"Aggregate counts of Cedros Trade runtime records for admin metrics.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tverb: \"write\",\n\t\t\t\tresource: \"trade monitored orders, execution records, and pending wallet actions, and version-guarded owner policy\",\n\t\t\t\tsummary: \"Write Cedros Trade runtime records through host-bound routes and jobs.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tverb: \"delete\",\n\t\t\t\tresource: \"resolved wallet actions and expired external-swap approval hashes\",\n\t\t\t\tsummary: \"Purge resolved actions through admin maintenance and remove expired swap approvals in bounded version-guarded batches.\"\n\t\t\t}\n\t\t]\n\t}],\n\tcontentBlocks: [{\n\t\ttype: \"cedros-trade:trade-surface\",\n\t\tdisplayName: \"Solana Quote Preview\",\n\t\tdescription: \"Owner-editable multi-provider conversion estimate, with preserved compatibility modes for host-integrated wallet surfaces.\",\n\t\tcategory: \"trading\",\n\t\torder: 10,\n\t\tavailability: {\n\t\t\tcontentTypes: [\"page\"],\n\t\t\ttemplates: [\n\t\t\t\t\"page-default\",\n\t\t\t\t\"page-story\",\n\t\t\t\t\"cedros-trade:quote-template\",\n\t\t\t\t\"cedros-trade:swap-template\",\n\t\t\t\t\"cedros-trade:transfer-template\",\n\t\t\t\t\"cedros-trade:trading-template\",\n\t\t\t\t\"cedros-trade:portfolio-template\"\n\t\t\t],\n\t\t\tzones: [\"main\", \"body\"]\n\t\t}\n\t}],\n\tcontentTemplates: [\n\t\t{\n\t\t\tid: \"cedros-trade:quote-template\",\n\t\t\tdisplayName: \"Solana Quote Preview\",\n\t\t\tdescription: \"Recommended public page for comparing approved Solana providers and interpreting a current conversion estimate.\",\n\t\t\torder: 5,\n\t\t\tcontentTypes: [\"page\"],\n\t\t\tsurfaceId: \"cedros-trade:trade-pages\"\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:swap-template\",\n\t\t\tdisplayName: \"Solana Quote Preview\",\n\t\t\tdescription: \"Recommended public page for comparing approved Solana providers and interpreting a current conversion estimate.\",\n\t\t\torder: 10,\n\t\t\tcontentTypes: [\"page\"],\n\t\t\tsurfaceId: \"cedros-trade:trade-pages\"\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:transfer-template\",\n\t\t\tdisplayName: \"Transfer Setup (Requires Host)\",\n\t\t\tdescription: \"Compatibility template retained for existing content; it remains a setup state without documented wallet identity and signing.\",\n\t\t\torder: 900,\n\t\t\tcontentTypes: [\"page\"],\n\t\t\tsurfaceId: \"cedros-trade:trade-pages\"\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:trading-template\",\n\t\t\tdisplayName: \"Trading Setup (Requires Host)\",\n\t\t\tdescription: \"Compatibility template retained for existing content; order actions remain unavailable without documented wallet identity and signing.\",\n\t\t\torder: 910,\n\t\t\tcontentTypes: [\"page\"],\n\t\t\tsurfaceId: \"cedros-trade:trade-pages\"\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:portfolio-template\",\n\t\t\tdisplayName: \"Portfolio Setup (Requires Host)\",\n\t\t\tdescription: \"Compatibility template retained for existing content; wallet-scoped data remains unavailable without documented wallet identity.\",\n\t\t\torder: 920,\n\t\t\tcontentTypes: [\"page\"],\n\t\t\tsurfaceId: \"cedros-trade:trade-pages\"\n\t\t}\n\t],\n\tauthoredSurfaces: [{\n\t\tid: \"cedros-trade:trade-pages\",\n\t\tdisplayName: \"Trade Pages (Compatibility Set)\",\n\t\tdescription: \"The primary quote preview plus preserved setup-state pages for existing wallet-dependent Trade content.\",\n\t\teyebrow: \"Trade\",\n\t\ttemplateIds: [\n\t\t\t\"cedros-trade:quote-template\",\n\t\t\t\"cedros-trade:swap-template\",\n\t\t\t\"cedros-trade:transfer-template\",\n\t\t\t\"cedros-trade:trading-template\",\n\t\t\t\"cedros-trade:portfolio-template\"\n\t\t]\n\t}],\n\tauthoredTemplateUtilities: [{\n\t\tid: \"cedros-trade:trade-page-set\",\n\t\tdisplayName: \"Legacy Trade Page Set\",\n\t\tdescription: \"Preserves the released four-page set for existing content; new sites should create only the Solana Quote Preview.\",\n\t\torder: 900,\n\t\ttemplateIds: [\n\t\t\t\"cedros-trade:swap-template\",\n\t\t\t\"cedros-trade:transfer-template\",\n\t\t\t\"cedros-trade:trading-template\",\n\t\t\t\"cedros-trade:portfolio-template\"\n\t\t],\n\t\tcontentTypes: [\"page\"],\n\t\tsurfaceIds: [\"cedros-trade:trade-pages\"],\n\t\tsuggestedBlockTypes: [\"cedros-trade:trade-surface\"]\n\t}],\n\tformTemplates: [{\n\t\tid: \"cedros-trade:trade-support-request\",\n\t\tdisplayName: \"Quote Preview Support\",\n\t\ttitle: \"Quote Preview Support\",\n\t\tdescription: \"Tell us what went wrong with your quote. The site owner can review the details and reply by email.\",\n\t\tdefaultKey: \"trade-support-request\",\n\t\tstatus: \"active\",\n\t\tautoCreateOnEnable: !0,\n\t\tscope: \"other\",\n\t\tsubmitLabel: \"Send request\",\n\t\tsuccessTitle: \"Request received\",\n\t\tsuccessMessage: \"Your request has been sent. The site owner will review it and follow up if more information is needed.\",\n\t\tfields: [\n\t\t\t{\n\t\t\t\tkey: \"issue_type\",\n\t\t\t\tlabel: \"Issue type\",\n\t\t\t\ttype: \"select\",\n\t\t\t\trequired: !0,\n\t\t\t\toptions: [\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: \"Quote did not load\",\n\t\t\t\t\t\tvalue: \"quote_missing\"\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: \"Amount or rate looks wrong\",\n\t\t\t\t\t\tvalue: \"unexpected_amount\"\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: \"Token is unavailable\",\n\t\t\t\t\t\tvalue: \"token_unavailable\"\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: \"Quote details are unclear\",\n\t\t\t\t\t\tvalue: \"quote_unclear\"\n\t\t\t\t\t},\n\t\t\t\t\t{\n\t\t\t\t\t\tlabel: \"Other\",\n\t\t\t\t\t\tvalue: \"other\"\n\t\t\t\t\t}\n\t\t\t\t]\n\t\t\t},\n\t\t\t{\n\t\t\t\tkey: \"message\",\n\t\t\t\tlabel: \"Message\",\n\t\t\t\ttype: \"textarea\",\n\t\t\t\trequired: !0,\n\t\t\t\tplaceholder: \"Include the token symbols, approximate amount, and what you expected. Do not include private wallet credentials.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tkey: \"email\",\n\t\t\t\tlabel: \"Email\",\n\t\t\t\ttype: \"email\",\n\t\t\t\trequired: !0,\n\t\t\t\tplaceholder: \"you@example.com\",\n\t\t\t\thelpText: \"Used only to respond to this support request.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tkey: \"contact_consent\",\n\t\t\t\tlabel: \"I consent to being contacted about this support request.\",\n\t\t\t\ttype: \"checkbox\",\n\t\t\t\trequired: !0,\n\t\t\t\thelpText: \"The site owner may use the submitted email address only to respond to this request.\"\n\t\t\t}\n\t\t]\n\t}],\n\tdocsArticles: [{\n\t\tid: \"cedros-trade:getting-started\",\n\t\tdisplayName: \"Understanding Your Solana Quote\",\n\t\ttitle: \"Understanding Your Solana Quote\",\n\t\tslug: \"cedros-trade-getting-started\",\n\t\troutePath: \"/docs/cedros-trade/getting-started\",\n\t\texcerpt: \"How to request, interpret, refresh, and troubleshoot a Cedros Trade conversion estimate.\",\n\t\tbodyMarkdown: \"# Understanding Your Solana Quote\\n\\nCedros Trade compares current estimates from the Solana providers approved by this site. A quote helps you understand a possible conversion; it does not move funds or request a wallet signature.\\n\\n## Get An Estimate\\n\\n1. Choose the token you would provide and the token you want to receive.\\n2. Enter an amount.\\n3. Wait for the available providers to return estimates.\\n\\nThe page selects the estimate with the highest received amount from the providers that responded. If an approved route is missing, the page labels the result as best available and names the missing provider so you can refresh before relying on it.\\n\\n## Read The Result\\n\\n- **Rate** shows the estimated conversion for one input token.\\n- **Price impact** estimates how much the conversion may move the market price.\\n- **Minimum received** reflects the quote protection selected by the site.\\n- **Available routes** lets you compare the responding providers.\\n- **Updated** tells you when the estimate was received.\\n\\nQuotes can change quickly. Refresh the estimate before using it to make a decision.\\n\\n## If A Quote Does Not Load\\n\\nCheck the amount and token pair, then retry. A provider may be temporarily unavailable even when another provider is working. If no provider returns an estimate, use the Quote Preview Support form and include the token symbols and approximate amount. Never send a seed phrase, private key, password, one-time code, or API key.\\n\",\n\t\tcategory: \"trading\",\n\t\ttags: [\n\t\t\t\"trade\",\n\t\t\t\"wallet\",\n\t\t\t\"setup\"\n\t\t],\n\t\tproductSlug: \"cedros-trade\",\n\t\tproductLabel: \"Cedros Trade\",\n\t\tsectionKey: \"cedros-trade\",\n\t\tsectionLabel: \"Cedros Trade\",\n\t\tsectionOrder: 10,\n\t\tnavLabel: \"Understanding Quotes\",\n\t\treadingMinutes: 2,\n\t\torder: 10,\n\t\tinternal: !1,\n\t\taliases: [\"/docs/trade/getting-started\"],\n\t\tseo: {\n\t\t\ttitle: \"Understanding Your Solana Quote\",\n\t\t\tdescription: \"How to request, interpret, refresh, and troubleshoot a Cedros Trade conversion estimate.\",\n\t\t\tcanonicalPath: \"/docs/cedros-trade/getting-started\",\n\t\t\tnoindex: !1\n\t\t}\n\t}, {\n\t\tid: \"cedros-trade:wallet-safety\",\n\t\tdisplayName: \"Wallet Safety For Future Trade Actions\",\n\t\ttitle: \"Wallet Safety For Future Trade Actions\",\n\t\tslug: \"cedros-trade-wallet-safety\",\n\t\troutePath: \"/docs/cedros-trade/wallet-safety\",\n\t\texcerpt: \"Internal compatibility guidance for a future documented wallet-signing integration.\",\n\t\tbodyMarkdown: \"# Wallet Safety For Future Trade Actions\\n\\nThis internal compatibility guide applies only if this site later connects a documented wallet identity and signing integration. The current public Cedros Trade quote preview does not move funds or request a signature.\\n\\n## Never Share\\n\\n- Seed phrases\\n- Private keys\\n- Passwords\\n- One-time codes\\n- API keys\\n- Card numbers or wallet recovery material\\n\\n## Review Before Signing\\n\\n- The connected wallet is the intended wallet.\\n- The token mint and symbol match what you expect.\\n- The amount, slippage, and recipient are correct.\\n- The transaction source is trusted by your site.\\n\\n## Support Notes\\n\\nA public wallet address or transaction signature may help authorized support investigate a future transaction issue. Never send private credentials through forms, chat, email, or docs comments.\\n\",\n\t\tcategory: \"trading\",\n\t\ttags: [\n\t\t\t\"wallet\",\n\t\t\t\"safety\",\n\t\t\t\"support\"\n\t\t],\n\t\tproductSlug: \"cedros-trade\",\n\t\tproductLabel: \"Cedros Trade\",\n\t\tsectionKey: \"cedros-trade\",\n\t\tsectionLabel: \"Cedros Trade\",\n\t\tsectionOrder: 10,\n\t\tnavLabel: \"Wallet Safety\",\n\t\treadingMinutes: 2,\n\t\torder: 20,\n\t\tinternal: !0,\n\t\taliases: [\"/docs/trade/wallet-safety\"],\n\t\tseo: {\n\t\t\ttitle: \"Wallet Safety For Future Trade Actions\",\n\t\t\tdescription: \"Internal compatibility guidance for a future documented wallet-signing integration.\",\n\t\t\tnoindex: !0\n\t\t}\n\t}],\n\tonboardingPages: [\n\t\t{\n\t\t\tid: \"cedros-trade:review-readiness\",\n\t\t\tmoduleId: \"cedros-trade:admin\",\n\t\t\tsectionId: \"cedros-trade:overview\",\n\t\t\tdisplayName: \"Check quote readiness\",\n\t\t\tdescription: \"Confirm that the public runtime, token policy, and every enabled provider can complete the same real comparison quote.\"\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:configure-providers\",\n\t\t\tmoduleId: \"cedros-trade:admin\",\n\t\t\tsectionId: \"cedros-trade:settings\",\n\t\t\tdisplayName: \"Review quote providers\",\n\t\t\tdescription: \"Keep only approved provider routes enabled and resolve any upstream access failure.\"\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:review-token-registry\",\n\t\t\tmoduleId: \"cedros-trade:admin\",\n\t\t\tsectionId: \"cedros-trade:settings\",\n\t\t\tdisplayName: \"Review quote tokens\",\n\t\t\tdescription: \"Confirm the token pairs visitors may compare on the public quote page.\"\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:configure-settings\",\n\t\t\tmoduleId: \"cedros-trade:admin\",\n\t\t\tsectionId: \"cedros-trade:settings\",\n\t\t\tdisplayName: \"Review quote protection\",\n\t\t\tdescription: \"Accept the 30 bps default or choose a site-specific exception before publishing.\"\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:verify-monitor\",\n\t\t\tmoduleId: \"cedros-trade:admin\",\n\t\t\tsectionId: \"cedros-trade:settings\",\n\t\t\tdisplayName: \"Optional: review future automation\",\n\t\t\tdescription: \"Inspect the preserved dry-run monitor only when evaluating a future documented wallet-signing integration; it is not required for quote launch.\"\n\t\t}\n\t],\n\tanalytics: { events: [\n\t\t{\n\t\t\tid: \"cedros-trade:quote-previewed\",\n\t\t\tdisplayName: \"Quote Previewed\",\n\t\t\tdescription: \"Counts completed public quote comparisons using redacted token, amount, slippage, and provider metadata.\",\n\t\t\tcategory: \"trade\",\n\t\t\tvisibility: \"public\"\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:swap-built\",\n\t\t\tdisplayName: \"Swap Built\",\n\t\t\tdescription: \"Counts successful swap transaction builds before host wallet signing.\",\n\t\t\tcategory: \"trade\",\n\t\t\tvisibility: \"authenticated\"\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:swap-build-failed\",\n\t\t\tdisplayName: \"Swap Build Failed\",\n\t\t\tdescription: \"Counts failed swap transaction build attempts using redacted provider and bucket metadata.\",\n\t\t\tcategory: \"trade\",\n\t\t\tvisibility: \"authenticated\"\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:swap-execution-recorded\",\n\t\t\tdisplayName: \"Swap Execution Recorded\",\n\t\t\tdescription: \"Counts submitted, confirmed, or failed swap execution outcomes without signatures.\",\n\t\t\tcategory: \"trade\",\n\t\t\tvisibility: \"authenticated\"\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:transfer-built\",\n\t\t\tdisplayName: \"Transfer Built\",\n\t\t\tdescription: \"Counts successful SOL or SPL transfer transaction builds before host wallet signing.\",\n\t\t\tcategory: \"trade\",\n\t\t\tvisibility: \"authenticated\"\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:order-submitted\",\n\t\t\tdisplayName: \"Order Submitted\",\n\t\t\tdescription: \"Counts accepted smart or monitored order submissions after validation.\",\n\t\t\tcategory: \"orders\",\n\t\t\tvisibility: \"authenticated\"\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:trade-workflow-blocked\",\n\t\t\tdisplayName: \"Trade Workflow Blocked\",\n\t\t\tdescription: \"Counts transfer, order, or orderbook workflows blocked by missing host contracts.\",\n\t\t\tcategory: \"runtime\",\n\t\t\tvisibility: \"admin\"\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:admin-action-completed\",\n\t\t\tdisplayName: \"Admin Action Completed\",\n\t\t\tdescription: \"Counts completed provider, token registry, settings, and monitor actions in the admin module.\",\n\t\t\tcategory: \"admin\",\n\t\t\tvisibility: \"admin\"\n\t\t},\n\t\t{\n\t\t\tid: \"cedros-trade:monitor-run-recorded\",\n\t\t\tdisplayName: \"Monitor Run Recorded\",\n\t\t\tdescription: \"Counts price monitor job run outcomes using redacted aggregate status metadata.\",\n\t\t\tcategory: \"automation\",\n\t\t\tvisibility: \"admin\"\n\t\t}\n\t] },\n\tcapabilities: [{\n\t\tid: \"cedros-trade:site-brain-records\",\n\t\tdisplayName: \"Cedros Trade Site Brain Records\",\n\t\tdescription: \"Write redacted setup, content, security, automation, database, and runtime records that explain Cedros Trade runtime changes and monitor runs.\",\n\t\tcategory: \"runtime\",\n\t\trequestedScopes: [\n\t\t\t{\n\t\t\t\tverb: \"write\",\n\t\t\t\tresource: \"site-brain-record:setup\",\n\t\t\t\tsummary: \"Record redacted setup/settings changes without secret values.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tverb: \"write\",\n\t\t\t\tresource: \"site-brain-record:content\",\n\t\t\t\tsummary: \"Record redacted token/content metadata changes without wallet or row payloads.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tverb: \"write\",\n\t\t\t\tresource: \"site-brain-record:security\",\n\t\t\t\tsummary: \"Record redacted secret lifecycle state without secret values.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tverb: \"write\",\n\t\t\t\tresource: \"site-brain-record:automation\",\n\t\t\t\tsummary: \"Record redacted price monitor dry-run outcomes and aggregate counts.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tverb: \"write\",\n\t\t\t\tresource: \"site-brain-record:database\",\n\t\t\t\tsummary: \"Record redacted database migration or forward-fix outcomes without row payloads.\"\n\t\t\t},\n\t\t\t{\n\t\t\t\tverb: \"write\",\n\t\t\t\tresource: \"site-brain-record:runtime\",\n\t\t\t\tsummary: \"Record redacted runtime binding degradation and recovery context.\"\n\t\t\t}\n\t\t]\n\t}],\n\tjobSchedules: [{\n\t\tid: \"cedros-trade:price-monitor-dry-run-schedule\",\n\t\tjobId: \"cedros-trade:price-monitor\",\n\t\tlabel: \"Price Monitor Dry Run\",\n\t\tcron: \"*/5 * * * *\",\n\t\ttimezone: \"America/Los_Angeles\",\n\t\tenabled: !1,\n\t\ttimeoutSeconds: 30,\n\t\tchannelIds: [],\n\t\tautoCreateOnEnable: !0\n\t}],\n\tsetupSeeds: { notifications: [{\n\t\tid: \"cedros-trade:admin-action-notification\",\n\t\tdisplayName: \"Trade Admin Action Notification\",\n\t\ttitle: \"Trade admin action completed\",\n\t\tdescription: \"Team notification route for Cedros Trade admin actions that affect runtime setup or monitor state.\",\n\t\teventId: \"cedros-trade:admin-action-completed\",\n\t\taudience: \"team\",\n\t\tseverity: \"info\",\n\t\tdefaultChannels: [\"email\"],\n\t\tsubjectTemplate: \"Cedros Trade admin action completed\",\n\t\tbodyTemplate: \"A Cedros Trade admin action completed. Review the Cedros Trade admin pages if this was unexpected.\",\n\t\ttags: [\n\t\t\t\"cedros-trade\",\n\t\t\t\"admin\",\n\t\t\t\"setup\"\n\t\t],\n\t\tlifecycle: {\n\t\t\tinstallMode: \"createIfMissing\",\n\t\t\tupdatePolicy: \"preserveOperatorEdits\",\n\t\t\tdisablePolicy: \"leaveCreated\"\n\t\t}\n\t}, {\n\t\tid: \"cedros-trade:monitor-run-notification\",\n\t\tdisplayName: \"Price Monitor Notification\",\n\t\ttitle: \"Price monitor run recorded\",\n\t\tdescription: \"Team notification route for Cedros Trade price monitor outcomes with summary-only redaction.\",\n\t\teventId: \"cedros-trade:monitor-run-recorded\",\n\t\taudience: \"team\",\n\t\tseverity: \"warning\",\n\t\tdefaultChannels: [\"email\"],\n\t\tsubjectTemplate: \"Cedros Trade price monitor run recorded\",\n\t\tbodyTemplate: \"Cedros Trade recorded a price monitor run. Review the Trade Monitor admin page when the outcome is failed or retryable.\",\n\t\ttags: [\n\t\t\t\"cedros-trade\",\n\t\t\t\"automation\",\n\t\t\t\"monitor\"\n\t\t],\n\t\tlifecycle: {\n\t\t\tinstallMode: \"createIfMissing\",\n\t\t\tupdatePolicy: \"preserveOperatorEdits\",\n\t\t\tdisablePolicy: \"leaveCreated\"\n\t\t}\n\t}] },\n\ti18nCatalogs: [{\n\t\tlocale: \"en-US\",\n\t\tnamespace: \"cedros-trade\",\n\t\tcatalog: {\n\t\t\t\"admin.settings.leaveBody\": \"Leave Trade settings and discard unsaved edits in all tabs? Settings already saved will stay unchanged.\",\n\t\t\t\"common.saving\": \"Saving…\",\n\t\t\t\"admin.tokens.editorDescription\": \"Approve the identity visitors will see when choosing a token.\",\n\t\t\t\"admin.tokens.optionalDetails\": \"Logo, categories and market data\",\n\t\t\t\"admin.tokens.discardTitle\": \"Discard token changes?\",\n\t\t\t\"admin.tokens.discardBody\": \"Your changes have not been saved. The approved token list will stay unchanged.\",\n\t\t\t\"admin.tokens.keepEditing\": \"Keep editing\",\n\t\t\t\"admin.tokens.discardChanges\": \"Discard changes\",\n\t\t\t\"admin.readiness.reviewTokens\": \"Review Trade settings → Token registry to update the approved list.\",\n\t\t\t\"admin.readiness.reviewProviders\": \"Review Trade settings → Quote routes to check the enabled providers.\",\n\t\t\t\"jupiter.entryGuidance\": \"Choose your tokens and amount. Review the return and fees before approving in your wallet.\",\n\t\t\t\"swap.choosePayToken\": \"Choose token to pay\",\n\t\t\t\"swap.chooseReceiveToken\": \"Choose token to receive\",\n\t\t\t\"swap.returnIn\": \"Return in {symbol}\",\n\t\t\t\"swap.routeAdvantage\": \"{provider} returns {amount} {symbol} more than the next route.\",\n\t\t\t\"swap.routeAdvantageUnitless\": \"{provider} returns {amount} more than the next route.\",\n\t\t\t\"jupiter.editSwap\": \"Edit swap\",\n\t\t\t\"jupiter.reviewUntil\": \"Review valid until {time}. Approval happens in your wallet.\",\n\t\t\t\"jupiter.costs\": \"Fees\",\n\t\t\t\"admin.readiness.policySummary\": \"{tokens} approved tokens · {responded} of {expected} routes responded\",\n\t\t\t\"admin.readiness.policySummary.one\": \"{tokens} approved tokens · {responded} of {expected} route responded\",\n\t\t\t\"admin.readiness.unknownCoverage\": \"{tokens} approved tokens · route coverage unverified\",\n\t\t\t\"swap.estimatedReturn\": \"Estimated return\",\n\t\t\t\"swap.routeDifference\": \"{amount} less than the best route\",\n\t\t\t\"swap.sameReturn\": \"Same estimated return\",\n\t\t\t\"admin.readiness.previousCheck\": \"Previous check — current status unverified\",\n\t\t\t\"admin.readiness.previousSample\": \"Estimate from the last successful check\",\n\t\t\t\"admin.providers.details\": \"Provider details\",\n\t\t\t\"jupiter.reviewWallet\": \"Signing with {wallet}\",\n\t\t\t\"jupiter.reviewGuidance\": \"Review the amounts, minimum received and fees, then approve in your wallet. This quote expires within one minute; an expired quote requires a fresh review.\",\n\t\t\t\"public.featureUnavailable\": \"This feature is unavailable on this site.\",\n\t\t\t\"swap.highImpact\": \"Price impact is {impact}. Review the rate and protection details before relying on this estimate.\",\n\t\t\t\"swap.quoteDetails\": \"Quote details\",\n\t\t\t\"swap.enterToCompare\": \"Your estimate and available routes appear here after you enter an amount.\",\n\t\t\t\"swap.noTokenMatches\": \"Try a token name, symbol, or full mint address from this site’s approved list.\",\n\t\t\t\"swap.noApprovedTokens\": \"No approved tokens are available for this side of the pair. Close the picker and choose another pair.\",\n\t\t\t\"swap.showApprovedTokens\": \"Show approved tokens\",\n\t\t\t\"admin.tokens.preview\": \"Visitor preview\",\n\t\t\t\"admin.settings.protectionSummary\": \"Applied by default to new quotes and wallet swap reviews.\",\n\t\t\t\"admin.readiness.details\": \"Check details and scope\",\n\t\t\t\"jupiter.connectToReview\": \"Connect a wallet to review this swap.\",\n\t\t\t\"jupiter.connectWallet\": \"Connect {wallet}\",\n\t\t\t\"jupiter.enterToReview\": \"Enter an amount to review the exact return and fees.\",\n\t\t\t\"admin.providers.allowQuotes\": \"Use {provider} for quotes\",\n\t\t\t\"trading.title\": \"Trading\",\n\t\t\t\"public.portfolioDescription\": \"View your balances and trading activity.\",\n\t\t\t\"public.transferDescription\": \"Send tokens to another Solana wallet.\",\n\t\t\t\"public.tradingDescription\": \"Place and manage Solana token orders.\",\n\t\t\t\"admin.settings.editProtection\": \"Edit protection\",\n\t\t\t\"common.copy\": \"Copy\",\n\t\t\t\"common.copied\": \"Copied\",\n\t\t\t\"common.copyIdentifier\": \"Copy {label}\",\n\t\t\t\"common.copyFailed\": \"Could not copy. Select the full value above to copy it manually.\",\n\t\t\t\"swap.exactAmount\": \"Exact amount\",\n\t\t\t\"swap.previewDescription\": \"Enter an amount to compare approved routes. No wallet or signature needed.\",\n\t\t\t\"admin.tokens.optionalMetadata\": \"Categories and market data\",\n\t\t\t\"admin.tokens.details\": \"Token details\",\n\t\t\t\"jupiter.pendingTitle\": \"Confirmation pending\",\n\t\t\t\"jupiter.failedTitle\": \"Swap failed\",\n\t\t\t\"jupiter.newSwap\": \"Start another swap\",\n\t\t\t\"jupiter.backToSwap\": \"Back to swap\",\n\t\t\t\"jupiter.walletDetails\": \"Wallet address\",\n\t\t\t\"jupiter.walletSettingBody\": \"Visitors can approve swaps in their own wallets when a Trade block uses Jupiter execution. Quote previews remain available without a wallet.\",\n\t\t\t\"jupiter.settingEnabled\": \"Wallet swaps allowed\",\n\t\t\t\"jupiter.settingDisabled\": \"Quote previews only\",\n\t\t\t\"admin.tokens.invalidPolicyTitle\": \"Token policy needs repair\",\n\t\t\t\"admin.tokens.invalidPolicyBody\": \"The saved token list is invalid, so visitors cannot get quotes. Retry after correcting it, or restore the default tokens.\",\n\t\t\t\"admin.tokens.restoreDefaultsBody\": \"Replace the invalid token list with the default tokens? This removes the saved custom token policy. Other settings stay unchanged.\",\n\t\t\t\"jupiter.enable\": \"Allow swaps signed by visitors in their existing Solana wallets\",\n\t\t\t\"jupiter.policyLoading\": \"Checking swap availability…\",\n\t\t\t\"jupiter.policyUnavailable\": \"Swap availability could not be checked. Retry before connecting your wallet.\",\n\t\t\t\"jupiter.reviewPolicyUnavailable\": \"Swap availability could not be checked. Review a fresh quote to try again.\",\n\t\t\t\"jupiter.reviewValidity\": \"This quote is valid for up to one minute. If it expires, review a fresh quote before signing.\",\n\t\t\t\"jupiter.reviewExpired\": \"This quote expired. Review a fresh quote to continue. No swap was submitted.\",\n\t\t\t\"jupiter.eyebrow\": \"Solana trading\",\n\t\t\t\"jupiter.title\": \"Swap tokens\",\n\t\t\t\"jupiter.description\": \"Connect your Solana wallet, compare the current exchange rate, and review your swap with Jupiter.\",\n\t\t\t\"jupiter.approval\": \"Your wallet asks you to approve each swap. Review the tokens, amount, fees, and minimum received before signing.\",\n\t\t\t\"jupiter.connect\": \"Connect your Solana wallet\",\n\t\t\t\"jupiter.disconnect\": \"Disconnect from this page\",\n\t\t\t\"jupiter.noWallet\": \"Open this page in your Phantom or Solflare wallet browser, or enable a compatible Solana wallet extension.\",\n\t\t\t\"jupiter.connectFailed\": \"The wallet connection was not completed. Try again in your wallet.\",\n\t\t\t\"jupiter.orderFailed\": \"The swap could not be prepared. No swap was submitted. Review a fresh quote to try again.\",\n\t\t\t\"jupiter.tokensChanged\": \"The site updated its approved tokens. Check the pair and amount, then request a new review.\",\n\t\t\t\"jupiter.disabled\": \"Swaps are currently unavailable on this site. No new swap was submitted. Try again after the site owner enables them.\",\n\t\t\t\"jupiter.signFailed\": \"The swap was not submitted. Wallet approval was declined, the quote expired, or the wallet changed. Review a fresh quote to continue.\",\n\t\t\t\"jupiter.unknown\": \"The swap status is not confirmed yet. Check the same transaction before starting another swap.\",\n\t\t\t\"jupiter.walletRecovery\": \"You can also check your wallet activity. Leaving this page does not cancel a submitted transaction. After returning, check its status here or verify the outcome in your wallet.\",\n\t\t\t\"jupiter.acknowledge\": \"I verified the outcome in my wallet — stop tracking here\",\n\t\t\t\"jupiter.recoveryUnavailable\": \"This browser cannot save recovery information. Keep this page open until the transaction status is known.\",\n\t\t\t\"jupiter.pay\": \"You pay\",\n\t\t\t\"jupiter.amount\": \"Amount\",\n\t\t\t\"jupiter.receive\": \"You receive\",\n\t\t\t\"jupiter.review\": \"Review swap\",\n\t\t\t\"jupiter.working\": \"Working…\",\n\t\t\t\"jupiter.reviewTitle\": \"Review your swap\",\n\t\t\t\"jupiter.waitingApproval\": \"Waiting for wallet approval\",\n\t\t\t\"jupiter.waitingApprovalBody\": \"Approve or decline the request in your wallet. Keep this page open while the request completes.\",\n\t\t\t\"jupiter.minimum\": \"Minimum received\",\n\t\t\t\"jupiter.impact\": \"Price impact\",\n\t\t\t\"jupiter.fee\": \"Swap fee\",\n\t\t\t\"jupiter.network\": \"Estimated network and account fees\",\n\t\t\t\"jupiter.approve\": \"Approve in wallet\",\n\t\t\t\"jupiter.checkStatus\": \"Check transaction status\",\n\t\t\t\"jupiter.confirmed\": \"Swap confirmed\",\n\t\t\t\"jupiter.confirmedBody\": \"Confirmed on Solana. View the transaction for the final amounts and fees.\",\n\t\t\t\"jupiter.quotedReturn\": \"Quoted return\",\n\t\t\t\"jupiter.failed\": \"The swap failed. Network fees may still apply. Review a new quote before trying again.\",\n\t\t\t\"jupiter.explorer\": \"View transaction\",\n\t\t\t\"common.loading\": \"Loading…\",\n\t\t\t\"common.close\": \"Close\",\n\t\t\t\"common.dismiss\": \"Dismiss\",\n\t\t\t\"common.remove\": \"Remove\",\n\t\t\t\"common.cancel\": \"Cancel\",\n\t\t\t\"common.save\": \"Save\",\n\t\t\t\"common.create\": \"Create\",\n\t\t\t\"common.refresh\": \"Refresh\",\n\t\t\t\"common.retry\": \"Retry\",\n\t\t\t\"common.updated\": \"Updated {time}\",\n\t\t\t\"common.actions\": \"Actions\",\n\t\t\t\"common.status\": \"Status\",\n\t\t\t\"common.ready\": \"Ready\",\n\t\t\t\"common.unknown\": \"unknown\",\n\t\t\t\"common.none\": \"none\",\n\t\t\t\"common.notSet\": \"not set\",\n\t\t\t\"common.optional\": \"optional\",\n\t\t\t\"common.defaultLimit\": \"default limit\",\n\t\t\t\"common.unavailable\": \"Unavailable\",\n\t\t\t\"common.milliseconds\": \"{value} ms\",\n\t\t\t\"common.minutesShort\": \"{value} min\",\n\t\t\t\"common.secondsShort\": \"{value} s\",\n\t\t\t\"errors.requestFailed\": \"The request did not go through. Check your connection and try again.\",\n\t\t\t\"errors.unauthorized\": \"You do not have permission to perform this action.\",\n\t\t\t\"errors.rateLimited\": \"Too many requests. Wait a moment and try again.\",\n\t\t\t\"errors.invalidMint\": \"Enter a valid token address.\",\n\t\t\t\"errors.invalidAmount\": \"Enter a valid amount.\",\n\t\t\t\"errors.tokenNotFound\": \"That token could not be found.\",\n\t\t\t\"errors.noProviders\": \"No swap providers are available right now. Try again later or contact the site owner.\",\n\t\t\t\"errors.indexerNotConfigured\": \"Portfolio data is not connected for this site yet.\",\n\t\t\t\"errors.badRequest\": \"The request was rejected. Review your input and try again.\",\n\t\t\t\"errors.provider\": \"A trading service is temporarily unavailable. Try again in a moment.\",\n\t\t\t\"errors.rpc\": \"Could not reach the Solana network. Try again shortly.\",\n\t\t\t\"errors.config\": \"Cedros Trade is not fully set up yet. Contact the site owner.\",\n\t\t\t\"errors.upstreamTimeout\": \"A service took too long to respond. Try again shortly.\",\n\t\t\t\"autosave.unsaved\": \"Unsaved changes\",\n\t\t\t\"autosave.saving\": \"Saving…\",\n\t\t\t\"autosave.saved\": \"Saved just now\",\n\t\t\t\"autosave.idle\": \"Saved\",\n\t\t\t\"autosave.offline\": \"Offline - changes will sync\",\n\t\t\t\"autosave.conflict\": \"Conflict - review changes\",\n\t\t\t\"autosave.failed\": \"Save failed - retry\",\n\t\t\t\"autosave.review\": \"Review\",\n\t\t\t\"autosave.unresolvedDiscard\": \"Cannot discard an autosave with an unresolved result.\",\n\t\t\t\"autosave.discard\": \"Discard local changes\",\n\t\t\t\"admin.group.tools\": \"Tools\",\n\t\t\t\"admin.group.settings\": \"Settings\",\n\t\t\t\"admin.group.extensionSettings\": \"Extension Settings\",\n\t\t\t\"admin.nav.overview\": \"Overview\",\n\t\t\t\"admin.nav.providers\": \"Quote routes\",\n\t\t\t\"admin.nav.tokens\": \"Token registry\",\n\t\t\t\"admin.nav.monitor\": \"Future automation\",\n\t\t\t\"admin.nav.settings\": \"Trade settings\",\n\t\t\t\"admin.overview.title\": \"Quote preview\",\n\t\t\t\"admin.overview.totalQuotes\": \"Total quotes\",\n\t\t\t\"admin.overview.totalSwaps\": \"Total swaps\",\n\t\t\t\"admin.overview.monitorMode\": \"Monitor mode\",\n\t\t\t\"admin.overview.serviceStatus\": \"Service status\",\n\t\t\t\"admin.overview.executionsSucceeded\": \"Executions succeeded\",\n\t\t\t\"admin.overview.executionsFailed\": \"Executions failed\",\n\t\t\t\"admin.overview.executionFailureRate\": \"Execution failure rate\",\n\t\t\t\"admin.overview.description\": \"Check that visitors can receive an approved conversion estimate.\",\n\t\t\t\"admin.overview.activityTitle\": \"Future transaction diagnostics\",\n\t\t\t\"admin.overview.activityBody\": \"These dry-run order and execution counts are retained for future wallet integration. They are not required to publish the quote preview.\",\n\t\t\t\"admin.overview.emptyTitle\": \"Runtime data unavailable\",\n\t\t\t\"admin.overview.emptyBody\": \"Bind the Cedros Trade server routes to populate health and metric summaries.\",\n\t\t\t\"admin.readiness.title\": \"Launch readiness\",\n\t\t\t\"admin.readiness.description\": \"Verify the same runtime, token policy, and provider comparison that visitors use on the quote page.\",\n\t\t\t\"admin.readiness.quoteReady\": \"Quote preview ready\",\n\t\t\t\"admin.readiness.needsAttention\": \"Quote preview needs attention\",\n\t\t\t\"admin.readiness.ready\": \"Ready\",\n\t\t\t\"admin.readiness.blocked\": \"Blocked\",\n\t\t\t\"admin.readiness.notChecked\": \"Not checked\",\n\t\t\t\"admin.readiness.runtime\": \"Trade runtime\",\n\t\t\t\"admin.readiness.runtimeReady\": \"The packaged Wasm route is responding.\",\n\t\t\t\"admin.readiness.runtimeBlocked\": \"The packaged Wasm route is not responding.\",\n\t\t\t\"admin.readiness.provider\": \"Launch-pair routes\",\n\t\t\t\"admin.readiness.providerReady\": \"All {responded} of {expected} approved routes returned a quote for the launch pair, {pair}.\",\n\t\t\t\"admin.readiness.providerPartial\": \"{responded} of {expected} approved routes returned a quote for the launch pair, {pair}. Missing: {providers}. Retry or disable a route the site does not intend to offer.\",\n\t\t\t\"admin.readiness.providerUnknown\": \"The approved route policy could not be loaded, so complete coverage cannot be verified. Retry before publishing.\",\n\t\t\t\"admin.readiness.providerBlocked\": \"No enabled provider returned a quote for the launch pair, {pair}. Review quote-route access and try again.\",\n\t\t\t\"admin.readiness.providerWaiting\": \"The launch-pair quote will be checked after the token policy is available and includes a compatible pair.\",\n\t\t\t\"admin.readiness.defaultPair\": \"Launch pair unavailable\",\n\t\t\t\"admin.readiness.sampleReady\": \"What a visitor would see now\",\n\t\t\t\"admin.readiness.samplePartial\": \"Best estimate from responding routes\",\n\t\t\t\"admin.readiness.sampleEstimate\": \"{input} {inputSymbol} → {output} {outputSymbol} via {provider}\",\n\t\t\t\"admin.readiness.sampleImpact\": \"Price impact {impact}\",\n\t\t\t\"admin.readiness.sampleMinimum\": \"Minimum received {amount} {symbol}\",\n\t\t\t\"admin.readiness.scope\": \"This check uses one unit of the displayed launch pair. Other approved pairs and amounts are quoted when visitors enter them; this is a current estimate, not a guarantee or a transaction.\",\n\t\t\t\"admin.readiness.tokens\": \"Token policy\",\n\t\t\t\"admin.readiness.tokenCount\": \"{count} reviewed tokens are available.\",\n\t\t\t\"admin.readiness.tokensUnavailable\": \"The approved token policy could not be loaded. Retry before publishing.\",\n\t\t\t\"admin.readiness.tokensIncomplete\": \"Only {count} reviewed token entries are available. Add at least two compatible tokens before publishing.\",\n\t\t\t\"admin.readiness.transactions\": \"Wallet transactions\",\n\t\t\t\"admin.readiness.transactionsBlocked\": \"General swap and order signing are not available through a documented Cedros public-block contract. Keep transactional pages unpublished; quote preview can still be used when the checks above pass.\",\n\t\t\t\"admin.readiness.hostHandoff\": \"Host handoff required\",\n\t\t\t\"admin.readiness.publishNext\": \"Review the quote page in Cedros Pages before publishing. This check does not change its publication state.\",\n\t\t\t\"admin.readiness.recheck\": \"Run check again\",\n\t\t\t\"admin.readiness.checking\": \"Checking…\",\n\t\t\t\"admin.readiness.checkedAt\": \"Checked {time}\",\n\t\t\t\"admin.integrations.title\": \"Integration boundaries\",\n\t\t\t\"admin.integrations.description\": \"Review the official Cedros contracts that own identity, CRM, checkout, subscriptions, and payment rails before enabling production traffic.\",\n\t\t\t\"admin.integrations.loginUser\": \"Cedros Login user context\",\n\t\t\t\"admin.integrations.loginAdmin\": \"Cedros Login admin auth\",\n\t\t\t\"admin.integrations.crmProfile\": \"CRM profiles and tags\",\n\t\t\t\"admin.integrations.payBoundary\": \"Cedros Pay checkout boundary\",\n\t\t\t\"admin.integrations.available\": \"Available\",\n\t\t\t\"admin.integrations.missing\": \"Missing\",\n\t\t\t\"admin.integrations.hostOwned\": \"Host-owned\",\n\t\t\t\"admin.integrations.notConsumed\": \"Not consumed\",\n\t\t\t\"admin.integrations.audited\": \"Audited\",\n\t\t\t\"admin.integrations.paySummary\": \"Cedros Trade does not create checkout, subscription, x402, Stripe, refund, dispute, or paid-access flows. Any future commerce or entitlement gate must depend on Cedros Pay 2.0 contracts and fail closed when Pay state is missing, pending, failed, refunded, disputed, stale, or unavailable.\",\n\t\t\t\"admin.providers.title\": \"Quote routes\",\n\t\t\t\"admin.providers.description\": \"Choose the providers included in visitor comparisons.\",\n\t\t\t\"admin.providers.healthScope\": \"Health shows the last provider check. Use Quote preview to verify current quote coverage.\",\n\t\t\t\"admin.providers.noneEnabledTitle\": \"No quote routes enabled\",\n\t\t\t\"admin.providers.noneEnabledBody\": \"Enable a provider below so visitors can receive conversion estimates.\",\n\t\t\t\"admin.providers.healthy\": \"Healthy\",\n\t\t\t\"admin.providers.unhealthy\": \"Unhealthy\",\n\t\t\t\"admin.providers.notChecked\": \"Not checked\",\n\t\t\t\"admin.providers.notCheckedBody\": \"Run the readiness check to confirm this route can return a quote.\",\n\t\t\t\"admin.providers.dflowCredentialMissing\": \"DFlow is unavailable until the host stores its API credential.\",\n\t\t\t\"admin.providers.configureDflowFirst\": \"Configure the host-managed dflowApiKey secret before enabling DFlow.\",\n\t\t\t\"admin.providers.gasless\": \"Gasless\",\n\t\t\t\"admin.providers.mevProtected\": \"MEV-protected\",\n\t\t\t\"admin.providers.enabled\": \"Enabled\",\n\t\t\t\"admin.providers.disabled\": \"Disabled\",\n\t\t\t\"admin.providers.enable\": \"Enable\",\n\t\t\t\"admin.providers.disable\": \"Disable\",\n\t\t\t\"admin.providers.enabling\": \"Enabling…\",\n\t\t\t\"admin.providers.disabling\": \"Disabling…\",\n\t\t\t\"admin.providers.enabledSuccess\": \"{provider} enabled for visitor quotes.\",\n\t\t\t\"admin.providers.disabledSuccess\": \"{provider} disabled for visitor quotes.\",\n\t\t\t\"admin.providers.toggleError\": \"Could not update providers. No change was saved — try again.\",\n\t\t\t\"admin.providers.keepOne\": \"Keep at least one provider enabled so visitors can request quotes.\",\n\t\t\t\"admin.providers.emptyTitle\": \"No providers returned\",\n\t\t\t\"admin.providers.emptyBody\": \"Provider records appear after the server route and approved upstream bindings are available.\",\n\t\t\t\"admin.tokens.title\": \"Token registry\",\n\t\t\t\"admin.tokens.description\": \"Review which tokens visitors can select in the public quote preview.\",\n\t\t\t\"admin.tokens.count\": \"{count} tokens\",\n\t\t\t\"admin.tokens.count.one\": \"{count} token\",\n\t\t\t\"admin.tokens.add\": \"Add token\",\n\t\t\t\"admin.tokens.addTitle\": \"Add token\",\n\t\t\t\"admin.tokens.editTitle\": \"Edit {symbol}\",\n\t\t\t\"admin.tokens.saveChanges\": \"Save changes\",\n\t\t\t\"admin.tokens.search\": \"Filter tokens…\",\n\t\t\t\"admin.tokens.mintPlaceholder\": \"Mint address\",\n\t\t\t\"admin.tokens.symbolPlaceholder\": \"Symbol (e.g. SOL)\",\n\t\t\t\"admin.tokens.namePlaceholder\": \"Name (e.g. Solana)\",\n\t\t\t\"admin.tokens.decimalsPlaceholder\": \"Decimals\",\n\t\t\t\"admin.tokens.logoUrlPlaceholder\": \"Logo URL\",\n\t\t\t\"admin.tokens.coingeckoIdPlaceholder\": \"CoinGecko ID\",\n\t\t\t\"admin.tokens.tradingviewSymbolPlaceholder\": \"TradingView symbol\",\n\t\t\t\"admin.tokens.categoriesPlaceholder\": \"Categories (comma-separated)\",\n\t\t\t\"admin.tokens.tableToken\": \"Token\",\n\t\t\t\"admin.tokens.tableMint\": \"Mint\",\n\t\t\t\"admin.tokens.tableDecimals\": \"Dec\",\n\t\t\t\"admin.tokens.tableCategories\": \"Categories\",\n\t\t\t\"admin.tokens.edit\": \"Edit\",\n\t\t\t\"admin.tokens.delete\": \"Delete token\",\n\t\t\t\"admin.tokens.moreActions\": \"More actions for {symbol}\",\n\t\t\t\"admin.tokens.clearSearch\": \"Clear search\",\n\t\t\t\"admin.tokens.confirmDelete\": \"Delete {symbol} token?\",\n\t\t\t\"admin.tokens.added\": \"Token added.\",\n\t\t\t\"admin.tokens.updated\": \"Token updated.\",\n\t\t\t\"admin.tokens.removed\": \"Token removed.\",\n\t\t\t\"admin.tokens.restored\": \"Default tokens restored.\",\n\t\t\t\"admin.tokens.restoreDefaults\": \"Restore default tokens\",\n\t\t\t\"admin.tokens.registryChanged\": \"The token registry changed. Review the refreshed tokens before saving again. Your draft is still here.\",\n\t\t\t\"admin.settings.changed\": \"Settings changed while you were editing. Review the refreshed values before saving again. Your draft is still here.\",\n\t\t\t\"admin.settings.currentProtection\": \"Current saved protection: {value}%.\",\n\t\t\t\"admin.tokens.errorMissing\": \"This token is no longer in the registry. Cancel this edit to return to the current tokens.\",\n\t\t\t\"admin.tokens.failed\": \"Could not save token registry\",\n\t\t\t\"admin.tokens.emptyTitle\": \"No tokens yet\",\n\t\t\t\"admin.tokens.emptyBody\": \"Restore the default approved tokens to enable quote previews, then review and customize the list for this site.\",\n\t\t\t\"admin.tokens.noSearchResultsTitle\": \"No tokens match your search\",\n\t\t\t\"admin.tokens.noSearchResultsBody\": \"No registered token matches “{term}”. Clear the search to see all tokens.\",\n\t\t\t\"admin.tokens.deletePendingTitle\": \"Confirm token removal\",\n\t\t\t\"admin.tokens.deletePendingBody\": \"This removes mint {mint} from the registry and can make the public quote page hide or reject it. This cannot be undone.\",\n\t\t\t\"admin.tokens.errorRequired\": \"Mint, symbol, name, and decimals are required.\",\n\t\t\t\"admin.tokens.errorDecimals\": \"Decimals must be an integer from 0 to 18.\",\n\t\t\t\"admin.tokens.errorDuplicateMint\": \"A token with that mint already exists.\",\n\t\t\t\"admin.tokens.errorMinimum\": \"Keep at least two approved assets so visitors can compare a conversion.\",\n\t\t\t\"admin.tokens.errorLimit\": \"The token registry supports at most 100 approved assets.\",\n\t\t\t\"admin.tokens.errorMetadataLength\": \"Symbol and token metadata are too long.\",\n\t\t\t\"admin.tokens.errorLogoUrl\": \"Logo URL must be a valid HTTPS URL.\",\n\t\t\t\"admin.tokens.errorCategories\": \"Use at most 16 categories, with no more than 32 characters per category.\",\n\t\t\t\"admin.monitor.title\": \"Price monitor\",\n\t\t\t\"admin.monitor.description\": \"Inspect monitored-order volume, poll cadence, execution totals, and dry-run status before automation is enabled.\",\n\t\t\t\"admin.monitor.resume\": \"Resume\",\n\t\t\t\"admin.monitor.pause\": \"Pause\",\n\t\t\t\"admin.monitor.activeOrders\": \"Active orders\",\n\t\t\t\"admin.monitor.pollInterval\": \"Poll interval\",\n\t\t\t\"admin.monitor.totalExecutions\": \"Total executions\",\n\t\t\t\"admin.monitor.paused\": \"Paused\",\n\t\t\t\"admin.monitor.running\": \"Running\",\n\t\t\t\"admin.monitor.dryRun\": \"Test mode\",\n\t\t\t\"admin.monitor.dryRunNoticeTitle\": \"Test mode only\",\n\t\t\t\"admin.monitor.dryRunNoticeBody\": \"The price monitor reports stored order and execution counts. It does not evaluate triggers, place trades, or sign transactions. The schedule can remain disabled. Live execution stays off until Cedros publishes a general signing contract.\",\n\t\t\t\"admin.monitor.emptyTitle\": \"Monitor status unavailable\",\n\t\t\t\"admin.monitor.emptyBody\": \"Metrics will appear after the price-monitor job and metrics route are bound.\",\n\t\t\t\"admin.settings.title\": \"Trade settings\",\n\t\t\t\"admin.settings.description\": \"Choose which quote routes visitors can use and the protection applied by default.\",\n\t\t\t\"admin.settings.tabs\": \"Quote settings sections\",\n\t\t\t\"admin.settings.runtimeConfig\": \"Defaults & swaps\",\n\t\t\t\"admin.settings.runtimeSummary\": \"Wallet swaps\",\n\t\t\t\"admin.settings.futureAutomationTitle\": \"Future automation\",\n\t\t\t\"admin.settings.futureAutomationBody\": \"Optional compatibility diagnostics for monitored orders. Live execution remains unavailable until Cedros publishes verified wallet ownership and a general signing contract.\",\n\t\t\t\"admin.settings.saved\": \"Trade settings saved.\",\n\t\t\t\"admin.settings.network\": \"Network\",\n\t\t\t\"admin.settings.rpcUrl\": \"RPC URL\",\n\t\t\t\"admin.settings.jupiterPreview\": \"Jupiter quote preview\",\n\t\t\t\"admin.settings.jupiterCompatibility\": \"Jupiter transaction compatibility\",\n\t\t\t\"admin.settings.jupiterPrice\": \"Jupiter price\",\n\t\t\t\"admin.settings.jupiterKey\": \"Jupiter key\",\n\t\t\t\"admin.settings.ultra\": \"Ultra\",\n\t\t\t\"admin.settings.dflow\": \"DFlow\",\n\t\t\t\"admin.settings.dflowKey\": \"DFlow key\",\n\t\t\t\"admin.settings.coingecko\": \"CoinGecko\",\n\t\t\t\"admin.settings.coingeckoKey\": \"CoinGecko key\",\n\t\t\t\"admin.settings.slippage\": \"Quote protection\",\n\t\t\t\"admin.settings.slippageHint\": \"Maximum price movement allowed by the estimate. Keep 0.3% unless this site needs a deliberate exception. Range 0–50%.\",\n\t\t\t\"admin.settings.saveSlippage\": \"Save protection\",\n\t\t\t\"admin.settings.enabledProviders\": \"Enabled providers: {providers}\",\n\t\t\t\"admin.settings.enabledProviderCount\": \"Enabled quote routes\",\n\t\t\t\"admin.settings.connectionDetails\": \"Connection details\",\n\t\t\t\"admin.settings.errorSlippageRange\": \"Enter a percentage from 0 to 50 with no more than two decimal places.\",\n\t\t\t\"admin.settings.secretRedacted\": \"Stored as a secret; value is redacted.\",\n\t\t\t\"admin.settings.secretConfigured\": \"Configured; value is redacted.\",\n\t\t\t\"admin.status.loadingTitle\": \"Loading\",\n\t\t\t\"admin.status.loadingSummary\": \"Checking Cedros Trade status.\",\n\t\t\t\"admin.status.permissionTitle\": \"Permission required\",\n\t\t\t\"admin.status.permissionSummary\": \"Manage extensions permission is required.\",\n\t\t\t\"admin.status.serverUnboundTitle\": \"Server unbound\",\n\t\t\t\"admin.status.serverUnboundSummary\": \"Cedros Trade server routes are not configured.\",\n\t\t\t\"admin.status.statsUnavailableTitle\": \"Stats unavailable\",\n\t\t\t\"admin.status.statsUnavailableSummary\": \"Analytics data is unavailable; route checks still run separately.\",\n\t\t\t\"admin.status.analyticsError\": \"Analytics error\",\n\t\t\t\"admin.status.statusUnavailableTitle\": \"Status unavailable\",\n\t\t\t\"admin.status.refreshFailed\": \"Refresh failed · showing the last check\",\n\t\t\t\"admin.status.stale\": \"Stale\",\n\t\t\t\"admin.status.staleSummary\": \"The last readiness check is out of date. Recheck the quote path before publishing.\",\n\t\t\t\"admin.status.retryLater\": \"Retry later\",\n\t\t\t\"admin.status.noRuntimeTitle\": \"No runtime data\",\n\t\t\t\"admin.status.noRuntimeSummary\": \"Bind the Cedros Trade server routes, then open settings to review providers and tokens.\",\n\t\t\t\"admin.status.noData\": \"No data\",\n\t\t\t\"admin.status.tradeTitle\": \"Trade status\",\n\t\t\t\"admin.status.tradeSummary\": \"Service {serviceStatus}; monitor {monitorStatus}.\",\n\t\t\t\"admin.status.quoteTitle\": \"Quote preview\",\n\t\t\t\"admin.status.quoteReadySummary\": \"The public quote path is responding through {providerCount} provider routes.\",\n\t\t\t\"admin.status.quoteReadySummary.one\": \"The public quote path is responding through {providerCount} provider route.\",\n\t\t\t\"admin.status.quotePartialSummary\": \"The public quote path is degraded: {responded} of {expected} approved routes responded.\",\n\t\t\t\"admin.status.quoteAttentionSummary\": \"The public quote path needs attention. Review runtime, provider access, and token policy before publishing.\",\n\t\t\t\"admin.status.runtimeAttentionSummary\": \"The trade runtime is not healthy. Recheck it before publishing the quote page.\",\n\t\t\t\"admin.status.tokenPolicyUnavailableSummary\": \"The approved token policy could not be loaded. Retry before publishing the quote page.\",\n\t\t\t\"admin.status.tokenPolicyIncompleteSummary\": \"Only {count} reviewed token entries are available. Add a compatible pair before publishing.\",\n\t\t\t\"admin.status.providerPolicyUnavailableSummary\": \"The approved route policy could not be loaded, so quote coverage is unknown.\",\n\t\t\t\"admin.status.quoteUnavailableSummary\": \"No enabled provider returned a quote for the launch pair. Review quote-route access and retry.\",\n\t\t\t\"admin.status.providersQuoted\": \"Routes compared\",\n\t\t\t\"admin.status.pairTested\": \"Launch pair\",\n\t\t\t\"admin.status.lastChecked\": \"Last checked\",\n\t\t\t\"admin.status.activeOrders\": \"Active orders\",\n\t\t\t\"admin.status.pendingActions\": \"Pending actions\",\n\t\t\t\"admin.status.state\": \"State\",\n\t\t\t\"admin.status.openMonitor\": \"Open monitor\",\n\t\t\t\"admin.status.unbound\": \"Unbound\",\n\t\t\t\"admin.metrics.notMeasured\": \"Not measured yet\",\n\t\t\t\"admin.status.service.healthy\": \"Healthy\",\n\t\t\t\"admin.status.service.degraded\": \"Degraded\",\n\t\t\t\"admin.status.service.ok\": \"OK\",\n\t\t\t\"admin.status.service.down\": \"Down\",\n\t\t\t\"admin.status.service.unknown\": \"Unknown\",\n\t\t\t\"swap.title\": \"Swap\",\n\t\t\t\"swap.previewTitle\": \"Conversion estimate\",\n\t\t\t\"swap.youPay\": \"You pay\",\n\t\t\t\"swap.youReceive\": \"You receive\",\n\t\t\t\"swap.switchTokens\": \"Switch tokens\",\n\t\t\t\"swap.provider\": \"Provider\",\n\t\t\t\"swap.gasless\": \"gasless\",\n\t\t\t\"swap.priceImpact\": \"Price impact\",\n\t\t\t\"swap.rate\": \"1 {inputSymbol} = {rate} {outputSymbol}\",\n\t\t\t\"swap.minReceived\": \"Min received\",\n\t\t\t\"swap.connectWallet\": \"Connect Wallet\",\n\t\t\t\"swap.previewOnly\": \"Wallet signing unavailable\",\n\t\t\t\"swap.signing\": \"Confirm in your wallet…\",\n\t\t\t\"swap.complete\": \"Swap Complete\",\n\t\t\t\"swap.fetchingQuote\": \"Fetching quote…\",\n\t\t\t\"swap.enterAmount\": \"Enter Amount\",\n\t\t\t\"swap.submitAction\": \"Swap {inputAmount} {inputSymbol} → {outputAmount} {outputSymbol}\",\n\t\t\t\"swap.selectToken\": \"Select token\",\n\t\t\t\"swap.searchToken\": \"Search by name, symbol, or mint…\",\n\t\t\t\"swap.noTokensFound\": \"No tokens found\",\n\t\t\t\"swap.favoriteToken\": \"Favorite {symbol}\",\n\t\t\t\"swap.unfavoriteToken\": \"Remove {symbol} from favorites\",\n\t\t\t\"swap.slippage\": \"Slippage\",\n\t\t\t\"swap.slippageRange\": \"Enter a slippage between 0% and 50%.\",\n\t\t\t\"swap.custom\": \"Custom\",\n\t\t\t\"swap.providerComparison\": \"Provider comparison\",\n\t\t\t\"swap.best\": \"Best\",\n\t\t\t\"swap.bestAvailable\": \"Best available\",\n\t\t\t\"swap.alternatives\": \"Available routes\",\n\t\t\t\"swap.bestAdvantage\": \"The best route returns {amount} {outputSymbol} more than the next available route.\",\n\t\t\t\"swap.coverageComplete\": \"All {count} approved routes were compared.\",\n\t\t\t\"swap.coverageComplete.one\": \"The approved route was compared.\",\n\t\t\t\"swap.coveragePartial\": \"Comparison incomplete: {responded} of {expected} approved routes responded. Missing: {providers}. This is the best available estimate; refresh before relying on it.\",\n\t\t\t\"swap.coverageUnknown\": \"The approved route list could not be verified. This estimate is still usable, but refresh before relying on it.\",\n\t\t\t\"swap.quoteSettings\": \"Quote settings\",\n\t\t\t\"swap.quoteReady\": \"Quote ready\",\n\t\t\t\"swap.quoteReadyBody\": \"Every approved route responded. This current estimate completes the preview and does not move funds.\",\n\t\t\t\"swap.quotePartialBody\": \"This is the best estimate from the routes that responded, not a complete comparison.\",\n\t\t\t\"swap.refreshRequired\": \"Refresh required\",\n\t\t\t\"swap.quoteStaleBody\": \"Market estimates change quickly. Refresh this result before using it to make a decision.\",\n\t\t\t\"swap.refreshQuote\": \"Refresh quote\",\n\t\t\t\"swap.loadingTokenPolicy\": \"Loading the site’s approved tokens…\",\n\t\t\t\"swap.tokenPolicyUnavailable\": \"Approved tokens are unavailable right now. Retry before requesting a quote. If this continues, contact the site owner.\",\n\t\t\t\"swap.tokenPolicyIncomplete\": \"Quote preview is unavailable because this site does not have two compatible approved tokens. Contact the site owner.\",\n\t\t\t\"swap.supportRecovery\": \"Still unavailable? Contact the site owner and include the token pair and approximate amount. Never share wallet credentials.\",\n\t\t\t\"transfer.title\": \"Send\",\n\t\t\t\"transfer.recipient\": \"Recipient\",\n\t\t\t\"transfer.recipientPlaceholder\": \"Wallet address or name.sol\",\n\t\t\t\"transfer.resolving\": \"Looking up name…\",\n\t\t\t\"transfer.resolvesTo\": \"Resolves to: {address}\",\n\t\t\t\"transfer.resolveFailed\": \"Could not resolve this .sol name. Check the spelling or paste a wallet address.\",\n\t\t\t\"transfer.errorEnterValidAmount\": \"Enter a valid amount.\",\n\t\t\t\"transfer.ataWarning\": \"This will create a token account for the recipient ({rent} rent).\",\n\t\t\t\"transfer.sent\": \"Sent!\",\n\t\t\t\"transfer.unavailable\": \"Wallet signing unavailable\",\n\t\t\t\"transaction.action.swap\": \"Swap\",\n\t\t\t\"transaction.action.transfer\": \"Transfer\",\n\t\t\t\"transaction.submitted\": \"{action} submitted\",\n\t\t\t\"transaction.confirmed\": \"{action} confirmed\",\n\t\t\t\"transaction.submittedBody\": \"The network has received the transaction. It may still take a moment to confirm.\",\n\t\t\t\"transaction.confirmedBody\": \"The network confirmed this transaction.\",\n\t\t\t\"transaction.viewExplorer\": \"View on explorer\",\n\t\t\t\"transaction.reference\": \"Transaction reference\",\n\t\t\t\"transaction.failed\": \"The transaction was not accepted. Review the wallet or provider message and try again.\",\n\t\t\t\"public.badge.ownerReviewed\": \"Owner-reviewed page\",\n\t\t\t\"public.badge.walletRequired\": \"Wallet required\",\n\t\t\t\"public.badge.hostSigned\": \"Host-signed actions\",\n\t\t\t\"public.badge.privateDataSafe\": \"Private data hidden\",\n\t\t\t\"public.disclosure.providers\": \"Quotes and routing are provided by third parties ({providers}); nothing on this page is financial advice.\",\n\t\t\t\"public.disclosure.thirdParty\": \"Quotes and routing are provided by third-party providers; nothing on this page is financial advice.\",\n\t\t\t\"public.disclosure.wallet\": \"Approve and sign swaps in your own wallet. Cedros and this site never hold your funds or keys.\",\n\t\t\t\"public.disclosure.preview\": \"Estimates only; no trade is made. Cedros and this site never hold your funds or keys.\",\n\t\t\t\"public.badge.quotePreview\": \"Quote preview\",\n\t\t\t\"public.badge.transactionReady\": \"Transaction ready\",\n\t\t\t\"public.badge.walletConnected\": \"Wallet connected\",\n\t\t\t\"public.badge.unavailable\": \"Setup required\",\n\t\t\t\"public.quoteOnly.title\": \"No wallet needed\",\n\t\t\t\"public.quoteOnly.body\": \"Compare current conversion estimates without signing a transaction or moving funds.\",\n\t\t\t\"public.transactionUnavailable.title\": \"Send from your wallet app\",\n\t\t\t\"public.transactionUnavailable.body\": \"Transfers cannot be started on this site. Use your wallet app to send tokens. This page has not created a transaction.\",\n\t\t\t\"public.tradingUnavailable.title\": \"Orders are unavailable here\",\n\t\t\t\"public.tradingUnavailable.body\": \"Use your wallet’s trading tools to place an order. This site has not created or signed a transaction.\",\n\t\t\t\"public.portfolioUnavailable.title\": \"View balances in your wallet app\",\n\t\t\t\"public.portfolioUnavailable.body\": \"This site does not have access to your portfolio. Open your wallet app to view balances and activity.\",\n\t\t\t\"public.notice.walletTitle\": \"Wallet context required\",\n\t\t\t\"public.notice.walletBody\": \"Trading data and signing controls stay disabled until Cedros Login and the host wallet context identify the visitor.\",\n\t\t\t\"public.notice.signingTitle\": \"Signing is explicit\",\n\t\t\t\"public.notice.signingBody\": \"Cedros Trade builds transactions, then hands them to Cedros Wallet or the host wallet signing flow. Private keys and seed phrases are never requested here.\",\n\t\t\t\"public.notice.providerTitle\": \"Provider readiness\",\n\t\t\t\"public.notice.providerBody\": \"Quotes and market data depend on the site owner enabling approved provider routes before publishing this page.\",\n\t\t\t\"public.notice.indexerTitle\": \"Portfolio scope\",\n\t\t\t\"public.notice.indexerBody\": \"Balances are wallet scoped. P&L and history appear only when an approved indexer binding is available.\",\n\t\t\t\"public.integration.statusLabel\": \"Integration status\",\n\t\t\t\"public.integration.login.label\": \"Cedros Login\",\n\t\t\t\"public.integration.login.required\": \"Required\",\n\t\t\t\"public.integration.login.summary\": \"Signed-out, stale-session, deleted-user, missing-profile, and permission-denied states keep wallet-scoped data and signing controls disabled.\",\n\t\t\t\"public.integration.pay.label\": \"Cedros Pay\",\n\t\t\t\"public.integration.pay.notUsed\": \"No checkout here\",\n\t\t\t\"public.integration.pay.summary\": \"Stripe card, Solana x402 stablecoin, subscription, refund, dispute, and paid-access states belong to Cedros Pay surfaces, not Cedros Trade pages.\",\n\t\t\t\"public.empty.walletTitle\": \"Connect a wallet to continue\",\n\t\t\t\"public.empty.walletBody\": \"This section only shows wallet-scoped balances, orders, and history after the host provides authenticated wallet context.\",\n\t\t\t\"trading.tab.positions\": \"Positions\",\n\t\t\t\"trading.tab.orders\": \"Orders\",\n\t\t\t\"trading.tab.pnl\": \"P&L\",\n\t\t\t\"trading.tab.history\": \"History\",\n\t\t\t\"trading.tab.monitored\": \"Monitored\",\n\t\t\t\"trading.tab.orderbook\": \"Orderbook\",\n\t\t\t\"trading.tab.group\": \"Trading activity\",\n\t\t\t\"trading.buy\": \"Buy\",\n\t\t\t\"trading.sell\": \"Sell\",\n\t\t\t\"trading.orderSide\": \"Order side\",\n\t\t\t\"trading.limit\": \"Limit\",\n\t\t\t\"trading.stopLoss\": \"Stop Loss\",\n\t\t\t\"trading.takeProfit\": \"Take Profit\",\n\t\t\t\"trading.trailing\": \"Trailing\",\n\t\t\t\"trading.oco\": \"OCO\",\n\t\t\t\"trading.bracket\": \"Bracket\",\n\t\t\t\"trading.dca\": \"DCA\",\n\t\t\t\"trading.auto\": \"Auto\",\n\t\t\t\"trading.orderType\": \"Order type\",\n\t\t\t\"trading.limitPrice\": \"Limit Price\",\n\t\t\t\"trading.triggerPrice\": \"Trigger Price\",\n\t\t\t\"trading.markPrice\": \"Mark\",\n\t\t\t\"trading.amount\": \"Amount\",\n\t\t\t\"trading.cycles\": \"Cycles\",\n\t\t\t\"trading.interval\": \"Interval\",\n\t\t\t\"trading.hourly\": \"Hourly\",\n\t\t\t\"trading.daily\": \"Daily\",\n\t\t\t\"trading.weekly\": \"Weekly\",\n\t\t\t\"trading.trailPercentage\": \"Trail Percentage\",\n\t\t\t\"trading.percentBelowPeak\": \"% below peak\",\n\t\t\t\"trading.stopLossPrice\": \"Stop Loss Price\",\n\t\t\t\"trading.takeProfitPrice\": \"Take Profit Price\",\n\t\t\t\"trading.stopLossPercent\": \"Stop Loss %\",\n\t\t\t\"trading.takeProfitPercent\": \"Take Profit %\",\n\t\t\t\"trading.submit\": \"{side} {symbol}\",\n\t\t\t\"trading.errorWalletSigningRequired\": \"Wallet signing is required\",\n\t\t\t\"trading.errorEnterPrice\": \"Enter a price\",\n\t\t\t\"trading.errorEnterValidAmountPrice\": \"Enter a valid amount and price\",\n\t\t\t\"trading.errorEnterTriggerPrice\": \"Enter a trigger price\",\n\t\t\t\"trading.errorEnterValidAmount\": \"Enter a valid amount\",\n\t\t\t\"trading.errorEmbeddedWalletTrailing\": \"Embedded wallet required for trailing stops\",\n\t\t\t\"trading.errorEmbeddedWalletBracket\": \"Embedded wallet required for bracket orders\",\n\t\t\t\"trading.errorOcoPrices\": \"Enter both stop-loss and take-profit prices\",\n\t\t\t\"trading.errorEnableAutoFeature\": \"Enable at least one auto feature\",\n\t\t\t\"trading.errorValidCycleCount\": \"Enter a valid cycle count\",\n\t\t\t\"trading.auto.priceTargets\": \"Price Targets\",\n\t\t\t\"trading.auto.priceTargetsDesc\": \"Set multiple price targets to auto-sell portions\",\n\t\t\t\"trading.auto.profitProtection\": \"Profit Protection\",\n\t\t\t\"trading.auto.profitProtectionDesc\": \"Auto-sell if price drops from peak\",\n\t\t\t\"trading.auto.stopLossDesc\": \"Auto-sell if price drops below threshold\",\n\t\t\t\"trading.auto.trailingStop\": \"Trailing Stop\",\n\t\t\t\"trading.auto.trailingStopDesc\": \"Stop-loss that follows price upward\",\n\t\t\t\"trading.auto.pricePlaceholder\": \"Price\",\n\t\t\t\"trading.auto.dropPercentPlaceholder\": \"Drop %\",\n\t\t\t\"trading.auto.activateAbovePlaceholder\": \"Activate above\",\n\t\t\t\"trading.auto.stopPricePlaceholder\": \"Stop price\",\n\t\t\t\"trading.auto.trailPercentPlaceholder\": \"Trail %\",\n\t\t\t\"trading.auto.priceSuffix\": \"price\",\n\t\t\t\"trading.auto.triggerSuffix\": \"trigger\",\n\t\t\t\"trading.auto.addTarget\": \"+ Add Target\",\n\t\t\t\"trading.auto.removeTarget\": \"Remove target {index}\",\n\t\t\t\"trading.auto.summaryTakeProfit\": \"Take-profit at {price}\",\n\t\t\t\"trading.auto.summaryStopLoss\": \"Stop-loss at {price}\",\n\t\t\t\"trading.auto.summaryTrailing\": \"Trailing stop {percent}\",\n\t\t\t\"trading.chart.emptyTitle\": \"Chart data unavailable\",\n\t\t\t\"trading.chart.title\": \"Price history\",\n\t\t\t\"trading.chart.navigation\": \"Use + and − to zoom, arrow keys to pan, and Home to fit all history. Drag to pan, or hold Control or Command while scrolling to zoom. Double-click to reset.\",\n\t\t\t\"trading.chart.unavailable\": \"The price chart could not be displayed. Retry to load it.\",\n\t\t\t\"trading.chart.summary\": \"Latest close {close} across {count} price intervals.\",\n\t\t\t\"trading.chart.summary.one\": \"Latest close {close} across {count} price interval.\",\n\t\t\t\"trading.chart.data\": \"View price data\",\n\t\t\t\"trading.chart.interval\": \"Date / time\",\n\t\t\t\"trading.chart.open\": \"Open\",\n\t\t\t\"trading.chart.high\": \"High\",\n\t\t\t\"trading.chart.low\": \"Low\",\n\t\t\t\"trading.chart.close\": \"Close\",\n\t\t\t\"trading.chart.emptyBody\": \"There is no price history to show for this market yet.\",\n\t\t\t\"orders.noOpenOrders\": \"No open orders\",\n\t\t\t\"orders.type\": \"Type\",\n\t\t\t\"orders.pair\": \"Pair\",\n\t\t\t\"orders.trigger\": \"Trigger\",\n\t\t\t\"orders.cancel\": \"Cancel\",\n\t\t\t\"orders.cancelConfirm\": \"Confirm cancel\",\n\t\t\t\"orders.cancelKeep\": \"Keep order\",\n\t\t\t\"orders.cancelling\": \"Cancelling…\",\n\t\t\t\"orders.cancelFailed\": \"Could not cancel the order. It is still active — try again.\",\n\t\t\t\"orders.dcaSchedules\": \"DCA Schedules\",\n\t\t\t\"orders.cycles\": \"{completed}/{total} cycles\",\n\t\t\t\"orders.cycles.one\": \"{completed}/{total} cycle\",\n\t\t\t\"orders.next\": \"Next: {date}\",\n\t\t\t\"orders.noMonitored\": \"No monitored orders\",\n\t\t\t\"orders.triggerPrice\": \"Trigger: {price}\",\n\t\t\t\"orders.peakPrice\": \"Peak: {price}\",\n\t\t\t\"orders.filledAt\": \"Filled @ {price}\",\n\t\t\t\"orders.pendingActions\": \"Pending Actions ({count})\",\n\t\t\t\"orders.pendingActions.one\": \"Pending Action ({count})\",\n\t\t\t\"orders.expires\": \"Expires {time}\",\n\t\t\t\"orders.sign\": \"Sign\",\n\t\t\t\"orders.actionTriggered\": \"{type} triggered — sign to execute\",\n\t\t\t\"orders.type.limit\": \"Limit\",\n\t\t\t\"orders.type.stopLoss\": \"Stop Loss\",\n\t\t\t\"orders.type.takeProfit\": \"Take Profit\",\n\t\t\t\"orders.type.trailingStop\": \"Trailing Stop\",\n\t\t\t\"orders.type.oco\": \"OCO\",\n\t\t\t\"orders.type.ocoSl\": \"OCO Stop Loss\",\n\t\t\t\"orders.type.ocoTpWatcher\": \"OCO Take Profit\",\n\t\t\t\"orders.type.bracket\": \"Bracket\",\n\t\t\t\"orders.type.dca\": \"DCA\",\n\t\t\t\"orders.status.open\": \"Open\",\n\t\t\t\"orders.status.filled\": \"Filled\",\n\t\t\t\"orders.status.monitoring\": \"Monitoring\",\n\t\t\t\"orders.status.executed\": \"Executed\",\n\t\t\t\"orders.status.cancelled\": \"Cancelled\",\n\t\t\t\"orders.status.failed\": \"Failed\",\n\t\t\t\"orders.status.actionPending\": \"Action Pending\",\n\t\t\t\"orders.status.independent\": \"Independent\",\n\t\t\t\"orders.status.pendingEntry\": \"Pending Entry\",\n\t\t\t\"orders.status.active\": \"Active\",\n\t\t\t\"orders.status.completed\": \"Completed\",\n\t\t\t\"orders.status.expired\": \"Expired\",\n\t\t\t\"trades.type.swap\": \"Swap\",\n\t\t\t\"trades.type.buy\": \"Buy\",\n\t\t\t\"trades.type.sell\": \"Sell\",\n\t\t\t\"trades.type.transfer\": \"Transfer\",\n\t\t\t\"portfolio.title\": \"Portfolio\",\n\t\t\t\"portfolio.connectWallet\": \"Connect a wallet to view your portfolio\",\n\t\t\t\"portfolio.totalValue\": \"Total Value\",\n\t\t\t\"portfolio.openOrders\": \"Open Orders\",\n\t\t\t\"portfolio.noHoldings\": \"No holdings\",\n\t\t\t\"portfolio.degradedBalances\": \"Token balances are unavailable right now. Showing SOL balance only.\",\n\t\t\t\"portfolio.token\": \"Token\",\n\t\t\t\"portfolio.balance\": \"Balance\",\n\t\t\t\"portfolio.price\": \"Price\",\n\t\t\t\"portfolio.value\": \"Value\",\n\t\t\t\"portfolio.pnlUnavailable\": \"P&L unavailable - indexer not configured\",\n\t\t\t\"portfolio.tradeHistoryUnavailable\": \"Trade history unavailable - indexer not configured\",\n\t\t\t\"portfolio.noTradeHistory\": \"No trade history\",\n\t\t\t\"portfolio.costBasis\": \"Cost Basis\",\n\t\t\t\"portfolio.pnl\": \"P&L\",\n\t\t\t\"portfolio.entry\": \"Entry\",\n\t\t\t\"portfolio.current\": \"Current\",\n\t\t\t\"portfolio.date\": \"Date\",\n\t\t\t\"portfolio.type\": \"Type\",\n\t\t\t\"portfolio.in\": \"In\",\n\t\t\t\"portfolio.out\": \"Out\",\n\t\t\t\"portfolio.source\": \"Source\",\n\t\t\t\"orderbook.noData\": \"No orderbook data\",\n\t\t\t\"orderbook.noDataHint\": \"This market has no live orderbook yet. It appears once a market data route is connected for this pair.\",\n\t\t\t\"orderbook.title\": \"Orderbook\",\n\t\t\t\"orderbook.live\": \"Live\",\n\t\t\t\"orderbook.liveTooltip\": \"Connected to a live market data feed.\",\n\t\t\t\"orderbook.polling\": \"Polling\",\n\t\t\t\"orderbook.pollingTooltip\": \"Refreshing on a timer. Live updates resume when the data feed reconnects.\",\n\t\t\t\"orderbook.selectLevel\": \"Use price {price} for a {side} order\",\n\t\t\t\"orderbook.price\": \"Price\",\n\t\t\t\"orderbook.size\": \"Size\",\n\t\t\t\"orderbook.total\": \"Total\",\n\t\t\t\"orderbook.spread\": \"Spread\",\n\t\t\t\"orderbook.mid\": \"Mid: {price}\",\n\t\t\t\"metadata.extension.description\": \"Owner-governed Solana conversion previews that compare approved providers while wallet-dependent compatibility surfaces remain secondary and fail-closed.\",\n\t\t\t\"metadata.dashboard.status.description\": \"Shows whether the visitor quote journey is ready to publish.\",\n\t\t\t\"metadata.block.tradeSurface.displayName\": \"Solana Quote Preview\",\n\t\t\t\"metadata.block.tradeSurface.description\": \"Owner-editable multi-provider conversion estimate, with preserved compatibility modes for host-integrated wallet surfaces.\",\n\t\t\t\"metadata.block.tradeSurface.nativeFallback\": \"Open this Cedros Trade page in the web experience.\",\n\t\t\t\"metadata.authoredSurface.tradePages.displayName\": \"Trade Pages (Compatibility Set)\",\n\t\t\t\"metadata.authoredSurface.tradePages.description\": \"The primary quote preview plus preserved setup-state pages for existing wallet-dependent Trade content.\",\n\t\t\t\"metadata.authoredSurface.tradePages.eyebrow\": \"Trade\",\n\t\t\t\"metadata.authoredUtility.tradePageSet.displayName\": \"Legacy Trade Page Set\",\n\t\t\t\"metadata.authoredUtility.tradePageSet.description\": \"Preserves the released four-page set for existing content; new sites should create only the Solana Quote Preview.\",\n\t\t\t\"metadata.template.swap.displayName\": \"Solana Quote Preview\",\n\t\t\t\"metadata.template.transfer.displayName\": \"Transfer Setup (Requires Host)\",\n\t\t\t\"metadata.template.trading.displayName\": \"Trading Setup (Requires Host)\",\n\t\t\t\"metadata.template.portfolio.displayName\": \"Portfolio Setup (Requires Host)\",\n\t\t\t\"metadata.page.swap.displayName\": \"Solana Quote Preview\",\n\t\t\t\"metadata.page.transfer.displayName\": \"Transfer Setup (Requires Host)\",\n\t\t\t\"metadata.page.trading.displayName\": \"Trading Setup (Requires Host)\",\n\t\t\t\"metadata.page.portfolio.displayName\": \"Portfolio Setup (Requires Host)\",\n\t\t\t\"metadata.page.swap.description\": \"Extension-owned public page that compares approved Solana providers and explains the best current conversion estimate without moving funds.\",\n\t\t\t\"metadata.page.transfer.description\": \"Compatibility page retained for existing authored content; it stays unavailable until Cedros supplies verified wallet identity and signing.\",\n\t\t\t\"metadata.page.trading.description\": \"Compatibility page retained for existing authored content; order actions stay unavailable without verified wallet identity and signing.\",\n\t\t\t\"metadata.page.portfolio.description\": \"Compatibility page retained for existing authored content; wallet-scoped data stays unavailable without verified wallet identity.\",\n\t\t\t\"metadata.surface.swap.body\": \"Compare approved Solana routes and understand the best current conversion estimate.\",\n\t\t\t\"metadata.surface.transfer.body\": \"Prepare a SOL or SPL transfer only after a documented authenticated wallet and signing integration is connected.\",\n\t\t\t\"metadata.surface.trading.body\": \"Manage smart Solana orders only after a documented verified-wallet signing integration is connected.\",\n\t\t\t\"metadata.surface.portfolio.body\": \"Review balances and activity only after the host supplies verified wallet identity.\",\n\t\t\t\"metadata.template.swapFallback\": \"Swap page unavailable in this export. Open the Cedros Trade web page.\",\n\t\t\t\"metadata.template.transferFallback\": \"Transfer page unavailable in this export. Open the Cedros Trade web page.\",\n\t\t\t\"metadata.template.tradingFallback\": \"Trading page unavailable in this export. Open the Cedros Trade web page.\",\n\t\t\t\"metadata.template.portfolioFallback\": \"Portfolio page unavailable in this export. Open the Cedros Trade web page.\",\n\t\t\t\"metadata.form.tradeSupport.title\": \"Quote Preview Support\",\n\t\t\t\"metadata.form.tradeSupport.description\": \"Tell us what went wrong with your quote. The site owner can review the details and reply by email.\",\n\t\t\t\"metadata.form.tradeSupport.submit\": \"Send request\",\n\t\t\t\"metadata.form.tradeSupport.successTitle\": \"Request received\",\n\t\t\t\"metadata.form.tradeSupport.successMessage\": \"Your request has been sent. The site owner will review it and follow up if more information is needed.\",\n\t\t\t\"metadata.form.email.label\": \"Email\",\n\t\t\t\"metadata.form.email.placeholder\": \"you@example.com\",\n\t\t\t\"metadata.form.email.help\": \"Used only to respond to this support request.\",\n\t\t\t\"metadata.form.issueType.label\": \"Issue type\",\n\t\t\t\"metadata.form.issue.swap\": \"Quote did not load\",\n\t\t\t\"metadata.form.issue.transfer\": \"Amount or rate looks wrong\",\n\t\t\t\"metadata.form.issue.order\": \"Token is unavailable\",\n\t\t\t\"metadata.form.issue.portfolio\": \"Quote details are unclear\",\n\t\t\t\"metadata.form.issue.other\": \"Other\",\n\t\t\t\"metadata.form.message.label\": \"Message\",\n\t\t\t\"metadata.form.message.placeholder\": \"Include the token symbols, approximate amount, and what you expected. Do not include private wallet credentials.\",\n\t\t\t\"metadata.form.consent.label\": \"I consent to being contacted about this support request.\",\n\t\t\t\"metadata.form.consent.help\": \"The site owner may use the submitted email address only to respond to this request.\",\n\t\t\t\"metadata.docs.gettingStarted.displayName\": \"Understanding Your Solana Quote\",\n\t\t\t\"metadata.docs.gettingStarted.title\": \"Understanding Your Solana Quote\",\n\t\t\t\"metadata.docs.gettingStarted.excerpt\": \"How to request, interpret, refresh, and troubleshoot a Cedros Trade conversion estimate.\",\n\t\t\t\"metadata.docs.gettingStarted.navLabel\": \"Understanding Quotes\",\n\t\t\t\"metadata.docs.gettingStarted.bodyMarkdown\": \"# Understanding Your Solana Quote\\n\\nCedros Trade compares current estimates from the Solana providers approved by this site. A quote helps you understand a possible conversion; it does not move funds or request a wallet signature.\\n\\n## Get An Estimate\\n\\n1. Choose the token you would provide and the token you want to receive.\\n2. Enter an amount.\\n3. Wait for the available providers to return estimates.\\n\\nThe page selects the estimate with the highest received amount from the providers that responded. If an approved route is missing, the page labels the result as best available and names the missing provider so you can refresh before relying on it.\\n\\n## Read The Result\\n\\n- **Rate** shows the estimated conversion for one input token.\\n- **Price impact** estimates how much the conversion may move the market price.\\n- **Minimum received** reflects the quote protection selected by the site.\\n- **Available routes** lets you compare the responding providers.\\n- **Updated** tells you when the estimate was received.\\n\\nQuotes can change quickly. Refresh the estimate before using it to make a decision.\\n\\n## If A Quote Does Not Load\\n\\nCheck the amount and token pair, then retry. A provider may be temporarily unavailable even when another provider is working. If no provider returns an estimate, use the Quote Preview Support form and include the token symbols and approximate amount. Never send a seed phrase, private key, password, one-time code, or API key.\\n\",\n\t\t\t\"metadata.docs.walletSafety.displayName\": \"Wallet Safety For Future Trade Actions\",\n\t\t\t\"metadata.docs.walletSafety.title\": \"Wallet Safety For Future Trade Actions\",\n\t\t\t\"metadata.docs.walletSafety.excerpt\": \"Internal compatibility guidance for a future documented wallet-signing integration.\",\n\t\t\t\"metadata.docs.walletSafety.navLabel\": \"Wallet Safety\",\n\t\t\t\"metadata.docs.walletSafety.bodyMarkdown\": \"# Wallet Safety For Future Trade Actions\\n\\nThis internal compatibility guide applies only if this site later connects a documented wallet identity and signing integration. The current public Cedros Trade quote preview does not move funds or request a signature.\\n\\n## Never Share\\n\\n- Seed phrases\\n- Private keys\\n- Passwords\\n- One-time codes\\n- API keys\\n- Card numbers or wallet recovery material\\n\\n## Review Before Signing\\n\\n- The connected wallet is the intended wallet.\\n- The token mint and symbol match what you expect.\\n- The amount, slippage, and recipient are correct.\\n- The transaction source is trusted by your site.\\n\\n## Support Notes\\n\\nA public wallet address or transaction signature may help authorized support investigate a future transaction issue. Never send private credentials through forms, chat, email, or docs comments.\\n\",\n\t\t\t\"metadata.onboarding.reviewReadiness.displayName\": \"Check quote readiness\",\n\t\t\t\"metadata.onboarding.reviewReadiness.description\": \"Confirm that the public runtime, token policy, and every enabled provider can complete the same real comparison quote.\",\n\t\t\t\"metadata.onboarding.configureProviders.displayName\": \"Review quote providers\",\n\t\t\t\"metadata.onboarding.configureProviders.description\": \"Keep only approved provider routes enabled and resolve any upstream access failure.\",\n\t\t\t\"metadata.onboarding.reviewTokenRegistry.displayName\": \"Review quote tokens\",\n\t\t\t\"metadata.onboarding.reviewTokenRegistry.description\": \"Confirm the token pairs visitors may compare on the public quote page.\",\n\t\t\t\"metadata.onboarding.configureSettings.displayName\": \"Review quote protection\",\n\t\t\t\"metadata.onboarding.configureSettings.description\": \"Accept the 0.3% default or choose a site-specific exception before publishing.\",\n\t\t\t\"metadata.onboarding.verifyMonitor.displayName\": \"Optional: review future automation\",\n\t\t\t\"metadata.onboarding.verifyMonitor.description\": \"Inspect the preserved dry-run monitor only when evaluating a future documented wallet-signing integration; it is not required for quote launch.\",\n\t\t\t\"metadata.analytics.swapBuilt.displayName\": \"Swap Built\",\n\t\t\t\"metadata.analytics.swapBuilt.description\": \"Counts successful swap preparation attempts before wallet signing, including visitor-approved external wallets.\",\n\t\t\t\"metadata.analytics.quotePreviewed.displayName\": \"Quote Previewed\",\n\t\t\t\"metadata.analytics.quotePreviewed.description\": \"Counts completed public quote comparisons using redacted token, amount, slippage, and provider metadata.\",\n\t\t\t\"metadata.analytics.swapBuildFailed.displayName\": \"Swap Build Failed\",\n\t\t\t\"metadata.analytics.swapBuildFailed.description\": \"Counts failed swap transaction build attempts using redacted provider and bucket metadata.\",\n\t\t\t\"metadata.analytics.swapExecutionRecorded.displayName\": \"Swap Execution Recorded\",\n\t\t\t\"metadata.analytics.swapExecutionRecorded.description\": \"Counts confirmed or failed execute-response observations without signatures; repeated observations are not unique settled transactions.\",\n\t\t\t\"metadata.analytics.transferBuilt.displayName\": \"Transfer Built\",\n\t\t\t\"metadata.analytics.transferBuilt.description\": \"Counts successful SOL or SPL transfer transaction builds before a documented wallet signing handoff.\",\n\t\t\t\"metadata.analytics.orderSubmitted.displayName\": \"Order Submitted\",\n\t\t\t\"metadata.analytics.orderSubmitted.description\": \"Counts accepted smart or monitored order submissions after validation.\",\n\t\t\t\"metadata.analytics.tradeWorkflowBlocked.displayName\": \"Trade Workflow Blocked\",\n\t\t\t\"metadata.analytics.tradeWorkflowBlocked.description\": \"Counts transfer, order, or orderbook workflows blocked by missing host contracts.\",\n\t\t\t\"metadata.analytics.adminActionCompleted.displayName\": \"Admin Action Completed\",\n\t\t\t\"metadata.analytics.adminActionCompleted.description\": \"Counts completed provider, token registry, settings, and monitor actions in the admin module.\",\n\t\t\t\"metadata.analytics.monitorRunRecorded.displayName\": \"Monitor Run Recorded\",\n\t\t\t\"metadata.analytics.monitorRunRecorded.description\": \"Counts price monitor job run outcomes using redacted aggregate status metadata.\"\n\t\t}\n\t}],\n\tpolicies: [],\n\tpwaShortcuts: [],\n\tcustomerTagAccess: []\n};\nexport { e as t };\n","imports":[],"hasUnsupportedDynamicImports":false},{"path":"workspace/react/dist/ExternalWalletSwap-CNrX_zRs.js","kind":"module","text":"import { B as e, C as t, Ct as n, L as r, O as i, St as a, _t as o, bt as ee, c as s, dt as c, f as te, gt as l, nt as ne, p as re, r as ie, t as ae, vt as u, yt as oe, z as d } from \"./approvedPair-C2gVtD2Y.js\";\nimport { A as se, E as f, O as p, R as ce, w as le, x as ue, y as de } from \"./portfolio-N8aWyHHT.js\";\nimport { t as fe } from \"./usePendingNavigationGuard-BdMNd90d.js\";\nimport { r as pe } from \"./Tabs-BK1QJlcw.js\";\nimport { useEffect as m, useId as me, useRef as h, useState as g } from \"react\";\nimport { Fragment as _, jsx as v, jsxs as y } from \"react/jsx-runtime\";\n// src/components/shared/TradeSelect.tsx\nfunction b({ label: e, value: n, options: r, onChange: i, disabled: a = !1, searchLabel: o, emptyLabel: ee }) {\n\tlet s = me(), c = h(null), l = h(null), ne = h(null), ie = h(null), [ae, u] = g(!1), [oe, d] = g(\"\"), [se, f] = g(0), [p, ce] = g(!1), [le, ue] = g(320), [de, fe] = g(36), pe = h({\n\t\ttext: \"\",\n\t\ttime: 0\n\t}), _ = !!o, b = r.filter((e) => !oe || `${e.label} ${e.searchText ?? \"\"}`.toLocaleLowerCase().includes(oe.toLocaleLowerCase())), x = r.find((e) => e.value === n), S = ae && !a, C = Math.min(se, b.length - 1), w = C >= 0 ? `${s}-option-${C}` : void 0, T = (e = !1) => {\n\t\tu(!1), e && l.current?.focus();\n\t}, E = () => {\n\t\tif (a) return;\n\t\tlet e = l.current?.getBoundingClientRect();\n\t\tif (e && l.current) {\n\t\t\tlet t = Number.parseFloat(getComputedStyle(l.current).getPropertyValue(\"--ct-select-row-height\")) || 32, n = Math.min(320, r.length * t + (_ ? t + 1 : 0) + 10), i = Math.max(0, window.innerHeight - e.bottom - 12), a = Math.max(0, e.top - 12), o = i < n && a > i;\n\t\t\tce(o);\n\t\t\tlet ee = Math.min(320, o ? a : i), s = (_ ? t + 1 : 0) + 10, c = Math.floor(Math.max(0, ee - s) / t);\n\t\t\tue(c ? s + Math.min(r.length, c) * t : ee), fe(e.height);\n\t\t}\n\t\td(\"\"), f(Math.max(0, r.findIndex((e) => e.value === n))), u(!0);\n\t}, he = (e) => {\n\t\ta || (i(e.value), T(!0));\n\t};\n\tm(() => {\n\t\tif (!S) return;\n\t\tne.current?.focus();\n\t\tlet e = (e) => {\n\t\t\te.target instanceof Node && !c.current?.contains(e.target) && u(!1);\n\t\t}, t = () => u(!1);\n\t\treturn document.addEventListener(\"pointerdown\", e), window.addEventListener(\"resize\", t), () => {\n\t\t\tdocument.removeEventListener(\"pointerdown\", e), window.removeEventListener(\"resize\", t);\n\t\t};\n\t}, [S]), m(() => {\n\t\ta && u(!1);\n\t}, [a]), m(() => {\n\t\tif (!S || !w || !ie.current) return;\n\t\tlet e = ie.current, t = e.querySelector(`[id=\"${w}\"]`);\n\t\tif (!t) return;\n\t\tlet n = t.offsetTop - e.offsetTop;\n\t\tn < e.scrollTop ? e.scrollTop = n : n + t.offsetHeight > e.scrollTop + e.clientHeight && (e.scrollTop = n + t.offsetHeight - e.clientHeight);\n\t}, [w, S]);\n\tlet ge = (e) => {\n\t\tif (!a) {\n\t\t\tif (e.key === \"Escape\") e.preventDefault(), T(!0);\n\t\t\telse if (e.key === \"Tab\") T();\n\t\t\telse if (!S) [\n\t\t\t\t\"ArrowDown\",\n\t\t\t\t\"ArrowUp\",\n\t\t\t\t\"Enter\",\n\t\t\t\t\" \"\n\t\t\t].includes(e.key) && (e.preventDefault(), E());\n\t\t\telse if (e.key === \"ArrowDown\" || e.key === \"ArrowUp\") {\n\t\t\t\te.preventDefault();\n\t\t\t\tlet t = e.key === \"ArrowDown\" ? 1 : -1;\n\t\t\t\tf(b.length ? (C + t + b.length) % b.length : 0);\n\t\t\t} else if ((e.key === \"Home\" || e.key === \"End\") && !_) e.preventDefault(), f(e.key === \"Home\" ? 0 : Math.max(0, b.length - 1));\n\t\t\telse if (e.key === \"Enter\" || !_ && e.key === \" \") e.preventDefault(), b[C] && he(b[C]);\n\t\t\telse if (!_ && e.key.length === 1 && !e.ctrlKey && !e.metaKey) {\n\t\t\t\tlet t = Date.now(), n = (t - pe.current.time < 700 ? pe.current.text : \"\") + e.key.toLocaleLowerCase();\n\t\t\t\tpe.current = {\n\t\t\t\t\ttext: n,\n\t\t\t\t\ttime: t\n\t\t\t\t};\n\t\t\t\tlet r = b.findIndex((e) => e.label.toLocaleLowerCase().startsWith(n));\n\t\t\t\tr >= 0 && f(r);\n\t\t\t}\n\t\t}\n\t};\n\treturn /* @__PURE__ */ y(\"div\", {\n\t\tref: c,\n\t\tclassName: \"ct-select\",\n\t\tonBlur: (e) => {\n\t\t\te.currentTarget.contains(e.relatedTarget) || T();\n\t\t},\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ v(\"span\", {\n\t\t\t\tid: `${s}-label`,\n\t\t\t\tclassName: \"ct-select-label\",\n\t\t\t\tchildren: e\n\t\t\t}),\n\t\t\t/* @__PURE__ */ y(\"button\", {\n\t\t\t\tref: l,\n\t\t\t\ttype: \"button\",\n\t\t\t\trole: \"combobox\",\n\t\t\t\t\"aria-labelledby\": `${s}-label ${s}-value`,\n\t\t\t\t\"aria-expanded\": S,\n\t\t\t\t\"aria-controls\": S ? `${s}-list` : void 0,\n\t\t\t\t\"aria-haspopup\": \"listbox\",\n\t\t\t\t\"aria-activedescendant\": S && !_ ? w : void 0,\n\t\t\t\tclassName: \"ct-select-trigger\",\n\t\t\t\tdisabled: a || r.length === 0,\n\t\t\t\tonClick: () => S ? T() : E(),\n\t\t\t\tonKeyDown: ge,\n\t\t\t\tchildren: [/* @__PURE__ */ v(\"span\", {\n\t\t\t\t\tid: `${s}-value`,\n\t\t\t\t\ttitle: x?.label,\n\t\t\t\t\t\"aria-label\": x?.label,\n\t\t\t\t\tchildren: x?.content ?? x?.label ?? e\n\t\t\t\t}), /* @__PURE__ */ v(re, {})]\n\t\t\t}),\n\t\t\tS && /* @__PURE__ */ y(\"div\", {\n\t\t\t\tclassName: `ct-select-panel${p ? \" ct-select-panel--above\" : \"\"}`,\n\t\t\t\tstyle: {\n\t\t\t\t\tmaxHeight: le,\n\t\t\t\t\t...p ? { bottom: de + 4 } : {}\n\t\t\t\t},\n\t\t\t\tchildren: [\n\t\t\t\t\t_ && /* @__PURE__ */ y(\"div\", {\n\t\t\t\t\t\tclassName: \"ct-select-search\",\n\t\t\t\t\t\tchildren: [/* @__PURE__ */ v(t, {}), /* @__PURE__ */ v(\"input\", {\n\t\t\t\t\t\t\tref: ne,\n\t\t\t\t\t\t\trole: \"combobox\",\n\t\t\t\t\t\t\t\"aria-label\": o,\n\t\t\t\t\t\t\tplaceholder: o,\n\t\t\t\t\t\t\t\"aria-expanded\": \"true\",\n\t\t\t\t\t\t\t\"aria-controls\": `${s}-list`,\n\t\t\t\t\t\t\t\"aria-activedescendant\": w,\n\t\t\t\t\t\t\t\"aria-autocomplete\": \"list\",\n\t\t\t\t\t\t\tvalue: oe,\n\t\t\t\t\t\t\tonChange: (e) => {\n\t\t\t\t\t\t\t\td(e.target.value), f(0);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tonKeyDown: ge\n\t\t\t\t\t\t})]\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ v(\"div\", {\n\t\t\t\t\t\tref: ie,\n\t\t\t\t\t\tid: `${s}-list`,\n\t\t\t\t\t\trole: \"listbox\",\n\t\t\t\t\t\t\"aria-labelledby\": `${s}-label`,\n\t\t\t\t\t\tclassName: \"ct-select-options\",\n\t\t\t\t\t\tchildren: b.map((e, t) => /* @__PURE__ */ y(\"div\", {\n\t\t\t\t\t\t\tid: `${s}-option-${t}`,\n\t\t\t\t\t\t\trole: \"option\",\n\t\t\t\t\t\t\t\"aria-selected\": e.value === n,\n\t\t\t\t\t\t\t\"aria-label\": e.label,\n\t\t\t\t\t\t\tclassName: \"ct-select-option\",\n\t\t\t\t\t\t\t\"data-active\": t === C,\n\t\t\t\t\t\t\ttitle: e.label,\n\t\t\t\t\t\t\tonPointerMove: () => f(t),\n\t\t\t\t\t\t\tonMouseDown: (e) => e.preventDefault(),\n\t\t\t\t\t\t\tonClick: () => he(e),\n\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ v(\"span\", {\n\t\t\t\t\t\t\t\tclassName: \"ct-select-check\",\n\t\t\t\t\t\t\t\tchildren: e.value === n && /* @__PURE__ */ v(te, {})\n\t\t\t\t\t\t\t}), /* @__PURE__ */ v(\"span\", { children: e.content ?? e.label })]\n\t\t\t\t\t\t}, e.value))\n\t\t\t\t\t}),\n\t\t\t\t\tb.length === 0 && /* @__PURE__ */ v(\"p\", {\n\t\t\t\t\t\tclassName: \"ct-select-empty\",\n\t\t\t\t\t\trole: \"status\",\n\t\t\t\t\t\tchildren: ee\n\t\t\t\t\t})\n\t\t\t\t]\n\t\t\t})\n\t\t]\n\t});\n}\n// src/utils/walletRegistry.ts\nfunction x(e) {\n\treturn typeof e != \"object\" || !e ? !1 : \"version\" in e && e.version === \"1.0.0\" && \"name\" in e && typeof e.name == \"string\" && \"icon\" in e && typeof e.icon == \"string\" && \"chains\" in e && Array.isArray(e.chains) && e.chains.every((e) => typeof e == \"string\") && \"accounts\" in e && Array.isArray(e.accounts) && \"features\" in e && typeof e.features == \"object\" && e.features !== null;\n}\nvar S = /* @__PURE__ */ new Set(), C = {\n\tregister: /* @__PURE__ */ new Set(),\n\tunregister: /* @__PURE__ */ new Set()\n}, w = !1;\nfunction T(e, t) {\n\tfor (let n of [...C[e]]) try {\n\t\tn(...t);\n\t} catch {\n\t\tconsole.error(\"Wallet registry listener failed\");\n\t}\n}\nvar E = Object.freeze({\n\tget: () => Object.freeze([...S]),\n\ton(e, t) {\n\t\treturn C[e].add(t), () => {\n\t\t\tC[e].delete(t);\n\t\t};\n\t},\n\tregister(...e) {\n\t\tlet t = [...new Set(e)].filter((e) => x(e) && !S.has(e));\n\t\tfor (let e of t) S.add(e);\n\t\tt.length && T(\"register\", t);\n\t\tlet n = !0;\n\t\treturn () => {\n\t\t\tif (!n) return;\n\t\t\tn = !1;\n\t\t\tlet e = t.filter((e) => S.delete(e));\n\t\t\te.length && T(\"unregister\", e);\n\t\t};\n\t}\n});\nfunction he() {\n\tif (!w && typeof window < \"u\") {\n\t\tw = !0;\n\t\tlet e = Object.freeze({ register: E.register });\n\t\twindow.addEventListener(\"wallet-standard:register-wallet\", (t) => {\n\t\t\tlet n = \"detail\" in t ? t.detail : void 0;\n\t\t\tif (typeof n == \"function\") try {\n\t\t\t\tn(e);\n\t\t\t} catch {\n\t\t\t\tconsole.error(\"Wallet registration failed\");\n\t\t\t}\n\t\t}), window.dispatchEvent(new CustomEvent(\"wallet-standard:app-ready\", { detail: e }));\n\t}\n\treturn E;\n}\n// src/components/swap/externalWallet.ts\nvar ge = \"solana:mainnet\";\nfunction D(e, t) {\n\treturn typeof e == \"object\" && !!e && \"version\" in e && e.version === \"1.0.0\" && t in e && typeof Reflect.get(e, t) == \"function\";\n}\nfunction _e(e) {\n\tlet t = e.features[\"solana:signTransaction\"];\n\treturn e.chains.includes(\"solana:mainnet\") && D(e.features[\"standard:connect\"], \"connect\") && D(e.features[\"standard:events\"], \"on\") && D(t, \"signTransaction\") && typeof t == \"object\" && !!t && \"supportedTransactionVersions\" in t && Array.isArray(t.supportedTransactionVersions) && t.supportedTransactionVersions.includes(0);\n}\nfunction ve(e) {\n\treturn e.chains.includes(\"solana:mainnet\") && e.features.includes(\"solana:signTransaction\") && e.publicKey.length === 32 && a(Uint8Array.from(e.publicKey)) === e.address;\n}\n// src/components/swap/swapReceipt.ts\nfunction O(e) {\n\treturn `cedros-trade:swap-receipt:${e}`;\n}\nfunction ye(e) {\n\ttry {\n\t\tlet t = sessionStorage.getItem(O(e));\n\t\tif (!t) return null;\n\t\tlet r = JSON.parse(t);\n\t\treturn r && typeof r == \"object\" && \"status\" in r && r.status === \"pending\" && \"signature\" in r && r.signature === \"\" ? {\n\t\t\tstatus: \"pending\",\n\t\t\tsignature: \"\"\n\t\t} : n(r);\n\t} catch {\n\t\treturn null;\n\t}\n}\nfunction be(e, t) {\n\ttry {\n\t\treturn t ? sessionStorage.setItem(O(e), JSON.stringify({\n\t\t\tstatus: t.status,\n\t\t\tsignature: t.signature\n\t\t})) : sessionStorage.removeItem(O(e)), !0;\n\t} catch {\n\t\treturn !1;\n\t}\n}\n// src/components/swap/ExternalWalletSwap.tsx\nvar xe = \"ct-field ct-focusable ct:w-full ct:min-w-0 ct:rounded-cedros ct:border ct:border-(--ct-border) ct:p-3\", k = \"ct-focusable ct-pressable ct-primary-action ct:w-full ct-radius-control ct:px-5 ct:py-3 ct:font-semibold ct:text-(--ct-primary-foreground) ct:disabled:cursor-not-allowed ct:disabled:opacity-50\";\nfunction A(e) {\n\tlet { config: t } = ce();\n\treturn /* @__PURE__ */ v(Se, { ...e }, t.serverUrl);\n}\nfunction Se({ initialOutputMint: t, showHeader: n = !0, title: a, description: te }) {\n\tlet re = me(), d = h(null), _ = h(null), { api: x, config: S } = ce(), { t: C, locale: w, formatNumber: T, formatTime: E } = ne(), { tokens: D, error: O, isLoading: A, refresh: Se } = se(), Te = D.map((e) => {\n\t\tlet t = D.some((t) => t.mint !== e.mint && t.symbol === e.symbol && t.name === e.name);\n\t\treturn {\n\t\t\tvalue: e.mint,\n\t\t\tlabel: `${e.symbol} — ${e.name}${t ? ` — ${e.mint}` : \"\"}`,\n\t\t\tsearchText: e.mint,\n\t\t\tcontent: /* @__PURE__ */ v(we, {\n\t\t\t\ttoken: e,\n\t\t\t\tshowMint: t\n\t\t\t})\n\t\t};\n\t}), [Ee, De] = g([]), [j, Oe] = g(null), M = h(null), [ke, Ae] = g({\n\t\tinputMint: ae,\n\t\toutputMint: t ?? \"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v\"\n\t}), N = ie(D, ke), P = D.find((e) => e.mint === N?.inputMint), F = D.find((e) => e.mint === N?.outputMint), [I, je] = g(\"\"), [Me, Ne] = g(50), [Pe, Fe] = g(!1), { data: L, error: R, isLoading: z, refresh: Ie } = e({\n\t\tkey: [\"external-swap-policy\", x],\n\t\tinitialData: null,\n\t\tcacheTimeMs: 0,\n\t\tload: async (e) => {\n\t\t\tlet t = await x.getSwapDefaults(e);\n\t\t\tif (typeof t.externalWalletSwapsEnabled != \"boolean\" || !Number.isInteger(t.defaultSlippageBps) || t.defaultSlippageBps < 0 || t.defaultSlippageBps > 5e3) throw Error();\n\t\t\treturn t;\n\t\t},\n\t\tmapError: () => C(\"jupiter.policyUnavailable\")\n\t});\n\tm(() => {\n\t\tL && !Pe && Ne(L.defaultSlippageBps);\n\t}, [L, Pe]);\n\tlet Le = Me, B = L?.externalWalletSwapsEnabled === !0 && !R && !z, [V, H] = g(null), [U, W] = g(null), [G, Re] = g(() => ye(S.serverUrl)), [ze, Be] = g(null), [K, Ve] = g(null), [He, Ue] = g(!1), [q, We] = g(!1), Ge = h(!1), [Ke, J] = g(null), Y = h(!0);\n\tm(() => {\n\t\tY.current = !0;\n\t\tlet e = he(), t = () => De(e.get().filter(_e));\n\t\tt();\n\t\tlet n = e.on(\"register\", t), r = e.on(\"unregister\", (...e) => {\n\t\t\tM.current && e.includes(M.current.wallet) && (M.current = null, Oe(null), H(null)), t();\n\t\t});\n\t\treturn () => {\n\t\t\tY.current = !1, M.current = null, n(), r();\n\t\t};\n\t}, []), m(() => {\n\t\tif (j) return j.wallet.features[\"standard:events\"].on(\"change\", () => {\n\t\t\tM.current = null, Oe(null), H(null);\n\t\t});\n\t}, [j]), m(() => {\n\t\tif (!V) return;\n\t\tlet e = setTimeout(() => {\n\t\t\tH(null), J(C(\"jupiter.reviewExpired\"));\n\t\t}, Math.max(0, V.expires - Date.now()));\n\t\treturn () => clearTimeout(e);\n\t}, [V, C]);\n\tlet X = U !== null || G?.status === \"pending\";\n\tfe(X && He);\n\tlet Z = (e) => {\n\t\tRe(e), e || Be(null), Ue(!be(S.serverUrl, e));\n\t}, qe = (e) => {\n\t\te(), H(null), Z(null), J(null);\n\t}, Je = async (e) => [P, F].every((t) => t && e.some((e) => e.mint === t.mint && e.decimals === t.decimals && e.symbol === t.symbol && e.name === t.name)) ? !0 : (H(null), await Se(), Y.current && J(C(\"jupiter.tokensChanged\")), !1), Ye = async (e, t) => {\n\t\tif (!Ge.current) {\n\t\t\tGe.current = !0, We(!0), J(null);\n\t\t\ttry {\n\t\t\t\tawait e();\n\t\t\t} catch (e) {\n\t\t\t\tY.current && e instanceof c && e.code === \"token_not_approved\" ? (H(null), J(C(\"jupiter.tokensChanged\")), await Se()) : Y.current && J(!X && e instanceof c && e.status === 403 ? C(\"jupiter.disabled\") : t);\n\t\t\t} finally {\n\t\t\t\tGe.current = !1, Y.current && We(!1);\n\t\t\t}\n\t\t}\n\t}, Xe = (e) => Ye(async () => {\n\t\tlet { accounts: t } = await e.features[\"standard:connect\"].connect(), n = t.find(ve);\n\t\tif (!n || !_e(e) || !he().get().includes(e) || !e.accounts.some((e) => ve(e) && e.address === n.address)) throw Error();\n\t\tif (!Y.current) return;\n\t\tlet r = {\n\t\t\twallet: e,\n\t\t\taccount: n\n\t\t};\n\t\tM.current = r, Oe(r), H(null), Z(null);\n\t}, C(\"jupiter.connectFailed\")), Ze = () => Ye(async () => {\n\t\tlet e = M.current, t = P ? ue(I, P.decimals, w) : null;\n\t\tif (!e || !N || !t) throw Error();\n\t\tH(null), Z(null);\n\t\tlet [n, r] = await Promise.all([x.getSwapDefaults(), x.getTokens()]);\n\t\tif (!Y.current || M.current !== e) return;\n\t\tif (n.externalWalletSwapsEnabled !== !0) throw await Ie({ force: !0 }), new c(403, \"permission_denied\", \"Swaps disabled\");\n\t\tif (!await Je(r.tokens)) return;\n\t\tlet i = Pe ? Me : n.defaultSlippageBps;\n\t\tPe || Ne(i);\n\t\tlet a = await x.getExternalOrder({\n\t\t\t...N,\n\t\t\tamount: t,\n\t\t\tslippageBps: i,\n\t\t\ttaker: e.account.address\n\t\t}), o = Math.min(Date.now() + 6e4, a.expireAt ? Date.parse(a.expireAt) : Infinity);\n\t\to <= Date.now() ? J(C(\"jupiter.reviewExpired\")) : Y.current && M.current === e && H({\n\t\t\torder: a,\n\t\t\tconnection: e,\n\t\t\texpires: o\n\t\t});\n\t}, C(\"jupiter.orderFailed\")), Qe = async (e, t = !1) => {\n\t\tlet n = await x.executeExternalOrder(e.signedTransaction, e.requestId);\n\t\tY.current && (t && n.status === \"failed\" ? (Z({\n\t\t\tstatus: \"pending\",\n\t\t\tsignature: G?.signature ?? \"\"\n\t\t}), J(C(\"jupiter.unknown\"))) : (Z(n), W(null), H(null)));\n\t}, $e = () => Ye(async () => {\n\t\tif (G?.signature) {\n\t\t\tlet e;\n\t\t\ttry {\n\t\t\t\te = await x.getExternalStatus(G.signature);\n\t\t\t} catch (e) {\n\t\t\t\tif (U) {\n\t\t\t\t\tawait Qe(U, !0);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tthrow e;\n\t\t\t}\n\t\t\tif (!Y.current) return;\n\t\t\tif (Z(e), e.status !== \"pending\") {\n\t\t\t\tW(null);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tU && await Qe(U, !0);\n\t}, C(\"jupiter.unknown\")), et = () => Ye(async () => {\n\t\tif (!V || M.current !== V.connection) throw Error();\n\t\tlet e = await Promise.all([x.getSwapDefaults(), x.getTokens()]).catch(() => (Y.current && (H(null), J(C(\"jupiter.reviewPolicyUnavailable\"))), null));\n\t\tif (!e || !Y.current || M.current !== V.connection) return;\n\t\tlet [t, n] = e;\n\t\tif (t.externalWalletSwapsEnabled !== !0) throw H(null), await Ie({ force: !0 }), new c(403, \"permission_denied\", \"Swaps disabled\");\n\t\tif (!await Je(n.tokens)) return;\n\t\tif (Date.now() >= V.expires) {\n\t\t\tH(null), J(C(\"jupiter.reviewExpired\"));\n\t\t\treturn;\n\t\t}\n\t\tlet { wallet: r, account: i } = V.connection, a;\n\t\ttry {\n\t\t\ta = l(V.order.transaction), ee(a, i);\n\t\t} catch {\n\t\t\tH(null), J(C(\"jupiter.orderFailed\"));\n\t\t\treturn;\n\t\t}\n\t\ttry {\n\t\t\tP && F && Ve({\n\t\t\t\tinput: P,\n\t\t\t\toutput: F,\n\t\t\t\tinAmount: V.order.amount,\n\t\t\t\toutAmount: V.order.outAmount\n\t\t\t}), H(null);\n\t\t\tlet [e] = await r.features[\"solana:signTransaction\"].signTransaction({\n\t\t\t\taccount: i,\n\t\t\t\ttransaction: a.slice(),\n\t\t\t\tchain: ge\n\t\t\t});\n\t\t\tif (!e || !Y.current || M.current !== V.connection) throw Error();\n\t\t\tif (Date.now() >= V.expires) {\n\t\t\t\tH(null), J(C(\"jupiter.reviewExpired\"));\n\t\t\t\treturn;\n\t\t\t}\n\t\t\toe(a, e.signedTransaction, i), P && F && Be({\n\t\t\t\tinput: P,\n\t\t\t\toutput: F,\n\t\t\t\tinAmount: V.order.amount,\n\t\t\t\toutAmount: V.order.outAmount\n\t\t\t});\n\t\t\tlet t = {\n\t\t\t\tsignedTransaction: o(e.signedTransaction),\n\t\t\t\trequestId: V.order.requestId\n\t\t\t};\n\t\t\tZ({\n\t\t\t\tstatus: \"pending\",\n\t\t\t\tsignature: u(e.signedTransaction)\n\t\t\t}), W(t), H(null);\n\t\t\ttry {\n\t\t\t\tawait Qe(t);\n\t\t\t} catch {\n\t\t\t\tJ(C(\"jupiter.unknown\"));\n\t\t\t}\n\t\t} finally {\n\t\t\tY.current && Ve(null);\n\t\t}\n\t}, C(\"jupiter.signFailed\")), Q = q || X || !B, tt = P ? ue(I, P.decimals, w) : null, $ = !V && !K && !X && !G;\n\tm(() => {\n\t\t(V || K || X || G) && d.current?.focus();\n\t}, [\n\t\tV,\n\t\tK,\n\t\tX,\n\t\tG\n\t]);\n\tlet nt = () => {\n\t\tH(null), requestAnimationFrame(() => _.current?.focus());\n\t}, rt = j && /* @__PURE__ */ y(\"details\", {\n\t\tclassName: \"ct-swap-wallet-details\",\n\t\tchildren: [/* @__PURE__ */ y(\"summary\", {\n\t\t\tclassName: \"ct-focusable ct:cursor-pointer ct:text-sm\",\n\t\t\tchildren: [/* @__PURE__ */ v(\"span\", { children: C(\"jupiter.reviewWallet\", { wallet: j.wallet.name }) }), /* @__PURE__ */ y(\"span\", {\n\t\t\t\tclassName: \"ct-wallet-preview\",\n\t\t\t\tchildren: [\n\t\t\t\t\tj.account.address.slice(0, 6),\n\t\t\t\t\t\"…\",\n\t\t\t\t\tj.account.address.slice(-6)\n\t\t\t\t]\n\t\t\t})]\n\t\t}), /* @__PURE__ */ y(\"div\", {\n\t\t\tclassName: \"ct-wallet-summary\",\n\t\t\tchildren: [/* @__PURE__ */ v(pe, {\n\t\t\t\tvalue: j.account.address,\n\t\t\t\tlabel: C(\"jupiter.walletDetails\")\n\t\t\t}), /* @__PURE__ */ v(\"button\", {\n\t\t\t\ttype: \"button\",\n\t\t\t\tclassName: \"ct-focusable ct-wallet-disconnect\",\n\t\t\t\tdisabled: q || X,\n\t\t\t\tonClick: () => {\n\t\t\t\t\tM.current = null, Oe(null), H(null);\n\t\t\t\t},\n\t\t\t\tchildren: C(\"jupiter.disconnect\")\n\t\t\t})]\n\t\t})]\n\t});\n\treturn /* @__PURE__ */ y(de, {\n\t\tshowHeader: n,\n\t\tclassName: \"ct-external-swap\",\n\t\teyebrow: C(\"jupiter.eyebrow\"),\n\t\ttitle: a ?? C(\"jupiter.title\"),\n\t\tdescription: te ?? C(\"jupiter.description\"),\n\t\tchildren: [/* @__PURE__ */ y(\"div\", {\n\t\t\tclassName: \"ct-swap-card ct-panel ct:mx-auto ct:w-full ct:max-w-xl ct:space-y-5 ct:rounded-cedros ct:p-6\",\n\t\t\tchildren: [\n\t\t\t\t!n && $ && /* @__PURE__ */ v(\"h2\", {\n\t\t\t\t\tclassName: \"ct:text-xl ct:font-semibold\",\n\t\t\t\t\tchildren: a ?? C(\"jupiter.title\")\n\t\t\t\t}),\n\t\t\t\t$ && B && /* @__PURE__ */ v(\"p\", {\n\t\t\t\t\tclassName: \"ct-swap-entry-guidance ct:text-sm ct:leading-6 ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: C(\"jupiter.entryGuidance\")\n\t\t\t\t}),\n\t\t\t\t$ && z && /* @__PURE__ */ v(\"p\", {\n\t\t\t\t\trole: \"status\",\n\t\t\t\t\tchildren: C(\"jupiter.policyLoading\")\n\t\t\t\t}),\n\t\t\t\t$ && R && /* @__PURE__ */ v(\"p\", {\n\t\t\t\t\trole: \"alert\",\n\t\t\t\t\tchildren: R\n\t\t\t\t}),\n\t\t\t\t$ && !z && !R && L?.externalWalletSwapsEnabled === !1 && /* @__PURE__ */ v(\"p\", {\n\t\t\t\t\trole: \"status\",\n\t\t\t\t\tchildren: C(\"jupiter.disabled\")\n\t\t\t\t}),\n\t\t\t\t$ && !z && (R || L?.externalWalletSwapsEnabled === !1) && /* @__PURE__ */ v(\"button\", {\n\t\t\t\t\ttype: \"button\",\n\t\t\t\t\tclassName: \"ct-secondary-action ct-focusable ct:w-full\",\n\t\t\t\t\tdisabled: q,\n\t\t\t\t\tonClick: () => {\n\t\t\t\t\t\tH(null), Ie({ force: !0 });\n\t\t\t\t\t},\n\t\t\t\t\tchildren: C(\"common.retry\")\n\t\t\t\t}),\n\t\t\t\tB && $ && A && /* @__PURE__ */ v(\"p\", {\n\t\t\t\t\trole: \"status\",\n\t\t\t\t\tchildren: C(\"swap.loadingTokenPolicy\")\n\t\t\t\t}),\n\t\t\t\tB && $ && O && /* @__PURE__ */ y(\"div\", {\n\t\t\t\t\trole: \"alert\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ v(\"p\", { children: O }), /* @__PURE__ */ v(\"button\", {\n\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\tclassName: \"ct-secondary-action ct-focusable ct:w-full\",\n\t\t\t\t\t\tdisabled: Q,\n\t\t\t\t\t\tonClick: () => {\n\t\t\t\t\t\t\tH(null), Se();\n\t\t\t\t\t\t},\n\t\t\t\t\t\tchildren: C(\"common.retry\")\n\t\t\t\t\t})]\n\t\t\t\t}),\n\t\t\t\tB && $ && !A && !O && !N && /* @__PURE__ */ y(\"div\", {\n\t\t\t\t\trole: \"alert\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ v(\"p\", { children: C(\"swap.tokenPolicyIncomplete\") }), /* @__PURE__ */ v(\"button\", {\n\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\tclassName: \"ct-secondary-action ct-focusable ct:w-full\",\n\t\t\t\t\t\tdisabled: q || X,\n\t\t\t\t\t\tonClick: () => {\n\t\t\t\t\t\t\tH(null), Se();\n\t\t\t\t\t\t},\n\t\t\t\t\t\tchildren: C(\"common.retry\")\n\t\t\t\t\t})]\n\t\t\t\t}),\n\t\t\t\tB && !A && !O && N && $ && /* @__PURE__ */ y(\"fieldset\", {\n\t\t\t\t\tdisabled: Q || A || !!O || !N,\n\t\t\t\t\tclassName: \"ct-swap-fields ct:m-0 ct:min-w-0 ct:space-y-4 ct:border-0 ct:p-0\",\n\t\t\t\t\tchildren: [\n\t\t\t\t\t\t/* @__PURE__ */ y(\"div\", {\n\t\t\t\t\t\t\tclassName: \"ct-swap-pay-group\",\n\t\t\t\t\t\t\t\"data-long-token\": P && P.symbol.length > 10 ? !0 : void 0,\n\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ y(\"label\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:block\",\n\t\t\t\t\t\t\t\tchildren: [C(\"jupiter.amount\"), /* @__PURE__ */ v(\"input\", {\n\t\t\t\t\t\t\t\t\tref: _,\n\t\t\t\t\t\t\t\t\tclassName: `${xe} ct-swap-amount`,\n\t\t\t\t\t\t\t\t\tplaceholder: T(0, { minimumFractionDigits: 2 }),\n\t\t\t\t\t\t\t\t\tinputMode: \"decimal\",\n\t\t\t\t\t\t\t\t\tautoComplete: \"off\",\n\t\t\t\t\t\t\t\t\t\"aria-invalid\": !(!I || tt),\n\t\t\t\t\t\t\t\t\t\"aria-describedby\": I && !tt ? re : void 0,\n\t\t\t\t\t\t\t\t\tvalue: I,\n\t\t\t\t\t\t\t\t\tonChange: (e) => qe(() => je(e.target.value))\n\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t}), /* @__PURE__ */ v(b, {\n\t\t\t\t\t\t\t\tlabel: C(\"jupiter.pay\"),\n\t\t\t\t\t\t\t\tvalue: N?.inputMint ?? \"\",\n\t\t\t\t\t\t\t\tdisabled: Q || A || !!O || !N,\n\t\t\t\t\t\t\t\toptions: Te,\n\t\t\t\t\t\t\t\tsearchLabel: C(\"swap.searchToken\"),\n\t\t\t\t\t\t\t\temptyLabel: C(\"swap.noTokensFound\"),\n\t\t\t\t\t\t\t\tonChange: (e) => qe(() => Ae({\n\t\t\t\t\t\t\t\t\tinputMint: e,\n\t\t\t\t\t\t\t\t\toutputMint: N?.outputMint ?? \"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v\"\n\t\t\t\t\t\t\t\t}))\n\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tI && !tt && /* @__PURE__ */ v(\"div\", {\n\t\t\t\t\t\t\tid: re,\n\t\t\t\t\t\t\tchildren: /* @__PURE__ */ v(p, { message: C(\"errors.invalidAmount\") })\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ v(\"div\", {\n\t\t\t\t\t\t\tclassName: \"ct-quote-direction ct:flex ct:justify-center\",\n\t\t\t\t\t\t\tchildren: /* @__PURE__ */ v(\"button\", {\n\t\t\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\t\t\tclassName: \"ct-focusable ct-swap-reverse\",\n\t\t\t\t\t\t\t\t\"aria-label\": C(\"swap.switchTokens\"),\n\t\t\t\t\t\t\t\ttitle: C(\"swap.switchTokens\"),\n\t\t\t\t\t\t\t\tonClick: () => qe(() => {\n\t\t\t\t\t\t\t\t\tAe({\n\t\t\t\t\t\t\t\t\t\tinputMint: N.outputMint,\n\t\t\t\t\t\t\t\t\t\toutputMint: N.inputMint\n\t\t\t\t\t\t\t\t\t}), je(\"\");\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\tchildren: /* @__PURE__ */ v(i, { className: \"ct:h-4 ct:w-4\" })\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ v(b, {\n\t\t\t\t\t\t\tlabel: C(\"jupiter.receive\"),\n\t\t\t\t\t\t\tvalue: N?.outputMint ?? \"\",\n\t\t\t\t\t\t\tdisabled: Q || A || !!O || !N,\n\t\t\t\t\t\t\toptions: Te.filter((e) => e.value !== N?.inputMint),\n\t\t\t\t\t\t\tsearchLabel: C(\"swap.searchToken\"),\n\t\t\t\t\t\t\temptyLabel: C(\"swap.noTokensFound\"),\n\t\t\t\t\t\t\tonChange: (e) => qe(() => Ae({\n\t\t\t\t\t\t\t\tinputMint: N?.inputMint ?? \"So11111111111111111111111111111111111111112\",\n\t\t\t\t\t\t\t\toutputMint: e\n\t\t\t\t\t\t\t}))\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ y(\"details\", {\n\t\t\t\t\t\t\tclassName: \"ct-swap-protection\",\n\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ y(\"summary\", {\n\t\t\t\t\t\t\t\tclassName: \"ct-focusable ct:cursor-pointer ct:text-sm\",\n\t\t\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t\t\tC(\"swap.quoteSettings\"),\n\t\t\t\t\t\t\t\t\t\" · \",\n\t\t\t\t\t\t\t\t\tT(Le / 100),\n\t\t\t\t\t\t\t\t\t\"%\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t}), /* @__PURE__ */ v(b, {\n\t\t\t\t\t\t\t\tlabel: C(\"swap.slippage\"),\n\t\t\t\t\t\t\t\tvalue: String(Le),\n\t\t\t\t\t\t\t\tdisabled: Q || A || !!O || !N,\n\t\t\t\t\t\t\t\toptions: [.../* @__PURE__ */ new Set([\n\t\t\t\t\t\t\t\t\tLe,\n\t\t\t\t\t\t\t\t\t10,\n\t\t\t\t\t\t\t\t\t50,\n\t\t\t\t\t\t\t\t\t100\n\t\t\t\t\t\t\t\t])].sort((e, t) => e - t).map((e) => ({\n\t\t\t\t\t\t\t\t\tvalue: String(e),\n\t\t\t\t\t\t\t\t\tlabel: `${T(e / 100)}%`\n\t\t\t\t\t\t\t\t})),\n\t\t\t\t\t\t\t\tonChange: (e) => qe(() => {\n\t\t\t\t\t\t\t\t\tFe(!0), Ne(Number(e));\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t})\n\t\t\t\t\t]\n\t\t\t\t}),\n\t\t\t\t!j && B && !A && !O && N && $ && /* @__PURE__ */ y(\"div\", {\n\t\t\t\t\tclassName: \"ct:space-y-2\",\n\t\t\t\t\tchildren: [\n\t\t\t\t\t\t/* @__PURE__ */ v(\"h3\", {\n\t\t\t\t\t\t\tclassName: \"ct:font-semibold\",\n\t\t\t\t\t\t\tchildren: C(\"jupiter.connect\")\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ v(\"p\", {\n\t\t\t\t\t\t\tclassName: \"ct:text-sm ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\tchildren: C(\"jupiter.connectToReview\")\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tEe.length ? Ee.map((e, t) => /* @__PURE__ */ v(\"button\", {\n\t\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\t\tclassName: Ee.length === 1 ? k : xe,\n\t\t\t\t\t\t\tdisabled: Q,\n\t\t\t\t\t\t\tonClick: () => void Xe(e),\n\t\t\t\t\t\t\tchildren: C(\"jupiter.connectWallet\", { wallet: e.name })\n\t\t\t\t\t\t}, `${e.name}-${t}`)) : /* @__PURE__ */ v(\"p\", {\n\t\t\t\t\t\t\tclassName: \"ct:text-sm ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\tchildren: C(\"jupiter.noWallet\")\n\t\t\t\t\t\t})\n\t\t\t\t\t]\n\t\t\t\t}),\n\t\t\t\t$ && rt,\n\t\t\t\tB && j && !A && !O && N && $ && /* @__PURE__ */ v(\"button\", {\n\t\t\t\t\ttype: \"button\",\n\t\t\t\t\tclassName: k,\n\t\t\t\t\tdisabled: Q || A || !!O || !j || !N || !tt,\n\t\t\t\t\tonClick: () => void Ze(),\n\t\t\t\t\tchildren: C(q ? \"jupiter.working\" : \"jupiter.review\")\n\t\t\t\t}),\n\t\t\t\tB && j && !I && !q && $ && /* @__PURE__ */ v(\"p\", {\n\t\t\t\t\tclassName: \"ct:text-sm ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: C(\"jupiter.enterToReview\")\n\t\t\t\t}),\n\t\t\t\tq && $ && /* @__PURE__ */ v(\"p\", {\n\t\t\t\t\trole: \"status\",\n\t\t\t\t\tclassName: \"ct:sr-only\",\n\t\t\t\t\tchildren: C(\"jupiter.working\")\n\t\t\t\t}),\n\t\t\t\tK && !X && !G && /* @__PURE__ */ y(\"div\", {\n\t\t\t\t\tclassName: \"ct-swap-review ct:space-y-4\",\n\t\t\t\t\trole: \"status\",\n\t\t\t\t\t\"aria-live\": \"polite\",\n\t\t\t\t\tchildren: [\n\t\t\t\t\t\t/* @__PURE__ */ y(\"h2\", {\n\t\t\t\t\t\t\tref: d,\n\t\t\t\t\t\t\ttabIndex: -1,\n\t\t\t\t\t\t\tclassName: \"ct:flex ct:items-center ct:gap-2 ct:text-xl ct:font-semibold\",\n\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ v(\"span\", {\n\t\t\t\t\t\t\t\t\"aria-hidden\": \"true\",\n\t\t\t\t\t\t\t\tchildren: /* @__PURE__ */ v(f, { className: \"ct:h-4 ct:w-4\" })\n\t\t\t\t\t\t\t}), /* @__PURE__ */ v(\"span\", { children: C(\"jupiter.waitingApproval\") })]\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ v(Ce, { ...K }),\n\t\t\t\t\t\t/* @__PURE__ */ v(\"p\", {\n\t\t\t\t\t\t\tclassName: \"ct:text-sm ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\tchildren: C(\"jupiter.waitingApprovalBody\")\n\t\t\t\t\t\t})\n\t\t\t\t\t]\n\t\t\t\t}),\n\t\t\t\tV && P && F && /* @__PURE__ */ y(\"div\", {\n\t\t\t\t\tclassName: \"ct-swap-review ct:space-y-4\",\n\t\t\t\t\tchildren: [\n\t\t\t\t\t\t/* @__PURE__ */ v(\"h2\", {\n\t\t\t\t\t\t\tref: d,\n\t\t\t\t\t\t\ttabIndex: -1,\n\t\t\t\t\t\t\tclassName: \"ct:text-xl ct:font-semibold\",\n\t\t\t\t\t\t\tchildren: C(\"jupiter.reviewTitle\")\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ v(Ce, {\n\t\t\t\t\t\t\tinput: P,\n\t\t\t\t\t\t\toutput: F,\n\t\t\t\t\t\t\tinAmount: V.order.amount,\n\t\t\t\t\t\t\toutAmount: V.order.outAmount\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tV.order.priceImpactPct >= 1 && /* @__PURE__ */ v(p, {\n\t\t\t\t\t\t\ttone: \"warning\",\n\t\t\t\t\t\t\tmessage: C(\"swap.highImpact\", { impact: `${T(V.order.priceImpactPct)}%` })\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ y(\"div\", {\n\t\t\t\t\t\t\tclassName: \"ct-swap-protected-return\",\n\t\t\t\t\t\t\t\"data-long-token\": F.symbol.length > 10 || void 0,\n\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ y(\"dl\", {\n\t\t\t\t\t\t\t\tclassName: \"ct-swap-minimum\",\n\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ v(\"dt\", { children: C(\"jupiter.minimum\") }), /* @__PURE__ */ y(\"dd\", { children: [/* @__PURE__ */ v(s, {\n\t\t\t\t\t\t\t\t\tatomic: V.order.otherAmountThreshold,\n\t\t\t\t\t\t\t\t\tdecimals: F.decimals,\n\t\t\t\t\t\t\t\t\tsymbol: F.symbol,\n\t\t\t\t\t\t\t\t\talign: \"start\"\n\t\t\t\t\t\t\t\t}), /* @__PURE__ */ v(\"span\", { children: F.symbol })] })]\n\t\t\t\t\t\t\t}), /* @__PURE__ */ y(\"dl\", {\n\t\t\t\t\t\t\t\tclassName: \"ct-swap-protection-facts\",\n\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ y(\"div\", { children: [/* @__PURE__ */ v(\"dt\", { children: C(\"swap.slippage\") }), /* @__PURE__ */ y(\"dd\", { children: [T(V.order.slippageBps / 100), \"%\"] })] }), /* @__PURE__ */ y(\"div\", { children: [/* @__PURE__ */ v(\"dt\", { children: C(\"jupiter.impact\") }), /* @__PURE__ */ y(\"dd\", { children: [T(V.order.priceImpactPct), \"%\"] })] })]\n\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ y(\"section\", {\n\t\t\t\t\t\t\tclassName: \"ct-swap-fees\",\n\t\t\t\t\t\t\t\"aria-label\": C(\"jupiter.costs\"),\n\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ v(\"h3\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:text-sm ct:font-medium\",\n\t\t\t\t\t\t\t\tchildren: C(\"jupiter.costs\")\n\t\t\t\t\t\t\t}), /* @__PURE__ */ y(\"dl\", {\n\t\t\t\t\t\t\t\tclassName: \"ct-swap-review-details ct:text-sm\",\n\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ y(\"div\", { children: [/* @__PURE__ */ v(\"dt\", { children: C(\"jupiter.fee\") }), /* @__PURE__ */ y(\"dd\", { children: [T(V.order.feeBps / 100), \"%\"] })] }), /* @__PURE__ */ y(\"div\", { children: [/* @__PURE__ */ v(\"dt\", { children: C(\"jupiter.network\") }), /* @__PURE__ */ y(\"dd\", { children: [/* @__PURE__ */ v(s, {\n\t\t\t\t\t\t\t\t\tatomic: String(BigInt(V.order.signatureFeeLamports) + BigInt(V.order.prioritizationFeeLamports) + BigInt(V.order.rentFeeLamports)),\n\t\t\t\t\t\t\t\t\tdecimals: 9,\n\t\t\t\t\t\t\t\t\tsymbol: D.find((e) => e.mint === \"So11111111111111111111111111111111111111112\")?.symbol ?? \"SOL\"\n\t\t\t\t\t\t\t\t}), /* @__PURE__ */ v(\"span\", { children: D.find((e) => e.mint === \"So11111111111111111111111111111111111111112\")?.symbol ?? \"SOL\" })] })] })]\n\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t}),\n\t\t\t\t\t\trt,\n\t\t\t\t\t\t/* @__PURE__ */ v(\"p\", {\n\t\t\t\t\t\t\tclassName: \"ct:text-xs ct:leading-5 ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\tchildren: C(\"jupiter.reviewUntil\", { time: E(V.expires) })\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ y(\"div\", {\n\t\t\t\t\t\t\tclassName: \"ct-swap-review-actions\",\n\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ v(\"button\", {\n\t\t\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\t\t\tclassName: k,\n\t\t\t\t\t\t\t\tdisabled: q,\n\t\t\t\t\t\t\t\tonClick: () => void et(),\n\t\t\t\t\t\t\t\tchildren: C(\"jupiter.approve\")\n\t\t\t\t\t\t\t}), /* @__PURE__ */ v(\"button\", {\n\t\t\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\t\t\tclassName: \"ct-secondary-action ct-focusable\",\n\t\t\t\t\t\t\t\tdisabled: q,\n\t\t\t\t\t\t\t\tonClick: nt,\n\t\t\t\t\t\t\t\tchildren: C(\"jupiter.editSwap\")\n\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t})\n\t\t\t\t\t]\n\t\t\t\t}),\n\t\t\t\tX && /* @__PURE__ */ y(\"div\", {\n\t\t\t\t\tclassName: \"ct-panel ct-panel-warning ct:space-y-3 ct:rounded-cedros ct:p-4\",\n\t\t\t\t\trole: \"status\",\n\t\t\t\t\tchildren: [\n\t\t\t\t\t\t/* @__PURE__ */ v(\"h2\", {\n\t\t\t\t\t\t\tref: d,\n\t\t\t\t\t\t\ttabIndex: -1,\n\t\t\t\t\t\t\tclassName: \"ct:font-semibold\",\n\t\t\t\t\t\t\tchildren: C(\"jupiter.pendingTitle\")\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ v(\"p\", {\n\t\t\t\t\t\t\tclassName: \"ct:text-sm\",\n\t\t\t\t\t\t\tchildren: C(\"jupiter.unknown\")\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t(U || G?.signature) && /* @__PURE__ */ v(\"button\", {\n\t\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\t\tclassName: k,\n\t\t\t\t\t\t\tdisabled: q,\n\t\t\t\t\t\t\tonClick: () => void $e(),\n\t\t\t\t\t\t\tchildren: C(\"jupiter.checkStatus\")\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ v(\"p\", {\n\t\t\t\t\t\t\tclassName: \"ct:text-sm\",\n\t\t\t\t\t\t\tchildren: C(\"jupiter.walletRecovery\")\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ v(\"button\", {\n\t\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\t\tclassName: `${xe} ct-swap-stop-tracking`,\n\t\t\t\t\t\t\tdisabled: q,\n\t\t\t\t\t\t\tonClick: () => {\n\t\t\t\t\t\t\t\tW(null), Z(null), J(null);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tchildren: C(\"jupiter.acknowledge\")\n\t\t\t\t\t\t})\n\t\t\t\t\t]\n\t\t\t\t}),\n\t\t\t\tHe && X && /* @__PURE__ */ v(\"p\", {\n\t\t\t\t\trole: \"alert\",\n\t\t\t\t\tchildren: C(\"jupiter.recoveryUnavailable\")\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ v(p, { message: X && Ke === C(\"jupiter.unknown\") || !z && !R && L?.externalWalletSwapsEnabled === !1 && Ke === C(\"jupiter.disabled\") ? null : Ke }),\n\t\t\t\tG && /* @__PURE__ */ y(\"div\", {\n\t\t\t\t\tclassName: \"ct-swap-receipt ct:space-y-4\",\n\t\t\t\t\trole: \"status\",\n\t\t\t\t\tchildren: [\n\t\t\t\t\t\tG.status !== \"pending\" && /* @__PURE__ */ y(\"h2\", {\n\t\t\t\t\t\t\tref: d,\n\t\t\t\t\t\t\ttabIndex: -1,\n\t\t\t\t\t\t\tclassName: \"ct:flex ct:items-center ct:gap-2 ct:text-xl ct:font-semibold\",\n\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ v(r, { tone: G.status === \"confirmed\" ? \"success\" : \"danger\" }), C(G.status === \"confirmed\" ? \"jupiter.confirmed\" : \"jupiter.failedTitle\")]\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tG.status === \"confirmed\" && ze && /* @__PURE__ */ v(Ce, {\n\t\t\t\t\t\t\t...ze,\n\t\t\t\t\t\t\treceipt: !0\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tG.status === \"confirmed\" && /* @__PURE__ */ v(\"p\", {\n\t\t\t\t\t\t\tclassName: \"ct:text-sm ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\tchildren: C(\"jupiter.confirmedBody\")\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tG.status === \"failed\" && /* @__PURE__ */ v(\"p\", {\n\t\t\t\t\t\t\tclassName: \"ct:text-sm\",\n\t\t\t\t\t\t\tchildren: C(\"jupiter.failed\")\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tG.signature && /* @__PURE__ */ v(\"a\", {\n\t\t\t\t\t\t\tclassName: \"ct-link ct-focusable\",\n\t\t\t\t\t\t\thref: `https://solscan.io/tx/${encodeURIComponent(G.signature)}`,\n\t\t\t\t\t\t\ttarget: \"_blank\",\n\t\t\t\t\t\t\trel: \"noopener noreferrer\",\n\t\t\t\t\t\t\tchildren: C(\"jupiter.explorer\")\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tG.status !== \"pending\" && /* @__PURE__ */ v(\"button\", {\n\t\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\t\tclassName: B ? k : xe,\n\t\t\t\t\t\t\tdisabled: q,\n\t\t\t\t\t\t\tonClick: () => {\n\t\t\t\t\t\t\t\tZ(null), W(null), J(null), je(\"\"), nt();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tchildren: C(B ? \"jupiter.newSwap\" : \"jupiter.backToSwap\")\n\t\t\t\t\t\t})\n\t\t\t\t\t]\n\t\t\t\t})\n\t\t\t]\n\t\t}), /* @__PURE__ */ v(le, {\n\t\t\tmode: \"wallet\",\n\t\t\tproviders: [\"jupiter\"]\n\t\t})]\n\t});\n}\nfunction Ce({ input: e, output: t, inAmount: n, outAmount: r, receipt: i = !1 }) {\n\tlet { t: a } = ne();\n\treturn /* @__PURE__ */ v(\"dl\", {\n\t\tclassName: \"ct-swap-exchange ct-tabular-num\",\n\t\t\"data-long-token\": e.symbol.length > 10 || t.symbol.length > 10 || void 0,\n\t\tchildren: [{\n\t\t\tlabel: a(\"jupiter.pay\"),\n\t\t\ttoken: e,\n\t\t\tamount: n\n\t\t}, {\n\t\t\tlabel: a(i ? \"jupiter.quotedReturn\" : \"jupiter.receive\"),\n\t\t\ttoken: t,\n\t\t\tamount: r\n\t\t}].map((e) => /* @__PURE__ */ y(\"div\", {\n\t\t\tclassName: \"ct-swap-exchange-side\",\n\t\t\tchildren: [/* @__PURE__ */ v(\"dt\", {\n\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\tchildren: e.label\n\t\t\t}), /* @__PURE__ */ y(\"dd\", {\n\t\t\t\tclassName: \"ct:m-0 ct:flex ct:min-w-0 ct:items-start ct:gap-3\",\n\t\t\t\tchildren: [/* @__PURE__ */ v(d, {\n\t\t\t\t\ttoken: e.token,\n\t\t\t\t\tclassName: \"ct:h-8 ct:w-8 ct:text-xs\"\n\t\t\t\t}), /* @__PURE__ */ y(\"div\", {\n\t\t\t\t\tclassName: \"ct:min-w-0\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ v(\"div\", {\n\t\t\t\t\t\tclassName: \"ct:text-xl ct:font-semibold\",\n\t\t\t\t\t\tchildren: /* @__PURE__ */ v(s, {\n\t\t\t\t\t\t\tatomic: e.amount,\n\t\t\t\t\t\t\tdecimals: e.token.decimals,\n\t\t\t\t\t\t\tsymbol: e.token.symbol,\n\t\t\t\t\t\t\talign: \"start\"\n\t\t\t\t\t\t})\n\t\t\t\t\t}), /* @__PURE__ */ v(\"span\", {\n\t\t\t\t\t\tclassName: \"ct:block ct:wrap-break-word ct:text-sm ct:font-medium\",\n\t\t\t\t\t\tchildren: e.token.symbol\n\t\t\t\t\t})]\n\t\t\t\t})]\n\t\t\t})]\n\t\t}, e.label))\n\t});\n}\nfunction we({ token: e, showMint: t = !1 }) {\n\treturn /* @__PURE__ */ y(\"span\", {\n\t\tclassName: \"ct-swap-token-identity\",\n\t\tchildren: [/* @__PURE__ */ v(d, {\n\t\t\ttoken: e,\n\t\t\tclassName: \"ct:h-6 ct:w-6 ct:text-xs\"\n\t\t}), /* @__PURE__ */ y(\"span\", {\n\t\t\tclassName: \"ct:min-w-0\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ v(\"span\", {\n\t\t\t\t\tclassName: \"ct:block ct:wrap-break-word ct:font-medium\",\n\t\t\t\t\tchildren: e.symbol\n\t\t\t\t}),\n\t\t\t\t\" \",\n\t\t\t\t/* @__PURE__ */ v(\"span\", {\n\t\t\t\t\tclassName: \"ct:block ct:wrap-break-word ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: e.name\n\t\t\t\t}),\n\t\t\t\tt && /* @__PURE__ */ y(_, { children: [\" \", /* @__PURE__ */ v(\"span\", {\n\t\t\t\t\tclassName: \"ct:block ct:break-all ct:font-mono ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: e.mint\n\t\t\t\t})] })\n\t\t\t]\n\t\t})]\n\t});\n}\nexport { A as ExternalWalletSwap };\n","imports":[{"dynamic":false,"end":210,"specifier":"./approvedPair-C2gVtD2Y.js","start":184},{"dynamic":false,"end":313,"specifier":"./portfolio-N8aWyHHT.js","start":290},{"dynamic":false,"end":380,"specifier":"./usePendingNavigationGuard-BdMNd90d.js","start":341},{"dynamic":false,"end":426,"specifier":"./Tabs-BK1QJlcw.js","start":408},{"dynamic":false,"end":507,"specifier":"react","start":502},{"dynamic":false,"end":579,"specifier":"react/jsx-runtime","start":562}],"hasUnsupportedDynamicImports":false},{"path":"workspace/react/dist/portfolio-N8aWyHHT.js","kind":"module","text":"import { $ as e, A as t, B as n, C as r, D as i, F as a, H as o, I as s, J as c, L as l, M as u, O as d, P as f, Q as p, U as m, V as h, W as g, X as _, Y as v, Z as y, a as b, at as x, c as S, ct as C, et as ee, f as te, h as w, i as ne, it as T, k as re, n as E, nt as D, o as ie, ot as O, p as k, pt as A, r as j, s as M, st as ae, t as N, tt as oe, ut as se, v as ce, w as le, x as ue, y as P, z as de } from \"./approvedPair-C2gVtD2Y.js\";\nimport { i as F, n as fe, r as pe, t as me } from \"./Tabs-BK1QJlcw.js\";\nimport he, { createContext as ge, useCallback as I, useContext as _e, useEffect as L, useId as ve, useMemo as R, useRef as z, useState as B } from \"react\";\nimport { Fragment as V, jsx as H, jsxs as U } from \"react/jsx-runtime\";\n// src/hooks/useTheme.ts\nvar W = {\n\t\"--ca5ss4b-primary\": \"--ct-primary\",\n\t\"--ca5ss4b-primary-foreground\": \"--ct-primary-foreground\",\n\t\"--ca5ss4b-background\": \"--ct-background\",\n\t\"--ca5ss4b-foreground\": \"--ct-foreground\",\n\t\"--ca5ss4b-muted\": \"--ct-muted\",\n\t\"--ca5ss4b-muted-foreground\": \"--ct-muted-foreground\",\n\t\"--ca5ss4b-border\": \"--ct-border\",\n\t\"--ca5ss4b-input\": \"--ct-input\",\n\t\"--ca5ss4b-ring\": \"--ct-ring\",\n\t\"--ca5ss4b-radius\": \"--ct-radius\",\n\t\"--ca5ss4b-destructive\": \"--ct-destructive\",\n\t\"--ca5ss4b-destructive-foreground\": \"--ct-destructive-foreground\"\n};\nfunction ye(e, t) {\n\treturn JSON.stringify(e) === JSON.stringify(t);\n}\nfunction G(e) {\n\treturn e === \"system\" || e === \"auto\";\n}\nfunction be(e) {\n\treturn e === \"light\" || e === \"dark\";\n}\nfunction K() {\n\treturn typeof document > \"u\" ? \"light\" : document.documentElement.classList.contains(\"ca5ss4b-dark\") ? \"dark\" : \"light\";\n}\nfunction q(e = \"system\", t) {\n\tlet [n, r] = B(e), [i, a] = B(\"light\"), o = z(t), s = R(() => ye(o.current, t) ? o.current : (o.current = t, t), [t]);\n\tL(() => {\n\t\tif (!G(n) || typeof window > \"u\") return;\n\t\tlet e = () => a(K()), t = (e) => {\n\t\t\tlet t = e.detail;\n\t\t\ta(be(t?.resolved) ? t.resolved : K());\n\t\t};\n\t\treturn e(), window.addEventListener(\"ca5ss4b:color-mode-change\", t), () => {\n\t\t\twindow.removeEventListener(\"ca5ss4b:color-mode-change\", t);\n\t\t};\n\t}, [n]);\n\tlet c = n === \"dark\" || G(n) && i === \"dark\";\n\treturn {\n\t\tmode: n,\n\t\tsetMode: r,\n\t\tisDark: c,\n\t\tclassName: R(() => `cedros-trade ${c ? \"cedros-trade--dark\" : \"\"}`.trim(), [c]),\n\t\tstyle: R(() => {\n\t\t\tif (!s) return {};\n\t\t\tlet e = {};\n\t\t\tfor (let [t, n] of Object.entries(s)) n && W[t] && (e[W[t]] = n);\n\t\t\tfor (let [t, n] of Object.entries(s)) n && !W[t] && (e[t] = n);\n\t\t\treturn e;\n\t\t}, [s])\n\t};\n}\n// src/context/CedrosTradeProvider.tsx\nvar J = ge(null);\nfunction xe({ config: e, children: t, theme: n = \"system\", themeOverrides: r, unstyled: i = !1, i18n: a }) {\n\tlet o = q(n, r), s = R(() => new se(e.serverUrl, e.getAccessToken, e.apiKey), [\n\t\te.apiKey,\n\t\te.getAccessToken,\n\t\te.serverUrl\n\t]), c = R(() => ({\n\t\tapi: s,\n\t\tconfig: e,\n\t\ttheme: o\n\t}), [\n\t\ts,\n\t\te,\n\t\to\n\t]), l = R(() => O(e.i18n, a), [e.i18n, a]);\n\treturn i ? /* @__PURE__ */ H(oe, {\n\t\t...l,\n\t\tchildren: /* @__PURE__ */ H(J.Provider, {\n\t\t\tvalue: c,\n\t\t\tchildren: /* @__PURE__ */ H(g, { children: t })\n\t\t})\n\t}) : /* @__PURE__ */ H(oe, {\n\t\t...l,\n\t\tchildren: /* @__PURE__ */ H(J.Provider, {\n\t\t\tvalue: c,\n\t\t\tchildren: /* @__PURE__ */ H(g, { children: /* @__PURE__ */ H(\"div\", {\n\t\t\t\tclassName: o.className,\n\t\t\t\tstyle: o.style,\n\t\t\t\tchildren: t\n\t\t\t}) })\n\t\t})\n\t});\n}\nfunction Se() {\n\tlet e = _e(J);\n\tif (!e) throw Error(\"useTradeContext must be used within <CedrosTradeProvider>\");\n\treturn e;\n}\nfunction Y() {\n\treturn Se().api;\n}\nfunction Ce() {\n\treturn Se().theme;\n}\n// src/utils/useAsyncMutation.ts\nfunction we({ mapError: e }) {\n\tlet [t, n] = B(!1), [r, i] = B(null), a = z(e);\n\treturn a.current = e, {\n\t\tisLoading: t,\n\t\terror: r,\n\t\trun: I(async (e) => {\n\t\t\tn(!0), i(null);\n\t\t\ttry {\n\t\t\t\treturn await e();\n\t\t\t} catch (e) {\n\t\t\t\tthrow i(a.current(e)), e;\n\t\t\t} finally {\n\t\t\t\tn(!1);\n\t\t\t}\n\t\t}, []),\n\t\tresetError: I(() => {\n\t\t\ti(null);\n\t\t}, [])\n\t};\n}\n// src/hooks/useSwap.ts\nfunction Te() {\n\tlet e = Y(), t = D(), [n, r] = B(null), [i, a] = B([]), [o, s] = B(null), [c, l] = B(!1), [u, d] = B(null), [f, p] = B(null), [m, g] = B(null), { isLoading: _, error: v, run: y, resetError: b } = we({ mapError: (e) => h(e, t) }), x = z(0), S = z(null);\n\tL(() => (r(null), a([]), s(null), l(!1), d(null), () => {\n\t\tx.current += 1, S.current?.abort();\n\t}), [e]);\n\tlet C = I(async (n, i, o, c) => {\n\t\tlet u = ++x.current;\n\t\tS.current?.abort();\n\t\tlet f = new AbortController();\n\t\tS.current = f, r(null), a([]), s(null), d(null), l(!0);\n\t\ttry {\n\t\t\tlet l = await e.compareQuotes(n, i, o, c, f.signal);\n\t\t\tif (f.signal.aborted || x.current !== u) throw new DOMException(\"Quote superseded\", \"AbortError\");\n\t\t\tlet d = l[0];\n\t\t\tif (!d) throw Error(t.t(\"errors.noProviders\"));\n\t\t\treturn x.current === u && (r(d), a(l), s(Date.now())), d;\n\t\t} catch (e) {\n\t\t\tthrow f.signal.aborted || x.current !== u ? new DOMException(\"Quote superseded\", \"AbortError\") : (x.current === u && d(h(e, t)), e);\n\t\t} finally {\n\t\t\tx.current === u && l(!1);\n\t\t}\n\t}, [e, t]), ee = I(async (t, n) => y(async () => {\n\t\tlet r = await e.buildSwap(t, n);\n\t\treturn p(r), r;\n\t}), [e, y]), te = I(async (t, n, r) => y(async () => {\n\t\tlet i = await e.executeSwap(t, n, r);\n\t\treturn g(i), i;\n\t}), [e, y]), w = I(async (t, n, r) => y(async () => await e.compareQuotes(t, n, r)), [e, y]), ne = I(() => {\n\t\tx.current += 1, S.current?.abort(), r(null), a([]), s(null), l(!1), d(null), p(null), g(null), b();\n\t}, [b]);\n\treturn {\n\t\tquote: n,\n\t\tquotes: i,\n\t\tquotedAt: o,\n\t\ttransaction: f,\n\t\tresult: m,\n\t\tisLoading: c || _,\n\t\terror: u ?? v,\n\t\tgetQuote: C,\n\t\tbuildTransaction: ee,\n\t\texecute: te,\n\t\tcompareProviders: w,\n\t\treset: ne\n\t};\n}\n// src/hooks/useTransfer.ts\nfunction Ee() {\n\tlet e = Y(), t = D(), [n, r] = B(null), [i, a] = B(null), { isLoading: o, error: s, run: c, resetError: l } = we({ mapError: (e) => h(e, t) });\n\treturn {\n\t\tbuildResult: n,\n\t\texecuteResult: i,\n\t\tisLoading: o,\n\t\terror: s,\n\t\tbuild: I(async (t, n, i, a, o) => c(async () => {\n\t\t\tlet s = await e.buildTransfer({\n\t\t\t\tsender: t,\n\t\t\t\trecipient: n,\n\t\t\t\tmint: i,\n\t\t\t\tamount: a,\n\t\t\t\tmemo: o\n\t\t\t});\n\t\t\treturn r(s), s;\n\t\t}), [e, c]),\n\t\texecute: I(async (t) => c(async () => {\n\t\t\tlet n = await e.executeTransfer(t);\n\t\t\treturn a(n), n;\n\t\t}), [e, c]),\n\t\tresolveAddress: I(async (t) => e.resolveAddress(t), [e]),\n\t\treset: I(() => {\n\t\t\tr(null), a(null), l();\n\t\t}, [l])\n\t};\n}\n// src/hooks/usePositions.ts\nfunction De(e) {\n\tlet t = Y(), r = D(), { data: i, isLoading: a, error: o, refresh: s } = n({\n\t\tkey: e ? [\n\t\t\t\"positions\",\n\t\t\tt,\n\t\t\te\n\t\t] : null,\n\t\tinitialData: null,\n\t\tload: async (n) => t.getPositions(e, n),\n\t\tmapError: (e) => h(e, r)\n\t});\n\treturn {\n\t\tpositions: i,\n\t\tisLoading: a,\n\t\terror: o,\n\t\trefresh: I(() => s({ force: !0 }), [s])\n\t};\n}\n// src/hooks/useOpenOrders.ts\nvar Oe = {\n\tlimitOrders: [],\n\tdcaOrders: []\n};\nfunction ke(e) {\n\tlet t = Y(), r = D(), { data: i, isLoading: a, error: o, refresh: s } = n({\n\t\tkey: e ? [\n\t\t\t\"open-orders\",\n\t\t\tt,\n\t\t\te\n\t\t] : null,\n\t\tinitialData: Oe,\n\t\tload: async (n) => t.getOpenOrders(e, n),\n\t\tmapError: (e) => h(e, r)\n\t}), c = I(() => s({ force: !0 }), [s]), l = I(async (e, n) => {\n\t\tlet r = await t.cancelOrder(e, n);\n\t\treturn await c(), r;\n\t}, [t, c]);\n\treturn {\n\t\tlimitOrders: i.limitOrders,\n\t\tdcaOrders: i.dcaOrders,\n\t\tisLoading: a,\n\t\terror: o,\n\t\trefresh: c,\n\t\tcancelOrder: l\n\t};\n}\n// src/hooks/useTokens.ts\nvar Ae = [];\nfunction je() {\n\tlet e = Y(), t = D(), { data: r, isLoading: i, error: a, refresh: o } = n({\n\t\tkey: [\"tokens\", e],\n\t\tinitialData: Ae,\n\t\tcacheTimeMs: 6e4,\n\t\tload: async (t) => {\n\t\t\tlet { tokens: n } = await e.getTokens(void 0, t);\n\t\t\treturn n;\n\t\t},\n\t\tmapError: (e) => h(e, t)\n\t});\n\treturn {\n\t\ttokens: r,\n\t\tisLoading: i,\n\t\terror: a,\n\t\trefresh: I(() => o({ force: !0 }), [o]),\n\t\tgetByMint: I((e) => r.find((t) => t.mint === e), [r]),\n\t\tgetBySymbol: I((e) => {\n\t\t\tlet t = e.toUpperCase();\n\t\t\treturn r.find((e) => e.symbol.toUpperCase() === t);\n\t\t}, [r])\n\t};\n}\n// src/hooks/useLimitOrder.ts\nfunction Me() {\n\tlet e = Y(), t = D(), { isLoading: n, error: r, run: i } = we({ mapError: (e) => h(e, t) });\n\treturn {\n\t\tisLoading: n,\n\t\terror: r,\n\t\tcreateLimit: I(async (t) => i(() => e.createLimitOrder(t)), [e, i]),\n\t\tcreateStopLoss: I(async (t) => i(() => e.createStopLoss(t)), [e, i]),\n\t\tcreateTakeProfit: I(async (t) => i(() => e.createTakeProfit(t)), [e, i]),\n\t\tcreateDca: I(async (t) => i(() => e.createDca(t)), [e, i])\n\t};\n}\n// src/components/shared/ErrorMessage.tsx\nfunction Ne({ message: e, tone: t = \"danger\", className: n = \"\", onDismiss: r }) {\n\tlet { t: i } = D();\n\tif (!e) return null;\n\tlet a = t === \"danger\" || t === \"warning\";\n\treturn /* @__PURE__ */ U(\"div\", {\n\t\tclassName: `ct-enter ct:flex ct:items-start ct:justify-between ct:gap-3 ct-radius-card ct:border ct:px-3 ct:py-2.5 ct:text-sm ct:shadow-cedros ${Fe(t)} ${n}`,\n\t\trole: a ? \"alert\" : \"status\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ H(\"span\", {\n\t\t\t\tclassName: \"ct:mt-1.5 ct:h-2 ct:w-2 ct:flex-none ct:rounded-full ct:bg-current\",\n\t\t\t\t\"aria-hidden\": \"true\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(\"span\", {\n\t\t\t\tclassName: \"ct:min-w-0 ct:flex-1 ct:leading-5\",\n\t\t\t\tchildren: e\n\t\t\t}),\n\t\t\tr && /* @__PURE__ */ H(\"button\", {\n\t\t\t\tonClick: r,\n\t\t\t\t\"aria-label\": i(\"common.dismiss\"),\n\t\t\t\tclassName: \"ct-message-dismiss ct-focusable ct-pressable ct-radius-control ct:p-1 ct:text-current ct:hover:opacity-70\",\n\t\t\t\tchildren: /* @__PURE__ */ H(w, { className: \"ct:h-3.5 ct:w-3.5\" })\n\t\t\t})\n\t\t]\n\t});\n}\nfunction Pe(e) {\n\treturn /* @__PURE__ */ H(Ne, {\n\t\ttone: \"danger\",\n\t\t...e\n\t});\n}\nfunction Fe(e) {\n\treturn e === \"warning\" ? \"ct:border-(--ct-warning) ct:bg-(--ct-warning-bg) ct:text-(--ct-warning)\" : e === \"success\" ? \"ct:border-(--ct-success) ct:bg-(--ct-success-bg) ct:text-(--ct-success)\" : e === \"info\" ? \"ct:border-(--ct-info) ct:bg-(--ct-info-bg) ct:text-(--ct-info)\" : \"ct:border-(--ct-destructive) ct:bg-(--ct-destructive-bg) ct:text-(--ct-destructive)\";\n}\n// src/components/shared/LoadingSpinner.tsx\nfunction X({ className: e = \"\" }) {\n\tlet { t } = D();\n\treturn /* @__PURE__ */ U(\"span\", {\n\t\tclassName: `ct:inline-flex ct:items-center ct:justify-center ${e}`,\n\t\trole: \"status\",\n\t\tchildren: [/* @__PURE__ */ H(\"span\", {\n\t\t\tclassName: \"ct-spinner ct:h-4 ct:w-4\",\n\t\t\t\"aria-hidden\": \"true\"\n\t\t}), /* @__PURE__ */ H(\"span\", {\n\t\t\tclassName: \"ct:sr-only\",\n\t\t\tchildren: t(\"common.loading\")\n\t\t})]\n\t});\n}\n// src/components/shared/useSheetDrag.ts\nfunction Ie(e, t, n) {\n\tlet r = z();\n\treturn L(() => (t || r.current?.(), () => r.current?.()), [t]), (i) => {\n\t\tif (!t || i.button !== 0 || !i.isPrimary || !e.current) return;\n\t\tr.current?.();\n\t\tlet a = e.current, o = i.currentTarget, s = i.pointerId, c = i.clientY, l = i.clientX, u = c, d = i.nativeEvent.timeStamp, f = d, p = 0, m = 0, h = !1;\n\t\to.setPointerCapture(s);\n\t\tlet g = (e) => {\n\t\t\tif (e.pointerId !== s) return;\n\t\t\tp = Math.max(0, e.clientY - c);\n\t\t\tlet t = e.timeStamp - d;\n\t\t\te.clientY !== u && (m = t > 0 ? (e.clientY - u) * 1e3 / t : 0, f = e.timeStamp), u = e.clientY, d = e.timeStamp, h ||= Math.abs(e.clientY - c) > 5 || Math.abs(e.clientX - l) > 5, a.style.transform = `translateY(${p * .08}px)`;\n\t\t}, _ = (e) => {\n\t\t\te.preventDefault(), e.stopPropagation();\n\t\t}, v = () => {\n\t\t\to.removeEventListener(\"pointermove\", g), o.removeEventListener(\"pointerup\", b), o.removeEventListener(\"pointercancel\", y), o.removeEventListener(\"lostpointercapture\", y), o.hasPointerCapture(s) && o.releasePointerCapture(s), a.style.removeProperty(\"transform\"), r.current = void 0;\n\t\t}, y = (e) => {\n\t\t\te.pointerId === s && v();\n\t\t}, b = (e) => {\n\t\t\tif (e.pointerId !== s) return;\n\t\t\tg(e);\n\t\t\tlet t = e.timeStamp - f < 100, r = p > 120 || p > 5 && t && m > 700;\n\t\t\tv(), h && (o.addEventListener(\"click\", _, {\n\t\t\t\tcapture: !0,\n\t\t\t\tonce: !0\n\t\t\t}), setTimeout(() => o.removeEventListener(\"click\", _, !0), 0)), r && n();\n\t\t};\n\t\to.addEventListener(\"pointermove\", g), o.addEventListener(\"pointerup\", b), o.addEventListener(\"pointercancel\", y), o.addEventListener(\"lostpointercapture\", y), r.current = v;\n\t};\n}\n// src/components/swap/TokenSelector.tsx\nfunction Le({ isOpen: e, onClose: t, onSelect: n, excludeMints: r = [], allowedMints: i, selectedMint: a, label: o, className: s = \"\" }) {\n\treturn /* @__PURE__ */ H(g, {\n\t\tfeatures: \"max\",\n\t\tchildren: /* @__PURE__ */ H(y, { children: e && /* @__PURE__ */ H(Re, {\n\t\t\tonClose: t,\n\t\t\tonSelect: n,\n\t\t\texcludeMints: r,\n\t\t\tallowedMints: i,\n\t\t\tselectedMint: a,\n\t\t\tlabel: o,\n\t\t\tclassName: s\n\t\t}, \"token-selector\") })\n\t});\n}\nfunction Re({ onClose: t, onSelect: n, excludeMints: o = [], allowedMints: s, selectedMint: l, label: u, className: d = \"\" }) {\n\tlet { t: f } = D(), m = u ?? f(\"swap.selectToken\"), { tokens: h, isLoading: g, error: y, refresh: b } = je(), [x, S] = B(\"\"), [C, ne] = B(ze), T = z(null), re = z(null), E = z(null), ie = ve(), O = z(t), k = _(\"(max-width: 639px)\"), A = ee(), j = e(), M = Ie(T, k && !A && j, t);\n\tp(re, {\n\t\tenter: [{ opacity: 0 }, { opacity: 1 }],\n\t\texit: { opacity: 0 },\n\t\tduration: 180,\n\t\tremoveOnExit: !0\n\t}), p(T, {\n\t\tenter: [{\n\t\t\topacity: 0,\n\t\t\ttransform: \"translateY(8px) scale(0.98)\"\n\t\t}, {\n\t\t\topacity: 1,\n\t\t\ttransform: \"none\"\n\t\t}],\n\t\tduration: 240\n\t}), L(() => {\n\t\tO.current = t;\n\t}, [t]), L(() => {\n\t\tif (!j) return;\n\t\tlet e = document.activeElement, t = re.current;\n\t\tt?.showModal();\n\t\tlet n = T.current ? F(T.current) : () => void 0;\n\t\tE.current?.focus();\n\t\tlet r = (e) => {\n\t\t\tif (e.key === \"Escape\") {\n\t\t\t\te.preventDefault(), O.current();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (e.key !== \"Tab\" || !T.current) return;\n\t\t\tlet t = T.current.querySelectorAll(\"a[href], button:not([disabled]), input:not([disabled]), [tabindex]:not([tabindex=\\\"-1\\\"])\");\n\t\t\tif (t.length === 0) return;\n\t\t\tlet n = t[0], r = t[t.length - 1];\n\t\t\te.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());\n\t\t};\n\t\treturn document.addEventListener(\"keydown\", r), () => {\n\t\t\tdocument.removeEventListener(\"keydown\", r), t?.close(), n(), e?.focus?.();\n\t\t};\n\t}, [j]), L(() => {\n\t\tT.current && (T.current.inert = !j);\n\t}, [j]);\n\tlet ae = R(() => {\n\t\tlet e = x.toLowerCase();\n\t\treturn h.filter((e) => !o.includes(e.mint)).filter((e) => !s || s.includes(e.mint)).filter((t) => !e || t.symbol.toLowerCase().includes(e) || t.name.toLowerCase().includes(e) || t.mint.toLowerCase().includes(e));\n\t}, [\n\t\th,\n\t\tx,\n\t\to,\n\t\ts\n\t]), N = R(() => h.filter((e) => C.includes(e.mint)).filter((e) => !o.includes(e.mint)).filter((e) => !s || s.includes(e.mint)), [\n\t\th,\n\t\tC,\n\t\to,\n\t\ts\n\t]), oe = R(() => {\n\t\tlet e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new Set();\n\t\tfor (let n of h) e.has(n.symbol) && t.add(n.symbol), e.add(n.symbol);\n\t\treturn t;\n\t}, [h]), se = I((e) => {\n\t\tne((t) => {\n\t\t\tlet n = t.includes(e) ? t.filter((t) => t !== e) : [...t, e];\n\t\t\ttry {\n\t\t\t\tlocalStorage.setItem(\"ct-favorite-tokens\", JSON.stringify(n));\n\t\t\t} catch {}\n\t\t\treturn n;\n\t\t});\n\t}, []), ce = I((e) => {\n\t\tn(e), t(), S(\"\");\n\t}, [n, t]);\n\treturn /* @__PURE__ */ H(\"dialog\", {\n\t\tref: re,\n\t\t\"aria-label\": m,\n\t\t\"aria-modal\": \"true\",\n\t\t\"aria-hidden\": !j || void 0,\n\t\tonCancel: (e) => {\n\t\t\te.preventDefault(), t();\n\t\t},\n\t\tclassName: `ct-token-selector-overlay ct:fixed ct:inset-0 ct:z-50 ct:flex ct:items-center ct:justify-center ct:bg-(--ct-overlay) ct:p-4 ${d}`,\n\t\tstyle: { margin: 0 },\n\t\tonClick: t,\n\t\tchildren: /* @__PURE__ */ H(\"div\", {\n\t\t\tclassName: \"ct-token-selector-sheet-wrap ct:w-full ct:max-w-md\",\n\t\t\tchildren: /* @__PURE__ */ U(\"div\", {\n\t\t\t\tref: T,\n\t\t\t\t\"aria-hidden\": !j || void 0,\n\t\t\t\tclassName: \"ct-token-selector-sheet ct-panel-elevated ct:flex ct:max-h-[82vh] ct:w-full ct:flex-col ct:overflow-hidden ct-radius-panel\",\n\t\t\t\tonClick: (e) => e.stopPropagation(),\n\t\t\t\tchildren: [\n\t\t\t\t\t/* @__PURE__ */ H(\"button\", {\n\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\tclassName: \"ct-token-sheet-handle\",\n\t\t\t\t\t\t\"aria-label\": f(\"common.close\"),\n\t\t\t\t\t\tonClick: t,\n\t\t\t\t\t\tonPointerDown: M,\n\t\t\t\t\t\tchildren: /* @__PURE__ */ H(\"span\", {})\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\tclassName: \"ct:sticky ct:top-0 ct:z-10 ct:bg-(--ct-surface)\",\n\t\t\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\tclassName: \"ct:flex ct:items-center ct:justify-between ct:border-b ct:border-(--ct-border) ct:px-4 ct:py-3\",\n\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"h2\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:text-lg ct:font-semibold ct:text-(--ct-foreground)\",\n\t\t\t\t\t\t\t\tchildren: m\n\t\t\t\t\t\t\t}), /* @__PURE__ */ H(v, {\n\t\t\t\t\t\t\t\tonClick: t,\n\t\t\t\t\t\t\t\t\"aria-label\": f(\"common.close\"),\n\t\t\t\t\t\t\t\tclassName: \"ct-focusable ct-pressable ct-radius-control ct:p-1.5 ct:text-(--ct-muted-foreground) ct:hover:bg-(--ct-muted) ct:hover:text-(--ct-foreground)\",\n\t\t\t\t\t\t\t\tchildren: /* @__PURE__ */ H(w, { className: \"ct:h-4 ct:w-4\" })\n\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t}), /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\tclassName: \"ct:px-4 ct:py-3\",\n\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"label\", {\n\t\t\t\t\t\t\t\thtmlFor: ie,\n\t\t\t\t\t\t\t\tclassName: \"ct:sr-only\",\n\t\t\t\t\t\t\t\tchildren: f(\"swap.searchToken\")\n\t\t\t\t\t\t\t}), /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:relative\",\n\t\t\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t\t\t/* @__PURE__ */ H(r, { className: \"ct-token-search-icon\" }),\n\t\t\t\t\t\t\t\t\t/* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\t\t\t\t\tref: E,\n\t\t\t\t\t\t\t\t\t\tid: ie,\n\t\t\t\t\t\t\t\t\t\ttype: \"search\",\n\t\t\t\t\t\t\t\t\t\t\"aria-label\": f(\"swap.searchToken\"),\n\t\t\t\t\t\t\t\t\t\tplaceholder: f(\"swap.searchToken\"),\n\t\t\t\t\t\t\t\t\t\tvalue: x,\n\t\t\t\t\t\t\t\t\t\tonChange: (e) => S(e.target.value),\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct-field ct:w-full ct-radius-control ct:border ct:pl-9 ct:pr-12 ct:py-2.5 ct:text-(--ct-foreground) ct:placeholder-(--ct-muted-foreground) ct:outline-hidden\"\n\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\tx && /* @__PURE__ */ H(\"button\", {\n\t\t\t\t\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct-token-search-clear ct-focusable\",\n\t\t\t\t\t\t\t\t\t\t\"aria-label\": f(\"admin.tokens.clearSearch\"),\n\t\t\t\t\t\t\t\t\t\tonClick: () => {\n\t\t\t\t\t\t\t\t\t\t\tS(\"\"), E.current?.focus();\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tchildren: /* @__PURE__ */ H(w, { className: \"ct:h-4 ct:w-4\" })\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t})]\n\t\t\t\t\t}),\n\t\t\t\t\t!y && N.length > 0 && !x && /* @__PURE__ */ H(\"div\", {\n\t\t\t\t\t\tclassName: \"ct-stagger-dense ct:px-4 ct:pb-2 ct:flex ct:flex-wrap ct:gap-2\",\n\t\t\t\t\t\tchildren: N.map((e) => /* @__PURE__ */ U(\"button\", {\n\t\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\t\tonClick: () => ce(e),\n\t\t\t\t\t\t\t\"aria-label\": oe.has(e.symbol) ? `${e.symbol} ${e.name} ${e.mint}` : void 0,\n\t\t\t\t\t\t\tclassName: \"ct-focusable ct-pressable ct:min-h-11 ct:wrap-break-word ct:rounded-full ct:bg-(--ct-info-bg) ct:px-3 ct:py-1 ct:text-sm ct:font-medium ct:text-(--ct-info) ct:hover:bg-(--ct-primary) ct:hover:text-(--ct-primary-foreground)\",\n\t\t\t\t\t\t\tchildren: [e.symbol, oe.has(e.symbol) && /* @__PURE__ */ U(\"span\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:block ct:text-xs ct:font-mono\",\n\t\t\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t\t\te.mint.slice(0, 6),\n\t\t\t\t\t\t\t\t\t\"…\",\n\t\t\t\t\t\t\t\t\te.mint.slice(-6)\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t}, e.mint))\n\t\t\t\t\t}),\n\t\t\t\t\t!y && N.length > 0 && !x && /* @__PURE__ */ H(\"hr\", { className: \"ct-divider-gradient ct:mx-4 ct:mb-1\" }),\n\t\t\t\t\t/* @__PURE__ */ U(c, {\n\t\t\t\t\t\taxis: \"y\",\n\t\t\t\t\t\tariaLabel: m,\n\t\t\t\t\t\tclassName: \"ct-stagger-dense ct:flex-1 ct:overflow-y-auto ct:px-2 ct:pb-2\",\n\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\tg && h.length === 0 && /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:flex ct:items-center ct:gap-3 ct:px-3 ct:py-4 ct:text-sm\",\n\t\t\t\t\t\t\t\trole: \"status\",\n\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(X, {}), f(\"swap.loadingTokenPolicy\")]\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\ty && /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:space-y-3 ct:p-3\",\n\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(Ne, {\n\t\t\t\t\t\t\t\t\tmessage: f(\"swap.tokenPolicyUnavailable\"),\n\t\t\t\t\t\t\t\t\ttone: \"warning\"\n\t\t\t\t\t\t\t\t}), /* @__PURE__ */ H(v, {\n\t\t\t\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\t\t\t\tonClick: () => {\n\t\t\t\t\t\t\t\t\t\tb();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tdisabled: g,\n\t\t\t\t\t\t\t\t\tclassName: \"ct-secondary-action ct-focusable ct:w-full\",\n\t\t\t\t\t\t\t\t\tchildren: f(\"common.retry\")\n\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t!y && ae.map((e) => /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\tclassName: \"ct-progressive-row ct:flex ct:w-full ct:items-center ct:gap-3 ct-radius-control ct:px-3 ct:text-left ct:hover:bg-(--ct-surface-interactive)\",\n\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ U(\"button\", {\n\t\t\t\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\t\t\t\t\"aria-pressed\": e.mint === l,\n\t\t\t\t\t\t\t\t\t\"aria-label\": `${e.symbol} ${e.name}${oe.has(e.symbol) ? ` ${e.mint}` : \"\"}`,\n\t\t\t\t\t\t\t\t\tonClick: () => ce(e),\n\t\t\t\t\t\t\t\t\tclassName: \"ct-focusable ct-pressable ct:flex ct:min-w-0 ct:flex-1 ct:items-center ct:gap-3 ct-radius-control ct:py-2.5 ct:text-left\",\n\t\t\t\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t\t\t\t/* @__PURE__ */ H(de, {\n\t\t\t\t\t\t\t\t\t\t\ttoken: e,\n\t\t\t\t\t\t\t\t\t\t\tclassName: \"ct:h-8 ct:w-8 ct:text-xs\"\n\t\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\t\t/* @__PURE__ */ U(\"span\", {\n\t\t\t\t\t\t\t\t\t\t\tclassName: \"ct:flex-1 ct:min-w-0\",\n\t\t\t\t\t\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t\t\t\t\t\t/* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName: \"ct:block ct:wrap-break-word ct:font-medium ct:text-(--ct-foreground)\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tchildren: e.symbol\n\t\t\t\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\t\t\t\t\" \",\n\t\t\t\t\t\t\t\t\t\t\t\t/* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName: \"ct:block ct:text-xs ct:text-(--ct-muted-foreground) ct:wrap-break-word\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tchildren: e.name\n\t\t\t\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\t\t\t\toe.has(e.symbol) && /* @__PURE__ */ U(V, { children: [\" \", /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassName: \"ct:mt-1 ct:block ct:break-all ct:font-mono ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\t\t\t\t\t\t\tchildren: e.mint\n\t\t\t\t\t\t\t\t\t\t\t\t})] })\n\t\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\t\te.mint === l && /* @__PURE__ */ H(te, { className: \"ct:h-4 ct:w-4 ct:shrink-0 ct:text-(--ct-foreground)\" })\n\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t}), /* @__PURE__ */ H(v, {\n\t\t\t\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\t\t\t\tonClick: () => se(e.mint),\n\t\t\t\t\t\t\t\t\t\"aria-label\": C.includes(e.mint) ? f(\"swap.unfavoriteToken\", { symbol: e.symbol }) : f(\"swap.favoriteToken\", { symbol: e.symbol }),\n\t\t\t\t\t\t\t\t\t\"aria-pressed\": C.includes(e.mint),\n\t\t\t\t\t\t\t\t\t\"data-persist\": C.includes(e.mint) ? \"true\" : void 0,\n\t\t\t\t\t\t\t\t\tclassName: `ct-progressive-control ct-focusable ct-pressable ct:min-h-11 ct:min-w-11 ct:rounded-full ct:p-1.5 ct:hover:bg-(--ct-warning-bg) ${C.includes(e.mint) ? \"ct:text-(--ct-warning)\" : \"ct:text-(--ct-muted-foreground) ct:hover:text-(--ct-warning)\"}`,\n\t\t\t\t\t\t\t\t\tchildren: /* @__PURE__ */ H(i, {\n\t\t\t\t\t\t\t\t\t\tfilled: C.includes(e.mint),\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct:h-4 ct:w-4\"\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t}, e.mint)),\n\t\t\t\t\t\t\t!y && !g && ae.length === 0 && /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:px-4 ct:py-6 ct:text-center\",\n\t\t\t\t\t\t\t\trole: \"status\",\n\t\t\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t\t\t!x && /* @__PURE__ */ H(a, {}),\n\t\t\t\t\t\t\t\t\t/* @__PURE__ */ H(\"div\", {\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct:text-sm ct:font-medium ct:text-(--ct-foreground)\",\n\t\t\t\t\t\t\t\t\t\tchildren: f(\"swap.noTokensFound\")\n\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\t/* @__PURE__ */ H(\"p\", {\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct:mt-2 ct:text-sm ct:leading-6 ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\t\t\t\tchildren: f(x ? \"swap.noTokenMatches\" : \"swap.noApprovedTokens\")\n\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\tx && /* @__PURE__ */ H(v, {\n\t\t\t\t\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct-focusable ct-radius-control ct:mt-3 ct:border ct:border-(--ct-border) ct:px-3 ct:py-2 ct:text-sm\",\n\t\t\t\t\t\t\t\t\t\tonClick: () => {\n\t\t\t\t\t\t\t\t\t\t\tS(\"\"), E.current?.focus();\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tchildren: f(\"swap.showApprovedTokens\")\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t]\n\t\t\t\t\t})\n\t\t\t\t]\n\t\t\t})\n\t\t})\n\t});\n}\nfunction ze() {\n\tif (typeof localStorage > \"u\") return [];\n\ttry {\n\t\tlet e = localStorage.getItem(\"ct-favorite-tokens\");\n\t\tif (!e) return [];\n\t\tlet t = JSON.parse(e);\n\t\tif (Array.isArray(t) && t.every((e) => typeof e == \"string\")) return t;\n\t\tlocalStorage.removeItem(\"ct-favorite-tokens\");\n\t} catch {}\n\treturn [];\n}\n// src/components/shared/TradeDisclosure.tsx\nfunction Be({ mode: e, providers: t = [] }) {\n\tlet { t: n, formatList: r } = D(), i = [...new Set((t ?? []).map(M))];\n\treturn /* @__PURE__ */ U(\"p\", {\n\t\tclassName: \"ct:mx-auto ct:mt-3 ct:w-full ct:max-w-xl ct:px-1 ct:text-xs ct:leading-5 ct:text-(--ct-muted-foreground)\",\n\t\tchildren: [\n\t\t\tn(i.length ? \"public.disclosure.providers\" : \"public.disclosure.thirdParty\", { providers: r(i) }),\n\t\t\t\" \",\n\t\t\tn(e === \"wallet\" ? \"public.disclosure.wallet\" : \"public.disclosure.preview\")\n\t\t]\n\t});\n}\n// src/components/swap/SlippageControl.tsx\nvar Ve = [\n\t{ bps: 10 },\n\t{ bps: 50 },\n\t{ bps: 100 }\n];\nfunction He({ value: e, onChange: t, className: n = \"\" }) {\n\tlet r = ve(), { t: i, formatNumber: a, formatPercent: s, parseNumber: c } = D(), [l, u] = B(null), d = l?.value === e ? l : null, f = d !== null || !Ve.some((t) => t.bps === e), p = d?.input ?? a(e / 100), m = d?.invalid ?? !1, h = (n) => {\n\t\tlet r = c(n), i = r === null ? null : Math.round(r * 100);\n\t\tr !== null && i !== null && r >= 0 && r <= 50 && Math.abs(r * 100 - i) < 1e-8 ? (u({\n\t\t\tvalue: i,\n\t\t\tinput: n,\n\t\t\tinvalid: !1\n\t\t}), t(i)) : u({\n\t\t\tvalue: e,\n\t\t\tinput: n,\n\t\t\tinvalid: n.trim() !== \"\"\n\t\t});\n\t};\n\treturn /* @__PURE__ */ U(\"div\", {\n\t\tclassName: `ct:space-y-1 ${n}`,\n\t\tchildren: [/* @__PURE__ */ U(\"div\", {\n\t\t\tclassName: \"ct:flex ct:flex-wrap ct:items-center ct:justify-between ct:gap-2\",\n\t\t\tchildren: [/* @__PURE__ */ H(\"span\", {\n\t\t\t\tclassName: \"ct:text-sm ct:font-medium ct:text-(--ct-muted-foreground)\",\n\t\t\t\tchildren: i(\"swap.slippage\")\n\t\t\t}), /* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:flex ct:flex-wrap ct:items-center ct:gap-2 ct-radius-control ct:border ct:border-(--ct-border) ct:bg-(--ct-surface-muted) ct:p-1\",\n\t\t\t\tchildren: [Ve.map((n) => /* @__PURE__ */ H(v, {\n\t\t\t\t\t\"aria-pressed\": e === n.bps && !f,\n\t\t\t\t\tonClick: () => {\n\t\t\t\t\t\tt(n.bps), u(null);\n\t\t\t\t\t},\n\t\t\t\t\tclassName: `ct-focusable ct-pressable ct-radius-control ct:px-2.5 ct:py-1 ct:text-xs ct:font-medium ${e === n.bps && !f ? \"ct-primary-action ct:text-(--ct-primary-foreground)\" : \"ct:text-(--ct-muted-foreground) ct:hover:bg-(--ct-surface-interactive)\"}`,\n\t\t\t\t\tchildren: s(n.bps / 1e4, {\n\t\t\t\t\t\tvalueIsFraction: !0,\n\t\t\t\t\t\tmaximumFractionDigits: 1\n\t\t\t\t\t})\n\t\t\t\t}, n.bps)), /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\tclassName: \"ct:inline-flex ct:items-center ct:gap-1\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\tinputMode: \"decimal\",\n\t\t\t\t\t\t\"aria-label\": i(\"swap.slippage\"),\n\t\t\t\t\t\t\"aria-invalid\": m,\n\t\t\t\t\t\t\"aria-describedby\": m ? r : void 0,\n\t\t\t\t\t\tplaceholder: i(\"swap.custom\"),\n\t\t\t\t\t\tvalue: f ? p : \"\",\n\t\t\t\t\t\tonFocus: () => u({\n\t\t\t\t\t\t\tvalue: e,\n\t\t\t\t\t\t\tinput: p,\n\t\t\t\t\t\t\tinvalid: m\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tonChange: (e) => h(e.target.value),\n\t\t\t\t\t\tclassName: \"ct-field ct:w-16 ct-radius-control ct:border ct:px-2 ct:py-1 ct:text-xs ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t}), /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\tchildren: \"%\"\n\t\t\t\t\t})]\n\t\t\t\t})]\n\t\t\t})]\n\t\t}), /* @__PURE__ */ H(o, {\n\t\t\topen: m,\n\t\t\tchildren: /* @__PURE__ */ H(\"p\", {\n\t\t\t\tid: r,\n\t\t\t\trole: \"alert\",\n\t\t\t\tclassName: \"ct:text-right ct:text-xs ct:text-(--ct-destructive)\",\n\t\t\t\tchildren: i(\"swap.slippageRange\")\n\t\t\t})\n\t\t})]\n\t});\n}\n// src/components/shared/WorkflowState.tsx\nfunction Ue({ title: e, body: t }) {\n\treturn /* @__PURE__ */ U(\"div\", {\n\t\tclassName: \"ct-unavailable-state ct-enter\",\n\t\trole: \"status\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ H(\"div\", {\n\t\t\t\tclassName: \"ct:flex ct:justify-center\",\n\t\t\t\tchildren: /* @__PURE__ */ H(ce, {\n\t\t\t\t\ticon: u,\n\t\t\t\t\tlarge: !0\n\t\t\t\t})\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(\"h2\", {\n\t\t\t\tclassName: \"ct:mt-4 ct:text-lg ct:font-semibold ct:text-(--ct-foreground)\",\n\t\t\t\tchildren: e\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(\"p\", {\n\t\t\t\tclassName: \"ct:mx-auto ct:mt-2 ct:max-w-lg ct:text-sm ct:leading-6 ct:text-(--ct-muted-foreground)\",\n\t\t\t\tchildren: t\n\t\t\t})\n\t\t]\n\t});\n}\nfunction We({ result: e, action: t }) {\n\tlet { t: n } = D(), r = e.status === \"confirmed\", i = n(t === \"swap\" ? \"transaction.action.swap\" : \"transaction.action.transfer\"), a = n(r ? \"transaction.confirmed\" : \"transaction.submitted\", { action: i }), o = Ge(e.explorerUrl);\n\treturn /* @__PURE__ */ U(\"div\", {\n\t\tclassName: \"ct-panel ct-panel-info ct-enter ct-radius-card ct:p-4\",\n\t\trole: \"status\",\n\t\t\"aria-live\": \"polite\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:flex ct:items-center ct:gap-2 ct:font-semibold ct:text-(--ct-foreground)\",\n\t\t\t\tchildren: [r ? /* @__PURE__ */ H(te, { className: \"ct:h-4 ct:w-4 ct:text-(--ct-success)\" }) : /* @__PURE__ */ H(P, { className: \"ct:h-4 ct:w-4\" }), a]\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(\"p\", {\n\t\t\t\tclassName: \"ct:mt-2 ct:text-xs ct:leading-5 ct:text-(--ct-muted-foreground)\",\n\t\t\t\tchildren: n(r ? \"transaction.confirmedBody\" : \"transaction.submittedBody\")\n\t\t\t}),\n\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:mt-3 ct:flex ct:flex-wrap ct:items-center ct:justify-between ct:gap-2\",\n\t\t\t\tchildren: [/* @__PURE__ */ H(pe, {\n\t\t\t\t\tvalue: e.signature,\n\t\t\t\t\tlabel: n(\"transaction.reference\")\n\t\t\t\t}), o && /* @__PURE__ */ H(\"a\", {\n\t\t\t\t\thref: o,\n\t\t\t\t\ttarget: \"_blank\",\n\t\t\t\t\trel: \"noreferrer\",\n\t\t\t\t\tclassName: \"ct-link ct-focusable ct:text-sm ct:font-medium\",\n\t\t\t\t\tchildren: n(\"transaction.viewExplorer\")\n\t\t\t\t})]\n\t\t\t})\n\t\t]\n\t});\n}\nfunction Ge(e) {\n\tif (!e) return null;\n\ttry {\n\t\tlet t = new URL(e);\n\t\treturn t.protocol === \"https:\" ? t.toString() : null;\n\t} catch {\n\t\treturn null;\n\t}\n}\n// src/hostContracts.ts\nfunction Ke() {\n\treturn !1;\n}\n// src/components/swap/SwapForm.tsx\nfunction Z(e, t, n = \"en-US\") {\n\tif (!Number.isInteger(t) || t < 0 || t > 18 || e.length > 100) return null;\n\tlet r = ae(e, n);\n\tif (!/^\\d+(\\.\\d*)?$/.test(r)) return null;\n\tlet [i, a = \"\"] = r.split(\".\");\n\tif (a.length > t) return null;\n\tlet o = 10n ** BigInt(t), s = BigInt(i || \"0\") * o + BigInt(a.padEnd(t, \"0\") || \"0\");\n\treturn s > 0n && s <= 18446744073709551615n ? s.toString() : null;\n}\nfunction Q({ walletAddress: e, onSign: t, onSuccess: n, onError: r, defaultInputMint: i = N, defaultOutputMint: a = E, allowedInputMints: o, allowedOutputMints: c, showHeading: u = !0, className: f = \"\" }) {\n\tlet p = ve(), m = D(), { t: g, formatNumber: _, formatPercent: y, formatTime: C } = m, { api: ee, config: w } = Se(), { quote: re, quotes: O, quotedAt: k, result: ae, isLoading: oe, error: se, getQuote: ce, buildTransaction: le, execute: ue, reset: P } = Te(), { tokens: de, isLoading: F, error: fe, refresh: pe, getByMint: me } = je(), [he, ge] = B({\n\t\tinputMint: i,\n\t\toutputMint: a\n\t}), _e = j(de, he, o, c), R = _e?.inputMint ?? \"\", W = _e?.outputMint ?? \"\", [ye, G] = B(\"\"), [be, K] = B(w.defaultSlippageBps ?? 30), [q, J] = B(void 0), [xe, Y] = B(!1), [Ce, we] = B(0), Ee = oe || xe || F, De = z(!1), Oe = z(0), ke = z(null), [Ae, Me] = B(null), [Fe, Ie] = B(\"quote\"), [Re, ze] = B(!1), [Ve, Ue] = B(() => Date.now()), Ge = me(R) ?? null, Q = me(W) ?? null, Je = Ke() && !!(e && t), Ye = Ge?.decimals ?? (R === \"So11111111111111111111111111111111111111112\" ? 9 : 6), Xe = ye ? Z(ye, Ye, m.locale) : null, Ze = ye && !Xe ? g(\"errors.invalidAmount\") : null, Qe = (e) => !!(Ge && Q) && e.inputMint === R && e.outputMint === W && e.inAmount === Xe && e.slippageBps === be, $ = re && Qe(re) ? re : null, $e = O.filter(Qe), et = $, tt = q === void 0 ? null : b(q, $e), nt = ie(k, Ve, tt), rt = nt === \"stale\", it = nt === \"current\";\n\tL(() => {\n\t\tlet e = !0, t = ++Oe.current, n = new AbortController();\n\t\treturn ee.getSwapDefaults(n.signal).then((n) => {\n\t\t\te && Oe.current === t && (J(n.enabledProviders), e && !De.current && Number.isInteger(n.defaultSlippageBps) && n.defaultSlippageBps >= 0 && n.defaultSlippageBps <= 5e3 && K(n.defaultSlippageBps));\n\t\t}).catch(() => {\n\t\t\te && Oe.current === t && J(null);\n\t\t}), () => {\n\t\t\te = !1, n.abort();\n\t\t};\n\t}, [ee]), L(() => {\n\t\tif (k === null) return;\n\t\tlet e = Math.max(0, k + ne - Date.now()), t = setTimeout(() => Ue(k + ne), e);\n\t\treturn () => clearTimeout(t);\n\t}, [k]);\n\tlet at = I(async () => {\n\t\tif (F || fe || !ye || !R || !W || !Xe) return;\n\t\tke.current?.abort();\n\t\tlet e = new AbortController();\n\t\tke.current = e;\n\t\tlet t = ++Oe.current;\n\t\tY(!0);\n\t\ttry {\n\t\t\tlet n = await ee.getSwapDefaults(e.signal);\n\t\t\tif (e.signal.aborted || Oe.current !== t) return;\n\t\t\tif (J(n.enabledProviders), !De.current && n.defaultSlippageBps !== be && Number.isInteger(n.defaultSlippageBps) && n.defaultSlippageBps >= 0 && n.defaultSlippageBps <= 5e3) {\n\t\t\t\tK(n.defaultSlippageBps);\n\t\t\t\treturn;\n\t\t\t}\n\t\t} catch {\n\t\t\tif (e.signal.aborted || Oe.current !== t) return;\n\t\t\tJ(null);\n\t\t} finally {\n\t\t\t!e.signal.aborted && Oe.current === t && Y(!1);\n\t\t}\n\t\treturn ce(R, W, Xe, be).catch((e) => {\n\t\t\tA(e) || r?.(h(e, m));\n\t\t});\n\t}, [\n\t\tee,\n\t\tye,\n\t\tXe,\n\t\tce,\n\t\tm,\n\t\tR,\n\t\tr,\n\t\tW,\n\t\tbe,\n\t\tF,\n\t\tfe\n\t]), ot = I(async () => {\n\t\tP(), await pe(), we((e) => e + 1);\n\t}, [pe, P]);\n\tL(() => (P(), Y(!1), () => {\n\t\tke.current?.abort();\n\t}), [\n\t\tee,\n\t\tR,\n\t\tW,\n\t\tXe,\n\t\tbe,\n\t\tF,\n\t\tfe,\n\t\tP\n\t]), L(() => {\n\t\tlet e = setTimeout(() => {\n\t\t\tat();\n\t\t}, 500);\n\t\treturn () => clearTimeout(e);\n\t}, [at, Ce]);\n\tlet st = I((e) => {\n\t\tG(e), Ie(\"quote\"), P();\n\t}, [P]), ct = I(() => {\n\t\tge({\n\t\t\tinputMint: W,\n\t\t\toutputMint: R\n\t\t}), G(\"\"), Ie(\"quote\"), ze((e) => !e), P();\n\t}, [\n\t\tR,\n\t\tW,\n\t\tP\n\t]), lt = I((e) => {\n\t\tge(Ae === \"input\" ? (t) => ({\n\t\t\t...t,\n\t\t\tinputMint: e.mint\n\t\t}) : (t) => ({\n\t\t\t...t,\n\t\t\toutputMint: e.mint\n\t\t})), Ie(\"quote\"), P();\n\t}, [Ae, P]), ut = I(async () => {\n\t\tif (!Ke() || !$ || !e || !t) return;\n\t\tlet i = Date.now();\n\t\tif (ie(k, i, tt) !== \"current\") Ue(i);\n\t\telse try {\n\t\t\tIe(\"sign\");\n\t\t\tlet r = await le($, e), i = await t(r.transaction, $.provider, r.requestId ?? void 0), a = await ue(i, $.provider, r.requestId ?? void 0);\n\t\t\tif (a.status === \"failed\") throw Error(g(\"transaction.failed\"));\n\t\t\tIe(\"done\"), n?.(a.signature);\n\t\t} catch (e) {\n\t\t\tIe(\"quote\"), r?.(h(e, m));\n\t\t}\n\t}, [\n\t\t$,\n\t\tk,\n\t\ttt,\n\t\te,\n\t\tt,\n\t\tle,\n\t\tue,\n\t\tn,\n\t\tr,\n\t\tm,\n\t\tg\n\t]), dt = I((e) => {\n\t\tDe.current = !0, K(e), Ie(\"quote\"), P();\n\t}, [P]), ft = (e) => {\n\t\tif (!e) return \"\";\n\t\tlet t = Q?.decimals ?? 6;\n\t\treturn T(e.outAmount, t, m.locale, t);\n\t}, pt = Xe ? T(Xe, Ye, m.locale, 6) : ye, mt = Je ? Fe === \"sign\" ? g(\"swap.signing\") : Fe === \"done\" ? g(\"swap.complete\") : $ && !it ? g(\"swap.refreshRequired\") : Ee ? g(\"swap.fetchingQuote\") : $ ? g(\"swap.submitAction\", {\n\t\tinputAmount: pt,\n\t\tinputSymbol: Ge?.symbol ?? \"\",\n\t\toutputAmount: ft($),\n\t\toutputSymbol: Q?.symbol ?? \"\"\n\t}) : g(\"swap.enterAmount\") : g(\"swap.previewOnly\"), ht = !et || !Xe ? null : x(et.outAmount, Q?.decimals ?? 6, Xe, Ye, m.locale, 6), gt = ht !== null && (ht.length > 18 || (Q?.symbol.length ?? 0) > 10), _t = !$ || $.priceImpactPct < .005 ? \"ct:text-(--ct-success)\" : $.priceImpactPct < .01 ? \"ct:text-(--ct-warning)\" : \"ct:text-(--ct-destructive)\", vt = !$ || !tt ? null : tt.known ? tt.complete ? m.tn(\"swap.coverageComplete\", tt.expectedCount) : g(\"swap.coveragePartial\", {\n\t\tresponded: _(tt.respondedCount),\n\t\texpected: _(tt.expectedCount),\n\t\tproviders: m.formatList(tt.missingProviders.map(M))\n\t}) : g(\"swap.coverageUnknown\"), yt = (e) => {\n\t\tlet t = BigInt($e[0].outAmount) - BigInt(e.outAmount);\n\t\tif (t <= 0n) return g(\"swap.sameReturn\");\n\t\tlet n = Q?.decimals ?? 6, r = t >= 1000000n * 10n ** BigInt(n) ? `≈${m.formatCompact(Number(t) / 10 ** n, { maximumFractionDigits: 2 })}` : T(t.toString(), n, m.locale, t < 10n ** BigInt(n) ? n : 4);\n\t\treturn g(\"swap.routeDifference\", { amount: r });\n\t}, bt = /* @__PURE__ */ H(Be, {\n\t\tmode: \"preview\",\n\t\tproviders: q\n\t});\n\treturn F && de.length === 0 ? /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ H(\"div\", {\n\t\tclassName: `ct-panel-elevated ct-radius-card ct:p-5 ${f}`,\n\t\trole: \"status\",\n\t\tchildren: /* @__PURE__ */ U(\"div\", {\n\t\t\tclassName: \"ct:flex ct:items-center ct:gap-3 ct:text-sm ct:text-(--ct-muted-foreground)\",\n\t\t\tchildren: [/* @__PURE__ */ H(X, { className: \"ct:h-4 ct:w-4\" }), g(\"swap.loadingTokenPolicy\")]\n\t\t})\n\t}), bt] }) : fe ? /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ U(\"div\", {\n\t\tclassName: `ct-panel-elevated ct-radius-card ct:p-5 ct:space-y-3 ${f}`,\n\t\tchildren: [/* @__PURE__ */ H(Ne, {\n\t\t\tmessage: g(\"swap.tokenPolicyUnavailable\"),\n\t\t\ttone: \"warning\"\n\t\t}), /* @__PURE__ */ H(v, {\n\t\t\tonClick: () => {\n\t\t\t\tpe();\n\t\t\t},\n\t\t\tdisabled: F,\n\t\t\tclassName: \"ct-secondary-action ct-focusable ct-pressable ct:w-full\",\n\t\t\tchildren: g(\"common.retry\")\n\t\t})]\n\t}), bt] }) : _e ? /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ U(\"div\", {\n\t\tclassName: `ct-quote-card ct-panel-elevated ct-radius-card ct:p-3 ct:space-y-4 ct:sm:p-5 ${f}`,\n\t\tchildren: [\n\t\t\tu && /* @__PURE__ */ U(\"div\", { children: [/* @__PURE__ */ H(\"h2\", {\n\t\t\t\tclassName: \"ct:text-xl ct:font-semibold ct:text-(--ct-foreground)\",\n\t\t\t\tchildren: g(Je ? \"swap.title\" : \"swap.previewTitle\")\n\t\t\t}), /* @__PURE__ */ H(\"p\", {\n\t\t\t\tclassName: \"ct:mt-1 ct:text-xs ct:leading-5 ct:text-(--ct-muted-foreground)\",\n\t\t\t\tchildren: g(Je ? \"metadata.surface.swap.body\" : \"swap.previewDescription\")\n\t\t\t})] }),\n\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct-quote-exchange\",\n\t\t\t\tchildren: [\n\t\t\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\tclassName: \"ct-quote-side ct-quote-side--input\",\n\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\tclassName: \"ct-quote-side-heading\",\n\t\t\t\t\t\t\t\t\"data-long-token\": Ge && Ge.symbol.length > 10 ? !0 : void 0,\n\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"label\", {\n\t\t\t\t\t\t\t\t\thtmlFor: p,\n\t\t\t\t\t\t\t\t\tclassName: \"ct-public-label\",\n\t\t\t\t\t\t\t\t\tchildren: g(\"swap.youPay\")\n\t\t\t\t\t\t\t\t}), /* @__PURE__ */ H(qe, {\n\t\t\t\t\t\t\t\t\ttoken: Ge,\n\t\t\t\t\t\t\t\t\tonClick: () => Me(\"input\"),\n\t\t\t\t\t\t\t\t\tlabel: g(\"swap.youPay\")\n\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t/* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\t\t\tid: p,\n\t\t\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\t\t\tvalue: ye,\n\t\t\t\t\t\t\t\tonChange: (e) => st(e.target.value),\n\t\t\t\t\t\t\t\tplaceholder: _(0, { minimumFractionDigits: 2 }),\n\t\t\t\t\t\t\t\tinputMode: \"decimal\",\n\t\t\t\t\t\t\t\tautoComplete: \"off\",\n\t\t\t\t\t\t\t\t\"aria-invalid\": !!Ze,\n\t\t\t\t\t\t\t\t\"aria-describedby\": Ze ? `${p}-error` : void 0,\n\t\t\t\t\t\t\t\tclassName: \"ct-field ct-quote-input ct:w-full ct:min-w-0 ct-radius-control ct:border ct:px-3 ct:py-3 ct-tabular-num ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tZe && /* @__PURE__ */ H(\"div\", {\n\t\t\t\t\t\t\t\tid: `${p}-error`,\n\t\t\t\t\t\t\t\tchildren: /* @__PURE__ */ H(Pe, { message: Ze })\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t]\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ H(\"div\", {\n\t\t\t\t\t\tclassName: \"ct-quote-direction ct:relative ct:flex ct:justify-center\",\n\t\t\t\t\t\tchildren: /* @__PURE__ */ H(v, {\n\t\t\t\t\t\t\tonClick: ct,\n\t\t\t\t\t\t\t\"aria-label\": g(\"swap.switchTokens\"),\n\t\t\t\t\t\t\ttitle: g(\"swap.switchTokens\"),\n\t\t\t\t\t\t\tclassName: \"ct-focusable ct-pressable ct-radius-control ct:border ct:border-(--ct-border) ct:bg-(--ct-surface-elevated) ct:p-2 ct:text-(--ct-muted-foreground) ct:hover:text-(--ct-foreground)\",\n\t\t\t\t\t\t\tchildren: /* @__PURE__ */ H(d, { className: `ct:h-4 ct:w-4 ct-rotatable ${Re ? \"ct-rotated\" : \"\"}` })\n\t\t\t\t\t\t})\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\tclassName: \"ct-quote-side ct-quote-side--output\",\n\t\t\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\tclassName: \"ct-quote-side-heading\",\n\t\t\t\t\t\t\t\"data-long-token\": Q && Q.symbol.length > 10 ? !0 : void 0,\n\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"div\", {\n\t\t\t\t\t\t\t\tid: `${p}-output-label`,\n\t\t\t\t\t\t\t\tclassName: \"ct-public-label\",\n\t\t\t\t\t\t\t\tchildren: g(Je ? \"swap.youReceive\" : \"swap.estimatedReturn\")\n\t\t\t\t\t\t\t}), /* @__PURE__ */ H(qe, {\n\t\t\t\t\t\t\t\ttoken: Q,\n\t\t\t\t\t\t\t\tonClick: () => Me(\"output\"),\n\t\t\t\t\t\t\t\tlabel: g(\"swap.youReceive\")\n\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t}), /* @__PURE__ */ H(\"div\", {\n\t\t\t\t\t\t\trole: \"status\",\n\t\t\t\t\t\t\t\"aria-labelledby\": `${p}-output-label`,\n\t\t\t\t\t\t\tclassName: \"ct-quote-result ct:flex ct:min-w-0 ct:items-center ct-tabular-num ct:text-(--ct-foreground)\",\n\t\t\t\t\t\t\tchildren: Ee ? /* @__PURE__ */ H(\"div\", { className: \"ct-skeleton ct:h-6 ct:w-28 ct:rounded-full\" }) : $ ? /* @__PURE__ */ H(S, {\n\t\t\t\t\t\t\t\tatomic: $.outAmount,\n\t\t\t\t\t\t\t\tdecimals: Q?.decimals ?? 6,\n\t\t\t\t\t\t\t\tsymbol: Q?.symbol,\n\t\t\t\t\t\t\t\talign: \"start\"\n\t\t\t\t\t\t\t}) : /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\t\tchildren: \"—\"\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t})]\n\t\t\t\t\t})\n\t\t\t\t]\n\t\t\t}),\n\t\t\tht !== null && !gt && /* @__PURE__ */ H(\"p\", {\n\t\t\t\tclassName: \"ct-quote-rate ct:wrap-break-word ct:text-sm ct-tabular-num ct:text-(--ct-muted-foreground)\",\n\t\t\t\tchildren: g(\"swap.rate\", {\n\t\t\t\t\tinputSymbol: Ge?.symbol ?? \"\",\n\t\t\t\t\trate: ht,\n\t\t\t\t\toutputSymbol: Q?.symbol ?? \"\"\n\t\t\t\t})\n\t\t\t}),\n\t\t\t!ye && /* @__PURE__ */ H(\"p\", {\n\t\t\t\tclassName: \"ct-quote-prompt ct:text-sm ct:text-(--ct-muted-foreground)\",\n\t\t\t\tchildren: g(\"swap.enterToCompare\")\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(Pe, { message: se }),\n\t\t\tse && ye && /* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:space-y-2\",\n\t\t\t\tchildren: [/* @__PURE__ */ H(v, {\n\t\t\t\t\tonClick: () => {\n\t\t\t\t\t\tot();\n\t\t\t\t\t},\n\t\t\t\t\tdisabled: Ee,\n\t\t\t\t\tclassName: \"ct-secondary-action ct-focusable ct-pressable ct:w-full\",\n\t\t\t\t\tchildren: g(\"common.retry\")\n\t\t\t\t}), /* @__PURE__ */ H(\"p\", {\n\t\t\t\t\tclassName: \"ct:text-xs ct:leading-5 ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: g(\"swap.supportRecovery\")\n\t\t\t\t})]\n\t\t\t}),\n\t\t\tEe && /* @__PURE__ */ H(\"p\", {\n\t\t\t\trole: \"status\",\n\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\tchildren: g(\"swap.fetchingQuote\")\n\t\t\t}),\n\t\t\t$ && Fe === \"quote\" && /* @__PURE__ */ H(\"div\", {\n\t\t\t\tclassName: `ct-quote-status ct-radius-control ct:p-3 ${it ? \"\" : \"ct-panel ct-panel-warning\"}`,\n\t\t\t\trole: \"status\",\n\t\t\t\tchildren: /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\tclassName: \"ct:flex ct:flex-wrap ct:items-center ct:justify-between ct:gap-3\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", { children: [/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\tclassName: `ct:flex ct:items-center ct:gap-2 ct:text-sm ct:font-semibold ${it ? \"ct:text-(--ct-success)\" : \"ct:text-(--ct-warning)\"}`,\n\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t/* @__PURE__ */ H(l, { tone: it ? \"success\" : \"warning\" }),\n\t\t\t\t\t\t\t/* @__PURE__ */ H(\"span\", { children: g(rt ? \"swap.refreshRequired\" : it ? \"swap.quoteReady\" : \"swap.bestAvailable\") }),\n\t\t\t\t\t\t\t$e.length === 1 && /* @__PURE__ */ U(\"span\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:font-normal ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t\t\t\"· \",\n\t\t\t\t\t\t\t\t\t/* @__PURE__ */ H(\"span\", { children: M($.provider) }),\n\t\t\t\t\t\t\t\t\t$.gasless ? ` · ${g(\"swap.gasless\")}` : \"\"\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t]\n\t\t\t\t\t}), /* @__PURE__ */ U(\"p\", {\n\t\t\t\t\t\tclassName: \"ct:mt-1 ct:text-xs ct:leading-5 ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\tchildren: [rt ? g(\"swap.quoteStaleBody\") : !it && vt && /* @__PURE__ */ H(\"span\", { children: vt }), k !== null && /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\t\tclassName: \"ct:block ct-tabular-num\",\n\t\t\t\t\t\t\tchildren: g(\"common.updated\", { time: C(k) })\n\t\t\t\t\t\t})]\n\t\t\t\t\t})] }), /* @__PURE__ */ H(v, {\n\t\t\t\t\t\tonClick: () => {\n\t\t\t\t\t\t\tot();\n\t\t\t\t\t\t},\n\t\t\t\t\t\tdisabled: Ee,\n\t\t\t\t\t\tclassName: \"ct-secondary-action ct-focusable ct-pressable\",\n\t\t\t\t\t\tchildren: g(\"swap.refreshQuote\")\n\t\t\t\t\t})]\n\t\t\t\t})\n\t\t\t}),\n\t\t\tet && et.priceImpactPct >= .01 && /* @__PURE__ */ H(Ne, {\n\t\t\t\ttone: \"warning\",\n\t\t\t\tmessage: g(\"swap.highImpact\", { impact: y(et.priceImpactPct, {\n\t\t\t\t\tvalueIsFraction: !0,\n\t\t\t\t\tmaximumFractionDigits: 2\n\t\t\t\t}) })\n\t\t\t}),\n\t\t\tet && /* @__PURE__ */ U(\"dl\", {\n\t\t\t\tclassName: \"ct-quote-protection\",\n\t\t\t\tchildren: [et.otherAmountThreshold && /* @__PURE__ */ U(\"div\", { children: [/* @__PURE__ */ H(\"dt\", { children: g(\"jupiter.minimum\") }), /* @__PURE__ */ U(\"dd\", { children: [/* @__PURE__ */ H(S, {\n\t\t\t\t\tatomic: et.otherAmountThreshold,\n\t\t\t\t\tdecimals: Q?.decimals ?? 6,\n\t\t\t\t\tsymbol: Q?.symbol,\n\t\t\t\t\talign: \"start\"\n\t\t\t\t}), /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\tclassName: \"ct-quote-protection-symbol\",\n\t\t\t\t\tchildren: Q?.symbol\n\t\t\t\t})] })] }), /* @__PURE__ */ U(\"div\", { children: [/* @__PURE__ */ H(\"dt\", { children: g(\"swap.priceImpact\") }), /* @__PURE__ */ H(\"dd\", {\n\t\t\t\t\tclassName: _t,\n\t\t\t\t\tchildren: y(et.priceImpactPct, {\n\t\t\t\t\t\tvalueIsFraction: !0,\n\t\t\t\t\t\tmaximumFractionDigits: 2\n\t\t\t\t\t})\n\t\t\t\t})] })]\n\t\t\t}),\n\t\t\tet && $e.length > 1 && /* @__PURE__ */ U(\"section\", {\n\t\t\t\tclassName: \"ct-quote-routes\",\n\t\t\t\t\"aria-label\": g(\"swap.alternatives\"),\n\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\tclassName: \"ct-quote-route-heading ct:flex ct:items-start ct:justify-between ct:gap-3\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"h3\", {\n\t\t\t\t\t\tclassName: \"ct:text-sm ct:font-medium\",\n\t\t\t\t\t\tchildren: g(\"swap.alternatives\")\n\t\t\t\t\t}), /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\tclassName: \"ct:min-w-0 ct:wrap-break-word ct:text-right ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\tchildren: (Q?.symbol.length ?? 0) > 10 ? g(\"swap.estimatedReturn\") : g(\"swap.returnIn\", { symbol: Q?.symbol ?? \"\" })\n\t\t\t\t\t})]\n\t\t\t\t}), /* @__PURE__ */ H(\"dl\", {\n\t\t\t\t\tclassName: \"ct:m-0 ct:mt-2\",\n\t\t\t\t\tchildren: $e.map((e, t) => /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\tclassName: \"ct-quote-route\",\n\t\t\t\t\t\tchildren: [/* @__PURE__ */ U(\"dt\", {\n\t\t\t\t\t\t\tclassName: \"ct:min-w-0 ct:space-y-1\",\n\t\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t\t/* @__PURE__ */ U(\"span\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct:flex ct:flex-wrap ct:items-center ct:gap-x-2 ct:gap-y-1 ct:font-medium\",\n\t\t\t\t\t\t\t\t\tchildren: [M(e.provider), t === 0 && /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct-quote-best\",\n\t\t\t\t\t\t\t\t\t\tchildren: g(\"swap.bestAvailable\")\n\t\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t(t > 0 || e.gasless) && /* @__PURE__ */ U(\"span\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct:block ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\t\t\tchildren: [t > 0 ? yt(e) : g(\"swap.gasless\"), t > 0 && e.gasless ? ` · ${g(\"swap.gasless\")}` : \"\"]\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\tt > 0 && e.priceImpactPct >= .01 && /* @__PURE__ */ U(\"span\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct:block ct:text-xs ct:text-(--ct-warning)\",\n\t\t\t\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t\t\t\tg(\"swap.priceImpact\"),\n\t\t\t\t\t\t\t\t\t\t\" \",\n\t\t\t\t\t\t\t\t\t\ty(e.priceImpactPct, {\n\t\t\t\t\t\t\t\t\t\t\tvalueIsFraction: !0,\n\t\t\t\t\t\t\t\t\t\t\tmaximumFractionDigits: 2\n\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}), /* @__PURE__ */ H(\"dd\", {\n\t\t\t\t\t\t\tclassName: \"ct:min-w-0 ct:text-right ct-tabular-num\",\n\t\t\t\t\t\t\tchildren: /* @__PURE__ */ H(S, {\n\t\t\t\t\t\t\t\tatomic: e.outAmount,\n\t\t\t\t\t\t\t\tdecimals: Q?.decimals ?? 6,\n\t\t\t\t\t\t\t\tsymbol: Q?.symbol\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t})]\n\t\t\t\t\t}, e.provider))\n\t\t\t\t})]\n\t\t\t}),\n\t\t\t/* @__PURE__ */ U(\"details\", {\n\t\t\t\tclassName: \"ct-quote-details\",\n\t\t\t\tchildren: [/* @__PURE__ */ H(\"summary\", {\n\t\t\t\t\tclassName: \"ct-focusable ct:cursor-pointer ct:text-sm ct:font-medium\",\n\t\t\t\t\tchildren: et ? g(\"swap.quoteDetails\") : `${g(\"swap.quoteSettings\")} · ${y(be / 1e4, {\n\t\t\t\t\t\tvalueIsFraction: !0,\n\t\t\t\t\t\tmaximumFractionDigits: 2\n\t\t\t\t\t})}`\n\t\t\t\t}), /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\tclassName: \"ct:space-y-3 ct:py-3 ct:text-sm\",\n\t\t\t\t\tchildren: [\n\t\t\t\t\t\tgt && /* @__PURE__ */ H(\"p\", {\n\t\t\t\t\t\t\tclassName: \"ct:m-0 ct:wrap-break-word ct:text-xs ct-tabular-num ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\tchildren: g(\"swap.rate\", {\n\t\t\t\t\t\t\t\tinputSymbol: Ge?.symbol ?? \"\",\n\t\t\t\t\t\t\t\trate: ht ?? \"\",\n\t\t\t\t\t\t\t\toutputSymbol: Q?.symbol ?? \"\"\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tit && vt && /* @__PURE__ */ H(\"p\", {\n\t\t\t\t\t\t\tclassName: \"ct:m-0 ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\tchildren: vt\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ H(He, {\n\t\t\t\t\t\t\tvalue: be,\n\t\t\t\t\t\t\tonChange: dt\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t$e.length > 1 && /* @__PURE__ */ H(\"dl\", {\n\t\t\t\t\t\t\tclassName: \"ct:m-0 ct:space-y-2\",\n\t\t\t\t\t\t\t\"aria-label\": g(\"swap.priceImpact\"),\n\t\t\t\t\t\t\tchildren: $e.map((e) => /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:flex ct:items-baseline ct:justify-between ct:gap-3 ct:text-xs\",\n\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"dt\", { children: M(e.provider) }), /* @__PURE__ */ H(\"dd\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct-tabular-num\",\n\t\t\t\t\t\t\t\t\tchildren: y(e.priceImpactPct, {\n\t\t\t\t\t\t\t\t\t\tvalueIsFraction: !0,\n\t\t\t\t\t\t\t\t\t\tmaximumFractionDigits: 2\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t}, e.provider))\n\t\t\t\t\t\t})\n\t\t\t\t\t]\n\t\t\t\t})]\n\t\t\t}),\n\t\t\tJe && /* @__PURE__ */ H(v, {\n\t\t\t\tonClick: ut,\n\t\t\t\tdisabled: !$ || !it || Ee || Fe !== \"quote\",\n\t\t\t\tclassName: `ct-focusable ct-pressable ct:w-full ct-radius-control ct:py-3.5 ct:font-semibold ct:text-(--ct-primary-foreground) ct:disabled:cursor-not-allowed ct:disabled:opacity-50 ${Fe === \"done\" ? \"ct-success-action\" : \"ct-primary-action\"}`,\n\t\t\t\tchildren: /* @__PURE__ */ H(s, { children: Ee ? /* @__PURE__ */ H(X, { className: \"ct:h-4 ct:w-4\" }) : Fe === \"done\" ? /* @__PURE__ */ U(\"span\", {\n\t\t\t\t\tclassName: \"ct:inline-flex ct:items-center ct:gap-2\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(te, { className: \"ct:h-4 ct:w-4 ct-check-draw\" }), mt]\n\t\t\t\t}) : mt })\n\t\t\t}),\n\t\t\tFe === \"done\" && ae && /* @__PURE__ */ H(We, {\n\t\t\t\tresult: ae,\n\t\t\t\taction: \"swap\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(Le, {\n\t\t\t\tisOpen: Ae !== null,\n\t\t\t\tonClose: () => Me(null),\n\t\t\t\tonSelect: lt,\n\t\t\t\texcludeMints: Ae === \"input\" ? [W] : [R],\n\t\t\t\tselectedMint: Ae === \"input\" ? R : W,\n\t\t\t\tlabel: g(Ae === \"input\" ? \"swap.choosePayToken\" : \"swap.chooseReceiveToken\"),\n\t\t\t\tallowedMints: Ae === \"input\" ? o : c\n\t\t\t})\n\t\t]\n\t}), bt] }) : /* @__PURE__ */ U(V, { children: [/* @__PURE__ */ U(\"div\", {\n\t\tclassName: `ct-panel-elevated ct-radius-card ct:p-5 ct:space-y-3 ${f}`,\n\t\tchildren: [/* @__PURE__ */ H(Ne, {\n\t\t\tmessage: g(\"swap.tokenPolicyIncomplete\"),\n\t\t\ttone: \"warning\"\n\t\t}), /* @__PURE__ */ H(v, {\n\t\t\tonClick: () => {\n\t\t\t\tpe();\n\t\t\t},\n\t\t\tdisabled: F,\n\t\t\tclassName: \"ct-secondary-action ct-focusable ct-pressable ct:w-full\",\n\t\t\tchildren: g(\"common.retry\")\n\t\t})]\n\t}), bt] });\n}\nfunction qe({ token: e, onClick: t, label: n }) {\n\tlet r = e?.symbol ?? \"\";\n\treturn /* @__PURE__ */ U(v, {\n\t\tonClick: t,\n\t\t\"aria-label\": `${n}: ${r}`,\n\t\t\"aria-haspopup\": \"dialog\",\n\t\tclassName: \"ct-focusable ct-pressable ct-token-button ct:inline-flex ct:items-center ct:gap-2 ct-radius-control ct:border ct:border-(--ct-border) ct:bg-(--ct-surface-muted) ct:px-3 ct:py-2 ct:font-semibold ct:text-(--ct-foreground) ct:hover:bg-(--ct-surface-interactive)\",\n\t\tchildren: [\n\t\t\te && /* @__PURE__ */ H(de, {\n\t\t\t\ttoken: e,\n\t\t\t\tclassName: \"ct:h-5 ct:w-5 ct:text-[9px]\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(\"span\", {\n\t\t\t\tclassName: \"ct:min-w-0 ct:flex-1 ct:wrap-break-word ct:text-left\",\n\t\t\t\tchildren: r\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(k, { className: \"ct:h-4 ct:w-4 ct:text-(--ct-muted-foreground)\" })\n\t\t]\n\t});\n}\n// src/components/shared/PublicPageShell.tsx\nfunction Je({ showHeader: e = !0, eyebrow: t, title: n, description: r, primaryBadge: i, secondaryBadge: a, stats: o = [], notices: s = [], integrationStates: c = [], integrationStatusLabel: u, children: d, className: f = \"\" }) {\n\treturn /* @__PURE__ */ H(\"section\", {\n\t\tclassName: `cedros-trade ct-shell-surface ct:relative ct:overflow-hidden ct:text-(--ct-foreground) ${f}`,\n\t\tchildren: /* @__PURE__ */ U(\"div\", {\n\t\t\tclassName: \"ct:relative ct:mx-auto ct:flex ct:w-full ct:max-w-6xl ct:flex-col ct:gap-6 ct:px-4 ct:py-7 ct:sm:px-6 ct:lg:py-10\",\n\t\t\tchildren: [\n\t\t\t\te && /* @__PURE__ */ U(\"header\", {\n\t\t\t\t\tclassName: `ct-public-heading ct:grid ct:gap-5 ${o.length ? \"ct:lg:grid-cols-[minmax(0,1fr)_minmax(17rem,24rem)] ct:lg:items-end\" : \"\"}`,\n\t\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\tclassName: \"ct-panel-elevated ct-enter-slow ct:relative ct:overflow-hidden ct-radius-card ct:p-5 ct:sm:p-6\",\n\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\tt && /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:flex ct:items-center ct:gap-2\",\n\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(l, { tone: \"info\" }), /* @__PURE__ */ H(\"p\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct-eyebrow\",\n\t\t\t\t\t\t\t\t\tchildren: t\n\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\tclassName: `${t ? \"ct:mt-4 \" : \"\"}ct:space-y-3`,\n\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"h1\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct:max-w-3xl ct:text-3xl ct:font-semibold ct:leading-tight ct:sm:text-4xl\",\n\t\t\t\t\t\t\t\t\tchildren: n\n\t\t\t\t\t\t\t\t}), r && /* @__PURE__ */ H(\"p\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct:max-w-2xl ct:text-sm ct:leading-6 ct:text-(--ct-muted-foreground) ct:sm:text-base\",\n\t\t\t\t\t\t\t\t\tchildren: r\n\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t(i || a) && /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:mt-5 ct:flex ct:flex-wrap ct:gap-2\",\n\t\t\t\t\t\t\t\tchildren: [i && /* @__PURE__ */ H(Ze, {\n\t\t\t\t\t\t\t\t\tlabel: i,\n\t\t\t\t\t\t\t\t\ttone: \"info\"\n\t\t\t\t\t\t\t\t}), a && /* @__PURE__ */ H(Ze, { label: a })]\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t]\n\t\t\t\t\t}), o.length > 0 && /* @__PURE__ */ H(Ye, { stats: o })]\n\t\t\t\t}),\n\t\t\t\ts.length > 0 && /* @__PURE__ */ H(\"div\", {\n\t\t\t\t\tclassName: `ct-stagger ct:grid ct:gap-3 ${s.length > 1 ? \"ct:md:grid-cols-2\" : \"\"}`,\n\t\t\t\t\tchildren: s.map((e) => /* @__PURE__ */ H(Xe, { notice: e }, e.title))\n\t\t\t\t}),\n\t\t\t\tc.length > 0 && /* @__PURE__ */ H(Qe, {\n\t\t\t\t\tlabel: u,\n\t\t\t\t\tstates: c\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ H(\"div\", {\n\t\t\t\t\tclassName: \"ct:min-w-0 ct-enter\",\n\t\t\t\t\tchildren: d\n\t\t\t\t})\n\t\t\t]\n\t\t})\n\t});\n}\nfunction Ye({ stats: e }) {\n\treturn /* @__PURE__ */ H(\"dl\", {\n\t\tclassName: \"ct-stagger ct:grid ct:grid-cols-1 ct:gap-3 ct:sm:grid-cols-2\",\n\t\tchildren: e.map((e) => /* @__PURE__ */ U(\"div\", {\n\t\t\tclassName: \"ct-panel ct-radius-card ct:p-4\",\n\t\t\tchildren: [/* @__PURE__ */ H(\"dt\", {\n\t\t\t\tclassName: \"ct-eyebrow\",\n\t\t\t\tchildren: e.label\n\t\t\t}), /* @__PURE__ */ H(\"dd\", {\n\t\t\t\tclassName: `ct:mt-2 ct:text-2xl ct:sm:text-3xl ct-display-num ct:leading-none ${$(e.tone)}`,\n\t\t\t\tchildren: /* @__PURE__ */ H(f, { value: e.value })\n\t\t\t})]\n\t\t}, e.label))\n\t});\n}\nfunction Xe({ notice: e }) {\n\treturn /* @__PURE__ */ U(\"div\", {\n\t\tclassName: `ct-panel ct-radius-card ct:border-l-2 ct:p-4 ct:text-sm ${$e(e.tone)}`,\n\t\tchildren: [/* @__PURE__ */ U(\"div\", {\n\t\t\tclassName: `ct:flex ct:items-center ct:gap-2 ct:font-semibold ${et(e.tone)}`,\n\t\t\tchildren: [/* @__PURE__ */ H(l, { tone: nt(e.tone) }), e.title]\n\t\t}), /* @__PURE__ */ H(\"p\", {\n\t\t\tclassName: \"ct:mt-1 ct:text-xs ct:leading-5 ct:text-(--ct-muted-foreground)\",\n\t\t\tchildren: e.body\n\t\t})]\n\t});\n}\nfunction Ze({ label: e, tone: t = \"neutral\" }) {\n\treturn /* @__PURE__ */ U(\"span\", {\n\t\tclassName: `ct:inline-flex ct:items-center ct:gap-1.5 ct:rounded-full ct:px-3 ct:py-1 ct:text-xs ct:font-medium ${t === \"info\" ? \"ct:bg-(--ct-info-bg) ct:text-(--ct-info)\" : \"ct:border ct:border-(--ct-border) ct:bg-(--ct-surface-muted) ct:text-(--ct-muted-foreground)\"}`,\n\t\tchildren: [/* @__PURE__ */ H(l, { tone: t === \"info\" ? \"info\" : \"default\" }), e]\n\t});\n}\nfunction Qe({ label: e, states: t }) {\n\treturn /* @__PURE__ */ H(\"div\", {\n\t\tclassName: \"ct-stagger ct:grid ct:gap-3 ct:md:grid-cols-2\",\n\t\t\"aria-label\": e,\n\t\tchildren: t.map((e) => /* @__PURE__ */ U(\"div\", {\n\t\t\tclassName: \"ct-panel ct-radius-card ct:p-4\",\n\t\t\tchildren: [/* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:flex ct:flex-wrap ct:items-center ct:justify-between ct:gap-2\",\n\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\tclassName: \"ct:flex ct:items-center ct:gap-2 ct:text-xs ct:font-medium ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(l, { tone: rt(e.tone) }), e.label]\n\t\t\t\t}), /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\tclassName: `ct:rounded-full ct:px-2.5 ct:py-1 ct:text-xs ct:font-medium ${tt(e.tone)}`,\n\t\t\t\t\tchildren: /* @__PURE__ */ H(s, { children: e.status })\n\t\t\t\t})]\n\t\t\t}), /* @__PURE__ */ H(\"p\", {\n\t\t\t\tclassName: \"ct:mt-2 ct:text-xs ct:leading-5 ct:text-(--ct-muted-foreground)\",\n\t\t\t\tchildren: e.summary\n\t\t\t})]\n\t\t}, e.label))\n\t});\n}\nfunction $(e) {\n\treturn e === \"success\" ? \"ct:text-(--ct-success)\" : e === \"warning\" ? \"ct:text-(--ct-warning)\" : \"ct:text-(--ct-foreground)\";\n}\nfunction $e(e) {\n\treturn e === \"error\" ? \"ct-panel-danger ct:border-(--ct-destructive)\" : e === \"warning\" ? \"ct-panel-warning ct:border-(--ct-warning)\" : \"ct-panel-info ct:border-(--ct-border)\";\n}\nfunction et(e) {\n\treturn e === \"error\" ? \"ct:text-(--ct-destructive)\" : e === \"warning\" ? \"ct:text-(--ct-warning)\" : \"ct:text-(--ct-foreground)\";\n}\nfunction tt(e) {\n\treturn e === \"success\" ? \"ct:bg-(--ct-success-bg) ct:text-(--ct-success)\" : e === \"warning\" ? \"ct:bg-(--ct-warning-bg) ct:text-(--ct-warning)\" : e === \"error\" ? \"ct:bg-(--ct-destructive-bg) ct:text-(--ct-destructive)\" : \"ct:bg-(--ct-muted) ct:text-(--ct-muted-foreground)\";\n}\nfunction nt(e) {\n\treturn e === \"error\" ? \"danger\" : e === \"warning\" ? \"warning\" : \"info\";\n}\nfunction rt(e) {\n\treturn e === \"success\" ? \"success\" : e === \"warning\" ? \"warning\" : e === \"error\" ? \"danger\" : \"default\";\n}\n// src/components/swap/SwapPage.tsx\nfunction it({ title: e, showHeader: t, ...n }) {\n\tlet { t: r } = D(), i = Ke() && !!(n.walletAddress && n.onSign), a = e ?? r(i ? \"swap.title\" : \"swap.previewTitle\");\n\treturn /* @__PURE__ */ H(Je, {\n\t\tshowHeader: t,\n\t\tclassName: \"ct-quote-preview-shell\",\n\t\teyebrow: \"\",\n\t\ttitle: a,\n\t\tdescription: r(i ? \"metadata.surface.swap.body\" : \"swap.previewDescription\"),\n\t\tprimaryBadge: i ? r(\"public.badge.transactionReady\") : void 0,\n\t\tsecondaryBadge: i ? r(\"public.badge.walletConnected\") : void 0,\n\t\tnotices: i ? [{\n\t\t\ttitle: r(\"public.notice.signingTitle\"),\n\t\t\tbody: r(\"public.notice.signingBody\")\n\t\t}] : [],\n\t\tchildren: /* @__PURE__ */ H(\"div\", {\n\t\t\tclassName: \"ct:mx-auto ct:w-full\",\n\t\t\tchildren: /* @__PURE__ */ H(Q, {\n\t\t\t\t...n,\n\t\t\t\tshowHeading: !1\n\t\t\t})\n\t\t})\n\t});\n}\n// src/components/swap/ProviderComparison.tsx\nvar at = [];\nfunction ot({ inputMint: e, outputMint: t, amount: r, outputDecimals: i = 6, onSelect: a, className: o = \"\" }) {\n\tlet s = D(), { t: c, formatPercent: l } = s, u = Y(), { data: d, isLoading: f, error: p } = n({\n\t\tkey: e && t && r ? [\n\t\t\t\"provider-comparison\",\n\t\t\tu,\n\t\t\te,\n\t\t\tt,\n\t\t\tr\n\t\t] : null,\n\t\tinitialData: at,\n\t\tcacheTimeMs: 5e3,\n\t\tload: async (n) => u.compareQuotes(e, t, r, void 0, n),\n\t\tmapError: (e) => h(e, s)\n\t});\n\tif (f) return /* @__PURE__ */ H(\"div\", {\n\t\tclassName: \"ct:flex ct:justify-center ct:py-2\",\n\t\tchildren: /* @__PURE__ */ H(X, { className: \"ct:h-4 ct:w-4\" })\n\t});\n\tif (p) return /* @__PURE__ */ H(\"div\", {\n\t\tclassName: \"ct:text-xs ct:text-(--ct-destructive)\",\n\t\tchildren: p\n\t});\n\tif (d.length <= 1) return null;\n\tlet m = d.reduce((e, t) => BigInt(e.outAmount) > BigInt(t.outAmount) ? e : t), g = a ? v : \"div\";\n\treturn /* @__PURE__ */ U(\"div\", {\n\t\tclassName: `ct-panel ct-stagger-dense ct:space-y-2 ct-radius-card ct:p-3 ${o}`,\n\t\tchildren: [/* @__PURE__ */ H(\"div\", {\n\t\t\tclassName: \"ct:text-xs ct:font-medium ct:uppercase ct:tracking-wide ct:text-(--ct-muted-foreground)\",\n\t\t\tchildren: c(\"swap.providerComparison\")\n\t\t}), d.map((e) => {\n\t\t\tlet t = e.provider === m.provider, n = T(e.outAmount, i, s.locale, 4);\n\t\t\treturn /* @__PURE__ */ U(g, {\n\t\t\t\t...a ? { onClick: () => a(e) } : {},\n\t\t\t\tclassName: `${a ? \"ct-focusable ct-pressable \" : \"\"}ct:flex ct:w-full ct:items-center ct:justify-between ct-radius-control ct:px-3 ct:py-2 ct:text-xs ${t ? \"ct:border ct:border-(--ct-success) ct:bg-(--ct-success-bg)\" : `ct:bg-[var(--ct-surface-muted)]${a ? \" ct:hover:bg-(--ct-surface-interactive)\" : \"\"}`}`,\n\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\tclassName: \"ct:flex ct:items-center ct:gap-2\",\n\t\t\t\t\tchildren: [\n\t\t\t\t\t\t/* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\t\tclassName: \"ct:font-medium ct:capitalize ct:text-(--ct-foreground)\",\n\t\t\t\t\t\t\tchildren: e.provider\n\t\t\t\t\t\t}),\n\t\t\t\t\t\te.gasless && /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\t\tclassName: \"ct:px-1.5 ct:py-0.5 ct:rounded-cedros-sm ct:text-[10px] ct:font-medium ct:bg-(--ct-info-bg) ct:text-(--ct-info)\",\n\t\t\t\t\t\t\tchildren: c(\"admin.providers.gasless\")\n\t\t\t\t\t\t}),\n\t\t\t\t\t\tt && /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\t\tclassName: \"ct:px-1.5 ct:py-0.5 ct:rounded-cedros-sm ct:text-[10px] ct:font-semibold ct:bg-(--ct-success-bg) ct:text-(--ct-success)\",\n\t\t\t\t\t\t\tchildren: c(\"swap.best\")\n\t\t\t\t\t\t})\n\t\t\t\t\t]\n\t\t\t\t}), /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\tclassName: \"ct:text-right\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\tclassName: \"ct-tabular-num ct:text-(--ct-foreground)\",\n\t\t\t\t\t\tchildren: n\n\t\t\t\t\t}), /* @__PURE__ */ U(\"span\", {\n\t\t\t\t\t\tclassName: \"ct:text-(--ct-muted-foreground) ct:ml-1 ct-tabular-num\",\n\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t\"(\",\n\t\t\t\t\t\t\tl(e.priceImpactPct, {\n\t\t\t\t\t\t\t\tvalueIsFraction: !0,\n\t\t\t\t\t\t\t\tmaximumFractionDigits: 2\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\")\"\n\t\t\t\t\t\t]\n\t\t\t\t\t})]\n\t\t\t\t})]\n\t\t\t}, e.provider);\n\t\t})]\n\t});\n}\n// src/components/transfer/TransferForm.tsx\nvar st = \"So11111111111111111111111111111111111111112\";\nfunction ct({ walletAddress: e, onSign: t, onSuccess: n, onError: r, className: i = \"\" }) {\n\tlet a = D(), { t: c, formatNumber: u } = a, { buildResult: d, executeResult: f, isLoading: p, error: m, build: g, execute: _, resolveAddress: y, reset: b } = Ee(), [x, S] = B(\"\"), [C, ee] = B(\"\"), [w, ne] = B(null), [T, re] = B(st), [E, ie] = B(!1), [O, k] = B(null), [A, j] = B(\"idle\"), [M, ae] = B(\"form\"), N = Ke() && !!(e && t), oe = x.trim().endsWith(\".sol\");\n\tL(() => {\n\t\tlet e = !0;\n\t\tif (!x.trim().endsWith(\".sol\")) return k(null), j(\"idle\"), () => {\n\t\t\te = !1;\n\t\t};\n\t\tk(null), j(\"resolving\");\n\t\tlet t = setTimeout(async () => {\n\t\t\ttry {\n\t\t\t\tlet t = await y(x.trim());\n\t\t\t\tif (!e) return;\n\t\t\t\tt.resolved ? (k(t.resolved), j(\"idle\")) : (k(null), j(\"error\"));\n\t\t\t} catch {\n\t\t\t\te && (k(null), j(\"error\"));\n\t\t\t}\n\t\t}, 500);\n\t\treturn () => {\n\t\t\te = !1, clearTimeout(t);\n\t\t};\n\t}, [x, y]);\n\tlet se = I(() => {\n\t\tM === \"done\" && (ae(\"form\"), b());\n\t}, [M, b]), ce = I((e) => {\n\t\tS(e), se();\n\t}, [se]), le = I((e) => {\n\t\tee(e), se();\n\t}, [se]), ue = I((e) => {\n\t\tne(e), re(e.mint);\n\t}, []), P = oe ? O !== null : x.trim().length > 0, de = I(async () => {\n\t\tif (Ke() && e && t) try {\n\t\t\tae(\"sign\");\n\t\t\tlet r = w?.decimals ?? 9, i = Z(C, r, a.locale);\n\t\t\tif (!i) throw Error(c(\"transfer.errorEnterValidAmount\"));\n\t\t\tlet o = await t((await g(e, oe ? O ?? x.trim() : x.trim(), T, i)).transaction), s = await _(o);\n\t\t\tif (s.status === \"failed\") throw Error(c(\"transaction.failed\"));\n\t\t\tae(\"done\"), n?.(s.signature);\n\t\t} catch (e) {\n\t\t\tae(\"form\"), r?.(h(e, a));\n\t\t}\n\t}, [\n\t\tC,\n\t\tg,\n\t\t_,\n\t\ta,\n\t\toe,\n\t\tT,\n\t\tr,\n\t\tt,\n\t\tn,\n\t\tx,\n\t\tO,\n\t\tw,\n\t\tc,\n\t\te\n\t]), F = c(N ? M === \"sign\" ? \"swap.signing\" : M === \"done\" ? \"transfer.sent\" : p ? \"common.loading\" : \"transfer.title\" : \"transfer.unavailable\"), fe = A === \"resolving\" ? {\n\t\ttone: \"info\",\n\t\tpulse: !0,\n\t\tbg: \"ct:bg-(--ct-info-bg) ct:text-(--ct-info)\"\n\t} : A === \"error\" ? {\n\t\ttone: \"warning\",\n\t\tpulse: !1,\n\t\tbg: \"ct:bg-(--ct-warning-bg) ct:text-(--ct-warning)\"\n\t} : O ? {\n\t\ttone: \"success\",\n\t\tpulse: !1,\n\t\tbg: \"ct:bg-(--ct-success-bg) ct:text-(--ct-success)\"\n\t} : {\n\t\ttone: \"default\",\n\t\tpulse: !1,\n\t\tbg: \"ct:bg-(--ct-surface-muted) ct:text-(--ct-muted-foreground)\"\n\t}, pe = A === \"error\" ? \"ct:border-(--ct-warning)\" : O ? \"ct:border-(--ct-success)\" : \"\";\n\treturn /* @__PURE__ */ U(\"div\", {\n\t\tclassName: `ct-panel-elevated ct-radius-card ct:p-5 ct:space-y-4 ${i}`,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:flex ct:items-start ct:justify-between ct:gap-3\",\n\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", { children: [/* @__PURE__ */ H(\"h2\", {\n\t\t\t\t\tclassName: \"ct:text-xl ct:font-semibold ct:text-(--ct-foreground)\",\n\t\t\t\t\tchildren: c(\"transfer.title\")\n\t\t\t\t}), /* @__PURE__ */ H(\"p\", {\n\t\t\t\t\tclassName: \"ct:mt-1 ct:text-xs ct:leading-5 ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: c(\"metadata.surface.transfer.body\")\n\t\t\t\t})] }), /* @__PURE__ */ U(\"span\", {\n\t\t\t\t\tclassName: `ct:inline-flex ct:items-center ct:gap-1.5 ct:rounded-full ct:px-2.5 ct:py-1 ct:text-xs ct:font-medium ${fe.bg}`,\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(l, {\n\t\t\t\t\t\ttone: fe.tone,\n\t\t\t\t\t\tpulse: fe.pulse\n\t\t\t\t\t}), c(\"transfer.recipient\")]\n\t\t\t\t})]\n\t\t\t}),\n\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:space-y-1\",\n\t\t\t\tchildren: [\n\t\t\t\t\t/* @__PURE__ */ H(\"label\", {\n\t\t\t\t\t\tclassName: \"ct:text-xs ct:font-medium ct:uppercase ct:tracking-wide ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\tchildren: c(\"transfer.recipient\")\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\tvalue: x,\n\t\t\t\t\t\tonChange: (e) => ce(e.target.value),\n\t\t\t\t\t\tplaceholder: c(\"transfer.recipientPlaceholder\"),\n\t\t\t\t\t\t\"aria-label\": c(\"transfer.recipient\"),\n\t\t\t\t\t\tclassName: `ct-field ct:w-full ct-radius-control ct:border ct:px-3 ct:py-3 ct:text-(--ct-foreground) ct:outline-hidden ${pe}`\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ H(o, {\n\t\t\t\t\t\topen: A === \"resolving\",\n\t\t\t\t\t\tchildren: /* @__PURE__ */ H(\"div\", {\n\t\t\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\tchildren: c(\"transfer.resolving\")\n\t\t\t\t\t\t})\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ H(o, {\n\t\t\t\t\t\topen: A === \"error\",\n\t\t\t\t\t\tchildren: /* @__PURE__ */ H(\"div\", {\n\t\t\t\t\t\t\trole: \"alert\",\n\t\t\t\t\t\t\tclassName: \"ct-enter ct-radius-control ct:bg-(--ct-warning-bg) ct:px-2.5 ct:py-1.5 ct:text-xs ct:text-(--ct-warning)\",\n\t\t\t\t\t\t\tchildren: c(\"transfer.resolveFailed\")\n\t\t\t\t\t\t})\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ H(o, {\n\t\t\t\t\t\topen: !!O,\n\t\t\t\t\t\tchildren: /* @__PURE__ */ H(\"div\", {\n\t\t\t\t\t\t\tclassName: \"ct-enter ct-radius-control ct:bg-(--ct-success-bg) ct:px-2.5 ct:py-1.5 ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\tchildren: a.tParts(\"transfer.resolvesTo\").map((e, t) => e.type === \"text\" ? /* @__PURE__ */ H(he.Fragment, { children: e.value }, t) : /* @__PURE__ */ U(\"span\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:font-mono\",\n\t\t\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t\t\tO?.slice(0, 8),\n\t\t\t\t\t\t\t\t\t\"...\",\n\t\t\t\t\t\t\t\t\tO?.slice(-4)\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t}, t))\n\t\t\t\t\t\t})\n\t\t\t\t\t})\n\t\t\t\t]\n\t\t\t}),\n\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:space-y-1\",\n\t\t\t\tchildren: [/* @__PURE__ */ H(\"label\", {\n\t\t\t\t\tclassName: \"ct:text-xs ct:font-medium ct:uppercase ct:tracking-wide ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: c(\"trading.amount\")\n\t\t\t\t}), /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\tclassName: \"ct:flex ct:gap-2\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\tvalue: C,\n\t\t\t\t\t\tonChange: (e) => le(e.target.value),\n\t\t\t\t\t\tplaceholder: u(0, { minimumFractionDigits: 2 }),\n\t\t\t\t\t\tinputMode: \"decimal\",\n\t\t\t\t\t\t\"aria-label\": c(\"trading.amount\"),\n\t\t\t\t\t\tclassName: \"ct-field ct:flex-1 ct-radius-control ct:border ct:px-3 ct:py-3 ct:text-xl ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t}), /* @__PURE__ */ H(v, {\n\t\t\t\t\t\tonClick: () => ie(!0),\n\t\t\t\t\t\tclassName: \"ct-focusable ct-pressable ct:min-w-[100px] ct-radius-control ct:border ct:border-(--ct-border) ct:bg-(--ct-surface-muted) ct:px-4 ct:py-3 ct:font-semibold ct:text-(--ct-foreground) ct:hover:bg-(--ct-surface-interactive)\",\n\t\t\t\t\t\tchildren: w?.symbol ?? \"SOL\"\n\t\t\t\t\t})]\n\t\t\t\t})]\n\t\t\t}),\n\t\t\td?.createsAta && /* @__PURE__ */ H(\"div\", {\n\t\t\t\tclassName: \"ct-enter ct-radius-control ct:border ct:border-(--ct-warning) ct:bg-(--ct-warning-bg) ct:px-3 ct:py-2 ct:text-xs ct:text-(--ct-warning)\",\n\t\t\t\tchildren: c(\"transfer.ataWarning\", { rent: `${u(.002, { maximumFractionDigits: 6 })} SOL` })\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(Pe, {\n\t\t\t\tmessage: m,\n\t\t\t\tonDismiss: b\n\t\t\t}),\n\t\t\t!N && /* @__PURE__ */ H(\"div\", {\n\t\t\t\tclassName: \"ct-panel ct-panel-warning ct-radius-control ct:p-3 ct:text-xs ct:leading-5 ct:text-(--ct-muted-foreground)\",\n\t\t\t\trole: \"status\",\n\t\t\t\tchildren: c(\"public.transactionUnavailable.body\")\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(v, {\n\t\t\t\tonClick: de,\n\t\t\t\tdisabled: !N || !P || !C || p || M !== \"form\",\n\t\t\t\tclassName: `ct-focusable ct-pressable ct:w-full ct-radius-control ct:py-3.5 ct:font-semibold ct:text-(--ct-primary-foreground) ct:disabled:cursor-not-allowed ct:disabled:opacity-50 ${M === \"done\" ? \"ct-success-action\" : \"ct-primary-action\"}`,\n\t\t\t\tchildren: /* @__PURE__ */ H(s, { children: p ? /* @__PURE__ */ H(X, { className: \"ct:h-4 ct:w-4\" }) : M === \"done\" ? /* @__PURE__ */ U(\"span\", {\n\t\t\t\t\tclassName: \"ct:inline-flex ct:items-center ct:gap-2\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(te, { className: \"ct:h-4 ct:w-4 ct-check-draw\" }), F]\n\t\t\t\t}) : F })\n\t\t\t}),\n\t\t\tM === \"done\" && f && /* @__PURE__ */ H(We, {\n\t\t\t\tresult: f,\n\t\t\t\taction: \"transfer\"\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(Le, {\n\t\t\t\tisOpen: E,\n\t\t\t\tonClose: () => ie(!1),\n\t\t\t\tonSelect: ue\n\t\t\t})\n\t\t]\n\t});\n}\n// src/components/transfer/TransferPage.tsx\nfunction lt({ showHeader: e, ...t }) {\n\tlet { t: n } = D(), r = Ke() && !!(t.walletAddress && t.onSign);\n\treturn /* @__PURE__ */ H(Je, {\n\t\tshowHeader: e,\n\t\tclassName: r ? \"\" : \"ct-unavailable-shell\",\n\t\teyebrow: \"\",\n\t\ttitle: n(\"transfer.title\"),\n\t\tdescription: r ? n(\"public.transferDescription\") : \"\",\n\t\tprimaryBadge: r ? n(\"public.badge.transactionReady\") : void 0,\n\t\tsecondaryBadge: r ? n(\"public.badge.walletConnected\") : void 0,\n\t\tnotices: r ? [{\n\t\t\ttitle: n(\"public.notice.signingTitle\"),\n\t\t\tbody: n(\"public.notice.signingBody\")\n\t\t}] : [],\n\t\tchildren: /* @__PURE__ */ H(\"div\", {\n\t\t\tclassName: \"ct:mx-auto ct:w-full ct:max-w-md\",\n\t\t\tchildren: r ? /* @__PURE__ */ H(ct, { ...t }) : /* @__PURE__ */ H(Ue, {\n\t\t\t\ttitle: n(\"public.transactionUnavailable.title\"),\n\t\t\t\tbody: n(\"public.transactionUnavailable.body\")\n\t\t\t})\n\t\t})\n\t});\n}\n// src/components/trading/AutoFeatures.tsx\nvar ut = {\n\tpriceTargets: [{\n\t\tprice: \"\",\n\t\tpercentage: \"\"\n\t}],\n\ttargetsEnabled: !1,\n\tprofitProtection: {\n\t\tenabled: !1,\n\t\tdropPercent: \"10\",\n\t\tactivateAbove: \"\"\n\t},\n\tstopLoss: {\n\t\tenabled: !1,\n\t\ttriggerPrice: \"\"\n\t},\n\ttrailingStop: {\n\t\tenabled: !1,\n\t\ttrailPercent: \"10\"\n\t}\n};\nfunction dt({ state: e, onChange: n, className: r = \"\" }) {\n\tlet { t: i } = D(), a = (t) => n({\n\t\t...e,\n\t\t...t\n\t});\n\treturn /* @__PURE__ */ U(\"div\", {\n\t\tclassName: `ct:space-y-3 ${r}`,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ H(ft, {\n\t\t\t\tenabled: e.targetsEnabled,\n\t\t\t\tonToggle: (e) => a({ targetsEnabled: e }),\n\t\t\t\ticon: re,\n\t\t\t\tlabel: i(\"trading.auto.priceTargets\"),\n\t\t\t\tdescription: i(\"trading.auto.priceTargetsDesc\"),\n\t\t\t\tchildren: /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\tclassName: \"ct:space-y-2\",\n\t\t\t\t\tchildren: [e.priceTargets.map((t, n) => /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\tclassName: \"ct-progressive-row ct:flex ct:items-center ct:gap-2\",\n\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t/* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\t\t\ttype: \"number\",\n\t\t\t\t\t\t\t\tvalue: t.price,\n\t\t\t\t\t\t\t\tplaceholder: i(\"trading.auto.pricePlaceholder\"),\n\t\t\t\t\t\t\t\t\"aria-label\": i(\"trading.auto.pricePlaceholder\"),\n\t\t\t\t\t\t\t\tonChange: (t) => {\n\t\t\t\t\t\t\t\t\tlet r = [...e.priceTargets];\n\t\t\t\t\t\t\t\t\tr[n] = {\n\t\t\t\t\t\t\t\t\t\t...r[n],\n\t\t\t\t\t\t\t\t\t\tprice: t.target.value\n\t\t\t\t\t\t\t\t\t}, a({ priceTargets: r });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tclassName: \"ct-field ct:flex-1 ct:rounded-sm ct:border ct:px-2 ct:py-1.5 ct:text-sm ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t/* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\t\t\ttype: \"number\",\n\t\t\t\t\t\t\t\tvalue: t.percentage,\n\t\t\t\t\t\t\t\tplaceholder: \"%\",\n\t\t\t\t\t\t\t\t\"aria-label\": i(\"trading.takeProfitPercent\"),\n\t\t\t\t\t\t\t\tonChange: (t) => {\n\t\t\t\t\t\t\t\t\tlet r = [...e.priceTargets];\n\t\t\t\t\t\t\t\t\tr[n] = {\n\t\t\t\t\t\t\t\t\t\t...r[n],\n\t\t\t\t\t\t\t\t\t\tpercentage: t.target.value\n\t\t\t\t\t\t\t\t\t}, a({ priceTargets: r });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tclassName: \"ct-field ct:w-20 ct:rounded-sm ct:border ct:px-2 ct:py-1.5 ct:text-sm ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\te.priceTargets.length > 1 && /* @__PURE__ */ H(\"button\", {\n\t\t\t\t\t\t\t\tonClick: () => a({ priceTargets: e.priceTargets.filter((e, t) => t !== n) }),\n\t\t\t\t\t\t\t\t\"aria-label\": i(\"trading.auto.removeTarget\", { index: n + 1 }),\n\t\t\t\t\t\t\t\tclassName: \"ct-progressive-control ct-focusable ct-pressable ct:rounded-full ct:p-1.5 ct:text-(--ct-destructive) ct:hover:bg-(--ct-destructive-bg)\",\n\t\t\t\t\t\t\t\tchildren: /* @__PURE__ */ H(w, { className: \"ct:h-3.5 ct:w-3.5\" })\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t]\n\t\t\t\t\t}, n)), /* @__PURE__ */ H(\"button\", {\n\t\t\t\t\t\tonClick: () => a({ priceTargets: [...e.priceTargets, {\n\t\t\t\t\t\t\tprice: \"\",\n\t\t\t\t\t\t\tpercentage: \"\"\n\t\t\t\t\t\t}] }),\n\t\t\t\t\t\tclassName: \"ct-focusable ct-pressable ct:rounded-full ct:px-2 ct:py-1 ct:text-xs ct:font-medium ct:text-(--ct-primary) ct:hover:bg-(--ct-info-bg)\",\n\t\t\t\t\t\tchildren: i(\"trading.auto.addTarget\")\n\t\t\t\t\t})]\n\t\t\t\t})\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(ft, {\n\t\t\t\tenabled: e.profitProtection.enabled,\n\t\t\t\tonToggle: (t) => a({ profitProtection: {\n\t\t\t\t\t...e.profitProtection,\n\t\t\t\t\tenabled: t\n\t\t\t\t} }),\n\t\t\t\ticon: le,\n\t\t\t\tlabel: i(\"trading.auto.profitProtection\"),\n\t\t\t\tdescription: i(\"trading.auto.profitProtectionDesc\"),\n\t\t\t\tchildren: /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\tclassName: \"ct:space-y-2\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\tclassName: \"ct:flex ct:items-center ct:gap-2\",\n\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\t\ttype: \"number\",\n\t\t\t\t\t\t\tvalue: e.profitProtection.dropPercent,\n\t\t\t\t\t\t\tplaceholder: i(\"trading.auto.dropPercentPlaceholder\"),\n\t\t\t\t\t\t\t\"aria-label\": i(\"trading.auto.dropPercentPlaceholder\"),\n\t\t\t\t\t\t\tonChange: (t) => a({ profitProtection: {\n\t\t\t\t\t\t\t\t...e.profitProtection,\n\t\t\t\t\t\t\t\tdropPercent: t.target.value\n\t\t\t\t\t\t\t} }),\n\t\t\t\t\t\t\tclassName: \"ct-field ct:flex-1 ct:rounded-sm ct:border ct:px-2 ct:py-1.5 ct:text-sm ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t\t}), /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\tchildren: i(\"trading.percentBelowPeak\")\n\t\t\t\t\t\t})]\n\t\t\t\t\t}), /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\tclassName: \"ct:flex ct:items-center ct:gap-2\",\n\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\t\ttype: \"number\",\n\t\t\t\t\t\t\tvalue: e.profitProtection.activateAbove,\n\t\t\t\t\t\t\tplaceholder: i(\"trading.auto.activateAbovePlaceholder\"),\n\t\t\t\t\t\t\t\"aria-label\": i(\"trading.auto.activateAbovePlaceholder\"),\n\t\t\t\t\t\t\tonChange: (t) => a({ profitProtection: {\n\t\t\t\t\t\t\t\t...e.profitProtection,\n\t\t\t\t\t\t\t\tactivateAbove: t.target.value\n\t\t\t\t\t\t\t} }),\n\t\t\t\t\t\t\tclassName: \"ct-field ct:flex-1 ct:rounded-sm ct:border ct:px-2 ct:py-1.5 ct:text-sm ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t\t}), /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\tchildren: i(\"trading.auto.priceSuffix\")\n\t\t\t\t\t\t})]\n\t\t\t\t\t})]\n\t\t\t\t})\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(ft, {\n\t\t\t\tenabled: e.stopLoss.enabled,\n\t\t\t\tonToggle: (t) => a({ stopLoss: {\n\t\t\t\t\t...e.stopLoss,\n\t\t\t\t\tenabled: t\n\t\t\t\t} }),\n\t\t\t\ticon: ue,\n\t\t\t\tlabel: i(\"trading.stopLoss\"),\n\t\t\t\tdescription: i(\"trading.auto.stopLossDesc\"),\n\t\t\t\tchildren: /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\tclassName: \"ct:flex ct:items-center ct:gap-2\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\ttype: \"number\",\n\t\t\t\t\t\tvalue: e.stopLoss.triggerPrice,\n\t\t\t\t\t\tplaceholder: i(\"trading.auto.stopPricePlaceholder\"),\n\t\t\t\t\t\t\"aria-label\": i(\"trading.auto.stopPricePlaceholder\"),\n\t\t\t\t\t\tonChange: (t) => a({ stopLoss: {\n\t\t\t\t\t\t\t...e.stopLoss,\n\t\t\t\t\t\t\ttriggerPrice: t.target.value\n\t\t\t\t\t\t} }),\n\t\t\t\t\t\tclassName: \"ct-field ct:flex-1 ct:rounded-sm ct:border ct:px-2 ct:py-1.5 ct:text-sm ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t}), /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\tchildren: i(\"trading.auto.triggerSuffix\")\n\t\t\t\t\t})]\n\t\t\t\t})\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(ft, {\n\t\t\t\tenabled: e.trailingStop.enabled,\n\t\t\t\tonToggle: (t) => a({ trailingStop: {\n\t\t\t\t\t...e.trailingStop,\n\t\t\t\t\tenabled: t\n\t\t\t\t} }),\n\t\t\t\ticon: t,\n\t\t\t\tlabel: i(\"trading.auto.trailingStop\"),\n\t\t\t\tdescription: i(\"trading.auto.trailingStopDesc\"),\n\t\t\t\tchildren: /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\tclassName: \"ct:flex ct:items-center ct:gap-2\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\ttype: \"number\",\n\t\t\t\t\t\tvalue: e.trailingStop.trailPercent,\n\t\t\t\t\t\tplaceholder: i(\"trading.auto.trailPercentPlaceholder\"),\n\t\t\t\t\t\t\"aria-label\": i(\"trading.auto.trailPercentPlaceholder\"),\n\t\t\t\t\t\tonChange: (t) => a({ trailingStop: {\n\t\t\t\t\t\t\t...e.trailingStop,\n\t\t\t\t\t\t\ttrailPercent: t.target.value\n\t\t\t\t\t\t} }),\n\t\t\t\t\t\tclassName: \"ct-field ct:flex-1 ct:rounded-sm ct:border ct:px-2 ct:py-1.5 ct:text-sm ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t}), /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\tchildren: i(\"trading.percentBelowPeak\")\n\t\t\t\t\t})]\n\t\t\t\t})\n\t\t\t})\n\t\t]\n\t});\n}\nfunction ft({ enabled: e, onToggle: t, icon: n, label: r, description: i, children: a }) {\n\tlet s = ve();\n\treturn /* @__PURE__ */ U(\"div\", {\n\t\tclassName: `ct-panel ct-pressable ct-radius-card ct:cursor-pointer ct:p-3 ${e ? \"ct:border-(--ct-primary) ct:border-l-2 ct:border-l-(--ct-primary) ct-panel-info\" : \"ct:border-(--ct-border)\"}`,\n\t\tonClick: (n) => {\n\t\t\tn.target.closest(\".ct-card-body\") || t(!e);\n\t\t},\n\t\tchildren: [/* @__PURE__ */ U(\"div\", {\n\t\t\tclassName: \"ct:flex ct:items-center ct:gap-2.5 ct:mb-1\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ H(\"input\", {\n\t\t\t\t\ttype: \"checkbox\",\n\t\t\t\t\tchecked: e,\n\t\t\t\t\t\"aria-label\": r,\n\t\t\t\t\t\"aria-expanded\": e,\n\t\t\t\t\t\"aria-controls\": s,\n\t\t\t\t\tonChange: (e) => {\n\t\t\t\t\t\te.stopPropagation(), t(e.target.checked);\n\t\t\t\t\t},\n\t\t\t\t\tclassName: \"ct-focusable ct:h-4 ct:w-4 ct:rounded-sm ct:accent-(--ct-primary)\"\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ H(\"span\", {\n\t\t\t\t\tclassName: `ct:flex ct:h-7 ct:w-7 ct:items-center ct:justify-center ct:rounded-cedros-sm ${e ? \"ct:bg-(--ct-info-bg) ct:text-(--ct-primary)\" : \"ct:bg-(--ct-surface-muted) ct:text-(--ct-muted-foreground)\"}`,\n\t\t\t\t\t\"aria-hidden\": \"true\",\n\t\t\t\t\tchildren: /* @__PURE__ */ H(n, { className: \"ct:h-4 ct:w-4\" })\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ H(\"span\", {\n\t\t\t\t\tclassName: \"ct:text-sm ct:font-medium ct:text-(--ct-foreground)\",\n\t\t\t\t\tchildren: r\n\t\t\t\t})\n\t\t\t]\n\t\t}), /* @__PURE__ */ H(o, {\n\t\t\topen: e,\n\t\t\tid: s,\n\t\t\tchildren: /* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct-card-body ct:mt-2 ct:space-y-2\",\n\t\t\t\tonClick: (e) => e.stopPropagation(),\n\t\t\t\tchildren: [/* @__PURE__ */ H(\"p\", {\n\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: i\n\t\t\t\t}), a]\n\t\t\t})\n\t\t})]\n\t});\n}\n// src/components/trading/OrderForm.tsx\nvar pt = \"So11111111111111111111111111111111111111112\";\nfunction mt(e) {\n\treturn e === pt ? 9 : 6;\n}\nfunction ht(e, t, n, r = \"en-US\") {\n\tlet i = C(e, r), a = C(t, r);\n\treturn i === null || a === null || i <= 0 || a <= 0 ? null : Z((i * a).toFixed(n), n);\n}\nfunction gt(e, t) {\n\tlet n = t.parseNumber(e);\n\treturn n === null || n <= 0 ? null : t.normalizeDecimal(e);\n}\nfunction _t(e, t) {\n\tlet n = t.parseNumber(e);\n\treturn n !== null && n > 0 ? n : null;\n}\nfunction vt({ walletAddress: e, walletId: t, inputMint: n, outputMint: r, inputSymbol: i = \"\", outputSymbol: a = \"\", currentPrice: o, onSign: u, onSuccess: d, className: p = \"\" }) {\n\tlet g = D(), { t: _, formatNumber: y } = g, { isLoading: b, error: x, createLimit: S, createStopLoss: C, createTakeProfit: ee, createDca: te } = Me(), w = Y(), { getByMint: ne } = je(), T = ve(), re = `${T}-ordertype`, [E, ie] = B(\"limit\"), [O, k] = B(\"buy\"), [A, j] = B(\"\"), [M, ae] = B(\"\"), [N, oe] = B(100), [se, ce] = B(\"10\"), [le, ue] = B(\"86400\"), [P, de] = B(\"10\"), [F, pe] = B(\"\"), [he, ge] = B(\"\"), [_e, L] = B(\"10\"), [R, z] = B(\"30\"), [V, W] = B(ut), [ye, G] = B(null), be = [\n\t\t{\n\t\t\tid: \"limit\",\n\t\t\tlabel: _(\"trading.limit\")\n\t\t},\n\t\t{\n\t\t\tid: \"stop-loss\",\n\t\t\tlabel: _(\"trading.stopLoss\")\n\t\t},\n\t\t{\n\t\t\tid: \"take-profit\",\n\t\t\tlabel: _(\"trading.takeProfit\")\n\t\t},\n\t\t{\n\t\t\tid: \"trailing-stop\",\n\t\t\tlabel: _(\"trading.trailing\")\n\t\t},\n\t\t{\n\t\t\tid: \"oco\",\n\t\t\tlabel: _(\"trading.oco\")\n\t\t},\n\t\t{\n\t\t\tid: \"bracket\",\n\t\t\tlabel: _(\"trading.bracket\")\n\t\t},\n\t\t{\n\t\t\tid: \"dca\",\n\t\t\tlabel: _(\"trading.dca\")\n\t\t},\n\t\t{\n\t\t\tid: \"auto\",\n\t\t\tlabel: _(\"trading.auto\")\n\t\t}\n\t], K = O === \"buy\" ? r : n, q = O === \"buy\" ? n : r, J = ne(K)?.decimals ?? mt(K), xe = ne(q)?.decimals ?? mt(q), Se = O === \"buy\" ? i : i || a, Ce = _(\"trading.submit\", {\n\t\tside: _(O === \"buy\" ? \"trading.buy\" : \"trading.sell\"),\n\t\tsymbol: Se\n\t}), we = I(async (e) => {\n\t\tif (!u) throw Error(_(\"trading.errorWalletSigningRequired\"));\n\t\tlet t = await u(e);\n\t\tawait w.executeTransaction(t, \"rpc\");\n\t}, [\n\t\tw,\n\t\tu,\n\t\t_\n\t]), Te = I(async () => {\n\t\tif (Ke() && e && u && A) {\n\t\t\tG(null);\n\t\t\ttry {\n\t\t\t\tlet n, r = e;\n\t\t\t\tif (E === \"limit\") {\n\t\t\t\t\tif (!M) {\n\t\t\t\t\t\tG(_(\"trading.errorEnterPrice\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tlet e = Z(A, J, g.locale), t = ht(A, M, xe, g.locale);\n\t\t\t\t\tif (!e || !t) {\n\t\t\t\t\t\tG(_(\"trading.errorEnterValidAmountPrice\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tn = await S({\n\t\t\t\t\t\tmaker: r,\n\t\t\t\t\t\tinputMint: K,\n\t\t\t\t\t\toutputMint: q,\n\t\t\t\t\t\tinAmount: e,\n\t\t\t\t\t\toutAmount: t\n\t\t\t\t\t});\n\t\t\t\t} else if (E === \"stop-loss\") {\n\t\t\t\t\tif (!M) {\n\t\t\t\t\t\tG(_(\"trading.errorEnterTriggerPrice\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tlet e = gt(M, g), t = Z(A, J, g.locale);\n\t\t\t\t\tif (!t || !e) {\n\t\t\t\t\t\tG(_(\"trading.errorEnterValidAmountPrice\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tn = await C({\n\t\t\t\t\t\tmaker: r,\n\t\t\t\t\t\tinputMint: K,\n\t\t\t\t\t\toutputMint: q,\n\t\t\t\t\t\tinAmount: t,\n\t\t\t\t\t\ttriggerPrice: e,\n\t\t\t\t\t\tslippageBps: N\n\t\t\t\t\t});\n\t\t\t\t} else if (E === \"take-profit\") {\n\t\t\t\t\tif (!M) {\n\t\t\t\t\t\tG(_(\"trading.errorEnterTriggerPrice\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tlet e = gt(M, g), t = Z(A, J, g.locale);\n\t\t\t\t\tif (!t || !e) {\n\t\t\t\t\t\tG(_(\"trading.errorEnterValidAmountPrice\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tn = await ee({\n\t\t\t\t\t\tmaker: r,\n\t\t\t\t\t\tinputMint: K,\n\t\t\t\t\t\toutputMint: q,\n\t\t\t\t\t\tinAmount: t,\n\t\t\t\t\t\ttriggerPrice: e,\n\t\t\t\t\t\tslippageBps: N\n\t\t\t\t\t});\n\t\t\t\t} else if (E === \"trailing-stop\") {\n\t\t\t\t\tif (!t) {\n\t\t\t\t\t\tG(_(\"trading.errorEmbeddedWalletTrailing\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tlet e = Z(A, J, g.locale), n = _t(P, g);\n\t\t\t\t\tif (!e || n === null) {\n\t\t\t\t\t\tG(_(\"trading.errorEnterValidAmount\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tlet i = await w.createTrailingStop({\n\t\t\t\t\t\tmaker: r,\n\t\t\t\t\t\twalletId: t,\n\t\t\t\t\t\tinputMint: K,\n\t\t\t\t\t\toutputMint: q,\n\t\t\t\t\t\tinAmount: e,\n\t\t\t\t\t\ttrailPercent: n,\n\t\t\t\t\t\tslippageBps: N\n\t\t\t\t\t});\n\t\t\t\t\td?.(i.orderId), j(\"\");\n\t\t\t\t\treturn;\n\t\t\t\t} else if (E === \"oco\") {\n\t\t\t\t\tif (!F || !he) {\n\t\t\t\t\t\tG(_(\"trading.errorOcoPrices\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tlet e = gt(F, g), n = gt(he, g), i = Z(A, J, g.locale);\n\t\t\t\t\tif (!i || !e || !n) {\n\t\t\t\t\t\tG(_(\"trading.errorEnterValidAmountPrice\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tlet a = await w.createOco({\n\t\t\t\t\t\tmaker: r,\n\t\t\t\t\t\twalletId: t,\n\t\t\t\t\t\tinputMint: K,\n\t\t\t\t\t\toutputMint: q,\n\t\t\t\t\t\tinAmount: i,\n\t\t\t\t\t\tstopLoss: {\n\t\t\t\t\t\t\ttriggerPrice: e,\n\t\t\t\t\t\t\tslippageBps: N\n\t\t\t\t\t\t},\n\t\t\t\t\t\ttakeProfit: {\n\t\t\t\t\t\t\ttriggerPrice: n,\n\t\t\t\t\t\t\tslippageBps: 50\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\ta.stopLossTransaction && await we(a.stopLossTransaction), a.takeProfitTransaction && await we(a.takeProfitTransaction), d?.(a.ocoId), j(\"\");\n\t\t\t\t\treturn;\n\t\t\t\t} else if (E === \"bracket\") {\n\t\t\t\t\tif (!t) {\n\t\t\t\t\t\tG(_(\"trading.errorEmbeddedWalletBracket\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tlet e = Z(A, J, g.locale), i = _t(_e, g), a = _t(R, g);\n\t\t\t\t\tif (!e || i === null || a === null) {\n\t\t\t\t\t\tG(_(\"trading.errorEnterValidAmount\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tlet o = await w.createBracket({\n\t\t\t\t\t\tmaker: r,\n\t\t\t\t\t\twalletId: t,\n\t\t\t\t\t\tinputMint: K,\n\t\t\t\t\t\toutputMint: q,\n\t\t\t\t\t\tinAmount: e,\n\t\t\t\t\t\tstopLossPercent: i,\n\t\t\t\t\t\ttakeProfitPercent: a\n\t\t\t\t\t});\n\t\t\t\t\tn = {\n\t\t\t\t\t\ttransaction: o.entryTransaction,\n\t\t\t\t\t\torderId: o.bracketId\n\t\t\t\t\t};\n\t\t\t\t} else if (E === \"auto\") {\n\t\t\t\t\tlet e = Z(A, J, g.locale);\n\t\t\t\t\tif (!e) {\n\t\t\t\t\t\tG(_(\"trading.errorEnterValidAmount\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tlet n = [];\n\t\t\t\t\tif (V.targetsEnabled) for (let e of V.priceTargets) {\n\t\t\t\t\t\tif (!e.price || !e.percentage) continue;\n\t\t\t\t\t\tlet t = gt(e.price, g);\n\t\t\t\t\t\tif (!t) continue;\n\t\t\t\t\t\tlet i = (g.parseNumber(e.percentage) ?? 0) / 100, a = Z(((g.parseNumber(A) ?? 0) * i).toFixed(J), J, g.locale);\n\t\t\t\t\t\tif (!a) continue;\n\t\t\t\t\t\tlet o = await ee({\n\t\t\t\t\t\t\tmaker: r,\n\t\t\t\t\t\t\tinputMint: K,\n\t\t\t\t\t\t\toutputMint: q,\n\t\t\t\t\t\t\tinAmount: a,\n\t\t\t\t\t\t\ttriggerPrice: t,\n\t\t\t\t\t\t\tslippageBps: 50\n\t\t\t\t\t\t});\n\t\t\t\t\t\tawait we(o.transaction), n.push(_(\"trading.auto.summaryTakeProfit\", { price: g.formatNumber(t) }));\n\t\t\t\t\t}\n\t\t\t\t\tif (V.profitProtection.enabled && V.profitProtection.dropPercent) {\n\t\t\t\t\t\tif (!t) {\n\t\t\t\t\t\t\tG(_(\"trading.errorEmbeddedWalletTrailing\"));\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlet i = _t(V.profitProtection.dropPercent, g);\n\t\t\t\t\t\tif (i !== null) {\n\t\t\t\t\t\t\tlet a = (V.profitProtection.activateAbove, e);\n\t\t\t\t\t\t\tawait w.createTrailingStop({\n\t\t\t\t\t\t\t\tmaker: r,\n\t\t\t\t\t\t\t\twalletId: t,\n\t\t\t\t\t\t\t\tinputMint: K,\n\t\t\t\t\t\t\t\toutputMint: q,\n\t\t\t\t\t\t\t\tinAmount: a,\n\t\t\t\t\t\t\t\ttrailPercent: i,\n\t\t\t\t\t\t\t\tslippageBps: 100\n\t\t\t\t\t\t\t}), n.push(_(\"trading.auto.summaryTrailing\", { percent: g.formatPercent(i / 100, {\n\t\t\t\t\t\t\t\tvalueIsFraction: !0,\n\t\t\t\t\t\t\t\tmaximumFractionDigits: 2\n\t\t\t\t\t\t\t}) }));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (V.stopLoss.enabled && V.stopLoss.triggerPrice) {\n\t\t\t\t\t\tlet t = gt(V.stopLoss.triggerPrice, g);\n\t\t\t\t\t\tif (t) {\n\t\t\t\t\t\t\tlet i = await C({\n\t\t\t\t\t\t\t\tmaker: r,\n\t\t\t\t\t\t\t\tinputMint: K,\n\t\t\t\t\t\t\t\toutputMint: q,\n\t\t\t\t\t\t\t\tinAmount: e,\n\t\t\t\t\t\t\t\ttriggerPrice: t,\n\t\t\t\t\t\t\t\tslippageBps: 100\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tawait we(i.transaction), n.push(_(\"trading.auto.summaryStopLoss\", { price: g.formatNumber(t) }));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (V.trailingStop.enabled && V.trailingStop.trailPercent) {\n\t\t\t\t\t\tif (!t) {\n\t\t\t\t\t\t\tG(_(\"trading.errorEmbeddedWalletTrailing\"));\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlet i = _t(V.trailingStop.trailPercent, g);\n\t\t\t\t\t\ti !== null && (await w.createTrailingStop({\n\t\t\t\t\t\t\tmaker: r,\n\t\t\t\t\t\t\twalletId: t,\n\t\t\t\t\t\t\tinputMint: K,\n\t\t\t\t\t\t\toutputMint: q,\n\t\t\t\t\t\t\tinAmount: e,\n\t\t\t\t\t\t\ttrailPercent: i,\n\t\t\t\t\t\t\tslippageBps: 100\n\t\t\t\t\t\t}), n.push(_(\"trading.auto.summaryTrailing\", { percent: g.formatPercent(i / 100, {\n\t\t\t\t\t\t\tvalueIsFraction: !0,\n\t\t\t\t\t\t\tmaximumFractionDigits: 2\n\t\t\t\t\t\t}) })));\n\t\t\t\t\t}\n\t\t\t\t\tif (n.length === 0) {\n\t\t\t\t\t\tG(_(\"trading.errorEnableAutoFeature\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\td?.(g.formatList(n)), j(\"\");\n\t\t\t\t\treturn;\n\t\t\t\t} else {\n\t\t\t\t\tlet e = parseInt(se, 10);\n\t\t\t\t\tif (!Number.isFinite(e) || e <= 0) {\n\t\t\t\t\t\tG(_(\"trading.errorValidCycleCount\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tlet t = Z(A, J, g.locale), i = g.parseNumber(A), a = i === null ? null : Z((i / e).toFixed(J), J, g.locale);\n\t\t\t\t\tif (!t || !a) {\n\t\t\t\t\t\tG(_(\"trading.errorEnterValidAmount\"));\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tn = await te({\n\t\t\t\t\t\tmaker: r,\n\t\t\t\t\t\tinputMint: K,\n\t\t\t\t\t\toutputMint: q,\n\t\t\t\t\t\ttotalInAmount: t,\n\t\t\t\t\t\tperCycleAmount: a,\n\t\t\t\t\t\tcycleInterval: parseInt(le)\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tawait we(n.transaction), d?.(n.orderId), j(\"\"), ae(\"\");\n\t\t\t} catch (e) {\n\t\t\t\tG(h(e, g));\n\t\t\t}\n\t\t}\n\t}, [\n\t\te,\n\t\tt,\n\t\tu,\n\t\tA,\n\t\tM,\n\t\tE,\n\t\tN,\n\t\tK,\n\t\tq,\n\t\tJ,\n\t\txe,\n\t\tse,\n\t\tle,\n\t\tP,\n\t\tF,\n\t\the,\n\t\t_e,\n\t\tR,\n\t\tV,\n\t\tw,\n\t\tS,\n\t\tC,\n\t\tee,\n\t\tte,\n\t\twe,\n\t\td,\n\t\tg,\n\t\t_\n\t]);\n\treturn /* @__PURE__ */ U(\"div\", {\n\t\tclassName: `ct-panel-elevated ct-radius-card ct:p-5 ct:space-y-4 ${p}`,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:flex ct:items-start ct:justify-between ct:gap-3\",\n\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", { children: [/* @__PURE__ */ H(\"h2\", {\n\t\t\t\t\tclassName: \"ct:text-lg ct:font-semibold ct:text-(--ct-foreground)\",\n\t\t\t\t\tchildren: i || a ? `${i}/${a}` : _(\"metadata.page.trading.displayName\")\n\t\t\t\t}), /* @__PURE__ */ H(\"p\", {\n\t\t\t\t\tclassName: \"ct:mt-1 ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: be.find((e) => e.id === E)?.label\n\t\t\t\t})] }), /* @__PURE__ */ U(\"span\", {\n\t\t\t\t\tclassName: `ct:inline-flex ct:items-center ct:gap-1.5 ct:rounded-full ct:px-2.5 ct:py-1 ct:text-xs ct:font-medium ${O === \"buy\" ? \"ct:bg-(--ct-success-bg) ct:text-(--ct-success)\" : \"ct:bg-(--ct-destructive-bg) ct:text-(--ct-destructive)\"}`,\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(l, { tone: O === \"buy\" ? \"success\" : \"danger\" }), _(O === \"buy\" ? \"trading.buy\" : \"trading.sell\")]\n\t\t\t\t})]\n\t\t\t}),\n\t\t\to !== void 0 && /* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:flex ct:items-baseline ct:gap-2 ct-radius-control ct:border ct:border-(--ct-border) ct:bg-(--ct-surface-muted) ct:px-3 ct:py-2\",\n\t\t\t\tchildren: [/* @__PURE__ */ H(\"span\", {\n\t\t\t\t\tclassName: \"ct-eyebrow\",\n\t\t\t\t\tchildren: _(\"trading.markPrice\")\n\t\t\t\t}), /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\tclassName: \"ct:text-lg ct:font-semibold ct-tabular-num ct:text-(--ct-foreground)\",\n\t\t\t\t\tchildren: /* @__PURE__ */ H(f, { value: y(o, { maximumFractionDigits: 4 }) })\n\t\t\t\t})]\n\t\t\t}),\n\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\trole: \"group\",\n\t\t\t\t\"aria-label\": _(\"trading.orderSide\"),\n\t\t\t\tclassName: \"ct:flex ct:gap-1 ct-radius-control ct:border ct:border-(--ct-border) ct:bg-(--ct-muted) ct:p-1\",\n\t\t\t\tchildren: [/* @__PURE__ */ H(v, {\n\t\t\t\t\ttype: \"button\",\n\t\t\t\t\tonClick: () => k(\"buy\"),\n\t\t\t\t\t\"aria-pressed\": O === \"buy\",\n\t\t\t\t\tclassName: `ct-focusable ct-pressable ct:flex-1 ct:rounded-sm ct:py-2 ct:text-sm ct:font-semibold ${O === \"buy\" ? \"ct-success-action ct:text-(--ct-success-foreground)\" : \"ct:text-(--ct-muted-foreground) ct:hover:bg-(--ct-surface-interactive)\"}`,\n\t\t\t\t\tchildren: _(\"trading.buy\")\n\t\t\t\t}), /* @__PURE__ */ H(v, {\n\t\t\t\t\ttype: \"button\",\n\t\t\t\t\tonClick: () => k(\"sell\"),\n\t\t\t\t\t\"aria-pressed\": O === \"sell\",\n\t\t\t\t\tclassName: `ct-focusable ct-pressable ct:flex-1 ct:rounded-sm ct:py-2 ct:text-sm ct:font-semibold ${O === \"sell\" ? \"ct-danger-action ct:text-(--ct-destructive-foreground)\" : \"ct:text-(--ct-muted-foreground) ct:hover:bg-(--ct-surface-interactive)\"}`,\n\t\t\t\t\tchildren: _(\"trading.sell\")\n\t\t\t\t})]\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(c, {\n\t\t\t\taxis: \"x\",\n\t\t\t\tariaLabel: _(\"trading.orderType\"),\n\t\t\t\tclassName: \"ct:overflow-x-auto ct-radius-control ct:border ct:border-(--ct-border) ct:bg-(--ct-surface-muted)\",\n\t\t\t\tchildren: /* @__PURE__ */ H(fe, {\n\t\t\t\t\ttabs: be,\n\t\t\t\t\tactiveId: E,\n\t\t\t\t\tonChange: ie,\n\t\t\t\t\tariaLabel: _(\"trading.orderType\"),\n\t\t\t\t\tidBase: re,\n\t\t\t\t\tclassName: \"ct:flex ct:min-w-max ct:gap-1 ct:p-1\",\n\t\t\t\t\ttabClassName: (e) => `ct-focusable ct-pressable ct:whitespace-nowrap ct:rounded-sm ct:px-3 ct:py-1.5 ct:text-xs ct:font-medium ${e ? \"ct-primary-action ct:text-(--ct-primary-foreground)\" : \"ct:text-(--ct-muted-foreground) ct:hover:bg-(--ct-surface-interactive)\"}`\n\t\t\t\t})\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(me, {\n\t\t\t\tidBase: re,\n\t\t\t\tactiveId: E,\n\t\t\t\tchildren: /* @__PURE__ */ H(m, {\n\t\t\t\t\tactiveKey: E,\n\t\t\t\t\torder: be.map((e) => e.id),\n\t\t\t\t\tchildren: /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\tclassName: \"ct:space-y-4\",\n\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\tE !== \"dca\" && /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:space-y-1\",\n\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"label\", {\n\t\t\t\t\t\t\t\t\thtmlFor: `${T}-price`,\n\t\t\t\t\t\t\t\t\tclassName: \"ct:text-xs ct:font-medium ct:uppercase ct:tracking-wide ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\t\t\tchildren: _(E === \"limit\" ? \"trading.limitPrice\" : \"trading.triggerPrice\")\n\t\t\t\t\t\t\t\t}), /* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\t\t\t\tid: `${T}-price`,\n\t\t\t\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\t\t\t\tvalue: M,\n\t\t\t\t\t\t\t\t\tonChange: (e) => ae(e.target.value),\n\t\t\t\t\t\t\t\t\tplaceholder: o ? y(o, { maximumFractionDigits: 2 }) : y(0, { minimumFractionDigits: 2 }),\n\t\t\t\t\t\t\t\t\tinputMode: \"decimal\",\n\t\t\t\t\t\t\t\t\tclassName: \"ct-field ct:w-full ct-radius-control ct:border ct:px-3 ct:py-2.5 ct-tabular-num ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:space-y-1\",\n\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"label\", {\n\t\t\t\t\t\t\t\t\thtmlFor: `${T}-amount`,\n\t\t\t\t\t\t\t\t\tclassName: \"ct:text-xs ct:font-medium ct:uppercase ct:tracking-wide ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\t\t\tchildren: _(\"trading.amount\")\n\t\t\t\t\t\t\t\t}), /* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\t\t\t\tid: `${T}-amount`,\n\t\t\t\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\t\t\t\tvalue: A,\n\t\t\t\t\t\t\t\t\tonChange: (e) => j(e.target.value),\n\t\t\t\t\t\t\t\t\tplaceholder: y(0, { minimumFractionDigits: 2 }),\n\t\t\t\t\t\t\t\t\tinputMode: \"decimal\",\n\t\t\t\t\t\t\t\t\tclassName: \"ct-field ct:w-full ct-radius-control ct:border ct:px-3 ct:py-2.5 ct-tabular-num ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tE === \"dca\" && /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:grid ct:grid-cols-1 ct:gap-2 ct:sm:grid-cols-2\",\n\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct:space-y-1\",\n\t\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"label\", {\n\t\t\t\t\t\t\t\t\t\thtmlFor: `${T}-dca-cycles`,\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\t\t\t\tchildren: _(\"trading.cycles\")\n\t\t\t\t\t\t\t\t\t}), /* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\t\t\t\t\tid: `${T}-dca-cycles`,\n\t\t\t\t\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\t\t\t\t\tinputMode: \"numeric\",\n\t\t\t\t\t\t\t\t\t\tvalue: se,\n\t\t\t\t\t\t\t\t\t\tonChange: (e) => ce(e.target.value.replace(/[^0-9]/g, \"\")),\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct-field ct:w-full ct-radius-control ct:border ct:px-3 ct:py-2 ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t\t}), /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct:space-y-1\",\n\t\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"label\", {\n\t\t\t\t\t\t\t\t\t\thtmlFor: `${T}-dca-interval`,\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\t\t\t\tchildren: _(\"trading.interval\")\n\t\t\t\t\t\t\t\t\t}), /* @__PURE__ */ U(\"select\", {\n\t\t\t\t\t\t\t\t\t\tid: `${T}-dca-interval`,\n\t\t\t\t\t\t\t\t\t\tvalue: le,\n\t\t\t\t\t\t\t\t\t\tonChange: (e) => ue(e.target.value),\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct-field ct:w-full ct-radius-control ct:border ct:px-3 ct:py-2 ct:text-(--ct-foreground)\",\n\t\t\t\t\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t\t\t\t\t/* @__PURE__ */ H(\"option\", {\n\t\t\t\t\t\t\t\t\t\t\t\tvalue: \"3600\",\n\t\t\t\t\t\t\t\t\t\t\t\tchildren: _(\"trading.hourly\")\n\t\t\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\t\t\t/* @__PURE__ */ H(\"option\", {\n\t\t\t\t\t\t\t\t\t\t\t\tvalue: \"86400\",\n\t\t\t\t\t\t\t\t\t\t\t\tchildren: _(\"trading.daily\")\n\t\t\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\t\t\t/* @__PURE__ */ H(\"option\", {\n\t\t\t\t\t\t\t\t\t\t\t\tvalue: \"604800\",\n\t\t\t\t\t\t\t\t\t\t\t\tchildren: _(\"trading.weekly\")\n\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tE === \"trailing-stop\" && /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:space-y-1\",\n\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"label\", {\n\t\t\t\t\t\t\t\t\thtmlFor: `${T}-trail`,\n\t\t\t\t\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\t\t\tchildren: _(\"trading.trailPercentage\")\n\t\t\t\t\t\t\t\t}), /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct:flex ct:items-center ct:gap-2\",\n\t\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\t\t\t\t\tid: `${T}-trail`,\n\t\t\t\t\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\t\t\t\t\tvalue: P,\n\t\t\t\t\t\t\t\t\t\tonChange: (e) => de(e.target.value),\n\t\t\t\t\t\t\t\t\t\tplaceholder: y(10),\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct-field ct:flex-1 ct-radius-control ct:border ct:px-3 ct:py-2 ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t\t\t\t\t}), /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct:text-sm ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\t\t\t\tchildren: _(\"trading.percentBelowPeak\")\n\t\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tE === \"oco\" && /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:grid ct:grid-cols-1 ct:gap-2 ct:sm:grid-cols-2\",\n\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct:space-y-1\",\n\t\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"label\", {\n\t\t\t\t\t\t\t\t\t\thtmlFor: `${T}-oco-sl`,\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-destructive)\",\n\t\t\t\t\t\t\t\t\t\tchildren: _(\"trading.stopLossPrice\")\n\t\t\t\t\t\t\t\t\t}), /* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\t\t\t\t\tid: `${T}-oco-sl`,\n\t\t\t\t\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\t\t\t\t\tvalue: F,\n\t\t\t\t\t\t\t\t\t\tonChange: (e) => pe(e.target.value),\n\t\t\t\t\t\t\t\t\t\tplaceholder: y(130, { minimumFractionDigits: 2 }),\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct-field ct:w-full ct-radius-control ct:border ct:border-(--ct-destructive) ct:px-3 ct:py-2 ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t\t}), /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct:space-y-1\",\n\t\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"label\", {\n\t\t\t\t\t\t\t\t\t\thtmlFor: `${T}-oco-tp`,\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-success)\",\n\t\t\t\t\t\t\t\t\t\tchildren: _(\"trading.takeProfitPrice\")\n\t\t\t\t\t\t\t\t\t}), /* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\t\t\t\t\tid: `${T}-oco-tp`,\n\t\t\t\t\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\t\t\t\t\tvalue: he,\n\t\t\t\t\t\t\t\t\t\tonChange: (e) => ge(e.target.value),\n\t\t\t\t\t\t\t\t\t\tplaceholder: y(200, { minimumFractionDigits: 2 }),\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct-field ct:w-full ct-radius-control ct:border ct:border-(--ct-success) ct:px-3 ct:py-2 ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tE === \"bracket\" && /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:grid ct:grid-cols-1 ct:gap-2 ct:sm:grid-cols-2\",\n\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct:space-y-1\",\n\t\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"label\", {\n\t\t\t\t\t\t\t\t\t\thtmlFor: `${T}-bracket-sl`,\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-destructive)\",\n\t\t\t\t\t\t\t\t\t\tchildren: _(\"trading.stopLossPercent\")\n\t\t\t\t\t\t\t\t\t}), /* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\t\t\t\t\tid: `${T}-bracket-sl`,\n\t\t\t\t\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\t\t\t\t\tvalue: _e,\n\t\t\t\t\t\t\t\t\t\tonChange: (e) => L(e.target.value),\n\t\t\t\t\t\t\t\t\t\tplaceholder: y(10),\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct-field ct:w-full ct-radius-control ct:border ct:border-(--ct-destructive) ct:px-3 ct:py-2 ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t\t}), /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct:space-y-1\",\n\t\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"label\", {\n\t\t\t\t\t\t\t\t\t\thtmlFor: `${T}-bracket-tp`,\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-success)\",\n\t\t\t\t\t\t\t\t\t\tchildren: _(\"trading.takeProfitPercent\")\n\t\t\t\t\t\t\t\t\t}), /* @__PURE__ */ H(\"input\", {\n\t\t\t\t\t\t\t\t\t\tid: `${T}-bracket-tp`,\n\t\t\t\t\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\t\t\t\t\tvalue: R,\n\t\t\t\t\t\t\t\t\t\tonChange: (e) => z(e.target.value),\n\t\t\t\t\t\t\t\t\t\tplaceholder: y(30),\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct-field ct:w-full ct-radius-control ct:border ct:border-(--ct-success) ct:px-3 ct:py-2 ct:text-(--ct-foreground) ct:outline-hidden\"\n\t\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tE === \"auto\" && /* @__PURE__ */ H(dt, {\n\t\t\t\t\t\t\t\tstate: V,\n\t\t\t\t\t\t\t\tonChange: W\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t(E === \"stop-loss\" || E === \"take-profit\" || E === \"trailing-stop\") && /* @__PURE__ */ H(He, {\n\t\t\t\t\t\t\t\tvalue: N,\n\t\t\t\t\t\t\t\tonChange: oe\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t/* @__PURE__ */ H(Pe, {\n\t\t\t\t\t\t\t\tmessage: ye || x,\n\t\t\t\t\t\t\t\tonDismiss: () => G(null)\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t!Ke() && /* @__PURE__ */ H(Ne, {\n\t\t\t\t\t\t\t\ttone: \"warning\",\n\t\t\t\t\t\t\t\tmessage: _(\"public.tradingUnavailable.body\")\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t/* @__PURE__ */ H(v, {\n\t\t\t\t\t\t\t\tonClick: Te,\n\t\t\t\t\t\t\t\tdisabled: !Ke() || !e || !u || !A || b,\n\t\t\t\t\t\t\t\tclassName: `ct-focusable ct-pressable ct:w-full ct-radius-control ct:py-3.5 ct:font-semibold ct:disabled:cursor-not-allowed ct:disabled:opacity-50 ${O === \"buy\" ? \"ct-success-action ct:text-(--ct-success-foreground)\" : \"ct-danger-action ct:text-(--ct-destructive-foreground)\"}`,\n\t\t\t\t\t\t\t\tchildren: /* @__PURE__ */ H(s, { children: b ? /* @__PURE__ */ H(X, { className: \"ct:h-4 ct:w-4\" }) : Ce })\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t]\n\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t})\n\t\t]\n\t});\n}\n// src/components/trading/TradingViewChart.tsx\nfunction yt({ symbol: e, interval: t = \"D\", theme: n, className: r = \"\" }) {\n\tlet { locale: i, timeZone: a } = D(), { isDark: o } = q(), s = n ?? (o ? \"dark\" : \"light\"), c = R(() => bt({\n\t\tinterval: t,\n\t\tlocale: i,\n\t\tsymbol: e,\n\t\ttheme: s,\n\t\ttimeZone: a\n\t}), [\n\t\tt,\n\t\ti,\n\t\te,\n\t\ts,\n\t\ta\n\t]);\n\treturn /* @__PURE__ */ H(\"iframe\", {\n\t\ttitle: `${e} chart`,\n\t\tsrc: c,\n\t\tclassName: `tradingview-widget-container ct:block ct:w-full ct:h-full ct:min-h-[400px] ct:border-0 ${r}`,\n\t\tstyle: { height: \"100%\" },\n\t\tloading: \"lazy\",\n\t\treferrerPolicy: \"no-referrer\"\n\t});\n}\nfunction bt({ interval: e, locale: t, symbol: n, theme: r, timeZone: i }) {\n\treturn `https://www.tradingview.com/widgetembed/?${new URLSearchParams({\n\t\tsymbol: n,\n\t\tinterval: e,\n\t\ttheme: r,\n\t\tlocale: Ct(t),\n\t\ttimezone: i || \"Etc/UTC\",\n\t\tstyle: \"1\",\n\t\thide_top_toolbar: \"0\",\n\t\thide_legend: \"0\",\n\t\tsave_image: \"0\",\n\t\tallow_symbol_change: \"1\",\n\t\twithdateranges: \"1\"\n\t}).toString()}`;\n}\nvar xt = {\n\t\"pt-br\": \"br\",\n\t\"zh-cn\": \"zh_CN\",\n\t\"zh-tw\": \"zh_TW\",\n\t\"zh-hk\": \"zh_TW\",\n\t\"he-il\": \"he_IL\"\n}, St = /* @__PURE__ */ new Set(/* @__PURE__ */ \"ar.ca.cs.de.el.en.es.fa.fr.he.hu.id.it.ja.ko.ms.nl.pl.pt.ro.ru.sk.sv.th.tr.uk.vi.zh\".split(\".\"));\nfunction Ct(e) {\n\tlet t = e.toLowerCase();\n\tif (xt[t]) return xt[t];\n\tlet n = t.split(\"-\")[0];\n\treturn St.has(n) ? n : \"en\";\n}\n// src/components/trading/candlesticks.ts\nfunction wt(e) {\n\tif (typeof e == \"number\") return e * 1e3;\n\tlet t = typeof e == \"string\" ? e : `${String(e.year).padStart(4, \"0\")}-${String(e.month).padStart(2, \"0\")}-${String(e.day).padStart(2, \"0\")}`;\n\tif (!/^\\d{4}-\\d{2}-\\d{2}$/.test(t)) return NaN;\n\tlet n = Date.parse(`${t}T00:00:00Z`);\n\treturn Number.isFinite(n) && new Date(n).toISOString().slice(0, 10) === t ? n : NaN;\n}\nfunction Tt(e) {\n\tlet t = -Infinity, n = Infinity, r = -Infinity;\n\tfor (let i of e) {\n\t\tlet e = wt(i.time);\n\t\tif (!Number.isFinite(e) || Math.abs(e) > 864e13 || e <= t || ![\n\t\t\ti.open,\n\t\t\ti.high,\n\t\t\ti.low,\n\t\t\ti.close\n\t\t].every(Number.isFinite) || i.low > Math.min(i.open, i.close) || i.high < Math.max(i.open, i.close)) return !1;\n\t\tt = e, n = Math.min(n, i.low), r = Math.max(r, i.high);\n\t\tlet a = r - n, o = a > 0 ? a * .05 : r === 0 ? 1 : Math.max(Math.abs(r) * .01, Number.MIN_VALUE);\n\t\tif (!Number.isFinite(a) || !Number.isFinite(r + o) || !Number.isFinite(n - o) || !Number.isFinite(r + o - (n - o))) return !1;\n\t}\n\treturn !0;\n}\nfunction Et(e, t, n) {\n\tlet r = Math.min(n, Math.max(1, Math.round(t)));\n\treturn {\n\t\tstart: Math.max(0, Math.min(n - r, Math.round(e))),\n\t\tcount: r\n\t};\n}\nfunction Dt(e, t, n, r) {\n\tlet i = Et(e, t, n), a = Math.round(i.count * (r ? .8 : 1.25)), o = Et(0, r ? Math.min(a, i.count - 1) : Math.max(a, i.count + 1), n).count;\n\treturn Et(i.start + (i.count - o) / 2, o, n);\n}\n// src/components/trading/LightweightChart.tsx\nfunction Ot({ data: e = [], theme: t = \"dark\", className: n = \"\", title: r }) {\n\tlet { t: i, tn: a, formatNumber: o, formatDate: s } = D(), c = ve(), [l, u] = B(!1), [d, f] = B(0), [p, m] = B(null), h = R(() => Tt(e), [e]), g = l || !h;\n\tL(() => {\n\t\tlet e = !1;\n\t\treturn u(!1), import(\"./CandlestickPlot-CH_oM9Mm.js\").then((t) => {\n\t\t\te || m(() => t.default);\n\t\t}).catch(() => {\n\t\t\te || u(!0);\n\t\t}), () => {\n\t\t\te = !0;\n\t\t};\n\t}, [d]);\n\tlet _ = r ?? i(\"trading.chart.title\"), v = e.length ? a(\"trading.chart.summary\", e.length, { close: o(e[e.length - 1].close, { maximumSignificantDigits: 8 }) }) : null, y = (e) => {\n\t\tlet t = new Date(wt(e));\n\t\treturn Number.isNaN(t.getTime()) ? typeof e == \"object\" ? `${e.year}-${String(e.month).padStart(2, \"0\")}-${String(e.day).padStart(2, \"0\")}` : String(e) : s(t, typeof e == \"number\" ? {\n\t\t\tyear: \"numeric\",\n\t\t\tmonth: \"short\",\n\t\t\tday: \"numeric\",\n\t\t\thour: \"numeric\",\n\t\t\tminute: \"2-digit\",\n\t\t\ttimeZoneName: \"short\"\n\t\t} : { timeZone: \"UTC\" });\n\t};\n\treturn /* @__PURE__ */ U(\"figure\", {\n\t\tclassName: `ct:relative ct:m-0 ct:flex ct:w-full ct:h-full ct:min-h-[400px] ct:flex-col ct:gap-2 ct:overflow-auto ${n}`,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ U(\"figcaption\", {\n\t\t\t\tclassName: \"ct:min-w-0 ct:wrap-break-word ct:text-sm\",\n\t\t\t\tchildren: [/* @__PURE__ */ H(\"span\", {\n\t\t\t\t\tclassName: \"ct:font-medium\",\n\t\t\t\t\tchildren: _\n\t\t\t\t}), /* @__PURE__ */ H(\"p\", {\n\t\t\t\t\tid: c,\n\t\t\t\t\tclassName: \"ct:m-0 ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: v ?? i(\"trading.chart.emptyBody\")\n\t\t\t\t})]\n\t\t\t}),\n\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:relative ct:w-full ct:min-h-40 ct:flex-1\",\n\t\t\t\tchildren: [/* @__PURE__ */ H(\"div\", {\n\t\t\t\t\trole: \"group\",\n\t\t\t\t\t\"aria-label\": _,\n\t\t\t\t\t\"aria-describedby\": c,\n\t\t\t\t\tclassName: \"ct:absolute ct:inset-0\",\n\t\t\t\t\tchildren: !g && p && /* @__PURE__ */ H(p, {\n\t\t\t\t\t\tdata: e,\n\t\t\t\t\t\ttheme: t\n\t\t\t\t\t})\n\t\t\t\t}), g && /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\trole: \"alert\",\n\t\t\t\t\tclassName: \"ct:absolute ct:inset-0 ct:flex ct:flex-col ct:items-center ct:justify-center ct:gap-3\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"p\", { children: i(\"trading.chart.unavailable\") }), /* @__PURE__ */ H(\"button\", {\n\t\t\t\t\t\ttype: \"button\",\n\t\t\t\t\t\tclassName: \"ct-secondary-action ct-focusable\",\n\t\t\t\t\t\tonClick: () => f((e) => e + 1),\n\t\t\t\t\t\tchildren: i(\"common.retry\")\n\t\t\t\t\t})]\n\t\t\t\t})]\n\t\t\t}),\n\t\t\te.length > 0 && /* @__PURE__ */ U(\"details\", {\n\t\t\t\tclassName: \"ct:text-xs\",\n\t\t\t\tchildren: [/* @__PURE__ */ H(\"summary\", {\n\t\t\t\t\tclassName: \"ct-focusable ct:cursor-pointer ct:min-h-11 ct:content-center\",\n\t\t\t\t\tchildren: i(\"trading.chart.data\")\n\t\t\t\t}), /* @__PURE__ */ H(\"div\", {\n\t\t\t\t\tclassName: \"ct-focusable ct:max-h-64 ct:overflow-auto\",\n\t\t\t\t\trole: \"region\",\n\t\t\t\t\t\"aria-label\": i(\"trading.chart.data\"),\n\t\t\t\t\ttabIndex: 0,\n\t\t\t\t\tchildren: /* @__PURE__ */ U(\"table\", {\n\t\t\t\t\t\tclassName: \"ct:w-full ct:text-right ct-tabular-num\",\n\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t/* @__PURE__ */ H(\"caption\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:sr-only\",\n\t\t\t\t\t\t\t\tchildren: _\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t/* @__PURE__ */ H(\"thead\", { children: /* @__PURE__ */ U(\"tr\", { children: [/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\t\t\tscope: \"col\",\n\t\t\t\t\t\t\t\tclassName: \"ct:text-left\",\n\t\t\t\t\t\t\t\tchildren: i(\"trading.chart.interval\")\n\t\t\t\t\t\t\t}), [\n\t\t\t\t\t\t\t\t\"open\",\n\t\t\t\t\t\t\t\t\"high\",\n\t\t\t\t\t\t\t\t\"low\",\n\t\t\t\t\t\t\t\t\"close\"\n\t\t\t\t\t\t\t].map((e) => /* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\t\t\tscope: \"col\",\n\t\t\t\t\t\t\t\tclassName: \"ct:px-2 ct:py-2\",\n\t\t\t\t\t\t\t\tchildren: i(`trading.chart.${e}`)\n\t\t\t\t\t\t\t}, e))] }) }),\n\t\t\t\t\t\t\t/* @__PURE__ */ H(\"tbody\", { children: e.map((e, t) => /* @__PURE__ */ U(\"tr\", { children: [/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\t\t\tscope: \"row\",\n\t\t\t\t\t\t\t\tclassName: \"ct:text-left ct:font-normal ct:whitespace-nowrap\",\n\t\t\t\t\t\t\t\tchildren: y(e.time)\n\t\t\t\t\t\t\t}), [\n\t\t\t\t\t\t\t\t\"open\",\n\t\t\t\t\t\t\t\t\"high\",\n\t\t\t\t\t\t\t\t\"low\",\n\t\t\t\t\t\t\t\t\"close\"\n\t\t\t\t\t\t\t].map((t) => /* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:px-2 ct:py-2 ct:whitespace-nowrap\",\n\t\t\t\t\t\t\t\tchildren: o(e[t], { maximumSignificantDigits: 17 })\n\t\t\t\t\t\t\t}, t))] }, t)) })\n\t\t\t\t\t\t]\n\t\t\t\t\t})\n\t\t\t\t})]\n\t\t\t})\n\t\t]\n\t});\n}\n// src/components/trading/ChartContainer.tsx\nfunction kt({ chartType: e, symbol: t, theme: n, chartData: r, className: i = \"\" }) {\n\tlet { t: o } = D(), s = e === \"lightweight\" && (!r || r.length === 0);\n\treturn /* @__PURE__ */ U(\"div\", {\n\t\tclassName: `ct-market-wash ct:relative ct:h-full ct:min-h-[400px] ct:w-full ct:overflow-hidden ${i}`,\n\t\tchildren: [e === \"tradingview\" ? /* @__PURE__ */ H(yt, {\n\t\t\tsymbol: t,\n\t\t\ttheme: n\n\t\t}) : !s && /* @__PURE__ */ H(Ot, {\n\t\t\tdata: r,\n\t\t\ttheme: n,\n\t\t\ttitle: t\n\t\t}), s && /* @__PURE__ */ H(\"div\", {\n\t\t\tclassName: \"ct:absolute ct:inset-0 ct:z-10 ct:flex ct:items-center ct:justify-center ct:p-6\",\n\t\t\tchildren: /* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct-panel-elevated ct-enter ct:max-w-sm ct-radius-card ct:p-5 ct:text-center\",\n\t\t\t\tchildren: [\n\t\t\t\t\t/* @__PURE__ */ H(a, {}),\n\t\t\t\t\t/* @__PURE__ */ H(\"h3\", {\n\t\t\t\t\t\tclassName: \"ct:mt-4 ct:text-sm ct:font-semibold ct:text-(--ct-foreground)\",\n\t\t\t\t\t\tchildren: o(\"trading.chart.emptyTitle\")\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ H(\"p\", {\n\t\t\t\t\t\tclassName: \"ct:mt-2 ct:text-xs ct:leading-5 ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\tchildren: o(\"trading.chart.emptyBody\")\n\t\t\t\t\t})\n\t\t\t\t]\n\t\t\t})\n\t\t})]\n\t});\n}\n// src/hooks/useOrderbook.ts\nfunction At(e, t = !0) {\n\tlet r = Y(), i = D(), a = n({\n\t\tkey: e ? [\n\t\t\t\"orderbook\",\n\t\t\tr,\n\t\t\te\n\t\t] : null,\n\t\tinitialData: null,\n\t\tload: async (t) => jt(e, await r.getOrderbook(e, t)),\n\t\tmapError: (e) => h(e, i)\n\t});\n\treturn {\n\t\tdata: a.data,\n\t\tisLoading: a.isLoading,\n\t\terror: a.error,\n\t\tconnectionState: \"disconnected\",\n\t\tretryCount: 0\n\t};\n}\nfunction jt(e, t) {\n\treturn {\n\t\tmarket: t.market || e,\n\t\tbaseMint: t.baseMint ?? \"\",\n\t\tquoteMint: t.quoteMint ?? \"\",\n\t\tbids: Mt(t.bids),\n\t\tasks: Mt(t.asks),\n\t\tspread: t.spread,\n\t\tmidPrice: t.midPrice,\n\t\ttimestamp: t.timestamp\n\t};\n}\nfunction Mt(e) {\n\treturn e.filter(Nt);\n}\nfunction Nt(e) {\n\tif (!e || typeof e != \"object\") return !1;\n\tlet t = e;\n\treturn [\n\t\t\"price\",\n\t\t\"size\",\n\t\t\"total\"\n\t].every((e) => typeof t[e] == \"number\");\n}\n// src/components/trading/Orderbook.tsx\nfunction Pt({ marketAddress: e, tickSize: t = .01, maxLevels: n = 15, onPriceClick: r, className: i = \"\" }) {\n\tlet { t: o, formatCurrency: s, formatNumber: u, formatPercent: d, formatCompact: p } = D(), { data: m, isLoading: h, connectionState: g } = At(e), _ = g === \"connected\", v = R(() => {\n\t\tif (!m) return {\n\t\t\tbids: [],\n\t\t\tasks: [],\n\t\t\tmaxTotal: 1,\n\t\t\tspread: 0\n\t\t};\n\t\tlet e = (e, r) => {\n\t\t\tlet i = /* @__PURE__ */ new Map();\n\t\t\tfor (let n of e) {\n\t\t\t\tlet e = r ? Math.ceil(n.price / t) * t : Math.floor(n.price / t) * t, a = i.get(e);\n\t\t\t\ta ? (a.size += n.size, a.total += n.total) : i.set(e, {\n\t\t\t\t\tprice: e,\n\t\t\t\t\tsize: n.size,\n\t\t\t\t\ttotal: n.total\n\t\t\t\t});\n\t\t\t}\n\t\t\tlet a = Array.from(i.values());\n\t\t\treturn a.sort((e, t) => r ? e.price - t.price : t.price - e.price), a.slice(0, n);\n\t\t}, r = e(m.bids, !1), i = e(m.asks, !0);\n\t\treturn {\n\t\t\tbids: r,\n\t\t\tasks: i,\n\t\t\tmaxTotal: Math.max(...r.map((e) => e.total), ...i.map((e) => e.total), 1),\n\t\t\tspread: m.spread\n\t\t};\n\t}, [\n\t\tm,\n\t\tt,\n\t\tn\n\t]);\n\treturn h ? /* @__PURE__ */ H(\"div\", {\n\t\tclassName: \"ct:flex ct:justify-center ct:py-8\",\n\t\tchildren: /* @__PURE__ */ H(X, {})\n\t}) : m ? /* @__PURE__ */ U(\"div\", {\n\t\tclassName: `ct:text-sm ${i}`,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:flex ct:items-center ct:justify-between ct:bg-(--ct-surface-muted) ct:px-3 ct:py-2 ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\tchildren: [/* @__PURE__ */ H(\"span\", {\n\t\t\t\t\tclassName: \"ct:font-medium ct:text-(--ct-foreground)\",\n\t\t\t\t\tchildren: o(\"orderbook.title\")\n\t\t\t\t}), /* @__PURE__ */ U(\"span\", {\n\t\t\t\t\ttitle: o(_ ? \"orderbook.liveTooltip\" : \"orderbook.pollingTooltip\"),\n\t\t\t\t\tclassName: `ct:inline-flex ct:items-center ct:gap-1.5 ${_ ? \"ct:text-(--ct-success)\" : \"ct:text-(--ct-warning)\"}`,\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(l, {\n\t\t\t\t\t\ttone: _ ? \"success\" : \"warning\",\n\t\t\t\t\t\tpulse: _\n\t\t\t\t\t}), o(_ ? \"orderbook.live\" : \"orderbook.polling\")]\n\t\t\t\t})]\n\t\t\t}),\n\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:grid ct:grid-cols-3 ct:gap-2 ct:border-b ct:border-(--ct-border) ct:px-3 ct:py-1.5 ct:text-xs ct:font-medium ct:uppercase ct:tracking-wide ct:text-(--ct-muted-foreground)\",\n\t\t\t\tchildren: [\n\t\t\t\t\t/* @__PURE__ */ H(\"div\", { children: o(\"orderbook.price\") }),\n\t\t\t\t\t/* @__PURE__ */ H(\"div\", {\n\t\t\t\t\t\tclassName: \"ct:text-right\",\n\t\t\t\t\t\tchildren: o(\"orderbook.size\")\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ H(\"div\", {\n\t\t\t\t\t\tclassName: \"ct:text-right\",\n\t\t\t\t\t\tchildren: o(\"orderbook.total\")\n\t\t\t\t\t})\n\t\t\t\t]\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(c, {\n\t\t\t\taxis: \"y\",\n\t\t\t\tariaLabel: `${o(\"orderbook.title\")}: ${o(\"trading.sell\")}`,\n\t\t\t\tclassName: \"ct:max-h-48 ct:overflow-y-auto\",\n\t\t\t\tchildren: v.asks.slice().reverse().map((e, t) => /* @__PURE__ */ H(Ft, {\n\t\t\t\t\tlevel: e,\n\t\t\t\t\tside: \"ask\",\n\t\t\t\t\tmaxTotal: v.maxTotal,\n\t\t\t\t\tinteractive: !!r,\n\t\t\t\t\tariaLabel: o(\"orderbook.selectLevel\", {\n\t\t\t\t\t\tprice: u(e.price, { maximumFractionDigits: 4 }),\n\t\t\t\t\t\tside: o(\"trading.buy\")\n\t\t\t\t\t}),\n\t\t\t\t\tonClick: r ? () => r(e.price, \"buy\") : void 0,\n\t\t\t\t\tformatNumber: u,\n\t\t\t\t\tformatCompact: p\n\t\t\t\t}, `ask-${t}`))\n\t\t\t}),\n\t\t\t/* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:border-y ct:border-(--ct-border) ct:bg-(--ct-surface-muted) ct:px-3 ct:py-2\",\n\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", {\n\t\t\t\t\tclassName: \"ct:flex ct:items-center ct:justify-between ct:text-xs\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\tclassName: \"ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\tchildren: o(\"orderbook.spread\")\n\t\t\t\t\t}), /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\tclassName: \"ct:text-sm ct:font-semibold ct-tabular-num ct:text-(--ct-foreground)\",\n\t\t\t\t\t\tchildren: /* @__PURE__ */ H(f, { value: d(v.spread, { maximumFractionDigits: 3 }) })\n\t\t\t\t\t})]\n\t\t\t\t}), m.midPrice > 0 && /* @__PURE__ */ H(\"div\", {\n\t\t\t\t\tclassName: \"ct:text-xs ct-tabular-num ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: o(\"orderbook.mid\", { price: s(m.midPrice, { maximumFractionDigits: 4 }) })\n\t\t\t\t})]\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(c, {\n\t\t\t\taxis: \"y\",\n\t\t\t\tariaLabel: `${o(\"orderbook.title\")}: ${o(\"trading.buy\")}`,\n\t\t\t\tclassName: \"ct:max-h-48 ct:overflow-y-auto\",\n\t\t\t\tchildren: v.bids.map((e, t) => /* @__PURE__ */ H(Ft, {\n\t\t\t\t\tlevel: e,\n\t\t\t\t\tside: \"bid\",\n\t\t\t\t\tmaxTotal: v.maxTotal,\n\t\t\t\t\tinteractive: !!r,\n\t\t\t\t\tariaLabel: o(\"orderbook.selectLevel\", {\n\t\t\t\t\t\tprice: u(e.price, { maximumFractionDigits: 4 }),\n\t\t\t\t\t\tside: o(\"trading.sell\")\n\t\t\t\t\t}),\n\t\t\t\t\tonClick: r ? () => r(e.price, \"sell\") : void 0,\n\t\t\t\t\tformatNumber: u,\n\t\t\t\t\tformatCompact: p\n\t\t\t\t}, `bid-${t}`))\n\t\t\t})\n\t\t]\n\t}) : /* @__PURE__ */ U(\"div\", {\n\t\tclassName: \"ct:px-4 ct:py-10 ct:text-center\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ H(a, {}),\n\t\t\t/* @__PURE__ */ H(\"div\", {\n\t\t\t\tclassName: \"ct:mt-4 ct:text-sm ct:font-medium ct:text-(--ct-foreground)\",\n\t\t\t\tchildren: o(\"orderbook.noData\")\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(\"p\", {\n\t\t\t\tclassName: \"ct:mx-auto ct:mt-2 ct:max-w-xs ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\tchildren: o(\"orderbook.noDataHint\")\n\t\t\t})\n\t\t]\n\t});\n}\nfunction Ft({ level: e, side: t, maxTotal: n, onClick: r, interactive: i, ariaLabel: a, formatNumber: o, formatCompact: s }) {\n\tlet c = t === \"ask\";\n\treturn /* @__PURE__ */ U(\"div\", {\n\t\tonClick: r,\n\t\trole: i ? \"button\" : void 0,\n\t\ttabIndex: i ? 0 : void 0,\n\t\t\"aria-label\": i ? a : void 0,\n\t\tonKeyDown: i ? (e) => {\n\t\t\t(e.key === \"Enter\" || e.key === \" \") && (e.preventDefault(), r?.());\n\t\t} : void 0,\n\t\tclassName: `ct:relative ct:px-3 ct:py-1.5 ct:transition-colors ${i ? \"ct-focusable ct:cursor-pointer\" : \"\"} ${c ? \"ct:hover:bg-(--ct-sell-bg)\" : \"ct:hover:bg-(--ct-buy-bg)\"}`,\n\t\tchildren: [/* @__PURE__ */ H(\"div\", {\n\t\t\tclassName: `ct-depth-bar ct:absolute ct:inset-y-0 ct:left-0 ${c ? \"ct:bg-(--ct-destructive)\" : \"ct:bg-(--ct-success)\"} ct:opacity-10`,\n\t\t\tstyle: { transform: `scaleX(${e.total / n})` }\n\t\t}), /* @__PURE__ */ U(\"div\", {\n\t\t\tclassName: \"ct:relative ct:grid ct:grid-cols-3 ct:gap-2 ct-tabular-num\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ H(\"div\", {\n\t\t\t\t\tclassName: `ct:font-medium ${c ? \"ct:text-(--ct-destructive)\" : \"ct:text-(--ct-success)\"}`,\n\t\t\t\t\tchildren: o(e.price, { maximumFractionDigits: 4 })\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ H(\"div\", {\n\t\t\t\t\tclassName: \"ct:text-right ct:text-(--ct-foreground)\",\n\t\t\t\t\tchildren: o(e.size, { maximumFractionDigits: 2 })\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ H(\"div\", {\n\t\t\t\t\tclassName: \"ct:text-right ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: s(e.total)\n\t\t\t\t})\n\t\t\t]\n\t\t})]\n\t});\n}\n// src/components/trading/OpenOrdersTable.tsx\nfunction It({ limitOrders: e, dcaOrders: t, isLoading: n, onCancel: r, className: i = \"\" }) {\n\tlet o = D(), { t: s, formatDate: c, formatNumber: l, tn: u, tEnum: d } = o, f = z(/* @__PURE__ */ new Set()), [p, m] = B(() => /* @__PURE__ */ new Set()), [g, _] = B(null), [v, y] = B(null), b = async (e) => {\n\t\tif (r && !f.current.has(e)) {\n\t\t\tf.current.add(e), _(null), m(new Set(f.current)), y(null);\n\t\t\ttry {\n\t\t\t\tawait r(e);\n\t\t\t} catch (e) {\n\t\t\t\ty(h(e, o) || s(\"orders.cancelFailed\"));\n\t\t\t} finally {\n\t\t\t\tf.current.delete(e), m(new Set(f.current));\n\t\t\t}\n\t\t}\n\t};\n\tif (n) return /* @__PURE__ */ H(\"div\", {\n\t\tclassName: \"ct:flex ct:justify-center ct:py-8\",\n\t\tchildren: /* @__PURE__ */ H(X, {})\n\t});\n\tlet x = e.length === 0 && t.length === 0;\n\treturn /* @__PURE__ */ U(\"div\", {\n\t\tclassName: `ct:space-y-2 ${i}`,\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ H(Pe, {\n\t\t\t\tmessage: v,\n\t\t\t\tonDismiss: () => y(null)\n\t\t\t}),\n\t\t\tx && /* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:px-4 ct:py-10 ct:text-center\",\n\t\t\t\tchildren: [/* @__PURE__ */ H(a, { tone: \"info\" }), /* @__PURE__ */ H(\"div\", {\n\t\t\t\t\tclassName: \"ct:mt-4 ct:text-sm ct:font-medium ct:text-(--ct-foreground)\",\n\t\t\t\t\tchildren: s(\"orders.noOpenOrders\")\n\t\t\t\t})]\n\t\t\t}),\n\t\t\te.length > 0 && /* @__PURE__ */ U(\"table\", {\n\t\t\t\tclassName: \"ct:w-full ct:text-sm ct-tabular-num\",\n\t\t\t\tchildren: [/* @__PURE__ */ H(\"thead\", { children: /* @__PURE__ */ U(\"tr\", {\n\t\t\t\t\tclassName: \"ct:border-b ct:border-(--ct-border) ct:bg-(--ct-surface-muted) ct:text-xs ct:font-medium ct:uppercase ct:tracking-wide ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: [\n\t\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\t\tclassName: \"ct:text-left ct:py-2 ct:px-2\",\n\t\t\t\t\t\t\tchildren: s(\"orders.type\")\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\t\tclassName: \"ct:text-left ct:py-2\",\n\t\t\t\t\t\t\tchildren: s(\"orders.pair\")\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\t\tclassName: \"ct:text-right ct:py-2\",\n\t\t\t\t\t\t\tchildren: s(\"trading.amount\")\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\t\tclassName: \"ct:text-right ct:py-2\",\n\t\t\t\t\t\t\tchildren: s(\"orders.trigger\")\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\t\tclassName: \"ct:text-right ct:py-2\",\n\t\t\t\t\t\t\tchildren: s(\"common.status\")\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ H(\"th\", { className: \"ct:text-right ct:py-2 ct:px-2\" })\n\t\t\t\t\t]\n\t\t\t\t}) }), /* @__PURE__ */ H(\"tbody\", {\n\t\t\t\t\tclassName: \"ct-stagger-dense\",\n\t\t\t\t\tchildren: e.map((e) => /* @__PURE__ */ U(\"tr\", {\n\t\t\t\t\t\tclassName: \"ct-progressive-row ct:border-b ct:border-(--ct-border) ct:text-(--ct-foreground) ct:hover:bg-(--ct-surface-interactive)\",\n\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:px-2\",\n\t\t\t\t\t\t\t\tchildren: /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\t\t\t\tclassName: `ct:px-2 ct:py-0.5 ct:rounded-cedros-sm ct:text-xs ct:font-medium ${e.orderType === \"stop-loss\" ? \"ct:bg-(--ct-destructive-bg) ct:text-(--ct-destructive)\" : e.orderType === \"take-profit\" ? \"ct:bg-(--ct-success-bg) ct:text-(--ct-success)\" : \"ct:bg-(--ct-info-bg) ct:text-(--ct-info)\"}`,\n\t\t\t\t\t\t\t\t\tchildren: d(\"orders.type\", e.orderType)\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t/* @__PURE__ */ U(\"td\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:font-mono ct:text-xs\",\n\t\t\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t\t\te.inputMint.slice(0, 4),\n\t\t\t\t\t\t\t\t\t\"→\",\n\t\t\t\t\t\t\t\t\te.outputMint.slice(0, 4)\n\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:text-right\",\n\t\t\t\t\t\t\t\tchildren: l(e.inAmount)\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:text-right\",\n\t\t\t\t\t\t\t\tchildren: e.triggerPrice ? l(e.triggerPrice) : \"-\"\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:text-right\",\n\t\t\t\t\t\t\t\tchildren: d(\"orders.status\", e.status)\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:px-2 ct:text-right\",\n\t\t\t\t\t\t\t\tchildren: r && e.status === \"open\" && (p.has(e.orderId) ? /* @__PURE__ */ H(\"button\", {\n\t\t\t\t\t\t\t\t\tdisabled: !0,\n\t\t\t\t\t\t\t\t\tclassName: \"ct:rounded-full ct:px-2 ct:py-1 ct:text-xs ct:font-medium ct:text-(--ct-destructive) ct:opacity-50\",\n\t\t\t\t\t\t\t\t\tchildren: s(\"orders.cancelling\")\n\t\t\t\t\t\t\t\t}) : g === e.orderId ? /* @__PURE__ */ U(\"span\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct-progressive-control ct:inline-flex ct:gap-1\",\n\t\t\t\t\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"button\", {\n\t\t\t\t\t\t\t\t\t\tonClick: () => b(e.orderId),\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct-focusable ct-pressable ct:rounded-full ct:bg-(--ct-destructive-bg) ct:px-2 ct:py-1 ct:text-xs ct:font-semibold ct:text-(--ct-destructive)\",\n\t\t\t\t\t\t\t\t\t\tchildren: s(\"orders.cancelConfirm\")\n\t\t\t\t\t\t\t\t\t}), /* @__PURE__ */ H(\"button\", {\n\t\t\t\t\t\t\t\t\t\tonClick: () => _(null),\n\t\t\t\t\t\t\t\t\t\tclassName: \"ct-focusable ct-pressable ct:rounded-full ct:px-2 ct:py-1 ct:text-xs ct:font-medium ct:text-(--ct-muted-foreground) ct:hover:bg-(--ct-surface-interactive)\",\n\t\t\t\t\t\t\t\t\t\tchildren: s(\"orders.cancelKeep\")\n\t\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t\t}) : /* @__PURE__ */ H(\"button\", {\n\t\t\t\t\t\t\t\t\tonClick: () => _(e.orderId),\n\t\t\t\t\t\t\t\t\tclassName: \"ct-progressive-control ct-focusable ct-pressable ct:rounded-full ct:px-2 ct:py-1 ct:text-xs ct:font-medium ct:text-(--ct-destructive) ct:hover:bg-(--ct-destructive-bg)\",\n\t\t\t\t\t\t\t\t\tchildren: s(\"orders.cancel\")\n\t\t\t\t\t\t\t\t}))\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t]\n\t\t\t\t\t}, e.orderId))\n\t\t\t\t})]\n\t\t\t}),\n\t\t\tt.length > 0 && /* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct-stagger-dense ct:space-y-2\",\n\t\t\t\tchildren: [/* @__PURE__ */ H(\"h4\", {\n\t\t\t\t\tclassName: \"ct:text-xs ct:font-medium ct:text-(--ct-muted-foreground) ct:px-2\",\n\t\t\t\t\tchildren: s(\"orders.dcaSchedules\")\n\t\t\t\t}), t.map((e) => /* @__PURE__ */ U(\"div\", {\n\t\t\t\t\tclassName: \"ct-panel ct:flex ct:items-center ct:justify-between ct-radius-card ct:px-3 ct:py-2\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", { children: [/* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\tclassName: \"ct:text-sm ct:text-(--ct-foreground)\",\n\t\t\t\t\t\tchildren: u(\"orders.cycles\", e.totalCycles, {\n\t\t\t\t\t\t\tcompleted: l(e.completedCycles),\n\t\t\t\t\t\t\ttotal: l(e.totalCycles)\n\t\t\t\t\t\t})\n\t\t\t\t\t}), /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground) ct:ml-2\",\n\t\t\t\t\t\tchildren: d(\"orders.status\", e.status)\n\t\t\t\t\t})] }), e.nextCycleAt && /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\tchildren: s(\"orders.next\", { date: c(e.nextCycleAt) })\n\t\t\t\t\t})]\n\t\t\t\t}, e.dcaAccountId))]\n\t\t\t})\n\t\t]\n\t});\n}\n// src/components/trading/PositionsTable.tsx\nfunction Lt({ holdings: e, isLoading: t, totalValue: n, className: r = \"\" }) {\n\tlet { t: i, formatCurrency: o, formatNumber: s } = D();\n\treturn t ? /* @__PURE__ */ H(\"div\", {\n\t\tclassName: \"ct:flex ct:justify-center ct:py-8\",\n\t\tchildren: /* @__PURE__ */ H(X, {})\n\t}) : /* @__PURE__ */ U(\"div\", {\n\t\tclassName: r,\n\t\tchildren: [n && /* @__PURE__ */ U(\"div\", {\n\t\t\tclassName: \"ct:flex ct:justify-between ct:items-center ct:px-2 ct:py-2 ct:mb-2\",\n\t\t\tchildren: [/* @__PURE__ */ H(\"span\", {\n\t\t\t\tclassName: \"ct:text-sm ct:text-(--ct-muted-foreground)\",\n\t\t\t\tchildren: i(\"portfolio.totalValue\")\n\t\t\t}), /* @__PURE__ */ H(\"span\", {\n\t\t\t\tclassName: \"ct:text-lg ct:font-semibold ct:text-(--ct-foreground)\",\n\t\t\t\tchildren: /* @__PURE__ */ H(f, { value: o(n) })\n\t\t\t})]\n\t\t}), e.length === 0 ? /* @__PURE__ */ U(\"div\", {\n\t\t\tclassName: \"ct:px-4 ct:py-10 ct:text-center\",\n\t\t\tchildren: [/* @__PURE__ */ H(a, { tone: \"info\" }), /* @__PURE__ */ H(\"div\", {\n\t\t\t\tclassName: \"ct:mt-4 ct:text-sm ct:font-medium ct:text-(--ct-foreground)\",\n\t\t\t\tchildren: i(\"portfolio.noHoldings\")\n\t\t\t})]\n\t\t}) : /* @__PURE__ */ U(\"table\", {\n\t\t\tclassName: \"ct:w-full ct:text-sm ct-tabular-num\",\n\t\t\tchildren: [/* @__PURE__ */ H(\"thead\", { children: /* @__PURE__ */ U(\"tr\", {\n\t\t\t\tclassName: \"ct:border-b ct:border-(--ct-border) ct:bg-(--ct-surface-muted) ct:text-xs ct:font-medium ct:uppercase ct:tracking-wide ct:text-(--ct-muted-foreground)\",\n\t\t\t\tchildren: [\n\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\tclassName: \"ct:text-left ct:py-2 ct:px-2\",\n\t\t\t\t\t\tchildren: i(\"portfolio.token\")\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\tclassName: \"ct:text-right ct:py-2\",\n\t\t\t\t\t\tchildren: i(\"portfolio.balance\")\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\tclassName: \"ct:text-right ct:py-2\",\n\t\t\t\t\t\tchildren: i(\"portfolio.price\")\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\tclassName: \"ct:text-right ct:py-2 ct:px-2\",\n\t\t\t\t\t\tchildren: i(\"portfolio.value\")\n\t\t\t\t\t})\n\t\t\t\t]\n\t\t\t}) }), /* @__PURE__ */ H(\"tbody\", {\n\t\t\t\tclassName: \"ct-stagger-dense\",\n\t\t\t\tchildren: e.map((e) => /* @__PURE__ */ U(\"tr\", {\n\t\t\t\t\tclassName: \"ct:border-b ct:border-(--ct-border) ct:text-(--ct-foreground) ct:hover:bg-(--ct-surface-interactive)\",\n\t\t\t\t\tchildren: [\n\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:px-2 ct:font-medium\",\n\t\t\t\t\t\t\tchildren: e.symbol ?? e.mint.slice(0, 6)\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:text-right\",\n\t\t\t\t\t\t\tchildren: s(e.uiBalance)\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:text-right\",\n\t\t\t\t\t\t\tchildren: e.currentPrice ? o(e.currentPrice) : \"-\"\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:px-2 ct:text-right ct:font-medium\",\n\t\t\t\t\t\t\tchildren: e.currentValue ? o(e.currentValue) : \"-\"\n\t\t\t\t\t\t})\n\t\t\t\t\t]\n\t\t\t\t}, e.mint))\n\t\t\t})]\n\t\t})]\n\t});\n}\n// src/components/portfolio/PnlTable.tsx\nfunction Rt({ walletAddress: e, className: t = \"\" }) {\n\tlet r = D(), { t: i, formatCurrency: o, formatPercent: s } = r, u = Y(), { data: d, isLoading: p, error: m } = n({\n\t\tkey: [\n\t\t\t\"pnl\",\n\t\t\tu,\n\t\t\te\n\t\t],\n\t\tinitialData: null,\n\t\tload: async (t) => u.getPnl(e, t),\n\t\tmapError: (e) => h(e, r)\n\t}), g = d?.holdings ?? [];\n\treturn p ? /* @__PURE__ */ H(\"div\", {\n\t\tclassName: \"ct:flex ct:justify-center ct:py-8\",\n\t\tchildren: /* @__PURE__ */ H(X, {})\n\t}) : m ? /* @__PURE__ */ U(\"div\", {\n\t\tclassName: \"ct:px-4 ct:py-8 ct:text-center\",\n\t\tchildren: [/* @__PURE__ */ H(a, { tone: \"warning\" }), /* @__PURE__ */ H(\"div\", {\n\t\t\tclassName: \"ct:mt-4 ct:text-sm ct:font-medium ct:text-(--ct-foreground)\",\n\t\t\tchildren: i(\"portfolio.pnlUnavailable\")\n\t\t})]\n\t}) : /* @__PURE__ */ U(\"div\", {\n\t\tclassName: t,\n\t\tchildren: [\n\t\t\td && /* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:flex ct:justify-between ct:px-2 ct:py-2 ct:mb-2 ct:text-sm ct-tabular-num\",\n\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", { children: [/* @__PURE__ */ U(\"span\", {\n\t\t\t\t\tclassName: \"ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: [i(\"portfolio.costBasis\"), \" \"]\n\t\t\t\t}), /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\tclassName: \"ct:font-medium\",\n\t\t\t\t\tchildren: /* @__PURE__ */ H(f, { value: o(d.totalCostBasis) })\n\t\t\t\t})] }), /* @__PURE__ */ U(\"div\", { children: [/* @__PURE__ */ U(\"span\", {\n\t\t\t\t\tclassName: \"ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: [i(\"portfolio.pnl\"), \" \"]\n\t\t\t\t}), /* @__PURE__ */ U(\"span\", {\n\t\t\t\t\tclassName: `ct:inline-flex ct:items-center ct:gap-1.5 ct:font-semibold ${zt(d.totalUnrealizedPnl)}`,\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(l, { tone: d.totalUnrealizedPnl?.startsWith(\"-\") ? \"danger\" : \"success\" }), /* @__PURE__ */ H(f, { value: Vt(d.totalUnrealizedPnl, o) })]\n\t\t\t\t})] })]\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(c, {\n\t\t\t\taxis: \"x\",\n\t\t\t\tariaLabel: i(\"portfolio.pnl\"),\n\t\t\t\tclassName: \"ct:overflow-x-auto\",\n\t\t\t\tchildren: /* @__PURE__ */ U(\"table\", {\n\t\t\t\t\tclassName: \"ct:w-full ct:text-sm ct-tabular-num\",\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(\"thead\", { children: /* @__PURE__ */ U(\"tr\", {\n\t\t\t\t\t\tclassName: \"ct:border-b ct:border-(--ct-border) ct:bg-(--ct-surface-muted) ct:text-xs ct:font-medium ct:uppercase ct:tracking-wide ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:text-left ct:py-2 ct:px-2\",\n\t\t\t\t\t\t\t\tchildren: i(\"portfolio.token\")\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:text-right ct:py-2\",\n\t\t\t\t\t\t\t\tchildren: i(\"portfolio.entry\")\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:text-right ct:py-2\",\n\t\t\t\t\t\t\t\tchildren: i(\"portfolio.current\")\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\t\t\tclassName: \"ct:text-right ct:py-2 ct:px-2\",\n\t\t\t\t\t\t\t\tchildren: i(\"portfolio.pnl\")\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t]\n\t\t\t\t\t}) }), /* @__PURE__ */ H(\"tbody\", {\n\t\t\t\t\t\tclassName: \"ct-stagger-dense\",\n\t\t\t\t\t\tchildren: g.map((e) => /* @__PURE__ */ U(\"tr\", {\n\t\t\t\t\t\t\tclassName: \"ct:border-b ct:border-(--ct-border) ct:hover:bg-(--ct-surface-interactive)\",\n\t\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:px-2 ct:font-medium ct:text-(--ct-foreground)\",\n\t\t\t\t\t\t\t\t\tchildren: e.symbol ?? e.mint.slice(0, 6)\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:text-right\",\n\t\t\t\t\t\t\t\t\tchildren: e.entryPrice ? o(e.entryPrice) : \"-\"\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:text-right\",\n\t\t\t\t\t\t\t\t\tchildren: o(e.currentPrice)\n\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:px-2 ct:text-right\",\n\t\t\t\t\t\t\t\t\tchildren: /* @__PURE__ */ U(\"span\", {\n\t\t\t\t\t\t\t\t\t\tclassName: `ct:inline-flex ct:items-center ct:gap-1 ct:rounded-full ct:px-2 ct:py-0.5 ct:text-xs ct:font-semibold ${Bt(e.unrealizedPnl)}`,\n\t\t\t\t\t\t\t\t\t\tchildren: [Vt(e.unrealizedPnl, o), e.unrealizedPnlPercent && /* @__PURE__ */ U(\"span\", {\n\t\t\t\t\t\t\t\t\t\t\tclassName: \"ct:opacity-80\",\n\t\t\t\t\t\t\t\t\t\t\tchildren: [\n\t\t\t\t\t\t\t\t\t\t\t\t\"(\",\n\t\t\t\t\t\t\t\t\t\t\t\tHt(e.unrealizedPnlPercent, s),\n\t\t\t\t\t\t\t\t\t\t\t\t\")\"\n\t\t\t\t\t\t\t\t\t\t\t]\n\t\t\t\t\t\t\t\t\t\t})]\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t]\n\t\t\t\t\t\t}, e.mint))\n\t\t\t\t\t})]\n\t\t\t\t})\n\t\t\t}),\n\t\t\tg.length === 0 && /* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:px-4 ct:py-8 ct:text-center\",\n\t\t\t\tchildren: [/* @__PURE__ */ H(a, { tone: \"info\" }), /* @__PURE__ */ H(\"div\", {\n\t\t\t\t\tclassName: \"ct:mt-4 ct:text-sm ct:font-medium ct:text-(--ct-foreground)\",\n\t\t\t\t\tchildren: i(\"portfolio.noHoldings\")\n\t\t\t\t})]\n\t\t\t})\n\t\t]\n\t});\n}\nfunction zt(e) {\n\treturn e?.startsWith(\"+\") ? \"ct:text-(--ct-success)\" : e?.startsWith(\"-\") ? \"ct:text-(--ct-destructive)\" : \"\";\n}\nfunction Bt(e) {\n\treturn e?.startsWith(\"+\") ? \"ct:bg-(--ct-success-bg) ct:text-(--ct-success)\" : e?.startsWith(\"-\") ? \"ct:bg-(--ct-destructive-bg) ct:text-(--ct-destructive)\" : \"ct:bg-(--ct-surface-muted) ct:text-(--ct-muted-foreground)\";\n}\nfunction Vt(e, t) {\n\tif (!e) return \"-\";\n\tlet n = Number(e);\n\treturn Number.isFinite(n) ? `${e.trim().startsWith(\"+\") && n > 0 ? \"+\" : \"\"}${t(n)}` : e;\n}\nfunction Ht(e, t) {\n\tlet n = Number(e);\n\treturn Number.isFinite(n) ? `${e.trim().startsWith(\"+\") && n > 0 ? \"+\" : \"\"}${t(n, { maximumFractionDigits: 2 })}` : e;\n}\n// src/components/portfolio/TradeHistoryTable.tsx\nvar Ut = [];\nfunction Wt({ walletAddress: e, mintFilter: t, limit: r = 50, className: i = \"\" }) {\n\tlet o = D(), { t: s, formatDate: l, formatNumber: u, tEnum: d } = o, f = Y(), { data: p, isLoading: m, error: g } = n({\n\t\tkey: [\n\t\t\t\"trade-history\",\n\t\t\tf,\n\t\t\te,\n\t\t\tt,\n\t\t\tr\n\t\t],\n\t\tinitialData: Ut,\n\t\tload: async (n) => (await f.getTradeHistory(e, t, r, n)).trades,\n\t\tmapError: (e) => h(e, o)\n\t});\n\treturn m ? /* @__PURE__ */ H(\"div\", {\n\t\tclassName: \"ct:flex ct:justify-center ct:py-8\",\n\t\tchildren: /* @__PURE__ */ H(X, {})\n\t}) : g ? /* @__PURE__ */ U(\"div\", {\n\t\tclassName: \"ct:px-4 ct:py-8 ct:text-center\",\n\t\tchildren: [/* @__PURE__ */ H(a, { tone: \"warning\" }), /* @__PURE__ */ H(\"div\", {\n\t\t\tclassName: \"ct:mt-4 ct:text-sm ct:font-medium ct:text-(--ct-foreground)\",\n\t\t\tchildren: s(\"portfolio.tradeHistoryUnavailable\")\n\t\t})]\n\t}) : p.length === 0 ? /* @__PURE__ */ U(\"div\", {\n\t\tclassName: \"ct:px-4 ct:py-10 ct:text-center\",\n\t\tchildren: [/* @__PURE__ */ H(a, { tone: \"info\" }), /* @__PURE__ */ H(\"div\", {\n\t\t\tclassName: \"ct:mt-4 ct:text-sm ct:font-medium ct:text-(--ct-foreground)\",\n\t\t\tchildren: s(\"portfolio.noTradeHistory\")\n\t\t})]\n\t}) : /* @__PURE__ */ H(c, {\n\t\taxis: \"x\",\n\t\tariaLabel: s(\"portfolio.date\"),\n\t\tclassName: `ct:overflow-x-auto ${i}`,\n\t\tchildren: /* @__PURE__ */ U(\"table\", {\n\t\t\tclassName: \"ct:w-full ct:text-sm ct-tabular-num\",\n\t\t\tchildren: [/* @__PURE__ */ H(\"thead\", { children: /* @__PURE__ */ U(\"tr\", {\n\t\t\t\tclassName: \"ct:border-b ct:border-(--ct-border) ct:bg-(--ct-surface-muted) ct:text-xs ct:font-medium ct:uppercase ct:tracking-wide ct:text-(--ct-muted-foreground)\",\n\t\t\t\tchildren: [\n\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\tclassName: \"ct:text-left ct:py-2 ct:px-2\",\n\t\t\t\t\t\tchildren: s(\"portfolio.date\")\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\tclassName: \"ct:text-left ct:py-2\",\n\t\t\t\t\t\tchildren: s(\"portfolio.type\")\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\tclassName: \"ct:text-right ct:py-2\",\n\t\t\t\t\t\tchildren: s(\"portfolio.in\")\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\tclassName: \"ct:text-right ct:py-2\",\n\t\t\t\t\t\tchildren: s(\"portfolio.out\")\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ H(\"th\", {\n\t\t\t\t\t\tclassName: \"ct:text-right ct:py-2 ct:px-2\",\n\t\t\t\t\t\tchildren: s(\"portfolio.source\")\n\t\t\t\t\t})\n\t\t\t\t]\n\t\t\t}) }), /* @__PURE__ */ H(\"tbody\", {\n\t\t\t\tclassName: \"ct-stagger-dense\",\n\t\t\t\tchildren: p.map((e, t) => /* @__PURE__ */ U(\"tr\", {\n\t\t\t\t\tclassName: \"ct:border-b ct:border-(--ct-border) ct:text-(--ct-foreground) ct:hover:bg-(--ct-surface-interactive)\",\n\t\t\t\t\tchildren: [\n\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:px-2 ct:text-xs\",\n\t\t\t\t\t\t\tchildren: l(e.timestamp)\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\tclassName: \"ct:py-2\",\n\t\t\t\t\t\t\tchildren: d(\"trades.type\", e.tradeType)\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:text-right ct:text-xs\",\n\t\t\t\t\t\t\tchildren: u(e.inputAmount)\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:text-right ct:text-xs\",\n\t\t\t\t\t\t\tchildren: u(e.outputAmount)\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ H(\"td\", {\n\t\t\t\t\t\t\tclassName: \"ct:py-2 ct:px-2 ct:text-right ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\t\tchildren: e.source\n\t\t\t\t\t\t})\n\t\t\t\t\t]\n\t\t\t\t}, `${e.signature}-${t}`))\n\t\t\t})]\n\t\t})\n\t});\n}\n// src/components/orders/MonitoredOrdersList.tsx\nvar Gt = [];\nfunction Kt({ walletAddress: e, className: t = \"\" }) {\n\tlet r = D(), { t: i, formatCurrency: o, tEnum: s } = r, c = Y(), { data: u, isLoading: d, error: f } = n({\n\t\tkey: [\n\t\t\t\"monitored-orders\",\n\t\t\tc,\n\t\t\te\n\t\t],\n\t\tinitialData: Gt,\n\t\tload: async (t) => c.getMonitoredOrders(e, t),\n\t\tmapError: (e) => h(e, r)\n\t});\n\tif (d) return /* @__PURE__ */ H(\"div\", {\n\t\tclassName: \"ct:flex ct:justify-center ct:py-4\",\n\t\tchildren: /* @__PURE__ */ H(X, {})\n\t});\n\tif (f) return /* @__PURE__ */ U(\"div\", {\n\t\tclassName: \"ct:px-4 ct:py-8 ct:text-center\",\n\t\tchildren: [/* @__PURE__ */ H(a, { tone: \"warning\" }), /* @__PURE__ */ H(\"div\", {\n\t\t\tclassName: \"ct:mt-4 ct:text-sm ct:font-medium ct:text-(--ct-foreground)\",\n\t\t\tchildren: f\n\t\t})]\n\t});\n\tif (u.length === 0) return /* @__PURE__ */ U(\"div\", {\n\t\tclassName: \"ct:px-4 ct:py-10 ct:text-center\",\n\t\tchildren: [/* @__PURE__ */ H(a, { tone: \"info\" }), /* @__PURE__ */ H(\"div\", {\n\t\t\tclassName: \"ct:mt-4 ct:text-sm ct:font-medium ct:text-(--ct-foreground)\",\n\t\t\tchildren: i(\"orders.noMonitored\")\n\t\t})]\n\t});\n\tlet p = (e) => {\n\t\tswitch (e) {\n\t\t\tcase \"monitoring\": return \"ct:text-(--ct-info)\";\n\t\t\tcase \"executed\": return \"ct:text-(--ct-success)\";\n\t\t\tcase \"cancelled\":\n\t\t\tcase \"failed\": return \"ct:text-(--ct-destructive)\";\n\t\t\tcase \"action_pending\": return \"ct:text-(--ct-warning)\";\n\t\t\tdefault: return \"ct:text-(--ct-muted-foreground)\";\n\t\t}\n\t}, m = (e) => {\n\t\tswitch (e) {\n\t\t\tcase \"monitoring\": return \"info\";\n\t\t\tcase \"executed\": return \"success\";\n\t\t\tcase \"cancelled\":\n\t\t\tcase \"failed\": return \"danger\";\n\t\t\tcase \"action_pending\": return \"warning\";\n\t\t\tdefault: return \"default\";\n\t\t}\n\t};\n\treturn /* @__PURE__ */ H(\"div\", {\n\t\tclassName: `ct-stagger ct:space-y-2 ${t}`,\n\t\tchildren: u.map((e) => /* @__PURE__ */ U(\"div\", {\n\t\t\tclassName: `ct-panel ct:flex ct:items-center ct:justify-between ct-radius-card ct:border-l-2 ct:px-3 ct:py-2 ct:transition-colors ct:hover:bg-(--ct-surface-interactive) ${qt(e.status)}`,\n\t\t\tchildren: [/* @__PURE__ */ U(\"div\", { children: [\n\t\t\t\t/* @__PURE__ */ H(\"span\", {\n\t\t\t\t\tclassName: \"ct:text-sm ct:font-medium ct:text-(--ct-foreground)\",\n\t\t\t\t\tchildren: s(\"orders.type\", e.orderType)\n\t\t\t\t}),\n\t\t\t\te.currentTrigger && /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground) ct:ml-2\",\n\t\t\t\t\tchildren: i(\"orders.triggerPrice\", { price: o(e.currentTrigger) })\n\t\t\t\t}),\n\t\t\t\te.peakPrice && /* @__PURE__ */ H(\"span\", {\n\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground) ct:ml-2\",\n\t\t\t\t\tchildren: i(\"orders.peakPrice\", { price: o(e.peakPrice) })\n\t\t\t\t})\n\t\t\t] }), /* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct:text-right\",\n\t\t\t\tchildren: [/* @__PURE__ */ U(\"span\", {\n\t\t\t\t\tclassName: `ct:inline-flex ct:items-center ct:gap-1.5 ct:text-xs ct:font-medium ${p(e.status)}`,\n\t\t\t\t\tchildren: [/* @__PURE__ */ H(l, {\n\t\t\t\t\t\ttone: m(e.status),\n\t\t\t\t\t\tpulse: e.status === \"monitoring\" || e.status === \"action_pending\"\n\t\t\t\t\t}), s(\"orders.status\", e.status)]\n\t\t\t\t}), e.fillPrice && /* @__PURE__ */ H(\"div\", {\n\t\t\t\t\tclassName: \"ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: i(\"orders.filledAt\", { price: o(e.fillPrice) })\n\t\t\t\t})]\n\t\t\t})]\n\t\t}, e.id))\n\t});\n}\nfunction qt(e) {\n\tswitch (e) {\n\t\tcase \"action_pending\": return \"ct:border-l-(--ct-warning) ct-panel-warning\";\n\t\tcase \"executed\": return \"ct:border-l-(--ct-success) ct-panel-success\";\n\t\tcase \"cancelled\":\n\t\tcase \"failed\": return \"ct:border-l-(--ct-destructive)\";\n\t\tcase \"monitoring\": return \"ct:border-l-(--ct-info)\";\n\t\tdefault: return \"ct:border-l-(--ct-border)\";\n\t}\n}\n// src/components/trading/TradingPageParts.tsx\nfunction Jt({ chartType: e, tradingViewSymbol: t, theme: n, orderFormProps: r }) {\n\tlet { t: i } = D();\n\treturn /* @__PURE__ */ U(\"div\", {\n\t\tclassName: \"ct:flex ct:min-h-[34rem] ct:flex-col ct:xl:flex-row\",\n\t\tchildren: [/* @__PURE__ */ H(\"div\", {\n\t\t\tclassName: \"ct:min-h-[22rem] ct:min-w-0 ct:flex-1 ct:xl:border-r ct:xl:border-[var(--ct-border)]\",\n\t\t\tchildren: /* @__PURE__ */ H(kt, {\n\t\t\t\tchartType: e,\n\t\t\t\tsymbol: t,\n\t\t\t\ttheme: n\n\t\t\t})\n\t\t}), /* @__PURE__ */ H(c, {\n\t\t\taxis: \"y\",\n\t\t\tariaLabel: i(\"trading.orderType\"),\n\t\t\tclassName: \"ct:hidden ct:w-80 ct:shrink-0 ct:overflow-y-auto ct:bg-(--ct-surface) ct:xl:block\",\n\t\t\tchildren: /* @__PURE__ */ H(vt, { ...r })\n\t\t})]\n\t});\n}\nfunction Yt(e) {\n\tlet t = ve();\n\treturn /* @__PURE__ */ U(\"div\", {\n\t\tclassName: \"ct:border-t ct:border-(--ct-border)\",\n\t\tchildren: [/* @__PURE__ */ H(Xt, {\n\t\t\t...e,\n\t\t\tidBase: t\n\t\t}), /* @__PURE__ */ H(c, {\n\t\t\taxis: \"y\",\n\t\t\tariaLabel: e.tabLabel(e.activeTab),\n\t\t\tclassName: \"ct:max-h-72 ct:overflow-auto\",\n\t\t\tchildren: /* @__PURE__ */ H(me, {\n\t\t\t\tidBase: t,\n\t\t\t\tactiveId: e.activeTab,\n\t\t\t\tchildren: /* @__PURE__ */ H(m, {\n\t\t\t\t\tactiveKey: e.activeTab,\n\t\t\t\t\torder: e.availableTabs,\n\t\t\t\t\tchildren: /* @__PURE__ */ H(Zt, { ...e })\n\t\t\t\t})\n\t\t\t})\n\t\t})]\n\t});\n}\nfunction Xt({ activeTab: e, availableTabs: t, tabLabel: n, orderCount: r, onSelect: i, idBase: a }) {\n\tlet { t: o, formatNumber: s } = D(), l = t.map((e) => ({\n\t\tid: e,\n\t\tlabel: e === \"orders\" && r > 0 ? `${n(e)} (${s(r)})` : n(e)\n\t}));\n\treturn /* @__PURE__ */ H(c, {\n\t\taxis: \"x\",\n\t\tariaLabel: o(\"trading.tab.group\"),\n\t\tclassName: \"ct:overflow-x-auto ct:border-b ct:border-(--ct-border) ct:bg-(--ct-surface-muted)\",\n\t\tchildren: /* @__PURE__ */ H(fe, {\n\t\t\ttabs: l,\n\t\t\tactiveId: e,\n\t\t\tonChange: i,\n\t\t\tariaLabel: o(\"trading.tab.group\"),\n\t\t\tidBase: a,\n\t\t\tclassName: \"ct:flex ct:min-w-max ct:gap-2 ct:px-3 ct:py-2\",\n\t\t\ttabClassName: (e) => `ct-focusable ct-pressable ct:whitespace-nowrap ct:rounded-full ct:px-3 ct:py-1.5 ct:text-sm ct:font-medium ${e ? \"ct-primary-action ct:text-(--ct-primary-foreground)\" : \"ct:text-(--ct-muted-foreground) ct:hover:bg-(--ct-surface-interactive) ct:hover:text-(--ct-foreground)\"}`\n\t\t})\n\t});\n}\nfunction Zt(e) {\n\tlet { activeTab: t, walletAddress: n } = e;\n\tif (t !== \"orderbook\" && !n) return /* @__PURE__ */ H(Qt, {});\n\tlet r = n ?? \"\";\n\treturn t === \"positions\" ? /* @__PURE__ */ H(Lt, {\n\t\tholdings: e.positions?.holdings ?? [],\n\t\tisLoading: e.positionsLoading,\n\t\ttotalValue: e.positions?.totalValue\n\t}) : t === \"orders\" ? /* @__PURE__ */ H(It, {\n\t\tlimitOrders: e.limitOrders,\n\t\tdcaOrders: e.dcaOrders,\n\t\tisLoading: e.ordersLoading,\n\t\tonCancel: e.onCancel\n\t}) : t === \"pnl\" ? /* @__PURE__ */ H(Rt, { walletAddress: r }) : t === \"history\" ? /* @__PURE__ */ H(Wt, { walletAddress: r }) : t === \"monitored\" ? /* @__PURE__ */ H(Kt, { walletAddress: r }) : t === \"orderbook\" && e.manifestMarket ? /* @__PURE__ */ H(Pt, { marketAddress: e.manifestMarket }) : /* @__PURE__ */ H(Qt, {});\n}\nfunction Qt() {\n\tlet { t: e } = D();\n\treturn /* @__PURE__ */ U(\"div\", {\n\t\tclassName: \"ct:px-4 ct:py-12 ct:text-center\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ H(a, { tone: \"info\" }),\n\t\t\t/* @__PURE__ */ H(\"h3\", {\n\t\t\t\tclassName: \"ct:mt-4 ct:text-sm ct:font-semibold ct:text-(--ct-foreground)\",\n\t\t\t\tchildren: e(\"public.empty.walletTitle\")\n\t\t\t}),\n\t\t\t/* @__PURE__ */ H(\"p\", {\n\t\t\t\tclassName: \"ct:mx-auto ct:mt-2 ct:max-w-md ct:text-sm ct:leading-6 ct:text-(--ct-muted-foreground)\",\n\t\t\t\tchildren: e(\"public.empty.walletBody\")\n\t\t\t})\n\t\t]\n\t});\n}\n// src/components/trading/TradingPage.tsx\nfunction $t({ walletAddress: e, walletId: t, inputMint: n = \"So11111111111111111111111111111111111111112\", outputMint: r = \"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v\", inputSymbol: i = \"SOL\", outputSymbol: a = \"USDC\", tradingViewSymbol: o = \"SOLUSD\", chartType: s = \"tradingview\", manifestMarket: c, theme: l, onSign: u, onOrderSuccess: d, className: f = \"\", showHeader: p }) {\n\tlet { t: m, formatNumber: h } = D(), g = Y(), [_, v] = B(\"positions\"), y = Ke() && !!(e && u), b = y ? e ?? null : null, { limitOrders: x, dcaOrders: S, isLoading: C, cancelOrder: ee, refresh: te } = ke(b), { positions: w, isLoading: ne } = De(b), T = (e) => m(e === \"positions\" ? \"trading.tab.positions\" : e === \"orders\" ? \"trading.tab.orders\" : e === \"pnl\" ? \"trading.tab.pnl\" : e === \"history\" ? \"trading.tab.history\" : e === \"monitored\" ? \"trading.tab.monitored\" : \"trading.tab.orderbook\");\n\tif (!y) return /* @__PURE__ */ H(Je, {\n\t\tshowHeader: p,\n\t\teyebrow: \"\",\n\t\ttitle: m(\"trading.title\"),\n\t\tdescription: \"\",\n\t\tclassName: `ct-unavailable-shell ${f}`,\n\t\tchildren: /* @__PURE__ */ H(Ue, {\n\t\t\ttitle: m(\"public.tradingUnavailable.title\"),\n\t\t\tbody: m(\"public.tradingUnavailable.body\")\n\t\t})\n\t});\n\tlet re = async (t) => {\n\t\tif (!e || !u) return;\n\t\tlet n = await u((await ee(t, e)).transaction);\n\t\tawait g.executeTransaction(n, \"rpc\"), await te();\n\t};\n\treturn /* @__PURE__ */ H(Je, {\n\t\tshowHeader: p,\n\t\teyebrow: \"Cedros Trade\",\n\t\ttitle: m(\"metadata.page.trading.displayName\"),\n\t\tdescription: m(\"public.tradingDescription\"),\n\t\tprimaryBadge: m(\"public.badge.walletRequired\"),\n\t\tsecondaryBadge: m(\"public.badge.hostSigned\"),\n\t\tclassName: f,\n\t\tstats: [{\n\t\t\tlabel: m(\"trading.tab.orders\"),\n\t\t\tvalue: h(x.length)\n\t\t}, {\n\t\t\tlabel: m(\"trading.tab.orderbook\"),\n\t\t\tvalue: m(c ? \"orderbook.live\" : \"common.unavailable\")\n\t\t}],\n\t\tnotices: [{\n\t\t\ttitle: m(\"public.notice.walletTitle\"),\n\t\t\tbody: m(\"public.notice.walletBody\")\n\t\t}, {\n\t\t\ttitle: m(\"public.notice.signingTitle\"),\n\t\t\tbody: m(\"public.notice.signingBody\")\n\t\t}],\n\t\tchildren: /* @__PURE__ */ U(\"div\", {\n\t\t\tclassName: \"ct-panel-elevated ct:overflow-hidden ct-radius-panel\",\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ H(Jt, {\n\t\t\t\t\tchartType: s,\n\t\t\t\t\ttradingViewSymbol: o,\n\t\t\t\t\ttheme: l,\n\t\t\t\t\torderFormProps: {\n\t\t\t\t\t\twalletAddress: e,\n\t\t\t\t\t\twalletId: t,\n\t\t\t\t\t\tinputMint: n,\n\t\t\t\t\t\toutputMint: r,\n\t\t\t\t\t\tinputSymbol: i,\n\t\t\t\t\t\toutputSymbol: a,\n\t\t\t\t\t\tonSign: u,\n\t\t\t\t\t\tonSuccess: d\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ H(Yt, {\n\t\t\t\t\tactiveTab: _,\n\t\t\t\t\tavailableTabs: [\n\t\t\t\t\t\t\"positions\",\n\t\t\t\t\t\t\"orders\",\n\t\t\t\t\t\t\"pnl\",\n\t\t\t\t\t\t\"history\",\n\t\t\t\t\t\t\"monitored\",\n\t\t\t\t\t\t...c ? [\"orderbook\"] : []\n\t\t\t\t\t],\n\t\t\t\t\ttabLabel: T,\n\t\t\t\t\torderCount: x.length,\n\t\t\t\t\tonSelect: v,\n\t\t\t\t\twalletAddress: e,\n\t\t\t\t\tmanifestMarket: c,\n\t\t\t\t\tpositions: w,\n\t\t\t\t\tpositionsLoading: ne,\n\t\t\t\t\tlimitOrders: x,\n\t\t\t\t\tdcaOrders: S,\n\t\t\t\t\tordersLoading: C,\n\t\t\t\t\tonCancel: e && u ? re : void 0\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ H(\"div\", {\n\t\t\t\t\tclassName: \"ct:xl:hidden ct:border-t ct:border-(--ct-border) ct:p-4\",\n\t\t\t\t\tchildren: /* @__PURE__ */ H(vt, {\n\t\t\t\t\t\twalletAddress: e,\n\t\t\t\t\t\twalletId: t,\n\t\t\t\t\t\tinputMint: n,\n\t\t\t\t\t\toutputMint: r,\n\t\t\t\t\t\tinputSymbol: i,\n\t\t\t\t\t\toutputSymbol: a,\n\t\t\t\t\t\tonSign: u,\n\t\t\t\t\t\tonSuccess: d\n\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t]\n\t\t})\n\t});\n}\n// src/components/portfolio/PortfolioPage.tsx\nfunction en({ walletAddress: e, className: t = \"\", showHeader: n }) {\n\tlet { t: r, formatCurrency: i, formatNumber: a, formatTime: o } = D(), l = Ke() ? e : void 0, { positions: u, isLoading: d, error: f, refresh: p } = De(l ?? null), [m, h] = B(null);\n\treturn L(() => {\n\t\tu && !d && h(Date.now());\n\t}, [u, d]), /* @__PURE__ */ H(Je, {\n\t\tshowHeader: n,\n\t\teyebrow: \"\",\n\t\ttitle: r(\"portfolio.title\"),\n\t\tdescription: l ? r(\"public.portfolioDescription\") : \"\",\n\t\tprimaryBadge: l ? r(\"public.badge.walletConnected\") : void 0,\n\t\tsecondaryBadge: l ? r(\"public.badge.privateDataSafe\") : void 0,\n\t\tclassName: `${l ? \"\" : \"ct-unavailable-shell\"} ${t}`,\n\t\tstats: l ? [{\n\t\t\tlabel: r(\"portfolio.totalValue\"),\n\t\t\tvalue: u ? i(u.totalValue) : r(\"common.unavailable\")\n\t\t}, {\n\t\t\tlabel: r(\"portfolio.openOrders\"),\n\t\t\tvalue: u ? a(u.openOrders) : \"—\"\n\t\t}] : [],\n\t\tnotices: l ? [{\n\t\t\ttitle: r(\"public.notice.indexerTitle\"),\n\t\t\tbody: r(\"public.notice.indexerBody\")\n\t\t}] : [],\n\t\tchildren: /* @__PURE__ */ U(\"div\", {\n\t\t\tclassName: \"ct:mx-auto ct:w-full ct:max-w-3xl ct:space-y-4\",\n\t\t\tchildren: [l && /* @__PURE__ */ U(\"div\", {\n\t\t\t\tclassName: \"ct-panel ct:flex ct:flex-wrap ct:items-center ct:justify-between ct:gap-3 ct-radius-card ct:p-4\",\n\t\t\t\tchildren: [/* @__PURE__ */ U(\"div\", { children: [\n\t\t\t\t\t/* @__PURE__ */ H(\"h2\", {\n\t\t\t\t\t\tclassName: \"ct:text-lg ct:font-semibold ct:text-(--ct-foreground)\",\n\t\t\t\t\t\tchildren: r(\"portfolio.title\")\n\t\t\t\t\t}),\n\t\t\t\t\t/* @__PURE__ */ H(\"p\", {\n\t\t\t\t\t\tclassName: \"ct:mt-1 ct:text-xs ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\tchildren: r(\"public.portfolioDescription\")\n\t\t\t\t\t}),\n\t\t\t\t\tm !== null && /* @__PURE__ */ H(\"p\", {\n\t\t\t\t\t\tclassName: \"ct:mt-1 ct:text-xs ct-tabular-num ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\t\tchildren: r(\"common.updated\", { time: o(m) })\n\t\t\t\t\t})\n\t\t\t\t] }), /* @__PURE__ */ H(v, {\n\t\t\t\t\tonClick: p,\n\t\t\t\t\tdisabled: d || !l,\n\t\t\t\t\tclassName: \"ct-focusable ct-pressable ct:inline-flex ct:items-center ct:gap-2 ct-radius-control ct:border ct:border-(--ct-border) ct:bg-(--ct-surface-muted) ct:px-3 ct:py-1.5 ct:text-sm ct:font-medium ct:text-(--ct-foreground) ct:hover:bg-(--ct-surface-interactive) ct:disabled:cursor-not-allowed ct:disabled:opacity-50\",\n\t\t\t\t\tchildren: /* @__PURE__ */ H(s, { children: d ? /* @__PURE__ */ H(X, { className: \"ct:h-4 ct:w-4\" }) : r(\"common.refresh\") })\n\t\t\t\t})]\n\t\t\t}), l ? /* @__PURE__ */ U(V, { children: [\n\t\t\t\t/* @__PURE__ */ H(Pe, { message: f }),\n\t\t\t\t/* @__PURE__ */ H(Ne, {\n\t\t\t\t\ttone: \"warning\",\n\t\t\t\t\tmessage: u?.degraded ? r(\"portfolio.degradedBalances\") : null\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ H(c, {\n\t\t\t\t\taxis: \"x\",\n\t\t\t\t\tariaLabel: r(\"portfolio.title\"),\n\t\t\t\t\tclassName: \"ct-panel ct:overflow-x-auto ct-radius-card\",\n\t\t\t\t\tchildren: /* @__PURE__ */ H(Lt, {\n\t\t\t\t\t\tholdings: u?.holdings ?? [],\n\t\t\t\t\t\tisLoading: d\n\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t] }) : /* @__PURE__ */ H(Ue, {\n\t\t\t\ttitle: r(\"public.portfolioUnavailable.title\"),\n\t\t\t\tbody: r(\"public.portfolioUnavailable.body\")\n\t\t\t})]\n\t\t})\n\t});\n}\nexport { je as A, He as C, Pe as D, X as E, xe as F, Ce as I, Y as L, De as M, Ee as N, Ne as O, Te as P, Se as R, Ke as S, Le as T, ot as _, Rt as a, Q as b, kt as c, Et as d, Dt as f, ct as g, lt as h, Wt as i, ke as j, Me as k, Ot as l, vt as m, $t as n, Lt as o, yt as p, Kt as r, It as s, en as t, wt as u, it as v, Be as w, Z as x, Je as y, q as z };\n","imports":[{"dynamic":false,"end":440,"specifier":"./approvedPair-C2gVtD2Y.js","start":414},{"dynamic":false,"end":512,"specifier":"./Tabs-BK1QJlcw.js","start":494},{"dynamic":false,"end":668,"specifier":"react","start":663},{"dynamic":false,"end":740,"specifier":"react/jsx-runtime","start":723},{"dynamic":true,"end":98623,"specifier":"./CandlestickPlot-CH_oM9Mm.js","start":98592}],"hasUnsupportedDynamicImports":false},{"path":"workspace/react/dist/runtimeStyles--FvTipgV.js","kind":"module","text":"import { B as e, lt as t, nt as n, rt as r } from \"./approvedPair-C2gVtD2Y.js\";\nimport { F as i, I as a, h as o, n as s, t as c, v as l, w as u, y as d } from \"./portfolio-N8aWyHHT.js\";\nimport { t as f } from \"./cedros-extension.manifest-B-7fANy7.js\";\nimport \"react\";\nimport { jsx as p, jsxs as m } from \"react/jsx-runtime\";\nvar h = \"main\";\nfunction g(e, t) {\n\tlet n = C(t), r = e && typeof e == \"object\" && !Array.isArray(e) ? e : {}, i = \"props\" in r ? r.props : r, a = i && typeof i == \"object\" && !Array.isArray(i) ? i : {}, o = \"surface\" in a ? a.surface : void 0, s = o === \"swap\" || o === \"transfer\" || o === \"trading\" || o === \"portfolio\" ? o : \"swap\", c = n[s];\n\treturn {\n\t\tsurface: s,\n\t\theading: \"heading\" in a && typeof a.heading == \"string\" ? a.heading : c.heading,\n\t\tbody: \"body\" in a && typeof a.body == \"string\" ? a.body : c.body,\n\t\tshowHeader: \"showHeader\" in a && typeof a.showHeader == \"boolean\" ? a.showHeader : c.showHeader\n\t};\n}\nfunction _(e, t, n) {\n\treturn e === \"swap\" ? /* @__PURE__ */ p(l, { showHeader: n }) : e === \"transfer\" ? /* @__PURE__ */ p(o, { showHeader: n }) : e === \"portfolio\" ? /* @__PURE__ */ p(c, { showHeader: n }) : /* @__PURE__ */ p(s, {\n\t\ttheme: t,\n\t\tshowHeader: n\n\t});\n}\nvar v = () => null;\nfunction y(e) {\n\treturn {\n\t\tserverUrl: e.config?.serverUrl ?? \"/extensions/cedros-trade\",\n\t\tgetAccessToken: e.config?.getAccessToken ?? v,\n\t\tapiKey: e.config?.apiKey,\n\t\ti18n: e.config?.i18n\n\t};\n}\nfunction b(e) {\n\tlet t = g(e, n()), r = y(e), a = e.colorMode ?? \"system\", o = e.props ?? e;\n\treturn /* @__PURE__ */ p(i, {\n\t\tconfig: r,\n\t\ttheme: a,\n\t\tchildren: t.surface === \"swap\" && o.executionMode === \"jupiter\" ? /* @__PURE__ */ p(x, {\n\t\t\tinitialOutputMint: o.initialOutputMint,\n\t\t\tshowHeader: t.showHeader,\n\t\t\ttitle: typeof o.heading == \"string\" ? o.heading : void 0,\n\t\t\tdescription: typeof o.body == \"string\" ? o.body : void 0\n\t\t}, r.serverUrl) : /* @__PURE__ */ p(S, {\n\t\t\tsurface: t.surface,\n\t\t\theading: t.heading,\n\t\t\tbody: t.body,\n\t\t\tshowHeader: t.showHeader\n\t\t})\n\t});\n}\nfunction x(t) {\n\tlet { t: r } = n(), { data: i, error: a } = e({\n\t\tkey: [\"external-wallet-swap-module\"],\n\t\tinitialData: null,\n\t\tload: async () => (await import(\"./ExternalWalletSwap-CNrX_zRs.js\")).ExternalWalletSwap,\n\t\tmapError: () => r(\"errors.requestFailed\")\n\t});\n\treturn i && !a ? /* @__PURE__ */ p(i, { ...t }) : /* @__PURE__ */ m(d, {\n\t\tshowHeader: t.showHeader,\n\t\tclassName: \"ct-external-swap\",\n\t\teyebrow: r(\"jupiter.eyebrow\"),\n\t\ttitle: t.title ?? r(\"jupiter.title\"),\n\t\tdescription: t.description ?? r(\"jupiter.description\"),\n\t\tchildren: [/* @__PURE__ */ m(\"div\", {\n\t\t\tclassName: \"ct-swap-card ct-panel ct:mx-auto ct:w-full ct:max-w-xl ct:space-y-5 ct:rounded-cedros ct:p-6\",\n\t\t\tchildren: [\n\t\t\t\tt.showHeader === !1 && /* @__PURE__ */ p(\"h2\", {\n\t\t\t\t\tclassName: \"ct:text-xl ct:font-semibold\",\n\t\t\t\t\tchildren: t.title ?? r(\"jupiter.title\")\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ p(\"p\", {\n\t\t\t\t\trole: a ? \"alert\" : \"status\",\n\t\t\t\t\tchildren: a ?? r(\"common.loading\")\n\t\t\t\t}),\n\t\t\t\ta && /* @__PURE__ */ p(\"button\", {\n\t\t\t\t\ttype: \"button\",\n\t\t\t\t\tclassName: \"ct-secondary-action ct-focusable ct:w-full\",\n\t\t\t\t\tonClick: () => window.location.reload(),\n\t\t\t\t\tchildren: r(\"common.refresh\")\n\t\t\t\t})\n\t\t\t]\n\t\t}), /* @__PURE__ */ p(u, {\n\t\t\tmode: \"wallet\",\n\t\t\tproviders: [\"jupiter\"]\n\t\t})]\n\t});\n}\nfunction S({ surface: e, heading: t, body: n, showHeader: r }) {\n\tlet { isDark: i } = a();\n\treturn /* @__PURE__ */ m(\"div\", {\n\t\tclassName: \"cedros-trade-block\",\n\t\t\"data-ca5ss4b-block\": \"cedros-trade:trade-surface\",\n\t\tchildren: [\n\t\t\tr && /* @__PURE__ */ m(\"header\", {\n\t\t\t\tclassName: `ct-block-heading ct:mb-6 ${e === \"swap\" ? \"ct-block-heading--quote\" : \"\"}`,\n\t\t\t\tchildren: [/* @__PURE__ */ p(\"h1\", {\n\t\t\t\t\tclassName: \"ct:text-2xl ct:font-semibold ct:text-(--ct-foreground)\",\n\t\t\t\t\tchildren: t\n\t\t\t\t}), /* @__PURE__ */ p(\"p\", {\n\t\t\t\t\tclassName: \"ct:mt-2 ct:text-sm ct:leading-6 ct:text-(--ct-muted-foreground)\",\n\t\t\t\t\tchildren: n\n\t\t\t\t})]\n\t\t\t}),\n\t\t\t_(e, i ? \"dark\" : \"light\", !r),\n\t\t\te !== \"swap\" && /* @__PURE__ */ p(u, { mode: \"preview\" })\n\t\t]\n\t});\n}\nfunction C(e) {\n\tlet n = (n) => e?.t ? e.t(n) : t[n];\n\treturn {\n\t\tswap: {\n\t\t\tsurface: \"swap\",\n\t\t\theading: n(\"swap.previewTitle\"),\n\t\t\tbody: n(\"metadata.surface.swap.body\"),\n\t\t\tshowHeader: !1\n\t\t},\n\t\ttransfer: {\n\t\t\tsurface: \"transfer\",\n\t\t\theading: n(\"transfer.title\"),\n\t\t\tbody: n(\"metadata.surface.transfer.body\"),\n\t\t\tshowHeader: !1\n\t\t},\n\t\ttrading: {\n\t\t\tsurface: \"trading\",\n\t\t\theading: n(\"metadata.page.trading.displayName\"),\n\t\t\tbody: n(\"metadata.surface.trading.body\"),\n\t\t\tshowHeader: !1\n\t\t},\n\t\tportfolio: {\n\t\t\tsurface: \"portfolio\",\n\t\t\theading: n(\"portfolio.title\"),\n\t\t\tbody: n(\"metadata.surface.portfolio.body\"),\n\t\t\tshowHeader: !1\n\t\t}\n\t};\n}\nvar w = C(), T = {\n\ttype: \"cedros-trade:trade-surface\",\n\tdisplayName: t[\"metadata.block.tradeSurface.displayName\"],\n\tdescription: t[\"metadata.block.tradeSurface.description\"],\n\tcategory: \"trading\",\n\tavailability: f.contentBlocks[0].availability,\n\tComponent: b,\n\tnativeFallback: t[\"metadata.block.tradeSurface.nativeFallback\"]\n}, E = [{\n\tid: h,\n\tlabel: \"Main\",\n\torder: 0\n}];\nfunction D(e, t, n) {\n\treturn {\n\t\tid: e,\n\t\tlabel: t,\n\t\tdisplayName: t,\n\t\tcontentTypes: [\"page\"],\n\t\tzones: E,\n\t\tblocks: [{\n\t\t\ttype: T.type,\n\t\t\tzoneId: h,\n\t\t\tprops: w[n]\n\t\t}]\n\t};\n}\nvar O = [\n\tD(\"cedros-trade:quote-template\", t[\"metadata.template.swap.displayName\"], \"swap\"),\n\tD(\"cedros-trade:swap-template\", t[\"metadata.template.swap.displayName\"], \"swap\"),\n\tD(\"cedros-trade:transfer-template\", t[\"metadata.template.transfer.displayName\"], \"transfer\"),\n\tD(\"cedros-trade:trading-template\", t[\"metadata.template.trading.displayName\"], \"trading\"),\n\tD(\"cedros-trade:portfolio-template\", t[\"metadata.template.portfolio.displayName\"], \"portfolio\")\n];\n// src/i18n/webMetadata.ts\nfunction k(e) {\n\tlet t = r(e);\n\treturn {\n\t\tmanifest: f,\n\t\tcontentBlocks: [A(t.t)],\n\t\tcontentTemplates: j(t.t)\n\t};\n}\nfunction A(e) {\n\treturn {\n\t\t...T,\n\t\tdisplayName: e(\"metadata.block.tradeSurface.displayName\"),\n\t\tdescription: e(\"metadata.block.tradeSurface.description\"),\n\t\tComponent: b,\n\t\tnativeFallback: e(\"metadata.block.tradeSurface.nativeFallback\")\n\t};\n}\nfunction j(e) {\n\treturn O.map((t) => {\n\t\tlet n = M(t.id, e);\n\t\treturn {\n\t\t\t...t,\n\t\t\tdisplayName: n,\n\t\t\tlabel: n,\n\t\t\tblocks: t.blocks.map((t) => ({\n\t\t\t\t...t,\n\t\t\t\tprops: N(t.props, e)\n\t\t\t}))\n\t\t};\n\t});\n}\nfunction M(e, t) {\n\treturn e.endsWith(\"quote-template\") || e.endsWith(\"swap-template\") ? t(\"metadata.template.swap.displayName\") : e.endsWith(\"transfer-template\") ? t(\"metadata.template.transfer.displayName\") : e.endsWith(\"trading-template\") ? t(\"metadata.template.trading.displayName\") : t(\"metadata.template.portfolio.displayName\");\n}\nfunction N(e, t) {\n\treturn e.surface === \"swap\" ? P(e, \"swap\", t(\"swap.previewTitle\"), t(\"metadata.surface.swap.body\")) : e.surface === \"transfer\" ? P(e, \"transfer\", t(\"transfer.title\"), t(\"metadata.surface.transfer.body\")) : e.surface === \"portfolio\" ? P(e, \"portfolio\", t(\"portfolio.title\"), t(\"metadata.surface.portfolio.body\")) : P(e, \"trading\", t(\"metadata.page.trading.displayName\"), t(\"metadata.surface.trading.body\"));\n}\nfunction P(e, t, n, r) {\n\treturn {\n\t\tsurface: t,\n\t\theading: n,\n\t\tbody: r,\n\t\tshowHeader: !!e.showHeader\n\t};\n}\n// src/styles/trade.css?inline\nvar F = \"/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:where(.cedros-trade,.cedros-trade *),:where(.cedros-trade,.cedros-trade *):before,:where(.cedros-trade,.cedros-trade *):after,:where(.cedros-trade,.cedros-trade *)::backdrop{--ct-tw-space-y-reverse:0;--ct-tw-border-style:solid;--ct-tw-leading:initial;--ct-tw-font-weight:initial;--ct-tw-tracking:initial;--ct-tw-shadow:0 0 #0000;--ct-tw-shadow-color:initial;--ct-tw-shadow-alpha:100%;--ct-tw-inset-shadow:0 0 #0000;--ct-tw-inset-shadow-color:initial;--ct-tw-inset-shadow-alpha:100%;--ct-tw-ring-color:initial;--ct-tw-ring-shadow:0 0 #0000;--ct-tw-inset-ring-color:initial;--ct-tw-inset-ring-shadow:0 0 #0000;--ct-tw-ring-inset:initial;--ct-tw-ring-offset-width:0px;--ct-tw-ring-offset-color:#fff;--ct-tw-ring-offset-shadow:0 0 #0000}}}.cedros-trade{--ct-font-sans:-apple-system, BlinkMacSystemFont, \\\"Segoe UI\\\", Roboto, \\\"Helvetica Neue\\\", \\\"Noto Sans\\\", Arial, sans-serif, \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\", \\\"Noto Color Emoji\\\";--ct-font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \\\"Liberation Mono\\\", \\\"Courier New\\\", monospace;--ct-tracking-tight:-.025em;--ct-tracking-wide:.025em;--ct-radius-sm:.25rem;--ct-radius-lg:.5rem;--ct-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--ct-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--ct-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a}.cedros-trade .ct\\\\:pointer-events-none{pointer-events:none}.cedros-trade .ct\\\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.cedros-trade .ct\\\\:absolute{position:absolute}.cedros-trade .ct\\\\:fixed{position:fixed}.cedros-trade .ct\\\\:relative{position:relative}.cedros-trade .ct\\\\:sticky{position:sticky}.cedros-trade .ct\\\\:inset-0{inset:0}.cedros-trade .ct\\\\:inset-y-0{inset-block:0}.cedros-trade .ct\\\\:top-0{top:0}.cedros-trade .ct\\\\:top-2{top:.5rem}.cedros-trade .ct\\\\:right-3{right:.75rem}.cedros-trade .ct\\\\:left-0{left:0}.cedros-trade .ct\\\\:left-2{left:.5rem}.cedros-trade .ct\\\\:z-10{z-index:10}.cedros-trade .ct\\\\:z-50{z-index:50}.cedros-trade .ct\\\\:z-1000{z-index:1000}.cedros-trade .ct\\\\:col-start-1{grid-column-start:1}.cedros-trade .ct\\\\:col-start-2{grid-column-start:2}.cedros-trade .ct\\\\:row-span-2{grid-row:span 2/span 2}.cedros-trade .ct\\\\:row-start-1{grid-row-start:1}.cedros-trade .ct\\\\:row-start-2{grid-row-start:2}.cedros-trade .ct\\\\:m-0{margin:0}.cedros-trade .ct\\\\:mx-4{margin-inline:1rem}.cedros-trade .ct\\\\:mx-auto{margin-inline:auto}.cedros-trade .ct\\\\:mt-0\\\\.5{margin-top:.125rem}.cedros-trade .ct\\\\:mt-1{margin-top:.25rem}.cedros-trade .ct\\\\:mt-1\\\\.5{margin-top:.375rem}.cedros-trade .ct\\\\:mt-2{margin-top:.5rem}.cedros-trade .ct\\\\:mt-3{margin-top:.75rem}.cedros-trade .ct\\\\:mt-4{margin-top:1rem}.cedros-trade .ct\\\\:mt-5{margin-top:1.25rem}.cedros-trade .ct\\\\:mb-0{margin-bottom:0}.cedros-trade .ct\\\\:mb-1{margin-bottom:.25rem}.cedros-trade .ct\\\\:mb-2{margin-bottom:.5rem}.cedros-trade .ct\\\\:mb-6{margin-bottom:1.5rem}.cedros-trade .ct\\\\:ml-1{margin-left:.25rem}.cedros-trade .ct\\\\:ml-2{margin-left:.5rem}.cedros-trade .ct\\\\:block{display:block}.cedros-trade .ct\\\\:flex{display:flex}.cedros-trade .ct\\\\:grid{display:grid}.cedros-trade .ct\\\\:hidden{display:none}.cedros-trade .ct\\\\:inline-flex{display:inline-flex}.cedros-trade .ct\\\\:h-2{height:.5rem}.cedros-trade .ct\\\\:h-3{height:.75rem}.cedros-trade .ct\\\\:h-3\\\\.5{height:.875rem}.cedros-trade .ct\\\\:h-4{height:1rem}.cedros-trade .ct\\\\:h-5{height:1.25rem}.cedros-trade .ct\\\\:h-6{height:1.5rem}.cedros-trade .ct\\\\:h-7{height:1.75rem}.cedros-trade .ct\\\\:h-8{height:2rem}.cedros-trade .ct\\\\:h-\\\\[1em\\\\]{height:1em}.cedros-trade .ct\\\\:h-full{height:100%}.cedros-trade .ct\\\\:max-h-48{max-height:12rem}.cedros-trade .ct\\\\:max-h-64{max-height:16rem}.cedros-trade .ct\\\\:max-h-72{max-height:18rem}.cedros-trade .ct\\\\:max-h-\\\\[82vh\\\\]{max-height:82vh}.cedros-trade .ct\\\\:min-h-8{min-height:2rem}.cedros-trade .ct\\\\:min-h-9{min-height:2.25rem}.cedros-trade .ct\\\\:min-h-11{min-height:2.75rem}.cedros-trade .ct\\\\:min-h-40{min-height:10rem}.cedros-trade .ct\\\\:min-h-\\\\[22rem\\\\]{min-height:22rem}.cedros-trade .ct\\\\:min-h-\\\\[34rem\\\\]{min-height:34rem}.cedros-trade .ct\\\\:min-h-\\\\[400px\\\\]{min-height:400px}.cedros-trade .ct\\\\:w-2{width:.5rem}.cedros-trade .ct\\\\:w-3{width:.75rem}.cedros-trade .ct\\\\:w-3\\\\.5{width:.875rem}.cedros-trade .ct\\\\:w-4{width:1rem}.cedros-trade .ct\\\\:w-5{width:1.25rem}.cedros-trade .ct\\\\:w-6{width:1.5rem}.cedros-trade .ct\\\\:w-7{width:1.75rem}.cedros-trade .ct\\\\:w-8{width:2rem}.cedros-trade .ct\\\\:w-16{width:4rem}.cedros-trade .ct\\\\:w-20{width:5rem}.cedros-trade .ct\\\\:w-28{width:7rem}.cedros-trade .ct\\\\:w-80{width:20rem}.cedros-trade .ct\\\\:w-\\\\[1em\\\\]{width:1em}.cedros-trade .ct\\\\:w-full{width:100%}.cedros-trade .ct\\\\:max-w-2xl{max-width:42rem}.cedros-trade .ct\\\\:max-w-3xl{max-width:48rem}.cedros-trade .ct\\\\:max-w-6xl{max-width:72rem}.cedros-trade .ct\\\\:max-w-lg{max-width:32rem}.cedros-trade .ct\\\\:max-w-md{max-width:28rem}.cedros-trade .ct\\\\:max-w-sm{max-width:24rem}.cedros-trade .ct\\\\:max-w-xl{max-width:36rem}.cedros-trade .ct\\\\:max-w-xs{max-width:20rem}.cedros-trade .ct\\\\:min-w-0{min-width:0}.cedros-trade .ct\\\\:min-w-11{min-width:2.75rem}.cedros-trade .ct\\\\:min-w-\\\\[100px\\\\]{min-width:100px}.cedros-trade .ct\\\\:min-w-max{min-width:max-content}.cedros-trade .ct\\\\:flex-1{flex:1}.cedros-trade .ct\\\\:flex-none{flex:none}.cedros-trade .ct\\\\:shrink-0{flex-shrink:0}.cedros-trade .ct\\\\:basis-56{flex-basis:14rem}.cedros-trade .ct\\\\:basis-64{flex-basis:16rem}.cedros-trade .ct\\\\:basis-72{flex-basis:18rem}.cedros-trade .ct\\\\:cursor-pointer{cursor:pointer}.cedros-trade .ct\\\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.cedros-trade .ct\\\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cedros-trade .ct\\\\:grid-cols-\\\\[minmax\\\\(0\\\\,1fr\\\\)_auto\\\\]{grid-template-columns:minmax(0,1fr) auto}.cedros-trade .ct\\\\:flex-col{flex-direction:column}.cedros-trade .ct\\\\:flex-wrap{flex-wrap:wrap}.cedros-trade .ct\\\\:content-center{align-content:center}.cedros-trade .ct\\\\:items-baseline{align-items:baseline}.cedros-trade .ct\\\\:items-center{align-items:center}.cedros-trade .ct\\\\:items-start{align-items:flex-start}.cedros-trade .ct\\\\:justify-between{justify-content:space-between}.cedros-trade .ct\\\\:justify-center{justify-content:center}.cedros-trade .ct\\\\:justify-end{justify-content:flex-end}.cedros-trade .ct\\\\:gap-1{gap:.25rem}.cedros-trade .ct\\\\:gap-1\\\\.5{gap:.375rem}.cedros-trade .ct\\\\:gap-2{gap:.5rem}.cedros-trade .ct\\\\:gap-2\\\\.5{gap:.625rem}.cedros-trade .ct\\\\:gap-3{gap:.75rem}.cedros-trade .ct\\\\:gap-4{gap:1rem}.cedros-trade .ct\\\\:gap-5{gap:1.25rem}.cedros-trade .ct\\\\:gap-6{gap:1.5rem}:where(.cedros-trade .ct\\\\:space-y-1>:not(:last-child)){--ct-tw-space-y-reverse:0;margin-block-start:calc(.25rem * var(--ct-tw-space-y-reverse));margin-block-end:calc(.25rem * calc(1 - var(--ct-tw-space-y-reverse)))}:where(.cedros-trade .ct\\\\:space-y-2>:not(:last-child)){--ct-tw-space-y-reverse:0;margin-block-start:calc(calc(.25rem * 2) * var(--ct-tw-space-y-reverse));margin-block-end:calc(calc(.25rem * 2) * calc(1 - var(--ct-tw-space-y-reverse)))}:where(.cedros-trade .ct\\\\:space-y-3>:not(:last-child)){--ct-tw-space-y-reverse:0;margin-block-start:calc(calc(.25rem * 3) * var(--ct-tw-space-y-reverse));margin-block-end:calc(calc(.25rem * 3) * calc(1 - var(--ct-tw-space-y-reverse)))}:where(.cedros-trade .ct\\\\:space-y-4>:not(:last-child)){--ct-tw-space-y-reverse:0;margin-block-start:calc(calc(.25rem * 4) * var(--ct-tw-space-y-reverse));margin-block-end:calc(calc(.25rem * 4) * calc(1 - var(--ct-tw-space-y-reverse)))}:where(.cedros-trade .ct\\\\:space-y-5>:not(:last-child)){--ct-tw-space-y-reverse:0;margin-block-start:calc(calc(.25rem * 5) * var(--ct-tw-space-y-reverse));margin-block-end:calc(calc(.25rem * 5) * calc(1 - var(--ct-tw-space-y-reverse)))}.cedros-trade .ct\\\\:gap-x-1{column-gap:.25rem}.cedros-trade .ct\\\\:gap-x-2{column-gap:.5rem}.cedros-trade .ct\\\\:gap-x-3{column-gap:.75rem}.cedros-trade .ct\\\\:gap-y-1{row-gap:.25rem}.cedros-trade .ct\\\\:self-center{align-self:center}.cedros-trade .ct\\\\:overflow-auto{overflow:auto}.cedros-trade .ct\\\\:overflow-hidden{overflow:hidden}.cedros-trade .ct\\\\:overflow-x-auto{overflow-x:auto}.cedros-trade .ct\\\\:overflow-y-auto{overflow-y:auto}.cedros-trade .ct\\\\:rounded-cedros{border-radius:var(--ct-radius,.625rem)}.cedros-trade .ct\\\\:rounded-cedros-sm{border-radius:var(--ct-radius-sm)}.cedros-trade .ct\\\\:rounded-full{border-radius:2147483647px}.cedros-trade .ct\\\\:rounded-sm{border-radius:.25rem}.cedros-trade .ct\\\\:border{border-style:var(--ct-tw-border-style);border-width:1px}.cedros-trade .ct\\\\:border-0{border-style:var(--ct-tw-border-style);border-width:0}.cedros-trade .ct\\\\:border-y{border-block-style:var(--ct-tw-border-style);border-block-width:1px}.cedros-trade .ct\\\\:border-t{border-top-style:var(--ct-tw-border-style);border-top-width:1px}.cedros-trade .ct\\\\:border-b{border-bottom-style:var(--ct-tw-border-style);border-bottom-width:1px}.cedros-trade .ct\\\\:border-l-2{border-left-style:var(--ct-tw-border-style);border-left-width:2px}.cedros-trade .ct\\\\:border-\\\\(--ct-border\\\\){border-color:var(--ct-border)}.cedros-trade .ct\\\\:border-\\\\(--ct-destructive\\\\){border-color:var(--ct-destructive)}.cedros-trade .ct\\\\:border-\\\\(--ct-info\\\\){border-color:var(--ct-info)}.cedros-trade .ct\\\\:border-\\\\(--ct-primary\\\\){border-color:var(--ct-primary)}.cedros-trade .ct\\\\:border-\\\\(--ct-success\\\\){border-color:var(--ct-success)}.cedros-trade .ct\\\\:border-\\\\(--ct-warning\\\\){border-color:var(--ct-warning)}.cedros-trade .ct\\\\:border-current{border-color:currentColor}.cedros-trade .ct\\\\:border-l-\\\\(--ct-border\\\\){border-left-color:var(--ct-border)}.cedros-trade .ct\\\\:border-l-\\\\(--ct-destructive\\\\){border-left-color:var(--ct-destructive)}.cedros-trade .ct\\\\:border-l-\\\\(--ct-info\\\\){border-left-color:var(--ct-info)}.cedros-trade .ct\\\\:border-l-\\\\(--ct-primary\\\\){border-left-color:var(--ct-primary)}.cedros-trade .ct\\\\:border-l-\\\\(--ct-success\\\\){border-left-color:var(--ct-success)}.cedros-trade .ct\\\\:border-l-\\\\(--ct-warning\\\\){border-left-color:var(--ct-warning)}.cedros-trade .ct\\\\:bg-\\\\(--ct-destructive\\\\){background-color:var(--ct-destructive)}.cedros-trade .ct\\\\:bg-\\\\(--ct-destructive-bg\\\\){background-color:var(--ct-destructive-bg)}.cedros-trade .ct\\\\:bg-\\\\(--ct-info-bg\\\\){background-color:var(--ct-info-bg)}.cedros-trade .ct\\\\:bg-\\\\(--ct-muted\\\\){background-color:var(--ct-muted)}.cedros-trade .ct\\\\:bg-\\\\(--ct-overlay\\\\){background-color:var(--ct-overlay)}.cedros-trade .ct\\\\:bg-\\\\(--ct-primary\\\\){background-color:var(--ct-primary)}.cedros-trade .ct\\\\:bg-\\\\(--ct-success\\\\){background-color:var(--ct-success)}.cedros-trade .ct\\\\:bg-\\\\(--ct-success-bg\\\\){background-color:var(--ct-success-bg)}.cedros-trade .ct\\\\:bg-\\\\(--ct-surface\\\\){background-color:var(--ct-surface)}.cedros-trade .ct\\\\:bg-\\\\(--ct-surface-elevated\\\\){background-color:var(--ct-surface-elevated)}.cedros-trade .ct\\\\:bg-\\\\(--ct-surface-muted\\\\){background-color:var(--ct-surface-muted)}.cedros-trade .ct\\\\:bg-\\\\(--ct-warning-bg\\\\){background-color:var(--ct-warning-bg)}.cedros-trade .ct\\\\:bg-black\\\\/40{background-color:oklab(0% none none/.4)}.cedros-trade .ct\\\\:bg-current{background-color:currentColor}.cedros-trade .ct\\\\:object-contain{object-fit:contain}.cedros-trade .ct\\\\:p-0{padding:0}.cedros-trade .ct\\\\:p-1{padding:.25rem}.cedros-trade .ct\\\\:p-1\\\\.5{padding:.375rem}.cedros-trade .ct\\\\:p-2{padding:.5rem}.cedros-trade .ct\\\\:p-3{padding:.75rem}.cedros-trade .ct\\\\:p-4{padding:1rem}.cedros-trade .ct\\\\:p-5{padding:1.25rem}.cedros-trade .ct\\\\:p-6{padding:1.5rem}.cedros-trade .ct\\\\:px-1{padding-inline:.25rem}.cedros-trade .ct\\\\:px-1\\\\.5{padding-inline:.375rem}.cedros-trade .ct\\\\:px-2{padding-inline:.5rem}.cedros-trade .ct\\\\:px-2\\\\.5{padding-inline:.625rem}.cedros-trade .ct\\\\:px-3{padding-inline:.75rem}.cedros-trade .ct\\\\:px-4{padding-inline:1rem}.cedros-trade .ct\\\\:px-5{padding-inline:1.25rem}.cedros-trade .ct\\\\:py-0\\\\.5{padding-block:.125rem}.cedros-trade .ct\\\\:py-1{padding-block:.25rem}.cedros-trade .ct\\\\:py-1\\\\.5{padding-block:.375rem}.cedros-trade .ct\\\\:py-2{padding-block:.5rem}.cedros-trade .ct\\\\:py-2\\\\.5{padding-block:.625rem}.cedros-trade .ct\\\\:py-3{padding-block:.75rem}.cedros-trade .ct\\\\:py-3\\\\.5{padding-block:.875rem}.cedros-trade .ct\\\\:py-4{padding-block:1rem}.cedros-trade .ct\\\\:py-6{padding-block:1.5rem}.cedros-trade .ct\\\\:py-7{padding-block:1.75rem}.cedros-trade .ct\\\\:py-8{padding-block:2rem}.cedros-trade .ct\\\\:py-10{padding-block:2.5rem}.cedros-trade .ct\\\\:py-12{padding-block:3rem}.cedros-trade .ct\\\\:pr-9{padding-right:2.25rem}.cedros-trade .ct\\\\:pr-12{padding-right:3rem}.cedros-trade .ct\\\\:pb-2{padding-bottom:.5rem}.cedros-trade .ct\\\\:pl-3{padding-left:.75rem}.cedros-trade .ct\\\\:pl-9{padding-left:2.25rem}.cedros-trade .ct\\\\:text-center{text-align:center}.cedros-trade .ct\\\\:text-left{text-align:left}.cedros-trade .ct\\\\:text-right{text-align:right}.cedros-trade .ct\\\\:font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.cedros-trade .ct\\\\:text-2xl{font-size:1.5rem;line-height:var(--ct-tw-leading,calc(2 / 1.5))}.cedros-trade .ct\\\\:text-3xl{font-size:1.875rem;line-height:var(--ct-tw-leading,calc(2.25 / 1.875))}.cedros-trade .ct\\\\:text-base{font-size:1rem;line-height:var(--ct-tw-leading,calc(1.5 / 1))}.cedros-trade .ct\\\\:text-lg{font-size:1.125rem;line-height:var(--ct-tw-leading,calc(1.75 / 1.125))}.cedros-trade .ct\\\\:text-sm{font-size:.875rem;line-height:var(--ct-tw-leading,calc(1.25 / .875))}.cedros-trade .ct\\\\:text-xl{font-size:1.25rem;line-height:var(--ct-tw-leading,calc(1.75 / 1.25))}.cedros-trade .ct\\\\:text-xs{font-size:.75rem;line-height:var(--ct-tw-leading,calc(1 / .75))}.cedros-trade .ct\\\\:text-\\\\[9px\\\\]{font-size:9px}.cedros-trade .ct\\\\:text-\\\\[10px\\\\]{font-size:10px}.cedros-trade .ct\\\\:leading-5{--ct-tw-leading:calc(.25rem * 5);line-height:1.25rem}.cedros-trade .ct\\\\:leading-6{--ct-tw-leading:calc(.25rem * 6);line-height:1.5rem}.cedros-trade .ct\\\\:leading-none{--ct-tw-leading:1;line-height:1}.cedros-trade .ct\\\\:leading-tight{--ct-tw-leading:1.25;line-height:1.25}.cedros-trade .ct\\\\:font-medium{--ct-tw-font-weight:500;font-weight:500}.cedros-trade .ct\\\\:font-normal{--ct-tw-font-weight:400;font-weight:400}.cedros-trade .ct\\\\:font-semibold{--ct-tw-font-weight:600;font-weight:600}.cedros-trade .ct\\\\:tracking-wide{--ct-tw-tracking:.025em;letter-spacing:.025em}.cedros-trade .ct\\\\:wrap-break-word{overflow-wrap:break-word}.cedros-trade .ct\\\\:break-all{word-break:break-all}.cedros-trade .ct\\\\:whitespace-nowrap{white-space:nowrap}.cedros-trade .ct\\\\:text-\\\\(--ct-destructive\\\\){color:var(--ct-destructive)}.cedros-trade .ct\\\\:text-\\\\(--ct-destructive-foreground\\\\){color:var(--ct-destructive-foreground)}.cedros-trade .ct\\\\:text-\\\\(--ct-foreground\\\\){color:var(--ct-foreground)}.cedros-trade .ct\\\\:text-\\\\(--ct-info\\\\){color:var(--ct-info)}.cedros-trade .ct\\\\:text-\\\\(--ct-muted-foreground\\\\){color:var(--ct-muted-foreground)}.cedros-trade .ct\\\\:text-\\\\(--ct-primary\\\\){color:var(--ct-primary)}.cedros-trade .ct\\\\:text-\\\\(--ct-primary-foreground\\\\){color:var(--ct-primary-foreground)}.cedros-trade .ct\\\\:text-\\\\(--ct-success\\\\){color:var(--ct-success)}.cedros-trade .ct\\\\:text-\\\\(--ct-success-foreground\\\\){color:var(--ct-success-foreground)}.cedros-trade .ct\\\\:text-\\\\(--ct-warning\\\\){color:var(--ct-warning)}.cedros-trade .ct\\\\:text-current{color:currentColor}.cedros-trade .ct\\\\:capitalize{text-transform:capitalize}.cedros-trade .ct\\\\:uppercase{text-transform:uppercase}.cedros-trade .ct\\\\:placeholder-\\\\(--ct-muted-foreground\\\\)::placeholder{color:var(--ct-muted-foreground)}.cedros-trade .ct\\\\:accent-\\\\(--ct-primary\\\\){accent-color:var(--ct-primary)}.cedros-trade .ct\\\\:opacity-0{opacity:0}.cedros-trade .ct\\\\:opacity-10{opacity:.1}.cedros-trade .ct\\\\:opacity-50{opacity:.5}.cedros-trade .ct\\\\:opacity-80{opacity:.8}.cedros-trade .ct\\\\:shadow-cedros{--ct-tw-shadow:var(--ct-shadow-sm);box-shadow:var(--ct-tw-inset-shadow), var(--ct-tw-inset-ring-shadow), var(--ct-tw-ring-offset-shadow), var(--ct-tw-ring-shadow), var(--ct-tw-shadow)}.cedros-trade .ct\\\\:outline-hidden{--ct-tw-outline-style:none;outline-style:none}@media (forced-colors:active){.cedros-trade .ct\\\\:outline-hidden{outline-offset:2px;outline:2px solid #0000}}.cedros-trade .ct\\\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--ct-tw-gradient-from,--ct-tw-gradient-via,--ct-tw-gradient-to;transition-timing-function:var(--ct-tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--ct-tw-duration,.15s)}.cedros-trade .ct\\\\:last\\\\:border-b-0:last-child{border-bottom-style:var(--ct-tw-border-style);border-bottom-width:0}@media (hover:hover){.cedros-trade .ct\\\\:hover\\\\:bg-\\\\(--ct-buy-bg\\\\):hover{background-color:var(--ct-buy-bg)}.cedros-trade .ct\\\\:hover\\\\:bg-\\\\(--ct-destructive-bg\\\\):hover{background-color:var(--ct-destructive-bg)}.cedros-trade .ct\\\\:hover\\\\:bg-\\\\(--ct-info-bg\\\\):hover{background-color:var(--ct-info-bg)}.cedros-trade .ct\\\\:hover\\\\:bg-\\\\(--ct-muted\\\\):hover{background-color:var(--ct-muted)}.cedros-trade .ct\\\\:hover\\\\:bg-\\\\(--ct-primary\\\\):hover{background-color:var(--ct-primary)}.cedros-trade .ct\\\\:hover\\\\:bg-\\\\(--ct-sell-bg\\\\):hover{background-color:var(--ct-sell-bg)}.cedros-trade .ct\\\\:hover\\\\:bg-\\\\(--ct-surface-interactive\\\\):hover{background-color:var(--ct-surface-interactive)}.cedros-trade .ct\\\\:hover\\\\:bg-\\\\(--ct-warning-bg\\\\):hover{background-color:var(--ct-warning-bg)}.cedros-trade .ct\\\\:hover\\\\:text-\\\\(--ct-foreground\\\\):hover{color:var(--ct-foreground)}.cedros-trade .ct\\\\:hover\\\\:text-\\\\(--ct-primary-foreground\\\\):hover{color:var(--ct-primary-foreground)}.cedros-trade .ct\\\\:hover\\\\:text-\\\\(--ct-warning\\\\):hover{color:var(--ct-warning)}.cedros-trade .ct\\\\:hover\\\\:opacity-70:hover{opacity:.7}}.cedros-trade .ct\\\\:disabled\\\\:cursor-not-allowed:disabled{cursor:not-allowed}.cedros-trade .ct\\\\:disabled\\\\:opacity-50:disabled{opacity:.5}@media (width>=40rem){.cedros-trade .ct\\\\:sm\\\\:w-auto{width:auto}.cedros-trade .ct\\\\:sm\\\\:flex-none{flex:none}.cedros-trade .ct\\\\:sm\\\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cedros-trade .ct\\\\:sm\\\\:grid-cols-\\\\[8rem_1fr\\\\]{grid-template-columns:8rem 1fr}.cedros-trade .ct\\\\:sm\\\\:justify-end{justify-content:flex-end}.cedros-trade .ct\\\\:sm\\\\:gap-2{gap:.5rem}.cedros-trade .ct\\\\:sm\\\\:p-5{padding:1.25rem}.cedros-trade .ct\\\\:sm\\\\:p-6{padding:1.5rem}.cedros-trade .ct\\\\:sm\\\\:px-6{padding-inline:1.5rem}.cedros-trade .ct\\\\:sm\\\\:text-3xl{font-size:1.875rem;line-height:var(--ct-tw-leading,calc(2.25 / 1.875))}.cedros-trade .ct\\\\:sm\\\\:text-4xl{font-size:2.25rem;line-height:var(--ct-tw-leading,calc(2.5 / 2.25))}.cedros-trade .ct\\\\:sm\\\\:text-base{font-size:1rem;line-height:var(--ct-tw-leading,calc(1.5 / 1))}}@media (width>=48rem){.cedros-trade .ct\\\\:md\\\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=64rem){.cedros-trade .ct\\\\:lg\\\\:grid-cols-\\\\[minmax\\\\(0\\\\,1fr\\\\)_minmax\\\\(17rem\\\\,24rem\\\\)\\\\]{grid-template-columns:minmax(0,1fr) minmax(17rem,24rem)}.cedros-trade .ct\\\\:lg\\\\:items-end{align-items:flex-end}.cedros-trade .ct\\\\:lg\\\\:py-10{padding-block:2.5rem}}@media (width>=80rem){.cedros-trade .ct\\\\:xl\\\\:block{display:block}.cedros-trade .ct\\\\:xl\\\\:hidden{display:none}.cedros-trade .ct\\\\:xl\\\\:flex-row{flex-direction:row}.cedros-trade .ct\\\\:xl\\\\:border-r{border-right-style:var(--ct-tw-border-style);border-right-width:1px}.cedros-trade .ct\\\\:xl\\\\:border-\\\\[var\\\\(--ct-border\\\\)\\\\]{border-color:var(--ct-border)}}.cedros-trade{--ct-background:var(--ca5ss4b-runtime-bg,var(--ca5ss4br-bg,var(--ca5ss4b-background,#fafafa)));--ct-foreground:var(--ca5ss4b-runtime-text,var(--ca5ss4br-fg,var(--ca5ss4b-foreground,#171717)));--ct-surface:var(--ca5ss4b-runtime-panel,var(--ca5ss4br-panel,var(--ct-background)));--ct-surface-elevated:var(--ct-surface);--ct-surface-muted:var(--ca5ss4b-runtime-panel,var(--ca5ss4br-panel,var(--ca5ss4b-muted,var(--ct-surface))))}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-surface-muted:color-mix(in srgb, var(--ca5ss4b-runtime-panel,var(--ca5ss4br-panel,var(--ca5ss4b-muted,var(--ct-surface)))) 94%, var(--ct-foreground) 6%)}}.cedros-trade{--ct-surface-interactive:var(--ca5ss4b-runtime-accent-soft,var(--ca5ss4br-link-soft,var(--ca5ss4b-accent,var(--ct-surface-muted))));--ct-muted:var(--ct-surface-muted);--ct-muted-foreground:var(--ca5ss4b-runtime-muted,var(--ca5ss4br-muted,var(--ca5ss4b-muted-foreground,#595959)));--ct-border:var(--ca5ss4b-runtime-border,var(--ca5ss4br-border,var(--ca5ss4b-border,#e5e5e5)));--ct-border-strong:var(--ct-border)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-border-strong:color-mix(in srgb, var(--ct-border) 70%, var(--ct-foreground) 30%)}}.cedros-trade{--ct-input:var(--ca5ss4b-runtime-border,var(--ca5ss4br-border,var(--ca5ss4b-border,#e5e5e5)));--ct-ring:var(--ca5ss4b-ring,var(--ca5ss4b-runtime-accent,#737373));--ct-control-border:var(--ct-ring)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-control-border:color-mix(in srgb, var(--ct-ring) 75%, var(--ct-border))}}.cedros-trade{--ct-primary:var(--ca5ss4b-runtime-action-bg,var(--ca5ss4br-primary,var(--ca5ss4b-primary,#262626)));--ct-primary-foreground:var(--ca5ss4b-runtime-action-fg,var(--ca5ss4br-primary-fg,var(--ca5ss4b-primary-foreground,#fff)));--ct-link:var(--ca5ss4b-runtime-accent,var(--ca5ss4br-link-strong,var(--ca5ss4b-link,#2f6c7d)));--ct-destructive:var(--ca5ss4b-runtime-error,var(--ca5ss4b-error,#b91c1c));--ct-destructive-foreground:#fff;--ct-success:var(--ca5ss4b-success,#166534);--ct-success-foreground:#fff;--ct-warning:var(--ca5ss4b-runtime-warning,#d97706)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-warning:color-mix(in srgb, var(--ca5ss4b-runtime-warning,#d97706) 55%, var(--ct-foreground))}}.cedros-trade{--ct-info:var(--ca5ss4b-runtime-text,var(--ca5ss4br-fg,var(--ca5ss4b-foreground,#1d4ed8)));--ct-radius:var(--ca5ss4b-radius,8px);--ct-radius-sm:max(calc(var(--ct-radius) - 3px), .25rem);--ct-radius-lg:calc(var(--ct-radius) + 4px);--ct-radius-control:max(0px, calc(var(--ct-radius) - 1px));--ct-radius-card:var(--ct-radius);--ct-radius-panel:calc(var(--ct-radius) + 4px);--ct-shadow-sm:var(--ca5ss4b-shadow-sm,0 1px 2px var(--ct-foreground))}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-shadow-sm:var(--ca5ss4b-shadow-sm,0 1px 2px color-mix(in srgb, var(--ct-foreground) 6%, transparent))}}.cedros-trade{--ct-shadow-md:var(--ca5ss4b-shadow-md,0 4px 6px -1px var(--ct-foreground))}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-shadow-md:var(--ca5ss4b-shadow-md,0 4px 6px -1px color-mix(in srgb, var(--ct-foreground) 10%, transparent))}}.cedros-trade{--ct-shadow-lg:var(--ca5ss4b-shadow-lg,0 10px 25px -4px var(--ct-foreground))}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-shadow-lg:var(--ca5ss4b-shadow-lg,0 10px 25px -4px color-mix(in srgb, var(--ct-foreground) 12%, transparent))}}.cedros-trade{--ct-shadow-focus:0 0 0 2px var(--ct-surface), 0 0 0 4px var(--ct-ring)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-shadow-focus:0 0 0 2px var(--ct-surface), 0 0 0 4px color-mix(in srgb, var(--ct-ring) 38%, transparent)}}.cedros-trade{--ct-overlay:#00000073;--ct-warning-foreground:#fff;--ct-info-foreground:#fff;--ct-tracking-tight:0;--ct-tracking-wide:0;--ct-spin:.72s;--ct-duration-micro:var(--motion-duration-micro,.1s);--ct-duration-fast:var(--motion-duration-fast,.16s);--ct-duration-panel:var(--motion-duration-standard,.22s);--ct-ease-spring:cubic-bezier(.16, 1, .3, 1);--ct-gradient-brand:var(--ct-primary);--ct-gradient-surface:var(--ct-background);--ct-gradient-market:var(--ct-background);--ct-success-bg:var(--ct-success)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-success-bg:color-mix(in srgb, var(--ct-success) 8%, var(--ct-surface))}}.cedros-trade{--ct-warning-bg:var(--ct-warning)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-warning-bg:color-mix(in srgb, var(--ct-warning) 8%, var(--ct-surface))}}.cedros-trade{--ct-destructive-bg:var(--ct-destructive)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-destructive-bg:color-mix(in srgb, var(--ct-destructive) 8%, var(--ct-surface))}}.cedros-trade{--ct-info-bg:var(--ct-info)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-info-bg:color-mix(in srgb, var(--ct-info) 8%, var(--ct-surface))}}.cedros-trade{--ct-selected-bg:var(--ct-primary)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-selected-bg:color-mix(in srgb, var(--ct-primary) 14%, var(--ct-surface))}}.cedros-trade{--ct-disabled-bg:var(--ct-muted)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-disabled-bg:color-mix(in srgb, var(--ct-muted) 82%, var(--ct-background) 18%)}}.cedros-trade{--ct-buy:var(--ct-success);--ct-sell:var(--ct-destructive);--ct-buy-bg:var(--ct-buy)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-buy-bg:color-mix(in srgb, var(--ct-buy) 10%, transparent)}}.cedros-trade{--ct-sell-bg:var(--ct-sell)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-sell-bg:color-mix(in srgb, var(--ct-sell) 10%, transparent)}}.cedros-trade{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ct-foreground);font-family:var(--ca5ss4b-font-body,inherit);font-feature-settings:\\\"cv02\\\", \\\"cv03\\\", \\\"cv04\\\", \\\"tnum\\\";text-rendering:optimizelegibility}:where(.cedros-trade),:where(.cedros-trade *){box-sizing:border-box}:where(.cedros-trade button,.cedros-trade input,.cedros-trade select){font:inherit}:where(.cedros-trade) :where(h1,h2,h3,h4,p,dl,dd){margin-block-start:0;margin-inline:0}:where(.cedros-trade) :where(:not([class*=space-y-])>:is(h1,h2,h3,h4,p,dl,dd),:is(h1,h2,h3,h4,p,dl,dd):last-child){margin-block-end:0}:where(.cedros-trade button){appearance:none;color:inherit;background:0 0;border:0}@media (width<=40rem){.cedros-trade{overflow-wrap:anywhere;min-width:0}.cedros-trade button,.cedros-trade input:not([type=checkbox]):not([type=radio]),.cedros-trade select,.cedros-trade summary{min-height:2.75rem}.cedros-trade .ct-token-selector-sheet-wrap{max-width:calc(100vw - 1rem)}}.cedros-trade table{border-collapse:collapse}.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-background:var(--ca5ss4b-runtime-bg,var(--ca5ss4br-bg,var(--ca5ss4b-background,#0a0a0a)));--ct-foreground:var(--ca5ss4b-runtime-text,var(--ca5ss4br-fg,var(--ca5ss4b-foreground,#fafafa)));--ct-surface:var(--ca5ss4b-runtime-panel,var(--ca5ss4br-panel,var(--ct-background)));--ct-surface-elevated:var(--ct-surface);--ct-surface-muted:var(--ca5ss4b-runtime-panel,var(--ca5ss4br-panel,var(--ca5ss4b-muted,var(--ct-surface))))}@supports (color:color-mix(in lab, red, red)){.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-surface-muted:color-mix(in srgb, var(--ca5ss4b-runtime-panel,var(--ca5ss4br-panel,var(--ca5ss4b-muted,var(--ct-surface)))) 94%, var(--ct-foreground) 6%)}}.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-surface-interactive:var(--ca5ss4b-runtime-accent-soft,var(--ca5ss4br-link-soft,var(--ca5ss4b-accent,var(--ct-surface-muted))));--ct-muted:var(--ct-surface-muted);--ct-muted-foreground:var(--ca5ss4b-runtime-muted,var(--ca5ss4br-muted,var(--ca5ss4b-muted-foreground,#b3b3b3)));--ct-border:var(--ca5ss4b-runtime-border,var(--ca5ss4br-border,var(--ca5ss4b-border,#262626)));--ct-border-strong:var(--ct-border)}@supports (color:color-mix(in lab, red, red)){.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-border-strong:color-mix(in srgb, var(--ct-border) 64%, var(--ct-foreground) 36%)}}.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-input:var(--ca5ss4b-runtime-border,var(--ca5ss4br-border,var(--ca5ss4b-border,#262626)));--ct-shadow-sm:var(--ca5ss4b-shadow-sm,0 1px 2px var(--ct-foreground))}@supports (color:color-mix(in lab, red, red)){.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-shadow-sm:var(--ca5ss4b-shadow-sm,0 1px 2px color-mix(in srgb, var(--ct-foreground) 6%, transparent))}}.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-shadow-md:var(--ca5ss4b-shadow-md,0 4px 6px -1px var(--ct-foreground))}@supports (color:color-mix(in lab, red, red)){.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-shadow-md:var(--ca5ss4b-shadow-md,0 4px 6px -1px color-mix(in srgb, var(--ct-foreground) 10%, transparent))}}.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-shadow-lg:var(--ca5ss4b-shadow-lg,0 10px 25px -4px var(--ct-foreground))}@supports (color:color-mix(in lab, red, red)){.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-shadow-lg:var(--ca5ss4b-shadow-lg,0 10px 25px -4px color-mix(in srgb, var(--ct-foreground) 12%, transparent))}}.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-shadow-focus:0 0 0 2px var(--ct-surface), 0 0 0 4px var(--ct-ring)}@supports (color:color-mix(in lab, red, red)){.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-shadow-focus:0 0 0 2px var(--ct-surface), 0 0 0 4px color-mix(in srgb, var(--ct-ring) 46%, transparent)}}.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-overlay:#00000073;--ct-ring:var(--ca5ss4b-ring,var(--ca5ss4b-runtime-accent,#9ca3af));--ct-gradient-surface:var(--ct-background);--ct-success:var(--ca5ss4b-success,#4ade80);--ct-destructive:var(--ca5ss4b-runtime-error,var(--ca5ss4b-error,#fca5a5));--ct-destructive-foreground:#111827;--ct-success-foreground:#111827;--ct-warning:var(--ca5ss4b-runtime-warning,#fbbf24)}@supports (color:color-mix(in lab, red, red)){.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-warning:color-mix(in srgb, var(--ca5ss4b-runtime-warning,#fbbf24) 55%, var(--ct-foreground))}}.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-info:var(--ca5ss4b-runtime-text,var(--ca5ss4br-fg,var(--ca5ss4b-foreground,#93c5fd)));--ct-primary:var(--ca5ss4b-runtime-action-bg,var(--ca5ss4br-primary,var(--ca5ss4b-primary,#fafafa)));--ct-primary-foreground:var(--ca5ss4b-runtime-action-fg,var(--ca5ss4br-primary-fg,var(--ca5ss4b-primary-foreground,#171717)));--ct-link:var(--ca5ss4b-runtime-accent,var(--ca5ss4br-link-strong,var(--ca5ss4b-link,#7fb0bd)));--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.cedros-trade .ct-panel{border:1px solid var(--ct-border);background:var(--ct-panel-bg,var(--ct-surface));box-shadow:var(--ct-shadow-sm)}.cedros-trade .ct-panel-elevated{border:1px solid var(--ct-border);background:var(--ct-surface);box-shadow:none}.cedros-trade .ct-panel-info{--ct-panel-bg:var(--ct-info-bg)}.cedros-trade .ct-panel-success{--ct-panel-bg:var(--ct-success-bg)}.cedros-trade .ct-panel-warning{--ct-panel-bg:var(--ct-warning-bg)}.cedros-trade .ct-panel-danger{--ct-panel-bg:var(--ct-destructive-bg)}.cedros-trade .ct-market-wash{background:var(--ct-background)}.cedros-trade .ct-dot-grid{background-image:none}.cedros-trade .ct-field{border-radius:var(--ct-radius-control);background:var(--ct-surface-muted);min-width:0;font-size:1rem;line-height:1.5}@supports (color:color-mix(in lab, red, red)){.cedros-trade .ct-field{background:color-mix(in srgb, var(--ct-surface-muted) 86%, var(--ct-background) 14%)}}.cedros-trade .ct-field{border:1px solid var(--ct-control-border);box-shadow:none}.ca5ss4b-dark .cedros-trade .ct-field,.cedros-trade.cedros-trade--dark .ct-field{box-shadow:none}.cedros-trade .ct-field:focus-visible,.cedros-trade .ct-focusable:focus-visible{outline:2px solid var(--ct-ring);outline-offset:2px;border-color:var(--ct-ring)}@supports (color:color-mix(in lab, red, red)){.cedros-trade .ct-field:focus-visible,.cedros-trade .ct-focusable:focus-visible{border-color:color-mix(in srgb, var(--ct-ring) 72%, var(--ct-border) 28%)}}.cedros-trade .ct-field:focus-visible,.cedros-trade .ct-focusable:focus-visible{box-shadow:var(--ct-shadow-focus)}.cedros-trade .ct-pressable{transition:transform var(--ct-duration-fast) var(--ct-ease-spring), background-color var(--ct-duration-fast) ease-out, border-color var(--ct-duration-fast) ease-out, box-shadow var(--ct-duration-fast) ease-out, opacity var(--ct-duration-fast) ease-out;transform:translateY(0)scale(1)}.cedros-trade .ct-pressable:hover{transform:none}.cedros-trade .ct-pressable:active{transform:translateY(0)scale(.985)}.cedros-trade .ct-pressable:disabled{transform:none}.cedros-trade .ct-primary-action{background:var(--ct-primary);color:var(--ct-primary-foreground);box-shadow:none}.cedros-trade .ct-success-action{background:var(--ct-success);color:var(--ct-success-foreground);box-shadow:none}.cedros-trade .ct-danger-action{background:var(--ct-destructive);color:var(--ct-destructive-foreground);box-shadow:none}.cedros-trade .ct-link{min-height:2.75rem;color:var(--ct-link);text-underline-offset:.2em;border-radius:var(--ct-radius-control);align-items:center;text-decoration:underline;display:inline-flex}.cedros-trade .ct-link:hover{text-decoration-thickness:2px}.cedros-trade .ct-message-dismiss{flex:none;justify-content:center;align-items:center;width:2.75rem;min-height:2.75rem;display:inline-flex}.cedros-trade .ct-primary-action,.cedros-trade .ct-success-action,.cedros-trade .ct-danger-action{transition:background-color var(--ct-duration-fast) ease-out}.cedros-trade .ct-radius-control{border-radius:var(--ct-radius-control)}.cedros-trade .ct-radius-card{border-radius:var(--ct-radius-card)}.cedros-trade .ct-radius-panel{border-radius:var(--ct-radius-panel)}.cedros-trade .ct-primary-action:hover:not(:disabled),.cedros-trade .ct-success-action:hover:not(:disabled),.cedros-trade .ct-danger-action:hover:not(:disabled){filter:saturate(1.05)brightness(1.045)}.cedros-trade .ct-status-dot{background:currentColor;border-radius:999px;width:.5rem;height:.5rem}.cedros-trade .ct-skeleton{background:linear-gradient(90deg, var(--ct-muted), var(--ct-muted), var(--ct-muted))}@supports (color:color-mix(in lab, red, red)){.cedros-trade .ct-skeleton{background:linear-gradient(90deg, var(--ct-muted), color-mix(in srgb, var(--ct-muted) 72%, var(--ct-foreground) 8%), var(--ct-muted))}}.cedros-trade .ct-skeleton{background-size:220% 100%;animation:1.5s ease-in-out infinite ct-shimmer}.cedros-trade .ct-enter,.cedros-trade .ct-enter-slow,.cedros-trade .ct-stagger>*,.cedros-trade .ct-stagger-dense>*{animation:none}.cedros-trade .ct-rolling-label{min-height:1.2em;display:inline-grid;overflow:hidden}.cedros-trade .ct-rolling-label__text{animation:ct-roll-label var(--motion-duration-fast,.16s) ease-out both;grid-area:1/1}.cedros-trade .ct-empty-visual{border-radius:var(--ct-radius);border:1px solid var(--ct-border);background:var(--ct-surface-muted);width:3rem;height:3rem;margin-inline:auto;position:relative}.cedros-trade .ct-empty-visual:before,.cedros-trade .ct-empty-visual:after{content:\\\"\\\";border-radius:999px;position:absolute}.cedros-trade .ct-empty-visual:before{background:var(--ct-muted-foreground);height:.42rem;inset:1rem .9rem auto}.cedros-trade .ct-empty-visual:after{border:2px solid var(--ct-empty-accent-2,var(--ct-warning));width:1.1rem;height:1.1rem;bottom:1rem;right:1rem}@keyframes ct-roll-label{0%{opacity:0;transform:translateY(.55em)}to{opacity:1;transform:translateY(0)}}@keyframes ct-shimmer{0%{background-position:160% 0}to{background-position:-60% 0}}@media (prefers-reduced-motion:reduce){.cedros-trade .ct-enter,.cedros-trade .ct-enter-slow,.cedros-trade .ct-stagger>*,.cedros-trade .ct-stagger-dense>*,.cedros-trade .ct-rolling-label__text,.cedros-trade .ct-skeleton{animation:none}.cedros-trade .ct-pressable,.cedros-trade .ct-pressable:hover,.cedros-trade .ct-pressable:active{transition-duration:1ms;transform:none}}.cedros-trade{width:100%;min-width:0;font-family:var(--ca5ss4b-font-body,inherit)}.cedros-trade .ct-shell-surface{background:0 0}.cedros-trade .ct-public-heading>.ct-panel-elevated{box-shadow:none;background:0 0;border:0;padding:0}.cedros-trade .ct-public-heading>.ct-panel-elevated>.ct-gradient-brand-fill{display:none}.cedros-trade.ct-quote-preview-shell>div{gap:24px;max-width:720px;padding:24px 0}.cedros-trade.ct-external-swap{overflow:visible}.cedros-trade.ct-external-swap>div{padding:12px 0 40px}.cedros-trade .ct-swap-card{border-radius:var(--ct-radius);background:var(--ct-surface);max-width:560px;box-shadow:none;padding:24px;font-size:14px;line-height:1.5}.cedros-trade .ct-swap-fields{border:0;min-width:0;margin:0;padding:0}.cedros-trade .ct-swap-fields label,.cedros-trade .ct-select-label{font-size:14px;font-weight:500;display:block}.cedros-trade .ct-swap-fields input,.cedros-trade .ct-select-trigger{width:100%;min-width:0;height:44px;min-height:44px;font:inherit;background:var(--ct-surface);border:1px solid var(--ct-border);border-radius:var(--ct-radius-control);color:var(--ct-foreground);border-color:var(--ct-control-border);align-items:center;gap:8px;margin-top:8px;padding:0 12px;font-size:16px;font-weight:400;display:flex}.cedros-trade .ct-swap-card button{font-size:14px;font-weight:500}.cedros-trade .ct-swap-card>button{width:100%;min-height:44px;padding:8px 12px}.cedros-trade .ct-swap-card .ct-primary-action{background:var(--ca5ss4b-runtime-action-bg,var(--ct-primary));min-height:44px;color:var(--ca5ss4b-runtime-action-fg,var(--ct-primary-foreground));border-radius:var(--ct-radius-control);box-shadow:none;border:1px solid #0000;padding:8px 12px}.cedros-trade .ct-swap-card button:focus-visible,.cedros-trade .ct-swap-card input:focus-visible{outline:2px solid var(--ct-ring);outline-offset:2px}.cedros-trade .ct-swap-card button:disabled{opacity:.5;cursor:not-allowed}.cedros-trade .ct-select{--ct-select-row-height:44px;min-width:0;position:relative}.cedros-trade .ct-select-trigger{text-align:left;cursor:pointer;justify-content:space-between}.cedros-trade .ct-select-trigger>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cedros-trade .ct-select-trigger>svg{opacity:.5;flex:0 0 16px;width:16px;height:16px}.cedros-trade .ct-select-panel{z-index:var(--z-dropdown,50);border:1px solid var(--ct-border);border-radius:var(--ct-radius);background:var(--ct-surface);width:100%;max-height:320px;color:var(--ct-foreground);box-shadow:var(--ct-shadow-md);flex-direction:column;padding:4px;display:flex;position:absolute;top:calc(100% + 4px);left:0;overflow:hidden}.cedros-trade .ct-select-panel--above{top:auto;bottom:calc(var(--ct-select-row-height) + 4px)}.cedros-trade .ct-select-search{border-bottom:1px solid var(--ct-border);border-radius:max(0px, calc(var(--ct-radius) - 4px));flex:0 0 45px;align-items:center;gap:8px;min-width:0;padding:0 8px;display:flex}.cedros-trade .ct-select-search:focus-within{box-shadow:inset 0 0 0 1px var(--ct-ring)}.cedros-trade .ct-select-search>svg{width:16px;height:16px;color:var(--ct-muted-foreground);flex-shrink:0}.cedros-trade .ct-select-search input{appearance:none;background:0 0;border:0;border-radius:0;flex:1 1 0;width:0;min-width:0;height:44px;min-height:44px;margin:0;padding:0}.cedros-trade .ct-select-search input:focus,.cedros-trade .ct-swap-card .ct-select-search input:focus-visible{box-shadow:none;outline:none}.cedros-trade .ct-select-options{overscroll-behavior:contain;scrollbar-width:thin;min-height:0;overflow-y:auto}.cedros-trade .ct-select-option{height:var(--ct-select-row-height);cursor:pointer;border-radius:max(0px, calc(var(--ct-radius) - 4px));align-items:center;gap:8px;padding:0 8px;font-size:16px;font-weight:400;display:flex}.cedros-trade .ct-select-option[data-active=true]{background:var(--ct-surface-muted)}.cedros-trade .ct-select-option>span:last-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cedros-trade .ct-select-check{flex:0 0 16px;width:16px;display:flex}.cedros-trade .ct-select-check svg{width:16px;height:16px}.cedros-trade .ct-select-empty{color:var(--ct-muted-foreground);margin:0;padding:8px;font-size:13px}@media (width<=640px){.cedros-trade .ct-swap-card{padding:16px}.cedros-trade .ct-select{--ct-select-row-height:44px}.cedros-trade .ct-select-trigger{height:44px;min-height:44px}.cedros-trade .ct-select-search{flex-basis:45px}.cedros-trade .ct-select-search input{height:44px;min-height:44px}}.cedros-trade :where(button:not([role=tab]):not(.cedros-data-btn):not(.ct-token-sheet-handle),input:not([type=checkbox]):not([type=radio]),select,summary){min-height:2.75rem}.cedros-trade :where(input:not([type=checkbox]):not([type=radio]),select){font-size:1rem}.cedros-trade .ct-public-heading h1,.cedros-trade-block>header h1{font-size:1.25rem;line-height:1.25}.cedros-trade :where(h1,h2,h3,h4):not(:where(.cedros-trade-admin *)){font-family:var(--ca5ss4b-font-heading,var(--ca5ss4b-font-body,inherit))}.cedros-trade .ct-token-sheet-handle{min-width:2.75rem;min-height:2.75rem}.cedros-trade .ct-token-selector-overlay button:has(>svg:only-child){min-width:2.75rem;min-height:2.75rem}.cedros-trade .ct-public-label{color:var(--ct-foreground);font-size:.875rem;font-weight:500}.cedros-trade :where(.ct\\\\:border,.ct\\\\:border-b,.ct\\\\:border-t,.ct\\\\:border-l-2){border-style:solid;border-width:0}.cedros-trade .ct-quote-card{box-shadow:none;padding:24px;container:ct-quote/inline-size}.cedros-trade .ct-quote-exchange{grid-template-columns:minmax(0,1fr);align-items:start;gap:4px;display:grid}.cedros-trade .ct-quote-side{min-width:0}.cedros-trade .ct-quote-side-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;margin-bottom:8px;display:flex}.cedros-trade .ct-quote-side-heading .ct-public-label{color:var(--ct-muted-foreground)}.cedros-trade .ct-quote-side-heading[data-long-token]{flex-direction:column;align-items:start}.cedros-trade .ct-quote-side-heading[data-long-token] .ct-token-button{max-width:100%}.cedros-trade .ct-quote-input{box-sizing:border-box;min-height:56px;font-size:1.5rem}.cedros-trade .ct-quote-side--output .ct-quote-result{justify-content:start;min-height:56px}.cedros-trade .ct-quote-route-heading>span{max-width:55%}.cedros-trade .ct-quote-direction{margin-block:0}.cedros-trade .ct-quote-direction button{min-width:44px;min-height:44px}.cedros-trade .ct-token-button{flex-shrink:0;min-width:0;max-width:65%}.cedros-trade .ct-token-button>svg{flex-shrink:0}.cedros-trade .ct-quote-side-heading .ct-token-button{background:0 0;padding:4px 8px;font-size:14px}@container ct-quote (width>=560px){.cedros-trade .ct-quote-exchange{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);gap:16px}.cedros-trade .ct-quote-exchange .ct-quote-direction{margin-block:60px 0}.cedros-trade .ct-quote-direction svg{transform:rotate(90deg)}.cedros-trade .ct-quote-direction svg.ct-rotated{transform:rotate(270deg)}}@container ct-quote (width<=259px){.cedros-trade .ct-quote-side-heading{flex-direction:column;align-items:start}.cedros-trade .ct-quote-side-heading .ct-token-button{width:100%;max-width:none}.cedros-trade .ct-quote-card .ct-quote-protection{grid-template-columns:minmax(0,1fr)}}.cedros-trade .ct-quote-status{padding:0}.cedros-trade .ct-quote-status.ct-panel-warning{padding:12px}.cedros-trade .ct-quote-status>div>div{flex:12rem;min-width:0}.cedros-trade .ct-quote-status button{flex-shrink:0;min-height:44px}.cedros-trade .ct-quote-details{border-top:1px solid var(--ct-border);padding-top:16px}.cedros-trade .ct-quote-result{font-size:2rem;font-weight:600;line-height:1.25}.cedros-trade .ct-quote-amount>summary{list-style:none}.cedros-trade .ct-quote-amount>summary::-webkit-details-marker{display:none}.cedros-trade .ct-quote-amount[open]>summary .ct-quote-amount__chevron{transform:rotate(180deg)}.cedros-trade .ct-quote-route{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:12px;padding-block:12px;font-size:14px;display:grid}.cedros-trade .ct-quote-route+.ct-quote-route{border-top:1px solid var(--ct-border)}.cedros-trade .ct-quote-protection{border-radius:var(--ct-radius-control);background:var(--ct-surface-muted);grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px;padding:12px;display:grid}.cedros-trade .ct-quote-protection>div{min-width:0}.cedros-trade .ct-quote-protection dt{color:var(--ct-muted-foreground);margin-bottom:4px;font-size:12px}.cedros-trade .ct-quote-protection dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:0 4px;margin:0;font-size:14px;font-weight:500;display:flex}.cedros-trade .ct-quote-protection-symbol{overflow-wrap:anywhere;font-size:12px;font-weight:400}.cedros-trade .ct-quote-best{color:var(--ct-muted-foreground);font-size:11px;font-weight:500}.cedros-trade .ct-quote-route dd,.cedros-trade .ct-quote-routes h3{margin:0}.cedros-trade .ct-quote-details summary{align-content:center}.cedros-trade .ct-quote-details dt{color:var(--ct-muted-foreground)}.cedros-trade .ct-quote-details dd{margin:0}.cedros-trade .ct-quote-settings{border-top:1px solid var(--ct-border);padding-top:12px}.cedros-trade .ct-quote-routes{border-top:1px solid var(--ct-border);padding-top:16px}.cedros-trade .ct-quote-routes summary,.cedros-trade .ct-quote-settings summary{align-content:center;min-height:44px}.cedros-trade.ct-unavailable-shell>div{max-width:640px;padding:24px 0}@media (width<=639px){.cedros-trade .ct-quote-card{padding:16px}.cedros-trade .ct-quote-status.ct-panel-warning>div{flex-direction:column;align-items:stretch}.cedros-trade .ct-quote-status.ct-panel-warning>div>div{flex-basis:auto}.cedros-trade .ct-quote-status.ct-panel-warning button{align-self:start}}.cedros-trade .ct-wallet-identity{flex-wrap:wrap;align-items:center;gap:4px 12px;display:flex}.cedros-trade .ct-swap-pay-group{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px;display:grid}.cedros-trade .ct-swap-pay-group[data-long-token]{grid-template-columns:minmax(0,1fr)}.cedros-trade .ct-swap-pay-group[data-long-token] .ct-select{order:-1}.cedros-trade .ct-swap-pay-group .ct-select-panel{width:max(100%,min(20rem,200% + 12px));left:auto;right:0}.cedros-trade .ct-swap-pay-group .ct-swap-amount{font-variant-numeric:tabular-nums;height:64px;font-size:24px}.cedros-trade .ct-swap-reverse{border:1px solid var(--ct-border);background:var(--ct-surface);width:44px;height:44px;color:var(--ct-muted-foreground);border-radius:999px;place-items:center;display:grid}.cedros-trade .ct-wallet-summary{border-bottom:1px solid var(--ct-border);justify-content:space-between;align-items:start;gap:16px;padding-bottom:16px;display:flex}.cedros-trade .ct-wallet-summary summary{align-content:center;min-height:44px}.cedros-trade .ct-wallet-disconnect{max-width:40%;min-height:44px;color:var(--ct-muted-foreground);background:0 0;border:0;padding:8px}.cedros-trade .ct-swap-protection summary{align-content:center;min-height:44px}.cedros-trade .ct-swap-exchange{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin:0;display:grid}.cedros-trade .ct-swap-exchange[data-long-token]{grid-template-columns:minmax(0,1fr)}.cedros-trade .ct-swap-exchange-side{align-content:start;gap:8px;min-width:0;display:grid}.cedros-trade .ct-swap-token-identity{align-items:center;gap:12px;min-width:0;display:flex}.cedros-trade .ct-swap-fields .ct-select{--ct-select-row-height:64px}.cedros-trade .ct-swap-fields .ct-select-trigger{height:auto;min-height:64px;padding-block:8px}.cedros-trade .ct-swap-fields .ct-select-trigger>span{white-space:normal;flex:1;min-width:0}.cedros-trade .ct-swap-fields .ct-select-option{height:auto;min-height:var(--ct-select-row-height);padding-block:8px}.cedros-trade .ct-swap-fields .ct-select-option>span:last-child{white-space:normal;overflow-wrap:anywhere;min-width:0}.cedros-trade.ct-unavailable-shell .ct\\\\:max-w-md{max-width:none}.cedros-trade .ct-unavailable-state{border-top:1px solid var(--ct-border);grid-template-columns:56px minmax(0,1fr);align-items:start;gap:8px 16px;padding-block:24px;display:grid}.cedros-trade .ct-unavailable-state>div{grid-row:span 2}.cedros-trade .ct-unavailable-state h2,.cedros-trade .ct-unavailable-state p{text-align:start;margin:0}.cedros-trade .ct-unavailable-state h2{font-size:1rem}.cedros-trade .ct-swap-wallet-details{border-top:1px solid var(--ct-border)}.cedros-trade .ct-swap-wallet-details>summary{overflow-wrap:anywhere;min-height:44px;color:var(--ct-muted-foreground);align-content:center}.cedros-trade .ct-wallet-preview{font-variant-numeric:tabular-nums;margin-inline-start:8px;font-size:12px;display:inline-block}.cedros-trade .ct-swap-wallet-details .ct-wallet-summary{border-bottom:0;padding:8px 0 0}.cedros-trade .ct-swap-review-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.cedros-trade .ct-swap-review-actions>button{flex:12rem;margin:0}.cedros-trade .ct-swap-review-actions>button+button{background:0 0;flex:none;width:auto}.cedros-trade .ct-swap-review-details{margin:0}.cedros-trade .ct-swap-review-details>div{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:8px 12px;padding:4px 0;display:grid}.cedros-trade .ct-swap-review-details dt{color:var(--ct-muted-foreground)}.cedros-trade .ct-swap-review-details dd{text-align:end;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:end;gap:0 4px;min-width:0;margin:0;display:flex}.cedros-trade .ct-swap-protected-return{background:var(--ct-surface-muted);border-radius:var(--ct-radius-control);margin:0;padding:16px}.cedros-trade .ct-swap-protected-return dt{color:var(--ct-muted-foreground);font-size:12px}.cedros-trade .ct-swap-minimum>dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;flex-wrap:wrap;gap:0 4px;margin:4px 0 0;font-size:18px;font-weight:600;display:flex}.cedros-trade .ct-swap-protected-return[data-long-token] .ct-swap-minimum>dd>span{overflow-wrap:anywhere;flex-basis:100%;font-size:14px;font-weight:400}.cedros-trade .ct-swap-protection-facts{flex-wrap:wrap;gap:8px 24px;margin:12px 0 0;display:flex}.cedros-trade .ct-swap-protection-facts>div{align-items:baseline;gap:8px;display:flex}.cedros-trade .ct-swap-protection-facts dd{font-variant-numeric:tabular-nums;margin:0;font-size:12px}.cedros-trade .ct-swap-fees>h3{margin:0 0 8px}.cedros-trade .ct-swap-review-actions button{width:100%;min-height:44px}@media (width<=639px){.cedros-trade .ct-swap-card{padding:16px}.cedros-trade .ct-swap-exchange{gap:16px}.cedros-trade .ct-quote-route{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}}.cedros-trade .ct-identifier{min-width:0;max-width:100%;font-size:12px}.cedros-trade .ct-identifier summary{cursor:pointer;align-content:center;min-height:44px}.cedros-trade .ct-identifier-value{overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;padding-block:8px;display:block}.cedros-trade .ct-identifier-copy{border:1px solid var(--ct-border);border-radius:var(--ct-radius-control);background:var(--ct-surface-muted);min-height:44px;color:var(--ct-foreground);padding:8px 12px}.cedros-trade .ct-token-monogram{font-size:inherit;line-height:1}.cedros-trade .ct-token-monogram:before{content:attr(data-monogram)}.cedros-trade .ct-token-avatar img{background:var(--ct-surface-muted)}.cedros-trade .ct-swap-receipt a{color:var(--ca5ss4b-runtime-accent,var(--ca5ss4b-link,var(--ct-foreground)));align-items:center;min-height:44px;display:inline-flex}.cedros-trade .ct-swap-receipt>button{width:100%;min-height:44px;margin-top:12px;display:block}.cedros-trade :where(input,textarea)::placeholder{color:var(--ct-muted-foreground);opacity:1}.cedros-trade .ct-token-button{border-color:var(--ct-control-border)}.cedros-trade .ct-token-selector-overlay{width:100%;max-width:none;height:100%;max-height:none;color:var(--ct-foreground);border:0}.cedros-trade .ct-token-selector-overlay::backdrop{background:0 0}.cedros-trade .ct-token-search-clear{border-radius:var(--ct-radius-control);width:44px;height:44px;color:var(--ct-muted-foreground);place-items:center;display:grid;position:absolute;top:50%;right:0;transform:translateY(-50%)}.cedros-trade .ct-token-search-clear:hover{background:var(--ct-surface-interactive);color:var(--ct-foreground)}.cedros-trade .ct-token-search-icon{width:1rem;height:1rem;color:var(--ct-muted-foreground);pointer-events:none;position:absolute;top:50%;left:.75rem;transform:translateY(-50%)}.cedros-trade input[type=search]::-webkit-search-cancel-button{appearance:none}.cedros-trade-block>.ct-block-heading--quote{width:min(100%,720px);margin-inline:auto}.cedros-trade .ct-quote-prompt{line-height:1.5}.cedros-trade .ct-swap-minimum{margin:0;font-weight:600}.cedros-trade .ct-swap-minimum dt{color:var(--ct-foreground)}.cedros-trade .ct-swap-stop-tracking{color:var(--ct-muted-foreground);text-align:start;background:0 0;border-color:#0000}.cedros-trade .ct-secondary-action{border:1px solid var(--ct-border);border-radius:var(--ct-radius-control);min-height:2.75rem;color:var(--ct-foreground);cursor:pointer;transition:background-color var(--ct-duration-fast) ease-out;background:0 0;justify-content:center;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.875rem;font-weight:500;display:inline-flex}.cedros-trade .ct-secondary-action:hover:not(:disabled){background:var(--ct-surface-interactive)}.cedros-trade .ct-secondary-action:disabled{opacity:.5;cursor:not-allowed}@property --ct-tw-space-y-reverse{syntax:\\\"*\\\";inherits:false;initial-value:0}@property --ct-tw-border-style{syntax:\\\"*\\\";inherits:false;initial-value:solid}@property --ct-tw-leading{syntax:\\\"*\\\";inherits:false}@property --ct-tw-font-weight{syntax:\\\"*\\\";inherits:false}@property --ct-tw-tracking{syntax:\\\"*\\\";inherits:false}@property --ct-tw-shadow{syntax:\\\"*\\\";inherits:false;initial-value:0 0 #0000}@property --ct-tw-shadow-color{syntax:\\\"*\\\";inherits:false}@property --ct-tw-shadow-alpha{syntax:\\\"<percentage>\\\";inherits:false;initial-value:100%}@property --ct-tw-inset-shadow{syntax:\\\"*\\\";inherits:false;initial-value:0 0 #0000}@property --ct-tw-inset-shadow-color{syntax:\\\"*\\\";inherits:false}@property --ct-tw-inset-shadow-alpha{syntax:\\\"<percentage>\\\";inherits:false;initial-value:100%}@property --ct-tw-ring-color{syntax:\\\"*\\\";inherits:false}@property --ct-tw-ring-shadow{syntax:\\\"*\\\";inherits:false;initial-value:0 0 #0000}@property --ct-tw-inset-ring-color{syntax:\\\"*\\\";inherits:false}@property --ct-tw-inset-ring-shadow{syntax:\\\"*\\\";inherits:false;initial-value:0 0 #0000}@property --ct-tw-ring-inset{syntax:\\\"*\\\";inherits:false}@property --ct-tw-ring-offset-width{syntax:\\\"<length>\\\";inherits:false;initial-value:0}@property --ct-tw-ring-offset-color{syntax:\\\"*\\\";inherits:false;initial-value:#fff}@property --ct-tw-ring-offset-shadow{syntax:\\\"*\\\";inherits:false;initial-value:0 0 #0000}\", I = \".cedros-trade .ct-eyebrow{text-transform:none;letter-spacing:var(--ct-tracking-wide);color:var(--ct-muted-foreground);font-size:.875rem;font-weight:500;line-height:1.25rem}.cedros-trade .ct-tabular-num{font-variant-numeric:tabular-nums lining-nums;font-feature-settings:\\\"tnum\\\" 1;letter-spacing:0}.cedros-trade .ct-display-num{font-variant-numeric:tabular-nums lining-nums;font-feature-settings:\\\"tnum\\\" 1;letter-spacing:var(--ct-tracking-tight);font-weight:600}.cedros-trade .ct-text-gradient{background:var(--ct-gradient-brand);color:#0000;-webkit-background-clip:text;background-clip:text}.cedros-trade .ct-gradient-brand-fill{background:var(--ct-gradient-brand)}.cedros-trade .ct-token-avatar{background:var(--ct-gradient-brand);color:var(--ct-primary-foreground)}.cedros-trade .ct-card-interactive{transition:transform var(--ct-duration-fast) var(--ct-ease-spring), box-shadow var(--ct-duration-fast) ease-out, border-color var(--ct-duration-fast) ease-out}.cedros-trade .ct-card-interactive:hover{border-color:var(--ct-border-strong);box-shadow:var(--ct-shadow-md);transform:none}.cedros-trade .ct-card-interactive:active{transform:translateY(0)}.cedros-trade .ct-icon-medallion{border-radius:var(--ct-radius-lg);width:2.75rem;height:2.75rem;color:var(--ct-primary);border:1px solid color-mix(in srgb, var(--ct-border) 70%, transparent);background:var(--ct-surface-muted);box-shadow:var(--ct-shadow-sm);justify-content:center;align-items:center;display:inline-flex}.cedros-trade .ct-icon-medallion-lg{border-radius:var(--ct-radius);width:3.5rem;height:3.5rem}.cedros-trade .ct-divider-gradient{background:var(--ct-border);border:0;height:1px}.cedros-trade .ct-depth-bar{width:100%;transform:scaleX(var(--ct-depth-scale,0));transform-origin:0;transition:transform var(--ct-duration-panel) var(--ct-ease-spring)}.cedros-trade .ct-spinner{border:2px solid color-mix(in srgb, currentColor 22%, transparent);animation:ct-spin var(--ct-spin,.72s) linear infinite;border-top-color:currentColor;border-radius:999px;display:inline-block}.cedros-trade .ct-status-dot--pulse{animation:1.8s ease-out infinite ct-status-pulse}.cedros-trade .ct-rotatable{transition:transform var(--ct-duration-panel) var(--ct-ease-spring)}.cedros-trade .ct-directional-panel{min-width:0;position:relative;overflow:clip}.cedros-trade .ct-directional-panel__item{width:100%}.cedros-trade .ct-collapsible{opacity:0;transition:grid-template-rows var(--ct-duration-panel) var(--ct-ease-spring), opacity var(--ct-duration-fast) ease-out;grid-template-rows:0fr;display:grid}.cedros-trade .ct-collapsible--open{opacity:1;grid-template-rows:1fr}.cedros-trade .ct-collapsible__inner{min-height:0;overflow:hidden}.cedros-trade .ct-motion-pressable{transform-origin:50%;transition:transform .1s ease-out}.cedros-trade .ct-motion-pressable:active:not(:disabled){transform:scale(.98)}.cedros-trade .ct-scroll-boundary{overscroll-behavior:contain;-webkit-mask-image:var(--ct-scroll-mask,none);-webkit-mask-image:var(--ct-scroll-mask,none);mask-image:var(--ct-scroll-mask,none)}.cedros-trade .ct-scroll-boundary[data-scroll-axis=y]{scrollbar-gutter:stable}.cedros-trade .ct-scroll-boundary[data-scroll-axis=x][data-scroll-start=false][data-scroll-end=false]{--ct-scroll-mask:linear-gradient(90deg, transparent, #000 1rem, #000 calc(100% - 1rem), transparent)}.cedros-trade .ct-scroll-boundary[data-scroll-axis=x][data-scroll-start=false][data-scroll-end=true]{--ct-scroll-mask:linear-gradient(90deg, transparent, #000 1rem)}.cedros-trade .ct-scroll-boundary[data-scroll-axis=x][data-scroll-start=true][data-scroll-end=false]{--ct-scroll-mask:linear-gradient(90deg, #000 calc(100% - 1rem), transparent)}.cedros-trade .ct-scroll-boundary[data-scroll-axis=y][data-scroll-start=false][data-scroll-end=false]{--ct-scroll-mask:linear-gradient(transparent, #000 1rem, #000 calc(100% - 1rem), transparent)}.cedros-trade .ct-scroll-boundary[data-scroll-axis=y][data-scroll-start=false][data-scroll-end=true]{--ct-scroll-mask:linear-gradient(transparent, #000 1rem)}.cedros-trade .ct-scroll-boundary[data-scroll-axis=y][data-scroll-start=true][data-scroll-end=false]{--ct-scroll-mask:linear-gradient(#000 calc(100% - 1rem), transparent)}.cedros-trade .ct-progressive-control{transition:opacity var(--ct-duration-micro) ease-out, transform var(--ct-duration-fast) var(--ct-ease-spring)}.cedros-trade .ct-token-sheet-handle{display:none}@media (width<=639px){.cedros-trade .ct-token-selector-overlay{align-items:flex-end;padding:0}.cedros-trade .ct-token-selector-sheet-wrap{max-width:none}.cedros-trade .ct-token-selector-sheet{border-bottom-right-radius:0;border-bottom-left-radius:0;max-height:min(88dvh,44rem)}.cedros-trade .ct-token-sheet-handle{cursor:grab;touch-action:none;flex:none;justify-content:center;align-items:center;width:100%;height:1.5rem;display:flex}.cedros-trade .ct-token-sheet-handle:active{cursor:grabbing}.cedros-trade .ct-token-sheet-handle>span{background:var(--ct-border-strong);transform-origin:50%;border-radius:999px;width:2.75rem;height:.25rem;display:block}}.cedros-trade .ct-rotated{transform:rotate(180deg)}.cedros-trade .ct-flash-up{animation:ct-flash-up var(--motion-duration-highlight,.8s) ease-out}.cedros-trade .ct-flash-down{animation:ct-flash-down var(--motion-duration-highlight,.8s) ease-out}.cedros-trade .ct-pop{animation:ct-pop var(--motion-duration-standard,.22s) var(--ct-ease-spring) both}.cedros-trade .ct-check-draw path{stroke-dasharray:34;stroke-dashoffset:34px;animation:.52s ease-out 60ms forwards ct-draw}@keyframes ct-spin{to{transform:rotate(360deg)}}@keyframes ct-status-pulse{0%{box-shadow:0 0 0 3px color-mix(in srgb, currentColor 30%, transparent)}70%{box-shadow:0 0 0 8px color-mix(in srgb, currentColor 0%, transparent)}to{box-shadow:0 0 0 3px color-mix(in srgb, currentColor 0%, transparent)}}@keyframes ct-flash-up{0%{background-color:color-mix(in srgb, var(--ct-buy) 30%, transparent)}to{background-color:#0000}}@keyframes ct-flash-down{0%{background-color:color-mix(in srgb, var(--ct-sell) 30%, transparent)}to{background-color:#0000}}@keyframes ct-pop{0%{opacity:0;transform:scale(.98)}to{transform:scale(1)}}@keyframes ct-draw{to{stroke-dashoffset:0}}@media (prefers-reduced-motion:reduce){.cedros-trade .ct-spinner,.cedros-trade .ct-status-dot--pulse,.cedros-trade .ct-flash-up,.cedros-trade .ct-flash-down,.cedros-trade .ct-pop,.cedros-trade .ct-check-draw path{animation:none}.cedros-trade .ct-check-draw path{stroke-dashoffset:0}.cedros-trade .ct-pressable,.cedros-trade .ct-pressable:hover,.cedros-trade .ct-pressable:active,.cedros-trade .ct-card-interactive,.cedros-trade .ct-card-interactive:hover,.cedros-trade .ct-rotatable,.cedros-trade .ct-depth-bar,.cedros-trade .ct-motion-pressable,.cedros-trade .ct-motion-pressable:active:not(:disabled),.cedros-trade .ct-collapsible,.cedros-trade .ct-progressive-control{transition-duration:1ms;transform:none}}\", L = \".cedros-trade.cedros-trade-admin{--ct-background:var(--cd-bg,oklch(100% 0 0));--ct-foreground:var(--cd-fg,oklch(14.5% 0 0));--ct-surface:var(--cd-card-bg,var(--ct-background));--ct-surface-elevated:var(--cd-card-bg,var(--ct-surface));--ct-surface-muted:var(--cd-muted-bg,color-mix(in srgb, var(--ct-surface) 88%, var(--ct-foreground) 12%));--ct-surface-interactive:var(--cd-accent,var(--ct-surface-muted));--ct-muted:var(--ct-surface-muted);--ct-muted-foreground:var(--cd-muted,#595959);--ct-border:var(--cd-border,oklch(92.2% 0 0));--ct-border-strong:color-mix(in srgb, var(--ct-border) 70%, var(--ct-foreground) 30%);--ct-input:var(--cd-border,var(--ct-border));--ct-ring:var(--cd-ring,oklch(55.6% 0 0));--ct-primary:var(--cd-primary,oklch(20.5% 0 0));--ct-primary-foreground:var(--cd-primary-fg,oklch(98.5% 0 0));--ct-link:var(--cd-link,#2f6c7d);--ct-destructive:var(--cd-error,#b91c1c);--ct-destructive-foreground:var(--cd-danger-fg,oklch(98.5% 0 0));--ct-danger-bg:var(--cd-danger-bg,oklch(50% .22 27.325));--ct-success:var(--cd-success,#166534);--ct-warning:var(--cd-warning-fg,var(--cd-warning,#92400e));--ct-info:var(--cd-info,var(--cd-link,#1d4ed8));--ct-radius:var(--cd-radius,.5rem);--ct-radius-sm:max(calc(var(--ct-radius) - 3px), .25rem);--ct-radius-lg:var(--admin-radius,.75rem);--ct-radius-control:max(calc(var(--ct-radius) - 1px), .25rem);--ct-radius-card:var(--ct-radius);--ct-radius-panel:var(--ct-radius-lg);--ct-shadow-sm:var(--cd-shadow,0 1px 2px #00000014);--ct-shadow-md:var(--cd-shadow,0 6px 16px -6px #00000029);--ct-shadow-lg:0 16px 48px color-mix(in srgb, var(--ct-foreground) 12%, transparent);--ct-shadow-focus:0 0 0 3px color-mix(in srgb, var(--ct-ring) 14%, transparent);--ct-duration-micro:var(--motion-duration-micro,.1s);--ct-duration-fast:var(--motion-duration-fast,.16s);--ct-duration-panel:var(--motion-duration-standard,.22s);--ct-ease-spring:var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1));--ct-container-settings:var(--cd-container-settings,45rem);--ct-gradient-brand:var(--ct-primary);--ct-gradient-surface:var(--ct-background);--ct-gradient-market:var(--ct-background);--ct-success-bg:var(--cd-success-bg,color-mix(in srgb, var(--ct-success) 14%, var(--ct-background)));--ct-warning-bg:var(--cd-warning-bg,color-mix(in srgb, var(--ct-warning) 18%, var(--ct-background)));--ct-destructive-bg:var(--cd-error-bg,color-mix(in srgb, var(--ct-destructive) 12%, var(--ct-background)));--ct-info-bg:var(--cd-info-bg,color-mix(in srgb, var(--ct-info) 12%, var(--ct-background)));--ct-selected-bg:color-mix(in srgb, var(--ct-primary) 8%, var(--ct-surface));--ct-disabled-bg:color-mix(in srgb, var(--ct-muted) 82%, var(--ct-background) 18%);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:0 0}.ca5ss4b-admin--dark .cedros-trade.cedros-trade-admin,.ca5ss4b-dark .cedros-trade.cedros-trade-admin{--ct-background:var(--cd-bg,oklch(14.5% 0 0));--ct-surface:var(--cd-card-bg,oklch(20.5% 0 0));--ct-surface-muted:var(--cd-muted-bg,oklch(26.9% 0 0));--ct-surface-interactive:var(--cd-accent,var(--ct-surface-muted));--ct-foreground:var(--cd-fg,oklch(98.5% 0 0));--ct-muted-foreground:var(--cd-muted,oklch(70.8% 0 0));--ct-border:var(--cd-border,oklch(100% 0 0/.1));--ct-ring:var(--cd-ring,oklch(55.6% 0 0));--ct-primary:var(--cd-primary,oklch(92.2% 0 0));--ct-primary-foreground:var(--cd-primary-fg,oklch(20.5% 0 0));--ct-link:var(--cd-link,#7fb0bd);--ct-destructive:var(--cd-error,#fca5a5);--ct-destructive-foreground:var(--cd-danger-fg,oklch(14.5% 0 0));--ct-danger-bg:var(--cd-danger-bg,oklch(70.4% .191 22.216));--ct-success:var(--cd-success,#4ade80);--ct-warning:var(--cd-warning-fg,var(--cd-warning,#fbbf24));--ct-info:var(--cd-info,var(--cd-link,#93c5fd));--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.cedros-trade.cedros-trade-admin .ct-shell-surface,.cedros-trade.cedros-trade-admin .ct-dot-grid{background:0 0}.cedros-trade.cedros-trade-admin .cedros-data-card{border:1px solid var(--ct-border);border-radius:var(--ct-radius);background:var(--ct-surface);box-shadow:var(--ct-shadow-sm);padding:1rem}.cedros-trade.cedros-trade-admin .ct-admin-metric{padding:0}.cedros-trade.cedros-trade-admin .cedros-data-summary-grid{gap:1rem;display:grid}.cedros-trade.cedros-trade-admin .cedros-data-input{border-color:var(--ct-border);background:var(--cd-input-bg,transparent);height:2.25rem;transition:background-color var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1)), border-color var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1)), box-shadow var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1))}.cedros-trade.cedros-trade-admin .cedros-data-toolbar .cedros-data-input{height:2.25rem;min-height:2.25rem}.cedros-trade.cedros-trade-admin .cedros-data-btn{border-radius:max(calc(var(--ct-radius) - 1px), .25rem);height:2rem;min-height:2rem;transition:transform var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1)), background-color var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1)), border-color var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1)), color var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1)), box-shadow var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1))}.cedros-trade.cedros-trade-admin .ct-primary-action,.cedros-trade.cedros-trade-admin .ct-danger-action{box-shadow:var(--ct-shadow-sm)}.cedros-trade.cedros-trade-admin .ct-primary-action{background:var(--ct-primary)}.cedros-trade.cedros-trade-admin .ct-danger-action{background:var(--ct-danger-bg);color:var(--ct-destructive-foreground)}.cedros-trade.cedros-trade-admin .ct-primary-action:hover:not(:disabled){background:color-mix(in srgb, var(--ct-primary) 88%, var(--ct-background))}.cedros-trade.cedros-trade-admin .ct-danger-action:hover:not(:disabled){background:color-mix(in srgb, var(--ct-danger-bg) 88%, var(--ct-background))}.cedros-trade.cedros-trade-admin .ct-pressable:hover:not(:disabled),.cedros-trade.cedros-trade-admin .ct-pressable:active:not(:disabled){transform:none}.cedros-trade.cedros-trade-admin .cedros-data-btn:hover:not(:disabled){box-shadow:var(--ct-shadow-sm);transform:translateY(-1px)}.cedros-trade.cedros-trade-admin .cedros-data-btn:active:not(:disabled){transition-duration:var(--motion-duration-micro,.1s);transform:scale(.98)}.cedros-trade.cedros-trade-admin .ct-card-interactive:hover{box-shadow:var(--ct-shadow-md);border-color:var(--ct-border-strong);transform:translateY(-1px)}.cedros-trade.cedros-trade-admin .ct-field:focus:not(:focus-visible),.cedros-trade.cedros-trade-admin .ct-focusable:focus:not(:focus-visible):not([aria-selected=true]),.cedros-trade.cedros-trade-admin .cedros-data-btn:focus:not(:focus-visible){border-color:var(--ct-border);box-shadow:none}.cedros-trade.cedros-trade-admin .ct-field:focus-visible,.cedros-trade.cedros-trade-admin .ct-focusable:focus-visible,.cedros-trade.cedros-trade-admin .cedros-data-btn:focus-visible{border-color:var(--ct-ring);box-shadow:var(--ct-shadow-focus);outline:none}.cedros-trade.cedros-trade-admin .cedros-data-btn--ghost:focus-visible,.cedros-trade.cedros-trade-admin .ct-focusable:where(summary,[role=tab]):focus-visible{outline:2px solid var(--ct-ring);outline-offset:2px}.cedros-trade.cedros-trade-admin .ct-panel-info{border-color:color-mix(in srgb, var(--ct-info) 30%, var(--ct-border))}.cedros-trade.cedros-trade-admin .ct-panel-success{border-color:color-mix(in srgb, var(--ct-success) 30%, var(--ct-border))}.cedros-trade.cedros-trade-admin .ct-panel-warning{border-color:color-mix(in srgb, var(--ct-warning) 30%, var(--ct-border))}.cedros-trade.cedros-trade-admin .ct-panel-danger{border-color:color-mix(in srgb, var(--ct-destructive) 30%, var(--ct-border))}.cedros-trade.cedros-trade-admin .ct-admin-empty{border-radius:var(--ct-radius);border:1px dashed color-mix(in srgb, var(--ct-border) 85%, var(--ct-muted-foreground));background:var(--ct-surface);flex-direction:column;justify-content:center;align-items:center;min-height:9rem;padding:2rem 1rem;display:flex}.cedros-trade.cedros-trade-admin .cedros-data-empty-state--in-table{background:0 0;border-radius:0}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-clear svg,.cedros-trade.cedros-trade-admin .cedros-trade-admin__menu-trigger svg,.cedros-trade.cedros-trade-admin .cedros-data-dialog__close svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:1rem;height:1rem}.cedros-trade.cedros-trade-admin .cedros-trade-admin__filtered-empty{min-height:4rem;color:var(--ct-muted-foreground);text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem;padding:.75rem;font-size:.8125rem;display:flex}.cedros-trade.cedros-trade-admin .cedros-trade-admin__filtered-empty .cedros-data-btn{white-space:nowrap;flex-shrink:0}.cedros-trade.cedros-trade-admin .cedros-trade-admin__section-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;min-width:0;display:flex}.cedros-trade.cedros-trade-admin .cedros-trade-admin__section-header-text{flex:18rem;min-width:0}.cedros-trade.cedros-trade-admin .cedros-trade-admin__section-title{color:var(--ct-foreground);margin:0;font-size:.875rem;font-weight:600;line-height:1.25}.cedros-trade.cedros-trade-admin .cedros-trade-admin__section-subtitle{max-width:60ch;color:var(--ct-muted-foreground);margin:.25rem 0 0;font-size:.8125rem;line-height:1.5}.cedros-trade.cedros-trade-admin .cedros-trade-admin__settings-column{width:100%;max-width:var(--ct-container-settings);container:ct-settings/inline-size}.cedros-trade.cedros-trade-admin .cedros-trade-admin__protection-editor{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.cedros-trade.cedros-trade-admin .cedros-trade-admin__protection-editor>div{flex:12rem;min-width:0;max-width:12rem}.cedros-trade.cedros-trade-admin .cedros-trade-admin__protection-editor>button{white-space:nowrap;flex-shrink:0}@container ct-settings (width>=480px){.cedros-trade.cedros-trade-admin .cedros-trade-admin__token-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.cedros-trade.cedros-trade-admin .cedros-trade-admin__token-field--wide{grid-column:1/-1}}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-wrap{width:min(100%,18rem);position:relative}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-wrap .cedros-data-input{padding-right:2rem}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-clear{border-radius:var(--ct-radius-sm);width:1.5rem;height:1.5rem;color:var(--ct-muted-foreground);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:50%;right:.25rem;transform:translateY(-50%)}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-clear:hover{background:var(--ct-surface-interactive);color:var(--ct-foreground)}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-clear:focus-visible{outline:2px solid var(--ct-ring);outline-offset:2px;box-shadow:var(--ct-shadow-focus)}.cedros-trade.cedros-trade-admin .ct-admin-skeleton-line{background:linear-gradient(90deg, var(--ct-surface-muted), color-mix(in srgb, var(--ct-surface-muted) 58%, var(--ct-background)), var(--ct-surface-muted));max-width:100%;height:.75rem;animation:cedros-trade-admin-shimmer 1.4s var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1)) infinite;background-size:220% 100%;border-radius:999px;display:block}.cedros-trade.cedros-trade-admin .ct-admin-skeleton-line+.ct-admin-skeleton-line{margin-top:.75rem}.cedros-trade.cedros-trade-admin .ct-admin-skeleton-line--title{width:42%}.cedros-trade.cedros-trade-admin .ct-admin-skeleton-line--short{width:64%}@keyframes cedros-trade-admin-shimmer{0%{background-position:120% 0}to{background-position:-120% 0}}@media (prefers-reduced-motion:reduce){.cedros-trade.cedros-trade-admin .ct-admin-skeleton-line{animation:none}.cedros-trade.cedros-trade-admin .cedros-data-btn{transition-duration:var(--motion-duration-micro,1ms)}}.cedros-trade.cedros-trade-admin{font-size:.875rem;line-height:1.5;font-family:var(--cd-font-sans,system-ui, sans-serif)}.cedros-trade.cedros-trade-admin .ct\\\\:text-sm,.cedros-trade.cedros-trade-admin .cedros-data-input{font-size:.8125rem}.cedros-trade.cedros-trade-admin .cedros-data__title{font-size:1.15rem;line-height:1.25}.cedros-trade.cedros-trade-admin .cedros-data__subtitle{max-width:var(--cd-container-prose,60ch);line-height:1.5}.cedros-trade.cedros-trade-admin .ct\\\\:text-lg:where(:not(.cedros-data__title)){font-size:1rem}.cedros-trade.cedros-trade-admin .cedros-data-card__title{font-size:.875rem}.cedros-trade.cedros-trade-admin .cedros-data-pill{font-size:.6875rem;font-weight:600}.cedros-trade.cedros-trade-admin .ct\\\\:font-mono{font-family:var(--cd-font-mono,ui-monospace, monospace)}.cedros-trade.cedros-trade-admin .cedros-data-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.cedros-trade.cedros-trade-admin .cedros-data-btn--secondary{background:0 0}.cedros-trade.cedros-trade-admin .cedros-data-btn--secondary:hover:not(:disabled),.cedros-trade.cedros-trade-admin .cedros-data-btn--ghost:hover:not(:disabled){background:var(--ct-surface-interactive)}.cedros-trade.cedros-trade-admin .cedros-data-input{border-radius:var(--ct-radius-control);min-height:2.25rem;padding-block:0}.cedros-trade.cedros-trade-admin .cedros-data-input[aria-invalid=true]{border-color:var(--ct-destructive)}.cedros-trade.cedros-trade-admin .cedros-data-field{align-items:center}.cedros-trade.cedros-trade-admin .cedros-data-field.ct\\\\:space-y-1{display:block}.cedros-trade.cedros-trade-admin .cedros-data-tabs__list{background:color-mix(in srgb, var(--ct-background) 96%, var(--ct-surface-interactive) 4%);width:fit-content;max-width:100%;padding:3px}.cedros-trade.cedros-trade-admin .cedros-data-tabs__tab{color:var(--ct-muted-foreground);border-radius:max(0px, calc(var(--ct-radius) - 3px));font-size:.8125rem;font-weight:500}.cedros-trade.cedros-trade-admin .cedros-data-tabs__tab:hover{color:var(--ct-foreground)}.cedros-trade.cedros-trade-admin .cedros-data-tabs__tab[aria-selected=true]{color:var(--ct-foreground);background:var(--ct-background);box-shadow:inset 0 0 0 1px var(--ct-border), var(--ct-shadow-sm)}.cedros-trade.cedros-trade-admin .cedros-data-metric__label{letter-spacing:.04em;text-transform:uppercase;font-size:.6875rem;font-weight:600}.cedros-trade.cedros-trade-admin .cedros-data-metric__value{font-size:1.5rem;font-weight:700}.cedros-trade.cedros-trade-admin .cedros-data-metric__hint{color:var(--ct-muted-foreground);font-size:.75rem}.cedros-trade.cedros-trade-admin .cedros-data-table th{letter-spacing:.04em;font-size:.6875rem}.cedros-trade.cedros-trade-admin .cedros-data-table-wrap{border:1px solid var(--ct-border);border-radius:var(--ct-radius-control);background:var(--ct-surface)}.cedros-trade.cedros-trade-admin .cedros-data-table thead{background:color-mix(in srgb, var(--ct-background) 90%, var(--ct-surface-interactive) 10%)}.cedros-trade.cedros-trade-admin .cedros-data-table tr:hover .cedros-data-table-summary__preview{color:var(--ct-foreground)}.cedros-trade.cedros-trade-admin .cedros-data-empty-state--in-table,.cedros-trade.cedros-trade-admin .cedros-data-table .cedros-data-empty{max-width:calc(var(--ct-scroll-viewport-size,100%) - 1.5rem);margin:.75rem;position:sticky;left:.75rem}.cedros-trade.cedros-trade-admin .cedros-data-empty-state h3{font-size:.875rem}.cedros-trade.cedros-trade-admin .cedros-data-empty-state__copy{max-width:38ch}.cedros-trade.cedros-trade-admin .ct-enter,.cedros-trade.cedros-trade-admin .ct-enter-slow,.cedros-trade.cedros-trade-admin .ct-stagger>*,.cedros-trade.cedros-trade-admin .ct-stagger-dense>*{animation:none}.cedros-trade.cedros-trade-admin .ct-progressive-control{opacity:1;pointer-events:auto}.cedros-trade.cedros-trade-admin .ct-scroll-boundary{-webkit-mask-image:none;mask-image:none}.cedros-trade.cedros-trade-admin summary{min-height:2rem}.cedros-trade.cedros-trade-admin .cedros-data-status{background:var(--ct-panel-bg,var(--ct-surface));box-shadow:none}.cedros-trade.cedros-trade-admin .cedros-trade-admin__status-icon{width:1rem;height:1rem;color:var(--ct-info);flex:none;margin-top:.125rem}.cedros-trade.cedros-trade-admin .cedros-data-status--warning .cedros-trade-admin__status-icon{color:var(--ct-warning)}.cedros-trade.cedros-trade-admin .cedros-data-status--error .cedros-trade-admin__status-icon{color:var(--ct-destructive)}.cedros-trade.cedros-trade-admin .cedros-data-checkbox-row input{width:1rem;height:1rem;accent-color:var(--ct-primary)}@media (width<=767px){.cedros-trade.cedros-trade-admin .cedros-data-btn,.cedros-trade.cedros-trade-admin .cedros-data-input,.cedros-trade.cedros-trade-admin .cedros-data-tabs__tab,.cedros-trade.cedros-trade-admin summary{height:auto;min-height:2.75rem}}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-icon{inset-inline-start:.75rem;width:1rem;height:1rem;color:var(--ct-muted-foreground);pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-wrap .cedros-data-input{padding-inline-start:2.25rem}@media (width<=767px){.cedros-trade.cedros-trade-admin .cedros-data-tabs__tab{padding-inline:8px}.cedros-trade.cedros-trade-admin .cedros-dropdown-menu__item,.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-clear{min-height:2.75rem}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-clear{width:2.75rem}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-wrap .cedros-data-input{padding-inline-end:3rem}}.cedros-trade-admin .cedros-trade-admin__readiness{width:min(100%,45rem)}.cedros-trade-admin .cedros-trade-admin__readiness h3,.cedros-trade-admin .cedros-trade-admin__sample h4,.cedros-trade-admin .cedros-trade-admin__sample p{margin:0}.cedros-trade-admin .cedros-trade-admin__readiness>p{margin-bottom:0}.cedros-trade-admin .cedros-trade-admin__readiness>div:last-child p{margin:0}.cedros-trade-admin .cedros-trade-admin__check+.cedros-trade-admin__check{border-top:1px solid var(--ct-border)}.cedros-trade.cedros-trade-admin .cedros-data-card.cedros-trade-admin__providers{padding-block:0}.cedros-trade-admin .cedros-trade-admin__provider{padding-block:16px}.cedros-trade-admin .cedros-trade-admin__provider+.cedros-trade-admin__provider,.cedros-trade-admin .cedros-trade-admin__provider-policy{border-top:1px solid var(--ct-border)}.cedros-trade-admin .ct-identifier summary{min-height:32px}.cedros-trade-admin .ct-identifier-copy{min-height:32px;padding:4px 8px;font-size:12px}.cedros-trade-admin .cedros-trade-admin__token-table{table-layout:fixed;min-width:0}.cedros-trade-admin .cedros-trade-admin__token-table--empty{min-width:0}.cedros-trade-admin .cedros-trade-admin__token-table th:last-child{width:6rem}@container ct-token-registry (width<=640px){.cedros-trade-admin .cedros-trade-admin__token-table th:last-child{width:7.5rem}.cedros-trade-admin .cedros-data-row-actions__icon{min-width:44px}}.cedros-trade-admin .cedros-trade-admin__token-table td{vertical-align:top}.cedros-trade-admin .cedros-trade-admin__token-table .cedros-data-table-summary{align-items:start}.cedros-trade-admin .cedros-trade-admin__token-table .cedros-trade-admin__token-identity{flex:1}.cedros-trade-admin .cedros-trade-admin__token-symbol{overflow-wrap:anywhere;min-width:0;max-width:100%}.cedros-trade-admin .cedros-trade-admin__diagnostics{border-top:1px solid var(--ct-border);padding-top:8px}.cedros-trade-admin .cedros-trade-admin__diagnostics>summary{align-content:center;min-height:32px}.cedros-trade-admin .cedros-trade-admin__provider{grid-template-columns:minmax(0,1fr) auto;align-items:start;display:grid}.cedros-trade-admin .cedros-trade-admin__provider-control{max-width:12rem}.cedros-trade-admin .cedros-trade-admin__provider-control .cedros-trade-admin__wallet-switch{justify-content:end}.cedros-trade-admin .cedros-trade-admin__provider-control p{margin-bottom:0}@media (width<=639px){.cedros-trade-admin .ct-identifier summary,.cedros-trade-admin .ct-identifier-copy{min-height:44px}}.cedros-trade.cedros-trade-admin .cedros-trade-admin__wallet-switch{cursor:pointer;align-items:center;gap:1rem;min-height:2rem;padding-block:.55rem;display:flex;position:relative}.cedros-trade.cedros-trade-admin .cedros-trade-admin__switch-copy{flex:1;gap:.25rem;min-width:0;display:grid}.cedros-trade.cedros-trade-admin .cedros-trade-admin__switch-copy .cedros-data-label{font-size:.8125rem;font-weight:500}.cedros-trade.cedros-trade-admin .cedros-trade-admin__switch-copy .cedros-data-field__description{color:var(--ct-muted-foreground);font-size:.75rem}.cedros-trade.cedros-trade-admin .cedros-trade-admin__wallet-switch input{opacity:0;width:100%;height:100%;cursor:inherit;margin:0;position:absolute;inset:0}.cedros-trade.cedros-trade-admin .cedros-trade-admin__switch-track{border:1px solid var(--ct-muted-foreground);background:var(--ct-surface-muted);width:2.35rem;height:1.3rem;transition:background-color var(--motion-duration-fast,.16s) ease;border-radius:999px;flex:none;position:relative}.cedros-trade.cedros-trade-admin .cedros-trade-admin__switch-thumb{border:1px solid var(--ct-muted-foreground);background:var(--ct-surface);width:1.1rem;height:1.1rem;box-shadow:var(--ct-shadow-sm);transition:transform var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1));border-radius:999px;position:absolute;top:1px;left:1px}.cedros-trade.cedros-trade-admin .cedros-trade-admin__wallet-switch input:checked+.cedros-trade-admin__switch-track{background:var(--ct-primary);border-color:var(--ct-primary)}.cedros-trade.cedros-trade-admin .cedros-trade-admin__wallet-switch input:checked+.cedros-trade-admin__switch-track .cedros-trade-admin__switch-thumb{border-color:#0000;transform:translate(1.02rem)}.cedros-trade.cedros-trade-admin .cedros-trade-admin__wallet-switch input:focus-visible+.cedros-trade-admin__switch-track{outline:2px solid var(--ct-ring);outline-offset:2px;box-shadow:var(--ct-shadow-focus)}.cedros-trade.cedros-trade-admin .cedros-trade-admin__wallet-switch:has(input:disabled){opacity:.5;cursor:not-allowed}.cedros-trade.cedros-trade-admin .cedros-trade-admin__wallet-switch:has(input[aria-busy=true]){opacity:.55;cursor:wait}@media (width<=767px){.cedros-trade.cedros-trade-admin .cedros-trade-admin__wallet-switch{min-height:2.75rem}}@media (prefers-reduced-motion:reduce){.cedros-trade.cedros-trade-admin .cedros-trade-admin__switch-track,.cedros-trade.cedros-trade-admin .cedros-trade-admin__switch-thumb{transition:none}.cedros-trade.cedros-trade-admin .cedros-data-btn,.cedros-trade.cedros-trade-admin .cedros-data-btn:hover:not(:disabled),.cedros-trade.cedros-trade-admin .cedros-data-btn:active:not(:disabled),.cedros-trade.cedros-trade-admin .ct-pressable,.cedros-trade.cedros-trade-admin .ct-pressable:hover:not(:disabled),.cedros-trade.cedros-trade-admin .ct-pressable:active:not(:disabled),.cedros-trade.cedros-trade-admin .ct-card-interactive:hover{transition:none;transform:none}}.cedros-trade-admin .cedros-trade-admin__sample-exchange{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin:16px 0;display:grid;position:relative}.cedros-trade.cedros-trade-admin .cedros-trade-admin__sample-return dd>div{font-size:24px}.cedros-trade-admin .cedros-trade-admin__sample-direction{width:16px;height:16px;color:var(--ct-muted-foreground);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.cedros-trade-admin .cedros-trade-admin__exceptions:empty{display:none}.cedros-trade.cedros-trade-admin .cedros-trade-admin__token-registry{container:ct-settings ct-token-registry/inline-size}.cedros-trade-admin .cedros-trade-admin__token-identity{grid-template-columns:minmax(0,1fr);align-items:start;gap:0;display:grid}.cedros-trade-admin .cedros-trade-admin__token-identity>.ct-identifier{min-width:0;margin:0}.cedros-trade-admin .cedros-trade-admin__token-identity>.ct-identifier[open]{grid-column:1/-1}.cedros-trade-admin .cedros-trade-admin__provider-details>summary{align-content:center;min-height:32px}.cedros-trade-admin .cedros-trade-admin__provider-details>div{padding-block:4px}@media (width<=767px){.cedros-trade-admin .cedros-trade-admin__provider-details>summary{min-height:44px}}@media (width<=480px){.cedros-trade-admin .cedros-trade-admin__sample-exchange{grid-template-columns:minmax(0,1fr);gap:16px}.cedros-trade-admin .cedros-trade-admin__sample-direction{margin-bottom:8px;display:block;position:static;transform:rotate(90deg)}}.cedros-trade-admin .cedros-trade-admin__token-preview{border-bottom:1px solid var(--ct-border);padding-block:.75rem}.cedros-trade.cedros-trade-admin .cedros-data-card .cedros-form-switch{background:0 0;border:0;border-radius:0;padding-inline:0}.cedros-trade.cedros-trade-admin details:not(.ct-quote-amount)>summary{color:var(--ct-muted-foreground);cursor:pointer;transition:color var(--motion-duration-fast,.16s) ease;align-items:center;gap:.5rem;font-size:.8125rem;font-weight:600;list-style:none;display:flex}.cedros-trade.cedros-trade-admin details:not(.ct-quote-amount)>summary::-webkit-details-marker{display:none}.cedros-trade.cedros-trade-admin details:not(.ct-quote-amount)>summary:before{content:\\\"\\\";width:.375rem;height:.375rem;transition:transform var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1));border-bottom:1.5px solid;border-right:1.5px solid;flex:none;margin-inline:.125rem .0625rem;transform:rotate(-45deg)}.cedros-trade.cedros-trade-admin details[open]:not(.ct-quote-amount)>summary:before{transform:rotate(45deg)}.cedros-trade.cedros-trade-admin details:not(.ct-quote-amount)>summary:hover,.cedros-trade.cedros-trade-admin details[open]:not(.ct-quote-amount)>summary{color:var(--ct-foreground)}.cedros-trade.cedros-trade-admin details.ct-identifier>summary{color:var(--ct-foreground);font-size:.75rem;font-weight:400}.cedros-trade.cedros-trade-admin .cedros-data-tabs__panel:focus-visible{outline:2px solid var(--ct-ring);outline-offset:2px;border-radius:var(--ct-radius)}@media (prefers-reduced-motion:reduce){.cedros-trade.cedros-trade-admin details>summary:before{transition:none}}.cedros-trade.cedros-trade-admin.cedros-trade-admin__status-card{align-content:start;gap:.75rem;display:grid}.cedros-trade-admin .cedros-trade-admin__card-metrics{margin:0}.cedros-trade-admin .cedros-trade-admin__card-footer{border-top:1px solid var(--ct-border);color:var(--ct-muted-foreground);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding-top:.75rem;font-size:.75rem;display:flex}\", R = \".cedros-trade.cedros-trade-admin .cedros-trade-admin__menu-trigger{width:2rem;padding:0}.cedros-trade.cedros-trade-admin .cedros-dropdown-menu__content{z-index:var(--z-dropdown,50);border:1px solid var(--ct-border);border-radius:var(--ct-radius);background:var(--ct-surface);min-width:11rem;max-width:min(20rem,100vw - 1rem);max-height:min(20rem,100dvh - 1rem);box-shadow:var(--ct-shadow-md);padding:.25rem;position:fixed;overflow-y:auto}.cedros-trade.cedros-trade-admin .cedros-dropdown-menu__item{border-radius:max(0px, calc(var(--ct-radius) - 4px));width:100%;height:2rem;color:var(--ct-foreground);font:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;align-items:center;padding:0 .5rem;font-size:.8125rem;display:flex;overflow:hidden}.cedros-trade.cedros-trade-admin .cedros-dropdown-menu__item:hover,.cedros-trade.cedros-trade-admin .cedros-dropdown-menu__item:focus-visible{background:var(--ct-surface-interactive);outline:none}.cedros-trade.cedros-trade-admin .cedros-dropdown-menu__item--danger{color:var(--ct-destructive)}.cedros-trade.cedros-trade-admin .cedros-dropdown-menu__separator{background:var(--ct-border);height:1px;margin:.25rem -.25rem}.cedros-trade.cedros-trade-admin .cedros-data-dialog__overlay{z-index:var(--z-modal,1000);background:#00000073;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.cedros-trade.cedros-trade-admin .cedros-data-dialog{border:1px solid var(--ct-border);border-radius:var(--ct-radius-lg);background:var(--ct-surface);width:min(100%,26.25rem);max-height:min(85dvh,44rem);box-shadow:var(--ct-shadow-lg);grid-template-rows:auto minmax(0,1fr) auto;display:grid;overflow:hidden}.cedros-trade.cedros-trade-admin .cedros-data-dialog--md{width:min(100%,35rem)}@media (width<=40rem){.cedros-trade.cedros-trade-admin .cedros-data-dialog__overlay{align-items:flex-end;padding:0}.cedros-trade.cedros-trade-admin .cedros-data-dialog{width:100%;max-height:calc(100dvh - env(safe-area-inset-top,0px));padding-bottom:env(safe-area-inset-bottom,0px);border-radius:var(--ct-radius-lg) var(--ct-radius-lg) 0 0}.cedros-trade.cedros-trade-admin .cedros-trade-admin__dialog-footer{flex-wrap:wrap}.cedros-trade.cedros-trade-admin .cedros-trade-admin__dialog-footer>*{flex:8rem}}.cedros-trade.cedros-trade-admin .cedros-data-dialog__heading{justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.25rem 1.25rem 0;display:flex;position:relative}.cedros-trade.cedros-trade-admin .cedros-data-dialog__title{color:var(--ct-foreground);margin:0;font-size:1.15rem;font-weight:600;line-height:1.25}.cedros-trade.cedros-trade-admin .cedros-data-dialog__description{color:var(--ct-muted-foreground);margin:.5rem 0 0;font-size:.8125rem;line-height:1.5}.cedros-trade.cedros-trade-admin .cedros-data-dialog__close{flex:none;width:2rem;padding:0}@media (width<=767px){.cedros-trade.cedros-trade-admin .cedros-data-dialog__close,.cedros-trade.cedros-trade-admin .cedros-trade-admin__menu-trigger{width:2.75rem;min-height:2.75rem}}.cedros-trade.cedros-trade-admin .cedros-data-dialog__body{min-height:0;color:var(--ct-foreground);padding:1.25rem;font-size:.8125rem;overflow-y:auto}.cedros-trade.cedros-trade-admin .cedros-trade-admin__dialog-footer{justify-content:flex-end;gap:.5rem;padding:1rem 1.25rem 1.25rem;display:flex}.cedros-trade.cedros-trade-admin .cedros-trade-admin__menu-motion{animation:ct-admin-menu-in calc(var(--motion-duration-fast,.16s) * 1.125) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1))}.cedros-trade.cedros-trade-admin .cedros-trade-admin__dialog-motion{animation:ct-admin-dialog-in var(--motion-duration-modal,.24s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1))}@keyframes ct-admin-menu-in{0%{opacity:0;transform:scale(.97)translateY(-4px)}to{opacity:1;transform:none}}@keyframes ct-admin-dialog-in{0%{opacity:0;transform:scale(.98)translateY(8px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.cedros-trade.cedros-trade-admin .cedros-trade-admin__menu-motion,.cedros-trade.cedros-trade-admin .cedros-trade-admin__dialog-motion{animation:none}}.cedros-trade.cedros-trade-admin .cedros-data-dialog__close:disabled{opacity:.5;cursor:wait}\", z = \"cedros-trade-styles\", B = [\n\tF,\n\tI,\n\tL,\n\tR\n].filter(Boolean).join(\"\\n\");\nfunction V(e, t = z) {\n\tif (typeof document > \"u\" || !e) return;\n\tlet n = document.getElementById(t);\n\tif (n) {\n\t\tn.tagName === \"STYLE\" && n.textContent !== e && (n.textContent = e);\n\t\treturn;\n\t}\n\tlet r = document.createElement(\"style\");\n\tr.id = t, r.textContent = e, (document.head ?? document.documentElement).appendChild(r);\n}\nfunction H() {\n\tV(B);\n}\nexport { k as n, H as t };\n","imports":[{"dynamic":false,"end":77,"specifier":"./approvedPair-C2gVtD2Y.js","start":51},{"dynamic":false,"end":183,"specifier":"./portfolio-N8aWyHHT.js","start":160},{"dynamic":false,"end":249,"specifier":"./cedros-extension.manifest-B-7fANy7.js","start":210},{"dynamic":false,"end":265,"specifier":"react","start":260},{"dynamic":false,"end":322,"specifier":"react/jsx-runtime","start":305},{"dynamic":true,"end":2207,"specifier":"./ExternalWalletSwap-CNrX_zRs.js","start":2173}],"hasUnsupportedDynamicImports":false},{"path":"workspace/react/dist/style.css","kind":"style","text":"/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:where(.cedros-trade,.cedros-trade *),:where(.cedros-trade,.cedros-trade *):before,:where(.cedros-trade,.cedros-trade *):after,:where(.cedros-trade,.cedros-trade *)::backdrop{--ct-tw-space-y-reverse:0;--ct-tw-border-style:solid;--ct-tw-leading:initial;--ct-tw-font-weight:initial;--ct-tw-tracking:initial;--ct-tw-shadow:0 0 #0000;--ct-tw-shadow-color:initial;--ct-tw-shadow-alpha:100%;--ct-tw-inset-shadow:0 0 #0000;--ct-tw-inset-shadow-color:initial;--ct-tw-inset-shadow-alpha:100%;--ct-tw-ring-color:initial;--ct-tw-ring-shadow:0 0 #0000;--ct-tw-inset-ring-color:initial;--ct-tw-inset-ring-shadow:0 0 #0000;--ct-tw-ring-inset:initial;--ct-tw-ring-offset-width:0px;--ct-tw-ring-offset-color:#fff;--ct-tw-ring-offset-shadow:0 0 #0000}}}.cedros-trade{--ct-font-sans:-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";--ct-font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;--ct-tracking-tight:-.025em;--ct-tracking-wide:.025em;--ct-radius-sm:.25rem;--ct-radius-lg:.5rem;--ct-shadow-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--ct-shadow-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--ct-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a}.cedros-trade .ct\\:pointer-events-none{pointer-events:none}.cedros-trade .ct\\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.cedros-trade .ct\\:absolute{position:absolute}.cedros-trade .ct\\:fixed{position:fixed}.cedros-trade .ct\\:relative{position:relative}.cedros-trade .ct\\:sticky{position:sticky}.cedros-trade .ct\\:inset-0{inset:0}.cedros-trade .ct\\:inset-y-0{inset-block:0}.cedros-trade .ct\\:top-0{top:0}.cedros-trade .ct\\:top-2{top:.5rem}.cedros-trade .ct\\:right-3{right:.75rem}.cedros-trade .ct\\:left-0{left:0}.cedros-trade .ct\\:left-2{left:.5rem}.cedros-trade .ct\\:z-10{z-index:10}.cedros-trade .ct\\:z-50{z-index:50}.cedros-trade .ct\\:z-1000{z-index:1000}.cedros-trade .ct\\:col-start-1{grid-column-start:1}.cedros-trade .ct\\:col-start-2{grid-column-start:2}.cedros-trade .ct\\:row-span-2{grid-row:span 2/span 2}.cedros-trade .ct\\:row-start-1{grid-row-start:1}.cedros-trade .ct\\:row-start-2{grid-row-start:2}.cedros-trade .ct\\:m-0{margin:0}.cedros-trade .ct\\:mx-4{margin-inline:1rem}.cedros-trade .ct\\:mx-auto{margin-inline:auto}.cedros-trade .ct\\:mt-0\\.5{margin-top:.125rem}.cedros-trade .ct\\:mt-1{margin-top:.25rem}.cedros-trade .ct\\:mt-1\\.5{margin-top:.375rem}.cedros-trade .ct\\:mt-2{margin-top:.5rem}.cedros-trade .ct\\:mt-3{margin-top:.75rem}.cedros-trade .ct\\:mt-4{margin-top:1rem}.cedros-trade .ct\\:mt-5{margin-top:1.25rem}.cedros-trade .ct\\:mb-0{margin-bottom:0}.cedros-trade .ct\\:mb-1{margin-bottom:.25rem}.cedros-trade .ct\\:mb-2{margin-bottom:.5rem}.cedros-trade .ct\\:mb-6{margin-bottom:1.5rem}.cedros-trade .ct\\:ml-1{margin-left:.25rem}.cedros-trade .ct\\:ml-2{margin-left:.5rem}.cedros-trade .ct\\:block{display:block}.cedros-trade .ct\\:flex{display:flex}.cedros-trade .ct\\:grid{display:grid}.cedros-trade .ct\\:hidden{display:none}.cedros-trade .ct\\:inline-flex{display:inline-flex}.cedros-trade .ct\\:h-2{height:.5rem}.cedros-trade .ct\\:h-3{height:.75rem}.cedros-trade .ct\\:h-3\\.5{height:.875rem}.cedros-trade .ct\\:h-4{height:1rem}.cedros-trade .ct\\:h-5{height:1.25rem}.cedros-trade .ct\\:h-6{height:1.5rem}.cedros-trade .ct\\:h-7{height:1.75rem}.cedros-trade .ct\\:h-8{height:2rem}.cedros-trade .ct\\:h-\\[1em\\]{height:1em}.cedros-trade .ct\\:h-full{height:100%}.cedros-trade .ct\\:max-h-48{max-height:12rem}.cedros-trade .ct\\:max-h-64{max-height:16rem}.cedros-trade .ct\\:max-h-72{max-height:18rem}.cedros-trade .ct\\:max-h-\\[82vh\\]{max-height:82vh}.cedros-trade .ct\\:min-h-8{min-height:2rem}.cedros-trade .ct\\:min-h-9{min-height:2.25rem}.cedros-trade .ct\\:min-h-11{min-height:2.75rem}.cedros-trade .ct\\:min-h-40{min-height:10rem}.cedros-trade .ct\\:min-h-\\[22rem\\]{min-height:22rem}.cedros-trade .ct\\:min-h-\\[34rem\\]{min-height:34rem}.cedros-trade .ct\\:min-h-\\[400px\\]{min-height:400px}.cedros-trade .ct\\:w-2{width:.5rem}.cedros-trade .ct\\:w-3{width:.75rem}.cedros-trade .ct\\:w-3\\.5{width:.875rem}.cedros-trade .ct\\:w-4{width:1rem}.cedros-trade .ct\\:w-5{width:1.25rem}.cedros-trade .ct\\:w-6{width:1.5rem}.cedros-trade .ct\\:w-7{width:1.75rem}.cedros-trade .ct\\:w-8{width:2rem}.cedros-trade .ct\\:w-16{width:4rem}.cedros-trade .ct\\:w-20{width:5rem}.cedros-trade .ct\\:w-28{width:7rem}.cedros-trade .ct\\:w-80{width:20rem}.cedros-trade .ct\\:w-\\[1em\\]{width:1em}.cedros-trade .ct\\:w-full{width:100%}.cedros-trade .ct\\:max-w-2xl{max-width:42rem}.cedros-trade .ct\\:max-w-3xl{max-width:48rem}.cedros-trade .ct\\:max-w-6xl{max-width:72rem}.cedros-trade .ct\\:max-w-lg{max-width:32rem}.cedros-trade .ct\\:max-w-md{max-width:28rem}.cedros-trade .ct\\:max-w-sm{max-width:24rem}.cedros-trade .ct\\:max-w-xl{max-width:36rem}.cedros-trade .ct\\:max-w-xs{max-width:20rem}.cedros-trade .ct\\:min-w-0{min-width:0}.cedros-trade .ct\\:min-w-11{min-width:2.75rem}.cedros-trade .ct\\:min-w-\\[100px\\]{min-width:100px}.cedros-trade .ct\\:min-w-max{min-width:max-content}.cedros-trade .ct\\:flex-1{flex:1}.cedros-trade .ct\\:flex-none{flex:none}.cedros-trade .ct\\:shrink-0{flex-shrink:0}.cedros-trade .ct\\:basis-56{flex-basis:14rem}.cedros-trade .ct\\:basis-64{flex-basis:16rem}.cedros-trade .ct\\:basis-72{flex-basis:18rem}.cedros-trade .ct\\:cursor-pointer{cursor:pointer}.cedros-trade .ct\\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.cedros-trade .ct\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cedros-trade .ct\\:grid-cols-\\[minmax\\(0\\,1fr\\)_auto\\]{grid-template-columns:minmax(0,1fr) auto}.cedros-trade .ct\\:flex-col{flex-direction:column}.cedros-trade .ct\\:flex-wrap{flex-wrap:wrap}.cedros-trade .ct\\:content-center{align-content:center}.cedros-trade .ct\\:items-baseline{align-items:baseline}.cedros-trade .ct\\:items-center{align-items:center}.cedros-trade .ct\\:items-start{align-items:flex-start}.cedros-trade .ct\\:justify-between{justify-content:space-between}.cedros-trade .ct\\:justify-center{justify-content:center}.cedros-trade .ct\\:justify-end{justify-content:flex-end}.cedros-trade .ct\\:gap-1{gap:.25rem}.cedros-trade .ct\\:gap-1\\.5{gap:.375rem}.cedros-trade .ct\\:gap-2{gap:.5rem}.cedros-trade .ct\\:gap-2\\.5{gap:.625rem}.cedros-trade .ct\\:gap-3{gap:.75rem}.cedros-trade .ct\\:gap-4{gap:1rem}.cedros-trade .ct\\:gap-5{gap:1.25rem}.cedros-trade .ct\\:gap-6{gap:1.5rem}:where(.cedros-trade .ct\\:space-y-1>:not(:last-child)){--ct-tw-space-y-reverse:0;margin-block-start:calc(.25rem * var(--ct-tw-space-y-reverse));margin-block-end:calc(.25rem * calc(1 - var(--ct-tw-space-y-reverse)))}:where(.cedros-trade .ct\\:space-y-2>:not(:last-child)){--ct-tw-space-y-reverse:0;margin-block-start:calc(calc(.25rem * 2) * var(--ct-tw-space-y-reverse));margin-block-end:calc(calc(.25rem * 2) * calc(1 - var(--ct-tw-space-y-reverse)))}:where(.cedros-trade .ct\\:space-y-3>:not(:last-child)){--ct-tw-space-y-reverse:0;margin-block-start:calc(calc(.25rem * 3) * var(--ct-tw-space-y-reverse));margin-block-end:calc(calc(.25rem * 3) * calc(1 - var(--ct-tw-space-y-reverse)))}:where(.cedros-trade .ct\\:space-y-4>:not(:last-child)){--ct-tw-space-y-reverse:0;margin-block-start:calc(calc(.25rem * 4) * var(--ct-tw-space-y-reverse));margin-block-end:calc(calc(.25rem * 4) * calc(1 - var(--ct-tw-space-y-reverse)))}:where(.cedros-trade .ct\\:space-y-5>:not(:last-child)){--ct-tw-space-y-reverse:0;margin-block-start:calc(calc(.25rem * 5) * var(--ct-tw-space-y-reverse));margin-block-end:calc(calc(.25rem * 5) * calc(1 - var(--ct-tw-space-y-reverse)))}.cedros-trade .ct\\:gap-x-1{column-gap:.25rem}.cedros-trade .ct\\:gap-x-2{column-gap:.5rem}.cedros-trade .ct\\:gap-x-3{column-gap:.75rem}.cedros-trade .ct\\:gap-y-1{row-gap:.25rem}.cedros-trade .ct\\:self-center{align-self:center}.cedros-trade .ct\\:overflow-auto{overflow:auto}.cedros-trade .ct\\:overflow-hidden{overflow:hidden}.cedros-trade .ct\\:overflow-x-auto{overflow-x:auto}.cedros-trade .ct\\:overflow-y-auto{overflow-y:auto}.cedros-trade .ct\\:rounded-cedros{border-radius:var(--ct-radius,.625rem)}.cedros-trade .ct\\:rounded-cedros-sm{border-radius:var(--ct-radius-sm)}.cedros-trade .ct\\:rounded-full{border-radius:2147483647px}.cedros-trade .ct\\:rounded-sm{border-radius:.25rem}.cedros-trade .ct\\:border{border-style:var(--ct-tw-border-style);border-width:1px}.cedros-trade .ct\\:border-0{border-style:var(--ct-tw-border-style);border-width:0}.cedros-trade .ct\\:border-y{border-block-style:var(--ct-tw-border-style);border-block-width:1px}.cedros-trade .ct\\:border-t{border-top-style:var(--ct-tw-border-style);border-top-width:1px}.cedros-trade .ct\\:border-b{border-bottom-style:var(--ct-tw-border-style);border-bottom-width:1px}.cedros-trade .ct\\:border-l-2{border-left-style:var(--ct-tw-border-style);border-left-width:2px}.cedros-trade .ct\\:border-\\(--ct-border\\){border-color:var(--ct-border)}.cedros-trade .ct\\:border-\\(--ct-destructive\\){border-color:var(--ct-destructive)}.cedros-trade .ct\\:border-\\(--ct-info\\){border-color:var(--ct-info)}.cedros-trade .ct\\:border-\\(--ct-primary\\){border-color:var(--ct-primary)}.cedros-trade .ct\\:border-\\(--ct-success\\){border-color:var(--ct-success)}.cedros-trade .ct\\:border-\\(--ct-warning\\){border-color:var(--ct-warning)}.cedros-trade .ct\\:border-current{border-color:currentColor}.cedros-trade .ct\\:border-l-\\(--ct-border\\){border-left-color:var(--ct-border)}.cedros-trade .ct\\:border-l-\\(--ct-destructive\\){border-left-color:var(--ct-destructive)}.cedros-trade .ct\\:border-l-\\(--ct-info\\){border-left-color:var(--ct-info)}.cedros-trade .ct\\:border-l-\\(--ct-primary\\){border-left-color:var(--ct-primary)}.cedros-trade .ct\\:border-l-\\(--ct-success\\){border-left-color:var(--ct-success)}.cedros-trade .ct\\:border-l-\\(--ct-warning\\){border-left-color:var(--ct-warning)}.cedros-trade .ct\\:bg-\\(--ct-destructive\\){background-color:var(--ct-destructive)}.cedros-trade .ct\\:bg-\\(--ct-destructive-bg\\){background-color:var(--ct-destructive-bg)}.cedros-trade .ct\\:bg-\\(--ct-info-bg\\){background-color:var(--ct-info-bg)}.cedros-trade .ct\\:bg-\\(--ct-muted\\){background-color:var(--ct-muted)}.cedros-trade .ct\\:bg-\\(--ct-overlay\\){background-color:var(--ct-overlay)}.cedros-trade .ct\\:bg-\\(--ct-primary\\){background-color:var(--ct-primary)}.cedros-trade .ct\\:bg-\\(--ct-success\\){background-color:var(--ct-success)}.cedros-trade .ct\\:bg-\\(--ct-success-bg\\){background-color:var(--ct-success-bg)}.cedros-trade .ct\\:bg-\\(--ct-surface\\){background-color:var(--ct-surface)}.cedros-trade .ct\\:bg-\\(--ct-surface-elevated\\){background-color:var(--ct-surface-elevated)}.cedros-trade .ct\\:bg-\\(--ct-surface-muted\\){background-color:var(--ct-surface-muted)}.cedros-trade .ct\\:bg-\\(--ct-warning-bg\\){background-color:var(--ct-warning-bg)}.cedros-trade .ct\\:bg-black\\/40{background-color:oklab(0% none none/.4)}.cedros-trade .ct\\:bg-current{background-color:currentColor}.cedros-trade .ct\\:object-contain{object-fit:contain}.cedros-trade .ct\\:p-0{padding:0}.cedros-trade .ct\\:p-1{padding:.25rem}.cedros-trade .ct\\:p-1\\.5{padding:.375rem}.cedros-trade .ct\\:p-2{padding:.5rem}.cedros-trade .ct\\:p-3{padding:.75rem}.cedros-trade .ct\\:p-4{padding:1rem}.cedros-trade .ct\\:p-5{padding:1.25rem}.cedros-trade .ct\\:p-6{padding:1.5rem}.cedros-trade .ct\\:px-1{padding-inline:.25rem}.cedros-trade .ct\\:px-1\\.5{padding-inline:.375rem}.cedros-trade .ct\\:px-2{padding-inline:.5rem}.cedros-trade .ct\\:px-2\\.5{padding-inline:.625rem}.cedros-trade .ct\\:px-3{padding-inline:.75rem}.cedros-trade .ct\\:px-4{padding-inline:1rem}.cedros-trade .ct\\:px-5{padding-inline:1.25rem}.cedros-trade .ct\\:py-0\\.5{padding-block:.125rem}.cedros-trade .ct\\:py-1{padding-block:.25rem}.cedros-trade .ct\\:py-1\\.5{padding-block:.375rem}.cedros-trade .ct\\:py-2{padding-block:.5rem}.cedros-trade .ct\\:py-2\\.5{padding-block:.625rem}.cedros-trade .ct\\:py-3{padding-block:.75rem}.cedros-trade .ct\\:py-3\\.5{padding-block:.875rem}.cedros-trade .ct\\:py-4{padding-block:1rem}.cedros-trade .ct\\:py-6{padding-block:1.5rem}.cedros-trade .ct\\:py-7{padding-block:1.75rem}.cedros-trade .ct\\:py-8{padding-block:2rem}.cedros-trade .ct\\:py-10{padding-block:2.5rem}.cedros-trade .ct\\:py-12{padding-block:3rem}.cedros-trade .ct\\:pr-9{padding-right:2.25rem}.cedros-trade .ct\\:pr-12{padding-right:3rem}.cedros-trade .ct\\:pb-2{padding-bottom:.5rem}.cedros-trade .ct\\:pl-3{padding-left:.75rem}.cedros-trade .ct\\:pl-9{padding-left:2.25rem}.cedros-trade .ct\\:text-center{text-align:center}.cedros-trade .ct\\:text-left{text-align:left}.cedros-trade .ct\\:text-right{text-align:right}.cedros-trade .ct\\:font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.cedros-trade .ct\\:text-2xl{font-size:1.5rem;line-height:var(--ct-tw-leading,calc(2 / 1.5))}.cedros-trade .ct\\:text-3xl{font-size:1.875rem;line-height:var(--ct-tw-leading,calc(2.25 / 1.875))}.cedros-trade .ct\\:text-base{font-size:1rem;line-height:var(--ct-tw-leading,calc(1.5 / 1))}.cedros-trade .ct\\:text-lg{font-size:1.125rem;line-height:var(--ct-tw-leading,calc(1.75 / 1.125))}.cedros-trade .ct\\:text-sm{font-size:.875rem;line-height:var(--ct-tw-leading,calc(1.25 / .875))}.cedros-trade .ct\\:text-xl{font-size:1.25rem;line-height:var(--ct-tw-leading,calc(1.75 / 1.25))}.cedros-trade .ct\\:text-xs{font-size:.75rem;line-height:var(--ct-tw-leading,calc(1 / .75))}.cedros-trade .ct\\:text-\\[9px\\]{font-size:9px}.cedros-trade .ct\\:text-\\[10px\\]{font-size:10px}.cedros-trade .ct\\:leading-5{--ct-tw-leading:calc(.25rem * 5);line-height:1.25rem}.cedros-trade .ct\\:leading-6{--ct-tw-leading:calc(.25rem * 6);line-height:1.5rem}.cedros-trade .ct\\:leading-none{--ct-tw-leading:1;line-height:1}.cedros-trade .ct\\:leading-tight{--ct-tw-leading:1.25;line-height:1.25}.cedros-trade .ct\\:font-medium{--ct-tw-font-weight:500;font-weight:500}.cedros-trade .ct\\:font-normal{--ct-tw-font-weight:400;font-weight:400}.cedros-trade .ct\\:font-semibold{--ct-tw-font-weight:600;font-weight:600}.cedros-trade .ct\\:tracking-wide{--ct-tw-tracking:.025em;letter-spacing:.025em}.cedros-trade .ct\\:wrap-break-word{overflow-wrap:break-word}.cedros-trade .ct\\:break-all{word-break:break-all}.cedros-trade .ct\\:whitespace-nowrap{white-space:nowrap}.cedros-trade .ct\\:text-\\(--ct-destructive\\){color:var(--ct-destructive)}.cedros-trade .ct\\:text-\\(--ct-destructive-foreground\\){color:var(--ct-destructive-foreground)}.cedros-trade .ct\\:text-\\(--ct-foreground\\){color:var(--ct-foreground)}.cedros-trade .ct\\:text-\\(--ct-info\\){color:var(--ct-info)}.cedros-trade .ct\\:text-\\(--ct-muted-foreground\\){color:var(--ct-muted-foreground)}.cedros-trade .ct\\:text-\\(--ct-primary\\){color:var(--ct-primary)}.cedros-trade .ct\\:text-\\(--ct-primary-foreground\\){color:var(--ct-primary-foreground)}.cedros-trade .ct\\:text-\\(--ct-success\\){color:var(--ct-success)}.cedros-trade .ct\\:text-\\(--ct-success-foreground\\){color:var(--ct-success-foreground)}.cedros-trade .ct\\:text-\\(--ct-warning\\){color:var(--ct-warning)}.cedros-trade .ct\\:text-current{color:currentColor}.cedros-trade .ct\\:capitalize{text-transform:capitalize}.cedros-trade .ct\\:uppercase{text-transform:uppercase}.cedros-trade .ct\\:placeholder-\\(--ct-muted-foreground\\)::placeholder{color:var(--ct-muted-foreground)}.cedros-trade .ct\\:accent-\\(--ct-primary\\){accent-color:var(--ct-primary)}.cedros-trade .ct\\:opacity-0{opacity:0}.cedros-trade .ct\\:opacity-10{opacity:.1}.cedros-trade .ct\\:opacity-50{opacity:.5}.cedros-trade .ct\\:opacity-80{opacity:.8}.cedros-trade .ct\\:shadow-cedros{--ct-tw-shadow:var(--ct-shadow-sm);box-shadow:var(--ct-tw-inset-shadow), var(--ct-tw-inset-ring-shadow), var(--ct-tw-ring-offset-shadow), var(--ct-tw-ring-shadow), var(--ct-tw-shadow)}.cedros-trade .ct\\:outline-hidden{--ct-tw-outline-style:none;outline-style:none}@media (forced-colors:active){.cedros-trade .ct\\:outline-hidden{outline-offset:2px;outline:2px solid #0000}}.cedros-trade .ct\\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--ct-tw-gradient-from,--ct-tw-gradient-via,--ct-tw-gradient-to;transition-timing-function:var(--ct-tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--ct-tw-duration,.15s)}.cedros-trade .ct\\:last\\:border-b-0:last-child{border-bottom-style:var(--ct-tw-border-style);border-bottom-width:0}@media (hover:hover){.cedros-trade .ct\\:hover\\:bg-\\(--ct-buy-bg\\):hover{background-color:var(--ct-buy-bg)}.cedros-trade .ct\\:hover\\:bg-\\(--ct-destructive-bg\\):hover{background-color:var(--ct-destructive-bg)}.cedros-trade .ct\\:hover\\:bg-\\(--ct-info-bg\\):hover{background-color:var(--ct-info-bg)}.cedros-trade .ct\\:hover\\:bg-\\(--ct-muted\\):hover{background-color:var(--ct-muted)}.cedros-trade .ct\\:hover\\:bg-\\(--ct-primary\\):hover{background-color:var(--ct-primary)}.cedros-trade .ct\\:hover\\:bg-\\(--ct-sell-bg\\):hover{background-color:var(--ct-sell-bg)}.cedros-trade .ct\\:hover\\:bg-\\(--ct-surface-interactive\\):hover{background-color:var(--ct-surface-interactive)}.cedros-trade .ct\\:hover\\:bg-\\(--ct-warning-bg\\):hover{background-color:var(--ct-warning-bg)}.cedros-trade .ct\\:hover\\:text-\\(--ct-foreground\\):hover{color:var(--ct-foreground)}.cedros-trade .ct\\:hover\\:text-\\(--ct-primary-foreground\\):hover{color:var(--ct-primary-foreground)}.cedros-trade .ct\\:hover\\:text-\\(--ct-warning\\):hover{color:var(--ct-warning)}.cedros-trade .ct\\:hover\\:opacity-70:hover{opacity:.7}}.cedros-trade .ct\\:disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.cedros-trade .ct\\:disabled\\:opacity-50:disabled{opacity:.5}@media (width>=40rem){.cedros-trade .ct\\:sm\\:w-auto{width:auto}.cedros-trade .ct\\:sm\\:flex-none{flex:none}.cedros-trade .ct\\:sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.cedros-trade .ct\\:sm\\:grid-cols-\\[8rem_1fr\\]{grid-template-columns:8rem 1fr}.cedros-trade .ct\\:sm\\:justify-end{justify-content:flex-end}.cedros-trade .ct\\:sm\\:gap-2{gap:.5rem}.cedros-trade .ct\\:sm\\:p-5{padding:1.25rem}.cedros-trade .ct\\:sm\\:p-6{padding:1.5rem}.cedros-trade .ct\\:sm\\:px-6{padding-inline:1.5rem}.cedros-trade .ct\\:sm\\:text-3xl{font-size:1.875rem;line-height:var(--ct-tw-leading,calc(2.25 / 1.875))}.cedros-trade .ct\\:sm\\:text-4xl{font-size:2.25rem;line-height:var(--ct-tw-leading,calc(2.5 / 2.25))}.cedros-trade .ct\\:sm\\:text-base{font-size:1rem;line-height:var(--ct-tw-leading,calc(1.5 / 1))}}@media (width>=48rem){.cedros-trade .ct\\:md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=64rem){.cedros-trade .ct\\:lg\\:grid-cols-\\[minmax\\(0\\,1fr\\)_minmax\\(17rem\\,24rem\\)\\]{grid-template-columns:minmax(0,1fr) minmax(17rem,24rem)}.cedros-trade .ct\\:lg\\:items-end{align-items:flex-end}.cedros-trade .ct\\:lg\\:py-10{padding-block:2.5rem}}@media (width>=80rem){.cedros-trade .ct\\:xl\\:block{display:block}.cedros-trade .ct\\:xl\\:hidden{display:none}.cedros-trade .ct\\:xl\\:flex-row{flex-direction:row}.cedros-trade .ct\\:xl\\:border-r{border-right-style:var(--ct-tw-border-style);border-right-width:1px}.cedros-trade .ct\\:xl\\:border-\\[var\\(--ct-border\\)\\]{border-color:var(--ct-border)}}.cedros-trade{--ct-background:var(--ca5ss4b-runtime-bg,var(--ca5ss4br-bg,var(--ca5ss4b-background,#fafafa)));--ct-foreground:var(--ca5ss4b-runtime-text,var(--ca5ss4br-fg,var(--ca5ss4b-foreground,#171717)));--ct-surface:var(--ca5ss4b-runtime-panel,var(--ca5ss4br-panel,var(--ct-background)));--ct-surface-elevated:var(--ct-surface);--ct-surface-muted:var(--ca5ss4b-runtime-panel,var(--ca5ss4br-panel,var(--ca5ss4b-muted,var(--ct-surface))))}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-surface-muted:color-mix(in srgb, var(--ca5ss4b-runtime-panel,var(--ca5ss4br-panel,var(--ca5ss4b-muted,var(--ct-surface)))) 94%, var(--ct-foreground) 6%)}}.cedros-trade{--ct-surface-interactive:var(--ca5ss4b-runtime-accent-soft,var(--ca5ss4br-link-soft,var(--ca5ss4b-accent,var(--ct-surface-muted))));--ct-muted:var(--ct-surface-muted);--ct-muted-foreground:var(--ca5ss4b-runtime-muted,var(--ca5ss4br-muted,var(--ca5ss4b-muted-foreground,#595959)));--ct-border:var(--ca5ss4b-runtime-border,var(--ca5ss4br-border,var(--ca5ss4b-border,#e5e5e5)));--ct-border-strong:var(--ct-border)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-border-strong:color-mix(in srgb, var(--ct-border) 70%, var(--ct-foreground) 30%)}}.cedros-trade{--ct-input:var(--ca5ss4b-runtime-border,var(--ca5ss4br-border,var(--ca5ss4b-border,#e5e5e5)));--ct-ring:var(--ca5ss4b-ring,var(--ca5ss4b-runtime-accent,#737373));--ct-control-border:var(--ct-ring)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-control-border:color-mix(in srgb, var(--ct-ring) 75%, var(--ct-border))}}.cedros-trade{--ct-primary:var(--ca5ss4b-runtime-action-bg,var(--ca5ss4br-primary,var(--ca5ss4b-primary,#262626)));--ct-primary-foreground:var(--ca5ss4b-runtime-action-fg,var(--ca5ss4br-primary-fg,var(--ca5ss4b-primary-foreground,#fff)));--ct-link:var(--ca5ss4b-runtime-accent,var(--ca5ss4br-link-strong,var(--ca5ss4b-link,#2f6c7d)));--ct-destructive:var(--ca5ss4b-runtime-error,var(--ca5ss4b-error,#b91c1c));--ct-destructive-foreground:#fff;--ct-success:var(--ca5ss4b-success,#166534);--ct-success-foreground:#fff;--ct-warning:var(--ca5ss4b-runtime-warning,#d97706)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-warning:color-mix(in srgb, var(--ca5ss4b-runtime-warning,#d97706) 55%, var(--ct-foreground))}}.cedros-trade{--ct-info:var(--ca5ss4b-runtime-text,var(--ca5ss4br-fg,var(--ca5ss4b-foreground,#1d4ed8)));--ct-radius:var(--ca5ss4b-radius,8px);--ct-radius-sm:max(calc(var(--ct-radius) - 3px), .25rem);--ct-radius-lg:calc(var(--ct-radius) + 4px);--ct-radius-control:max(0px, calc(var(--ct-radius) - 1px));--ct-radius-card:var(--ct-radius);--ct-radius-panel:calc(var(--ct-radius) + 4px);--ct-shadow-sm:var(--ca5ss4b-shadow-sm,0 1px 2px var(--ct-foreground))}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-shadow-sm:var(--ca5ss4b-shadow-sm,0 1px 2px color-mix(in srgb, var(--ct-foreground) 6%, transparent))}}.cedros-trade{--ct-shadow-md:var(--ca5ss4b-shadow-md,0 4px 6px -1px var(--ct-foreground))}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-shadow-md:var(--ca5ss4b-shadow-md,0 4px 6px -1px color-mix(in srgb, var(--ct-foreground) 10%, transparent))}}.cedros-trade{--ct-shadow-lg:var(--ca5ss4b-shadow-lg,0 10px 25px -4px var(--ct-foreground))}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-shadow-lg:var(--ca5ss4b-shadow-lg,0 10px 25px -4px color-mix(in srgb, var(--ct-foreground) 12%, transparent))}}.cedros-trade{--ct-shadow-focus:0 0 0 2px var(--ct-surface), 0 0 0 4px var(--ct-ring)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-shadow-focus:0 0 0 2px var(--ct-surface), 0 0 0 4px color-mix(in srgb, var(--ct-ring) 38%, transparent)}}.cedros-trade{--ct-overlay:#00000073;--ct-warning-foreground:#fff;--ct-info-foreground:#fff;--ct-tracking-tight:0;--ct-tracking-wide:0;--ct-spin:.72s;--ct-duration-micro:var(--motion-duration-micro,.1s);--ct-duration-fast:var(--motion-duration-fast,.16s);--ct-duration-panel:var(--motion-duration-standard,.22s);--ct-ease-spring:cubic-bezier(.16, 1, .3, 1);--ct-gradient-brand:var(--ct-primary);--ct-gradient-surface:var(--ct-background);--ct-gradient-market:var(--ct-background);--ct-success-bg:var(--ct-success)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-success-bg:color-mix(in srgb, var(--ct-success) 8%, var(--ct-surface))}}.cedros-trade{--ct-warning-bg:var(--ct-warning)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-warning-bg:color-mix(in srgb, var(--ct-warning) 8%, var(--ct-surface))}}.cedros-trade{--ct-destructive-bg:var(--ct-destructive)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-destructive-bg:color-mix(in srgb, var(--ct-destructive) 8%, var(--ct-surface))}}.cedros-trade{--ct-info-bg:var(--ct-info)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-info-bg:color-mix(in srgb, var(--ct-info) 8%, var(--ct-surface))}}.cedros-trade{--ct-selected-bg:var(--ct-primary)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-selected-bg:color-mix(in srgb, var(--ct-primary) 14%, var(--ct-surface))}}.cedros-trade{--ct-disabled-bg:var(--ct-muted)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-disabled-bg:color-mix(in srgb, var(--ct-muted) 82%, var(--ct-background) 18%)}}.cedros-trade{--ct-buy:var(--ct-success);--ct-sell:var(--ct-destructive);--ct-buy-bg:var(--ct-buy)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-buy-bg:color-mix(in srgb, var(--ct-buy) 10%, transparent)}}.cedros-trade{--ct-sell-bg:var(--ct-sell)}@supports (color:color-mix(in lab, red, red)){.cedros-trade{--ct-sell-bg:color-mix(in srgb, var(--ct-sell) 10%, transparent)}}.cedros-trade{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--ct-foreground);font-family:var(--ca5ss4b-font-body,inherit);font-feature-settings:\"cv02\", \"cv03\", \"cv04\", \"tnum\";text-rendering:optimizelegibility}:where(.cedros-trade),:where(.cedros-trade *){box-sizing:border-box}:where(.cedros-trade button,.cedros-trade input,.cedros-trade select){font:inherit}:where(.cedros-trade) :where(h1,h2,h3,h4,p,dl,dd){margin-block-start:0;margin-inline:0}:where(.cedros-trade) :where(:not([class*=space-y-])>:is(h1,h2,h3,h4,p,dl,dd),:is(h1,h2,h3,h4,p,dl,dd):last-child){margin-block-end:0}:where(.cedros-trade button){appearance:none;color:inherit;background:0 0;border:0}@media (width<=40rem){.cedros-trade{overflow-wrap:anywhere;min-width:0}.cedros-trade button,.cedros-trade input:not([type=checkbox]):not([type=radio]),.cedros-trade select,.cedros-trade summary{min-height:2.75rem}.cedros-trade .ct-token-selector-sheet-wrap{max-width:calc(100vw - 1rem)}}.cedros-trade table{border-collapse:collapse}.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-background:var(--ca5ss4b-runtime-bg,var(--ca5ss4br-bg,var(--ca5ss4b-background,#0a0a0a)));--ct-foreground:var(--ca5ss4b-runtime-text,var(--ca5ss4br-fg,var(--ca5ss4b-foreground,#fafafa)));--ct-surface:var(--ca5ss4b-runtime-panel,var(--ca5ss4br-panel,var(--ct-background)));--ct-surface-elevated:var(--ct-surface);--ct-surface-muted:var(--ca5ss4b-runtime-panel,var(--ca5ss4br-panel,var(--ca5ss4b-muted,var(--ct-surface))))}@supports (color:color-mix(in lab, red, red)){.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-surface-muted:color-mix(in srgb, var(--ca5ss4b-runtime-panel,var(--ca5ss4br-panel,var(--ca5ss4b-muted,var(--ct-surface)))) 94%, var(--ct-foreground) 6%)}}.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-surface-interactive:var(--ca5ss4b-runtime-accent-soft,var(--ca5ss4br-link-soft,var(--ca5ss4b-accent,var(--ct-surface-muted))));--ct-muted:var(--ct-surface-muted);--ct-muted-foreground:var(--ca5ss4b-runtime-muted,var(--ca5ss4br-muted,var(--ca5ss4b-muted-foreground,#b3b3b3)));--ct-border:var(--ca5ss4b-runtime-border,var(--ca5ss4br-border,var(--ca5ss4b-border,#262626)));--ct-border-strong:var(--ct-border)}@supports (color:color-mix(in lab, red, red)){.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-border-strong:color-mix(in srgb, var(--ct-border) 64%, var(--ct-foreground) 36%)}}.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-input:var(--ca5ss4b-runtime-border,var(--ca5ss4br-border,var(--ca5ss4b-border,#262626)));--ct-shadow-sm:var(--ca5ss4b-shadow-sm,0 1px 2px var(--ct-foreground))}@supports (color:color-mix(in lab, red, red)){.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-shadow-sm:var(--ca5ss4b-shadow-sm,0 1px 2px color-mix(in srgb, var(--ct-foreground) 6%, transparent))}}.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-shadow-md:var(--ca5ss4b-shadow-md,0 4px 6px -1px var(--ct-foreground))}@supports (color:color-mix(in lab, red, red)){.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-shadow-md:var(--ca5ss4b-shadow-md,0 4px 6px -1px color-mix(in srgb, var(--ct-foreground) 10%, transparent))}}.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-shadow-lg:var(--ca5ss4b-shadow-lg,0 10px 25px -4px var(--ct-foreground))}@supports (color:color-mix(in lab, red, red)){.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-shadow-lg:var(--ca5ss4b-shadow-lg,0 10px 25px -4px color-mix(in srgb, var(--ct-foreground) 12%, transparent))}}.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-shadow-focus:0 0 0 2px var(--ct-surface), 0 0 0 4px var(--ct-ring)}@supports (color:color-mix(in lab, red, red)){.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-shadow-focus:0 0 0 2px var(--ct-surface), 0 0 0 4px color-mix(in srgb, var(--ct-ring) 46%, transparent)}}.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-overlay:#00000073;--ct-ring:var(--ca5ss4b-ring,var(--ca5ss4b-runtime-accent,#9ca3af));--ct-gradient-surface:var(--ct-background);--ct-success:var(--ca5ss4b-success,#4ade80);--ct-destructive:var(--ca5ss4b-runtime-error,var(--ca5ss4b-error,#fca5a5));--ct-destructive-foreground:#111827;--ct-success-foreground:#111827;--ct-warning:var(--ca5ss4b-runtime-warning,#fbbf24)}@supports (color:color-mix(in lab, red, red)){.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-warning:color-mix(in srgb, var(--ca5ss4b-runtime-warning,#fbbf24) 55%, var(--ct-foreground))}}.ca5ss4b-dark .cedros-trade:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark:where(:not(.cedros-trade-admin)),.cedros-trade.cedros-trade--dark .cedros-trade:where(:not(.cedros-trade-admin)){--ct-info:var(--ca5ss4b-runtime-text,var(--ca5ss4br-fg,var(--ca5ss4b-foreground,#93c5fd)));--ct-primary:var(--ca5ss4b-runtime-action-bg,var(--ca5ss4br-primary,var(--ca5ss4b-primary,#fafafa)));--ct-primary-foreground:var(--ca5ss4b-runtime-action-fg,var(--ca5ss4br-primary-fg,var(--ca5ss4b-primary-foreground,#171717)));--ct-link:var(--ca5ss4b-runtime-accent,var(--ca5ss4br-link-strong,var(--ca5ss4b-link,#7fb0bd)));--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.cedros-trade .ct-panel{border:1px solid var(--ct-border);background:var(--ct-panel-bg,var(--ct-surface));box-shadow:var(--ct-shadow-sm)}.cedros-trade .ct-panel-elevated{border:1px solid var(--ct-border);background:var(--ct-surface);box-shadow:none}.cedros-trade .ct-panel-info{--ct-panel-bg:var(--ct-info-bg)}.cedros-trade .ct-panel-success{--ct-panel-bg:var(--ct-success-bg)}.cedros-trade .ct-panel-warning{--ct-panel-bg:var(--ct-warning-bg)}.cedros-trade .ct-panel-danger{--ct-panel-bg:var(--ct-destructive-bg)}.cedros-trade .ct-market-wash{background:var(--ct-background)}.cedros-trade .ct-dot-grid{background-image:none}.cedros-trade .ct-field{border-radius:var(--ct-radius-control);background:var(--ct-surface-muted);min-width:0;font-size:1rem;line-height:1.5}@supports (color:color-mix(in lab, red, red)){.cedros-trade .ct-field{background:color-mix(in srgb, var(--ct-surface-muted) 86%, var(--ct-background) 14%)}}.cedros-trade .ct-field{border:1px solid var(--ct-control-border);box-shadow:none}.ca5ss4b-dark .cedros-trade .ct-field,.cedros-trade.cedros-trade--dark .ct-field{box-shadow:none}.cedros-trade .ct-field:focus-visible,.cedros-trade .ct-focusable:focus-visible{outline:2px solid var(--ct-ring);outline-offset:2px;border-color:var(--ct-ring)}@supports (color:color-mix(in lab, red, red)){.cedros-trade .ct-field:focus-visible,.cedros-trade .ct-focusable:focus-visible{border-color:color-mix(in srgb, var(--ct-ring) 72%, var(--ct-border) 28%)}}.cedros-trade .ct-field:focus-visible,.cedros-trade .ct-focusable:focus-visible{box-shadow:var(--ct-shadow-focus)}.cedros-trade .ct-pressable{transition:transform var(--ct-duration-fast) var(--ct-ease-spring), background-color var(--ct-duration-fast) ease-out, border-color var(--ct-duration-fast) ease-out, box-shadow var(--ct-duration-fast) ease-out, opacity var(--ct-duration-fast) ease-out;transform:translateY(0)scale(1)}.cedros-trade .ct-pressable:hover{transform:none}.cedros-trade .ct-pressable:active{transform:translateY(0)scale(.985)}.cedros-trade .ct-pressable:disabled{transform:none}.cedros-trade .ct-primary-action{background:var(--ct-primary);color:var(--ct-primary-foreground);box-shadow:none}.cedros-trade .ct-success-action{background:var(--ct-success);color:var(--ct-success-foreground);box-shadow:none}.cedros-trade .ct-danger-action{background:var(--ct-destructive);color:var(--ct-destructive-foreground);box-shadow:none}.cedros-trade .ct-link{min-height:2.75rem;color:var(--ct-link);text-underline-offset:.2em;border-radius:var(--ct-radius-control);align-items:center;text-decoration:underline;display:inline-flex}.cedros-trade .ct-link:hover{text-decoration-thickness:2px}.cedros-trade .ct-message-dismiss{flex:none;justify-content:center;align-items:center;width:2.75rem;min-height:2.75rem;display:inline-flex}.cedros-trade .ct-primary-action,.cedros-trade .ct-success-action,.cedros-trade .ct-danger-action{transition:background-color var(--ct-duration-fast) ease-out}.cedros-trade .ct-radius-control{border-radius:var(--ct-radius-control)}.cedros-trade .ct-radius-card{border-radius:var(--ct-radius-card)}.cedros-trade .ct-radius-panel{border-radius:var(--ct-radius-panel)}.cedros-trade .ct-primary-action:hover:not(:disabled),.cedros-trade .ct-success-action:hover:not(:disabled),.cedros-trade .ct-danger-action:hover:not(:disabled){filter:saturate(1.05)brightness(1.045)}.cedros-trade .ct-status-dot{background:currentColor;border-radius:999px;width:.5rem;height:.5rem}.cedros-trade .ct-skeleton{background:linear-gradient(90deg, var(--ct-muted), var(--ct-muted), var(--ct-muted))}@supports (color:color-mix(in lab, red, red)){.cedros-trade .ct-skeleton{background:linear-gradient(90deg, var(--ct-muted), color-mix(in srgb, var(--ct-muted) 72%, var(--ct-foreground) 8%), var(--ct-muted))}}.cedros-trade .ct-skeleton{background-size:220% 100%;animation:1.5s ease-in-out infinite ct-shimmer}.cedros-trade .ct-enter,.cedros-trade .ct-enter-slow,.cedros-trade .ct-stagger>*,.cedros-trade .ct-stagger-dense>*{animation:none}.cedros-trade .ct-rolling-label{min-height:1.2em;display:inline-grid;overflow:hidden}.cedros-trade .ct-rolling-label__text{animation:ct-roll-label var(--motion-duration-fast,.16s) ease-out both;grid-area:1/1}.cedros-trade .ct-empty-visual{border-radius:var(--ct-radius);border:1px solid var(--ct-border);background:var(--ct-surface-muted);width:3rem;height:3rem;margin-inline:auto;position:relative}.cedros-trade .ct-empty-visual:before,.cedros-trade .ct-empty-visual:after{content:\"\";border-radius:999px;position:absolute}.cedros-trade .ct-empty-visual:before{background:var(--ct-muted-foreground);height:.42rem;inset:1rem .9rem auto}.cedros-trade .ct-empty-visual:after{border:2px solid var(--ct-empty-accent-2,var(--ct-warning));width:1.1rem;height:1.1rem;bottom:1rem;right:1rem}@keyframes ct-roll-label{0%{opacity:0;transform:translateY(.55em)}to{opacity:1;transform:translateY(0)}}@keyframes ct-shimmer{0%{background-position:160% 0}to{background-position:-60% 0}}@media (prefers-reduced-motion:reduce){.cedros-trade .ct-enter,.cedros-trade .ct-enter-slow,.cedros-trade .ct-stagger>*,.cedros-trade .ct-stagger-dense>*,.cedros-trade .ct-rolling-label__text,.cedros-trade .ct-skeleton{animation:none}.cedros-trade .ct-pressable,.cedros-trade .ct-pressable:hover,.cedros-trade .ct-pressable:active{transition-duration:1ms;transform:none}}.cedros-trade{width:100%;min-width:0;font-family:var(--ca5ss4b-font-body,inherit)}.cedros-trade .ct-shell-surface{background:0 0}.cedros-trade .ct-public-heading>.ct-panel-elevated{box-shadow:none;background:0 0;border:0;padding:0}.cedros-trade .ct-public-heading>.ct-panel-elevated>.ct-gradient-brand-fill{display:none}.cedros-trade.ct-quote-preview-shell>div{gap:24px;max-width:720px;padding:24px 0}.cedros-trade.ct-external-swap{overflow:visible}.cedros-trade.ct-external-swap>div{padding:12px 0 40px}.cedros-trade .ct-swap-card{border-radius:var(--ct-radius);background:var(--ct-surface);max-width:560px;box-shadow:none;padding:24px;font-size:14px;line-height:1.5}.cedros-trade .ct-swap-fields{border:0;min-width:0;margin:0;padding:0}.cedros-trade .ct-swap-fields label,.cedros-trade .ct-select-label{font-size:14px;font-weight:500;display:block}.cedros-trade .ct-swap-fields input,.cedros-trade .ct-select-trigger{width:100%;min-width:0;height:44px;min-height:44px;font:inherit;background:var(--ct-surface);border:1px solid var(--ct-border);border-radius:var(--ct-radius-control);color:var(--ct-foreground);border-color:var(--ct-control-border);align-items:center;gap:8px;margin-top:8px;padding:0 12px;font-size:16px;font-weight:400;display:flex}.cedros-trade .ct-swap-card button{font-size:14px;font-weight:500}.cedros-trade .ct-swap-card>button{width:100%;min-height:44px;padding:8px 12px}.cedros-trade .ct-swap-card .ct-primary-action{background:var(--ca5ss4b-runtime-action-bg,var(--ct-primary));min-height:44px;color:var(--ca5ss4b-runtime-action-fg,var(--ct-primary-foreground));border-radius:var(--ct-radius-control);box-shadow:none;border:1px solid #0000;padding:8px 12px}.cedros-trade .ct-swap-card button:focus-visible,.cedros-trade .ct-swap-card input:focus-visible{outline:2px solid var(--ct-ring);outline-offset:2px}.cedros-trade .ct-swap-card button:disabled{opacity:.5;cursor:not-allowed}.cedros-trade .ct-select{--ct-select-row-height:44px;min-width:0;position:relative}.cedros-trade .ct-select-trigger{text-align:left;cursor:pointer;justify-content:space-between}.cedros-trade .ct-select-trigger>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cedros-trade .ct-select-trigger>svg{opacity:.5;flex:0 0 16px;width:16px;height:16px}.cedros-trade .ct-select-panel{z-index:var(--z-dropdown,50);border:1px solid var(--ct-border);border-radius:var(--ct-radius);background:var(--ct-surface);width:100%;max-height:320px;color:var(--ct-foreground);box-shadow:var(--ct-shadow-md);flex-direction:column;padding:4px;display:flex;position:absolute;top:calc(100% + 4px);left:0;overflow:hidden}.cedros-trade .ct-select-panel--above{top:auto;bottom:calc(var(--ct-select-row-height) + 4px)}.cedros-trade .ct-select-search{border-bottom:1px solid var(--ct-border);border-radius:max(0px, calc(var(--ct-radius) - 4px));flex:0 0 45px;align-items:center;gap:8px;min-width:0;padding:0 8px;display:flex}.cedros-trade .ct-select-search:focus-within{box-shadow:inset 0 0 0 1px var(--ct-ring)}.cedros-trade .ct-select-search>svg{width:16px;height:16px;color:var(--ct-muted-foreground);flex-shrink:0}.cedros-trade .ct-select-search input{appearance:none;background:0 0;border:0;border-radius:0;flex:1 1 0;width:0;min-width:0;height:44px;min-height:44px;margin:0;padding:0}.cedros-trade .ct-select-search input:focus,.cedros-trade .ct-swap-card .ct-select-search input:focus-visible{box-shadow:none;outline:none}.cedros-trade .ct-select-options{overscroll-behavior:contain;scrollbar-width:thin;min-height:0;overflow-y:auto}.cedros-trade .ct-select-option{height:var(--ct-select-row-height);cursor:pointer;border-radius:max(0px, calc(var(--ct-radius) - 4px));align-items:center;gap:8px;padding:0 8px;font-size:16px;font-weight:400;display:flex}.cedros-trade .ct-select-option[data-active=true]{background:var(--ct-surface-muted)}.cedros-trade .ct-select-option>span:last-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.cedros-trade .ct-select-check{flex:0 0 16px;width:16px;display:flex}.cedros-trade .ct-select-check svg{width:16px;height:16px}.cedros-trade .ct-select-empty{color:var(--ct-muted-foreground);margin:0;padding:8px;font-size:13px}@media (width<=640px){.cedros-trade .ct-swap-card{padding:16px}.cedros-trade .ct-select{--ct-select-row-height:44px}.cedros-trade .ct-select-trigger{height:44px;min-height:44px}.cedros-trade .ct-select-search{flex-basis:45px}.cedros-trade .ct-select-search input{height:44px;min-height:44px}}.cedros-trade :where(button:not([role=tab]):not(.cedros-data-btn):not(.ct-token-sheet-handle),input:not([type=checkbox]):not([type=radio]),select,summary){min-height:2.75rem}.cedros-trade :where(input:not([type=checkbox]):not([type=radio]),select){font-size:1rem}.cedros-trade .ct-public-heading h1,.cedros-trade-block>header h1{font-size:1.25rem;line-height:1.25}.cedros-trade :where(h1,h2,h3,h4):not(:where(.cedros-trade-admin *)){font-family:var(--ca5ss4b-font-heading,var(--ca5ss4b-font-body,inherit))}.cedros-trade .ct-token-sheet-handle{min-width:2.75rem;min-height:2.75rem}.cedros-trade .ct-token-selector-overlay button:has(>svg:only-child){min-width:2.75rem;min-height:2.75rem}.cedros-trade .ct-public-label{color:var(--ct-foreground);font-size:.875rem;font-weight:500}.cedros-trade :where(.ct\\:border,.ct\\:border-b,.ct\\:border-t,.ct\\:border-l-2){border-style:solid;border-width:0}.cedros-trade .ct-quote-card{box-shadow:none;padding:24px;container:ct-quote/inline-size}.cedros-trade .ct-quote-exchange{grid-template-columns:minmax(0,1fr);align-items:start;gap:4px;display:grid}.cedros-trade .ct-quote-side{min-width:0}.cedros-trade .ct-quote-side-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;margin-bottom:8px;display:flex}.cedros-trade .ct-quote-side-heading .ct-public-label{color:var(--ct-muted-foreground)}.cedros-trade .ct-quote-side-heading[data-long-token]{flex-direction:column;align-items:start}.cedros-trade .ct-quote-side-heading[data-long-token] .ct-token-button{max-width:100%}.cedros-trade .ct-quote-input{box-sizing:border-box;min-height:56px;font-size:1.5rem}.cedros-trade .ct-quote-side--output .ct-quote-result{justify-content:start;min-height:56px}.cedros-trade .ct-quote-route-heading>span{max-width:55%}.cedros-trade .ct-quote-direction{margin-block:0}.cedros-trade .ct-quote-direction button{min-width:44px;min-height:44px}.cedros-trade .ct-token-button{flex-shrink:0;min-width:0;max-width:65%}.cedros-trade .ct-token-button>svg{flex-shrink:0}.cedros-trade .ct-quote-side-heading .ct-token-button{background:0 0;padding:4px 8px;font-size:14px}@container ct-quote (width>=560px){.cedros-trade .ct-quote-exchange{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);gap:16px}.cedros-trade .ct-quote-exchange .ct-quote-direction{margin-block:60px 0}.cedros-trade .ct-quote-direction svg{transform:rotate(90deg)}.cedros-trade .ct-quote-direction svg.ct-rotated{transform:rotate(270deg)}}@container ct-quote (width<=259px){.cedros-trade .ct-quote-side-heading{flex-direction:column;align-items:start}.cedros-trade .ct-quote-side-heading .ct-token-button{width:100%;max-width:none}.cedros-trade .ct-quote-card .ct-quote-protection{grid-template-columns:minmax(0,1fr)}}.cedros-trade .ct-quote-status{padding:0}.cedros-trade .ct-quote-status.ct-panel-warning{padding:12px}.cedros-trade .ct-quote-status>div>div{flex:12rem;min-width:0}.cedros-trade .ct-quote-status button{flex-shrink:0;min-height:44px}.cedros-trade .ct-quote-details{border-top:1px solid var(--ct-border);padding-top:16px}.cedros-trade .ct-quote-result{font-size:2rem;font-weight:600;line-height:1.25}.cedros-trade .ct-quote-amount>summary{list-style:none}.cedros-trade .ct-quote-amount>summary::-webkit-details-marker{display:none}.cedros-trade .ct-quote-amount[open]>summary .ct-quote-amount__chevron{transform:rotate(180deg)}.cedros-trade .ct-quote-route{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:12px;padding-block:12px;font-size:14px;display:grid}.cedros-trade .ct-quote-route+.ct-quote-route{border-top:1px solid var(--ct-border)}.cedros-trade .ct-quote-protection{border-radius:var(--ct-radius-control);background:var(--ct-surface-muted);grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px;padding:12px;display:grid}.cedros-trade .ct-quote-protection>div{min-width:0}.cedros-trade .ct-quote-protection dt{color:var(--ct-muted-foreground);margin-bottom:4px;font-size:12px}.cedros-trade .ct-quote-protection dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:0 4px;margin:0;font-size:14px;font-weight:500;display:flex}.cedros-trade .ct-quote-protection-symbol{overflow-wrap:anywhere;font-size:12px;font-weight:400}.cedros-trade .ct-quote-best{color:var(--ct-muted-foreground);font-size:11px;font-weight:500}.cedros-trade .ct-quote-route dd,.cedros-trade .ct-quote-routes h3{margin:0}.cedros-trade .ct-quote-details summary{align-content:center}.cedros-trade .ct-quote-details dt{color:var(--ct-muted-foreground)}.cedros-trade .ct-quote-details dd{margin:0}.cedros-trade .ct-quote-settings{border-top:1px solid var(--ct-border);padding-top:12px}.cedros-trade .ct-quote-routes{border-top:1px solid var(--ct-border);padding-top:16px}.cedros-trade .ct-quote-routes summary,.cedros-trade .ct-quote-settings summary{align-content:center;min-height:44px}.cedros-trade.ct-unavailable-shell>div{max-width:640px;padding:24px 0}@media (width<=639px){.cedros-trade .ct-quote-card{padding:16px}.cedros-trade .ct-quote-status.ct-panel-warning>div{flex-direction:column;align-items:stretch}.cedros-trade .ct-quote-status.ct-panel-warning>div>div{flex-basis:auto}.cedros-trade .ct-quote-status.ct-panel-warning button{align-self:start}}.cedros-trade .ct-wallet-identity{flex-wrap:wrap;align-items:center;gap:4px 12px;display:flex}.cedros-trade .ct-swap-pay-group{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px;display:grid}.cedros-trade .ct-swap-pay-group[data-long-token]{grid-template-columns:minmax(0,1fr)}.cedros-trade .ct-swap-pay-group[data-long-token] .ct-select{order:-1}.cedros-trade .ct-swap-pay-group .ct-select-panel{width:max(100%,min(20rem,200% + 12px));left:auto;right:0}.cedros-trade .ct-swap-pay-group .ct-swap-amount{font-variant-numeric:tabular-nums;height:64px;font-size:24px}.cedros-trade .ct-swap-reverse{border:1px solid var(--ct-border);background:var(--ct-surface);width:44px;height:44px;color:var(--ct-muted-foreground);border-radius:999px;place-items:center;display:grid}.cedros-trade .ct-wallet-summary{border-bottom:1px solid var(--ct-border);justify-content:space-between;align-items:start;gap:16px;padding-bottom:16px;display:flex}.cedros-trade .ct-wallet-summary summary{align-content:center;min-height:44px}.cedros-trade .ct-wallet-disconnect{max-width:40%;min-height:44px;color:var(--ct-muted-foreground);background:0 0;border:0;padding:8px}.cedros-trade .ct-swap-protection summary{align-content:center;min-height:44px}.cedros-trade .ct-swap-exchange{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin:0;display:grid}.cedros-trade .ct-swap-exchange[data-long-token]{grid-template-columns:minmax(0,1fr)}.cedros-trade .ct-swap-exchange-side{align-content:start;gap:8px;min-width:0;display:grid}.cedros-trade .ct-swap-token-identity{align-items:center;gap:12px;min-width:0;display:flex}.cedros-trade .ct-swap-fields .ct-select{--ct-select-row-height:64px}.cedros-trade .ct-swap-fields .ct-select-trigger{height:auto;min-height:64px;padding-block:8px}.cedros-trade .ct-swap-fields .ct-select-trigger>span{white-space:normal;flex:1;min-width:0}.cedros-trade .ct-swap-fields .ct-select-option{height:auto;min-height:var(--ct-select-row-height);padding-block:8px}.cedros-trade .ct-swap-fields .ct-select-option>span:last-child{white-space:normal;overflow-wrap:anywhere;min-width:0}.cedros-trade.ct-unavailable-shell .ct\\:max-w-md{max-width:none}.cedros-trade .ct-unavailable-state{border-top:1px solid var(--ct-border);grid-template-columns:56px minmax(0,1fr);align-items:start;gap:8px 16px;padding-block:24px;display:grid}.cedros-trade .ct-unavailable-state>div{grid-row:span 2}.cedros-trade .ct-unavailable-state h2,.cedros-trade .ct-unavailable-state p{text-align:start;margin:0}.cedros-trade .ct-unavailable-state h2{font-size:1rem}.cedros-trade .ct-swap-wallet-details{border-top:1px solid var(--ct-border)}.cedros-trade .ct-swap-wallet-details>summary{overflow-wrap:anywhere;min-height:44px;color:var(--ct-muted-foreground);align-content:center}.cedros-trade .ct-wallet-preview{font-variant-numeric:tabular-nums;margin-inline-start:8px;font-size:12px;display:inline-block}.cedros-trade .ct-swap-wallet-details .ct-wallet-summary{border-bottom:0;padding:8px 0 0}.cedros-trade .ct-swap-review-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.cedros-trade .ct-swap-review-actions>button{flex:12rem;margin:0}.cedros-trade .ct-swap-review-actions>button+button{background:0 0;flex:none;width:auto}.cedros-trade .ct-swap-review-details{margin:0}.cedros-trade .ct-swap-review-details>div{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:8px 12px;padding:4px 0;display:grid}.cedros-trade .ct-swap-review-details dt{color:var(--ct-muted-foreground)}.cedros-trade .ct-swap-review-details dd{text-align:end;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:end;gap:0 4px;min-width:0;margin:0;display:flex}.cedros-trade .ct-swap-protected-return{background:var(--ct-surface-muted);border-radius:var(--ct-radius-control);margin:0;padding:16px}.cedros-trade .ct-swap-protected-return dt{color:var(--ct-muted-foreground);font-size:12px}.cedros-trade .ct-swap-minimum>dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;flex-wrap:wrap;gap:0 4px;margin:4px 0 0;font-size:18px;font-weight:600;display:flex}.cedros-trade .ct-swap-protected-return[data-long-token] .ct-swap-minimum>dd>span{overflow-wrap:anywhere;flex-basis:100%;font-size:14px;font-weight:400}.cedros-trade .ct-swap-protection-facts{flex-wrap:wrap;gap:8px 24px;margin:12px 0 0;display:flex}.cedros-trade .ct-swap-protection-facts>div{align-items:baseline;gap:8px;display:flex}.cedros-trade .ct-swap-protection-facts dd{font-variant-numeric:tabular-nums;margin:0;font-size:12px}.cedros-trade .ct-swap-fees>h3{margin:0 0 8px}.cedros-trade .ct-swap-review-actions button{width:100%;min-height:44px}@media (width<=639px){.cedros-trade .ct-swap-card{padding:16px}.cedros-trade .ct-swap-exchange{gap:16px}.cedros-trade .ct-quote-route{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}}.cedros-trade .ct-identifier{min-width:0;max-width:100%;font-size:12px}.cedros-trade .ct-identifier summary{cursor:pointer;align-content:center;min-height:44px}.cedros-trade .ct-identifier-value{overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;padding-block:8px;display:block}.cedros-trade .ct-identifier-copy{border:1px solid var(--ct-border);border-radius:var(--ct-radius-control);background:var(--ct-surface-muted);min-height:44px;color:var(--ct-foreground);padding:8px 12px}.cedros-trade .ct-token-monogram{font-size:inherit;line-height:1}.cedros-trade .ct-token-monogram:before{content:attr(data-monogram)}.cedros-trade .ct-token-avatar img{background:var(--ct-surface-muted)}.cedros-trade .ct-swap-receipt a{color:var(--ca5ss4b-runtime-accent,var(--ca5ss4b-link,var(--ct-foreground)));align-items:center;min-height:44px;display:inline-flex}.cedros-trade .ct-swap-receipt>button{width:100%;min-height:44px;margin-top:12px;display:block}.cedros-trade :where(input,textarea)::placeholder{color:var(--ct-muted-foreground);opacity:1}.cedros-trade .ct-token-button{border-color:var(--ct-control-border)}.cedros-trade .ct-token-selector-overlay{width:100%;max-width:none;height:100%;max-height:none;color:var(--ct-foreground);border:0}.cedros-trade .ct-token-selector-overlay::backdrop{background:0 0}.cedros-trade .ct-token-search-clear{border-radius:var(--ct-radius-control);width:44px;height:44px;color:var(--ct-muted-foreground);place-items:center;display:grid;position:absolute;top:50%;right:0;transform:translateY(-50%)}.cedros-trade .ct-token-search-clear:hover{background:var(--ct-surface-interactive);color:var(--ct-foreground)}.cedros-trade .ct-token-search-icon{width:1rem;height:1rem;color:var(--ct-muted-foreground);pointer-events:none;position:absolute;top:50%;left:.75rem;transform:translateY(-50%)}.cedros-trade input[type=search]::-webkit-search-cancel-button{appearance:none}.cedros-trade-block>.ct-block-heading--quote{width:min(100%,720px);margin-inline:auto}.cedros-trade .ct-quote-prompt{line-height:1.5}.cedros-trade .ct-swap-minimum{margin:0;font-weight:600}.cedros-trade .ct-swap-minimum dt{color:var(--ct-foreground)}.cedros-trade .ct-swap-stop-tracking{color:var(--ct-muted-foreground);text-align:start;background:0 0;border-color:#0000}.cedros-trade .ct-secondary-action{border:1px solid var(--ct-border);border-radius:var(--ct-radius-control);min-height:2.75rem;color:var(--ct-foreground);cursor:pointer;transition:background-color var(--ct-duration-fast) ease-out;background:0 0;justify-content:center;align-items:center;gap:.5rem;padding:.5rem .75rem;font-size:.875rem;font-weight:500;display:inline-flex}.cedros-trade .ct-secondary-action:hover:not(:disabled){background:var(--ct-surface-interactive)}.cedros-trade .ct-secondary-action:disabled{opacity:.5;cursor:not-allowed}@property --ct-tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --ct-tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --ct-tw-leading{syntax:\"*\";inherits:false}@property --ct-tw-font-weight{syntax:\"*\";inherits:false}@property --ct-tw-tracking{syntax:\"*\";inherits:false}@property --ct-tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --ct-tw-shadow-color{syntax:\"*\";inherits:false}@property --ct-tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --ct-tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --ct-tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --ct-tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --ct-tw-ring-color{syntax:\"*\";inherits:false}@property --ct-tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --ct-tw-inset-ring-color{syntax:\"*\";inherits:false}@property --ct-tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --ct-tw-ring-inset{syntax:\"*\";inherits:false}@property --ct-tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --ct-tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --ct-tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}.cedros-trade .ct-eyebrow{text-transform:none;letter-spacing:var(--ct-tracking-wide);color:var(--ct-muted-foreground);font-size:.875rem;font-weight:500;line-height:1.25rem}.cedros-trade .ct-tabular-num{font-variant-numeric:tabular-nums lining-nums;font-feature-settings:\"tnum\" 1;letter-spacing:0}.cedros-trade .ct-display-num{font-variant-numeric:tabular-nums lining-nums;font-feature-settings:\"tnum\" 1;letter-spacing:var(--ct-tracking-tight);font-weight:600}.cedros-trade .ct-text-gradient{background:var(--ct-gradient-brand);color:#0000;-webkit-background-clip:text;background-clip:text}.cedros-trade .ct-gradient-brand-fill{background:var(--ct-gradient-brand)}.cedros-trade .ct-token-avatar{background:var(--ct-gradient-brand);color:var(--ct-primary-foreground)}.cedros-trade .ct-card-interactive{transition:transform var(--ct-duration-fast) var(--ct-ease-spring), box-shadow var(--ct-duration-fast) ease-out, border-color var(--ct-duration-fast) ease-out}.cedros-trade .ct-card-interactive:hover{border-color:var(--ct-border-strong);box-shadow:var(--ct-shadow-md);transform:none}.cedros-trade .ct-card-interactive:active{transform:translateY(0)}.cedros-trade .ct-icon-medallion{border-radius:var(--ct-radius-lg);width:2.75rem;height:2.75rem;color:var(--ct-primary);border:1px solid color-mix(in srgb, var(--ct-border) 70%, transparent);background:var(--ct-surface-muted);box-shadow:var(--ct-shadow-sm);justify-content:center;align-items:center;display:inline-flex}.cedros-trade .ct-icon-medallion-lg{border-radius:var(--ct-radius);width:3.5rem;height:3.5rem}.cedros-trade .ct-divider-gradient{background:var(--ct-border);border:0;height:1px}.cedros-trade .ct-depth-bar{width:100%;transform:scaleX(var(--ct-depth-scale,0));transform-origin:0;transition:transform var(--ct-duration-panel) var(--ct-ease-spring)}.cedros-trade .ct-spinner{border:2px solid color-mix(in srgb, currentColor 22%, transparent);animation:ct-spin var(--ct-spin,.72s) linear infinite;border-top-color:currentColor;border-radius:999px;display:inline-block}.cedros-trade .ct-status-dot--pulse{animation:1.8s ease-out infinite ct-status-pulse}.cedros-trade .ct-rotatable{transition:transform var(--ct-duration-panel) var(--ct-ease-spring)}.cedros-trade .ct-directional-panel{min-width:0;position:relative;overflow:clip}.cedros-trade .ct-directional-panel__item{width:100%}.cedros-trade .ct-collapsible{opacity:0;transition:grid-template-rows var(--ct-duration-panel) var(--ct-ease-spring), opacity var(--ct-duration-fast) ease-out;grid-template-rows:0fr;display:grid}.cedros-trade .ct-collapsible--open{opacity:1;grid-template-rows:1fr}.cedros-trade .ct-collapsible__inner{min-height:0;overflow:hidden}.cedros-trade .ct-motion-pressable{transform-origin:50%;transition:transform .1s ease-out}.cedros-trade .ct-motion-pressable:active:not(:disabled){transform:scale(.98)}.cedros-trade .ct-scroll-boundary{overscroll-behavior:contain;-webkit-mask-image:var(--ct-scroll-mask,none);-webkit-mask-image:var(--ct-scroll-mask,none);mask-image:var(--ct-scroll-mask,none)}.cedros-trade .ct-scroll-boundary[data-scroll-axis=y]{scrollbar-gutter:stable}.cedros-trade .ct-scroll-boundary[data-scroll-axis=x][data-scroll-start=false][data-scroll-end=false]{--ct-scroll-mask:linear-gradient(90deg, transparent, #000 1rem, #000 calc(100% - 1rem), transparent)}.cedros-trade .ct-scroll-boundary[data-scroll-axis=x][data-scroll-start=false][data-scroll-end=true]{--ct-scroll-mask:linear-gradient(90deg, transparent, #000 1rem)}.cedros-trade .ct-scroll-boundary[data-scroll-axis=x][data-scroll-start=true][data-scroll-end=false]{--ct-scroll-mask:linear-gradient(90deg, #000 calc(100% - 1rem), transparent)}.cedros-trade .ct-scroll-boundary[data-scroll-axis=y][data-scroll-start=false][data-scroll-end=false]{--ct-scroll-mask:linear-gradient(transparent, #000 1rem, #000 calc(100% - 1rem), transparent)}.cedros-trade .ct-scroll-boundary[data-scroll-axis=y][data-scroll-start=false][data-scroll-end=true]{--ct-scroll-mask:linear-gradient(transparent, #000 1rem)}.cedros-trade .ct-scroll-boundary[data-scroll-axis=y][data-scroll-start=true][data-scroll-end=false]{--ct-scroll-mask:linear-gradient(#000 calc(100% - 1rem), transparent)}.cedros-trade .ct-progressive-control{transition:opacity var(--ct-duration-micro) ease-out, transform var(--ct-duration-fast) var(--ct-ease-spring)}.cedros-trade .ct-token-sheet-handle{display:none}@media (width<=639px){.cedros-trade .ct-token-selector-overlay{align-items:flex-end;padding:0}.cedros-trade .ct-token-selector-sheet-wrap{max-width:none}.cedros-trade .ct-token-selector-sheet{border-bottom-right-radius:0;border-bottom-left-radius:0;max-height:min(88dvh,44rem)}.cedros-trade .ct-token-sheet-handle{cursor:grab;touch-action:none;flex:none;justify-content:center;align-items:center;width:100%;height:1.5rem;display:flex}.cedros-trade .ct-token-sheet-handle:active{cursor:grabbing}.cedros-trade .ct-token-sheet-handle>span{background:var(--ct-border-strong);transform-origin:50%;border-radius:999px;width:2.75rem;height:.25rem;display:block}}.cedros-trade .ct-rotated{transform:rotate(180deg)}.cedros-trade .ct-flash-up{animation:ct-flash-up var(--motion-duration-highlight,.8s) ease-out}.cedros-trade .ct-flash-down{animation:ct-flash-down var(--motion-duration-highlight,.8s) ease-out}.cedros-trade .ct-pop{animation:ct-pop var(--motion-duration-standard,.22s) var(--ct-ease-spring) both}.cedros-trade .ct-check-draw path{stroke-dasharray:34;stroke-dashoffset:34px;animation:.52s ease-out 60ms forwards ct-draw}@keyframes ct-spin{to{transform:rotate(360deg)}}@keyframes ct-status-pulse{0%{box-shadow:0 0 0 3px color-mix(in srgb, currentColor 30%, transparent)}70%{box-shadow:0 0 0 8px color-mix(in srgb, currentColor 0%, transparent)}to{box-shadow:0 0 0 3px color-mix(in srgb, currentColor 0%, transparent)}}@keyframes ct-flash-up{0%{background-color:color-mix(in srgb, var(--ct-buy) 30%, transparent)}to{background-color:#0000}}@keyframes ct-flash-down{0%{background-color:color-mix(in srgb, var(--ct-sell) 30%, transparent)}to{background-color:#0000}}@keyframes ct-pop{0%{opacity:0;transform:scale(.98)}to{transform:scale(1)}}@keyframes ct-draw{to{stroke-dashoffset:0}}@media (prefers-reduced-motion:reduce){.cedros-trade .ct-spinner,.cedros-trade .ct-status-dot--pulse,.cedros-trade .ct-flash-up,.cedros-trade .ct-flash-down,.cedros-trade .ct-pop,.cedros-trade .ct-check-draw path{animation:none}.cedros-trade .ct-check-draw path{stroke-dashoffset:0}.cedros-trade .ct-pressable,.cedros-trade .ct-pressable:hover,.cedros-trade .ct-pressable:active,.cedros-trade .ct-card-interactive,.cedros-trade .ct-card-interactive:hover,.cedros-trade .ct-rotatable,.cedros-trade .ct-depth-bar,.cedros-trade .ct-motion-pressable,.cedros-trade .ct-motion-pressable:active:not(:disabled),.cedros-trade .ct-collapsible,.cedros-trade .ct-progressive-control{transition-duration:1ms;transform:none}}.cedros-trade.cedros-trade-admin{--ct-background:var(--cd-bg,oklch(100% 0 0));--ct-foreground:var(--cd-fg,oklch(14.5% 0 0));--ct-surface:var(--cd-card-bg,var(--ct-background));--ct-surface-elevated:var(--cd-card-bg,var(--ct-surface));--ct-surface-muted:var(--cd-muted-bg,color-mix(in srgb, var(--ct-surface) 88%, var(--ct-foreground) 12%));--ct-surface-interactive:var(--cd-accent,var(--ct-surface-muted));--ct-muted:var(--ct-surface-muted);--ct-muted-foreground:var(--cd-muted,#595959);--ct-border:var(--cd-border,oklch(92.2% 0 0));--ct-border-strong:color-mix(in srgb, var(--ct-border) 70%, var(--ct-foreground) 30%);--ct-input:var(--cd-border,var(--ct-border));--ct-ring:var(--cd-ring,oklch(55.6% 0 0));--ct-primary:var(--cd-primary,oklch(20.5% 0 0));--ct-primary-foreground:var(--cd-primary-fg,oklch(98.5% 0 0));--ct-link:var(--cd-link,#2f6c7d);--ct-destructive:var(--cd-error,#b91c1c);--ct-destructive-foreground:var(--cd-danger-fg,oklch(98.5% 0 0));--ct-danger-bg:var(--cd-danger-bg,oklch(50% .22 27.325));--ct-success:var(--cd-success,#166534);--ct-warning:var(--cd-warning-fg,var(--cd-warning,#92400e));--ct-info:var(--cd-info,var(--cd-link,#1d4ed8));--ct-radius:var(--cd-radius,.5rem);--ct-radius-sm:max(calc(var(--ct-radius) - 3px), .25rem);--ct-radius-lg:var(--admin-radius,.75rem);--ct-radius-control:max(calc(var(--ct-radius) - 1px), .25rem);--ct-radius-card:var(--ct-radius);--ct-radius-panel:var(--ct-radius-lg);--ct-shadow-sm:var(--cd-shadow,0 1px 2px #00000014);--ct-shadow-md:var(--cd-shadow,0 6px 16px -6px #00000029);--ct-shadow-lg:0 16px 48px color-mix(in srgb, var(--ct-foreground) 12%, transparent);--ct-shadow-focus:0 0 0 3px color-mix(in srgb, var(--ct-ring) 14%, transparent);--ct-duration-micro:var(--motion-duration-micro,.1s);--ct-duration-fast:var(--motion-duration-fast,.16s);--ct-duration-panel:var(--motion-duration-standard,.22s);--ct-ease-spring:var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1));--ct-container-settings:var(--cd-container-settings,45rem);--ct-gradient-brand:var(--ct-primary);--ct-gradient-surface:var(--ct-background);--ct-gradient-market:var(--ct-background);--ct-success-bg:var(--cd-success-bg,color-mix(in srgb, var(--ct-success) 14%, var(--ct-background)));--ct-warning-bg:var(--cd-warning-bg,color-mix(in srgb, var(--ct-warning) 18%, var(--ct-background)));--ct-destructive-bg:var(--cd-error-bg,color-mix(in srgb, var(--ct-destructive) 12%, var(--ct-background)));--ct-info-bg:var(--cd-info-bg,color-mix(in srgb, var(--ct-info) 12%, var(--ct-background)));--ct-selected-bg:color-mix(in srgb, var(--ct-primary) 8%, var(--ct-surface));--ct-disabled-bg:color-mix(in srgb, var(--ct-muted) 82%, var(--ct-background) 18%);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:0 0}.ca5ss4b-admin--dark .cedros-trade.cedros-trade-admin,.ca5ss4b-dark .cedros-trade.cedros-trade-admin{--ct-background:var(--cd-bg,oklch(14.5% 0 0));--ct-surface:var(--cd-card-bg,oklch(20.5% 0 0));--ct-surface-muted:var(--cd-muted-bg,oklch(26.9% 0 0));--ct-surface-interactive:var(--cd-accent,var(--ct-surface-muted));--ct-foreground:var(--cd-fg,oklch(98.5% 0 0));--ct-muted-foreground:var(--cd-muted,oklch(70.8% 0 0));--ct-border:var(--cd-border,oklch(100% 0 0/.1));--ct-ring:var(--cd-ring,oklch(55.6% 0 0));--ct-primary:var(--cd-primary,oklch(92.2% 0 0));--ct-primary-foreground:var(--cd-primary-fg,oklch(20.5% 0 0));--ct-link:var(--cd-link,#7fb0bd);--ct-destructive:var(--cd-error,#fca5a5);--ct-destructive-foreground:var(--cd-danger-fg,oklch(14.5% 0 0));--ct-danger-bg:var(--cd-danger-bg,oklch(70.4% .191 22.216));--ct-success:var(--cd-success,#4ade80);--ct-warning:var(--cd-warning-fg,var(--cd-warning,#fbbf24));--ct-info:var(--cd-info,var(--cd-link,#93c5fd));--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.cedros-trade.cedros-trade-admin .ct-shell-surface,.cedros-trade.cedros-trade-admin .ct-dot-grid{background:0 0}.cedros-trade.cedros-trade-admin .cedros-data-card{border:1px solid var(--ct-border);border-radius:var(--ct-radius);background:var(--ct-surface);box-shadow:var(--ct-shadow-sm);padding:1rem}.cedros-trade.cedros-trade-admin .ct-admin-metric{padding:0}.cedros-trade.cedros-trade-admin .cedros-data-summary-grid{gap:1rem;display:grid}.cedros-trade.cedros-trade-admin .cedros-data-input{border-color:var(--ct-border);background:var(--cd-input-bg,transparent);height:2.25rem;transition:background-color var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1)), border-color var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1)), box-shadow var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1))}.cedros-trade.cedros-trade-admin .cedros-data-toolbar .cedros-data-input{height:2.25rem;min-height:2.25rem}.cedros-trade.cedros-trade-admin .cedros-data-btn{border-radius:max(calc(var(--ct-radius) - 1px), .25rem);height:2rem;min-height:2rem;transition:transform var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1)), background-color var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1)), border-color var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1)), color var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1)), box-shadow var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1))}.cedros-trade.cedros-trade-admin .ct-primary-action,.cedros-trade.cedros-trade-admin .ct-danger-action{box-shadow:var(--ct-shadow-sm)}.cedros-trade.cedros-trade-admin .ct-primary-action{background:var(--ct-primary)}.cedros-trade.cedros-trade-admin .ct-danger-action{background:var(--ct-danger-bg);color:var(--ct-destructive-foreground)}.cedros-trade.cedros-trade-admin .ct-primary-action:hover:not(:disabled){background:color-mix(in srgb, var(--ct-primary) 88%, var(--ct-background))}.cedros-trade.cedros-trade-admin .ct-danger-action:hover:not(:disabled){background:color-mix(in srgb, var(--ct-danger-bg) 88%, var(--ct-background))}.cedros-trade.cedros-trade-admin .ct-pressable:hover:not(:disabled),.cedros-trade.cedros-trade-admin .ct-pressable:active:not(:disabled){transform:none}.cedros-trade.cedros-trade-admin .cedros-data-btn:hover:not(:disabled){box-shadow:var(--ct-shadow-sm);transform:translateY(-1px)}.cedros-trade.cedros-trade-admin .cedros-data-btn:active:not(:disabled){transition-duration:var(--motion-duration-micro,.1s);transform:scale(.98)}.cedros-trade.cedros-trade-admin .ct-card-interactive:hover{box-shadow:var(--ct-shadow-md);border-color:var(--ct-border-strong);transform:translateY(-1px)}.cedros-trade.cedros-trade-admin .ct-field:focus:not(:focus-visible),.cedros-trade.cedros-trade-admin .ct-focusable:focus:not(:focus-visible):not([aria-selected=true]),.cedros-trade.cedros-trade-admin .cedros-data-btn:focus:not(:focus-visible){border-color:var(--ct-border);box-shadow:none}.cedros-trade.cedros-trade-admin .ct-field:focus-visible,.cedros-trade.cedros-trade-admin .ct-focusable:focus-visible,.cedros-trade.cedros-trade-admin .cedros-data-btn:focus-visible{border-color:var(--ct-ring);box-shadow:var(--ct-shadow-focus);outline:none}.cedros-trade.cedros-trade-admin .cedros-data-btn--ghost:focus-visible,.cedros-trade.cedros-trade-admin .ct-focusable:where(summary,[role=tab]):focus-visible{outline:2px solid var(--ct-ring);outline-offset:2px}.cedros-trade.cedros-trade-admin .ct-panel-info{border-color:color-mix(in srgb, var(--ct-info) 30%, var(--ct-border))}.cedros-trade.cedros-trade-admin .ct-panel-success{border-color:color-mix(in srgb, var(--ct-success) 30%, var(--ct-border))}.cedros-trade.cedros-trade-admin .ct-panel-warning{border-color:color-mix(in srgb, var(--ct-warning) 30%, var(--ct-border))}.cedros-trade.cedros-trade-admin .ct-panel-danger{border-color:color-mix(in srgb, var(--ct-destructive) 30%, var(--ct-border))}.cedros-trade.cedros-trade-admin .ct-admin-empty{border-radius:var(--ct-radius);border:1px dashed color-mix(in srgb, var(--ct-border) 85%, var(--ct-muted-foreground));background:var(--ct-surface);flex-direction:column;justify-content:center;align-items:center;min-height:9rem;padding:2rem 1rem;display:flex}.cedros-trade.cedros-trade-admin .cedros-data-empty-state--in-table{background:0 0;border-radius:0}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-clear svg,.cedros-trade.cedros-trade-admin .cedros-trade-admin__menu-trigger svg,.cedros-trade.cedros-trade-admin .cedros-data-dialog__close svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:1rem;height:1rem}.cedros-trade.cedros-trade-admin .cedros-trade-admin__filtered-empty{min-height:4rem;color:var(--ct-muted-foreground);text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem;padding:.75rem;font-size:.8125rem;display:flex}.cedros-trade.cedros-trade-admin .cedros-trade-admin__filtered-empty .cedros-data-btn{white-space:nowrap;flex-shrink:0}.cedros-trade.cedros-trade-admin .cedros-trade-admin__section-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;min-width:0;display:flex}.cedros-trade.cedros-trade-admin .cedros-trade-admin__section-header-text{flex:18rem;min-width:0}.cedros-trade.cedros-trade-admin .cedros-trade-admin__section-title{color:var(--ct-foreground);margin:0;font-size:.875rem;font-weight:600;line-height:1.25}.cedros-trade.cedros-trade-admin .cedros-trade-admin__section-subtitle{max-width:60ch;color:var(--ct-muted-foreground);margin:.25rem 0 0;font-size:.8125rem;line-height:1.5}.cedros-trade.cedros-trade-admin .cedros-trade-admin__settings-column{width:100%;max-width:var(--ct-container-settings);container:ct-settings/inline-size}.cedros-trade.cedros-trade-admin .cedros-trade-admin__protection-editor{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.cedros-trade.cedros-trade-admin .cedros-trade-admin__protection-editor>div{flex:12rem;min-width:0;max-width:12rem}.cedros-trade.cedros-trade-admin .cedros-trade-admin__protection-editor>button{white-space:nowrap;flex-shrink:0}@container ct-settings (width>=480px){.cedros-trade.cedros-trade-admin .cedros-trade-admin__token-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.cedros-trade.cedros-trade-admin .cedros-trade-admin__token-field--wide{grid-column:1/-1}}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-wrap{width:min(100%,18rem);position:relative}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-wrap .cedros-data-input{padding-right:2rem}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-clear{border-radius:var(--ct-radius-sm);width:1.5rem;height:1.5rem;color:var(--ct-muted-foreground);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;top:50%;right:.25rem;transform:translateY(-50%)}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-clear:hover{background:var(--ct-surface-interactive);color:var(--ct-foreground)}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-clear:focus-visible{outline:2px solid var(--ct-ring);outline-offset:2px;box-shadow:var(--ct-shadow-focus)}.cedros-trade.cedros-trade-admin .ct-admin-skeleton-line{background:linear-gradient(90deg, var(--ct-surface-muted), color-mix(in srgb, var(--ct-surface-muted) 58%, var(--ct-background)), var(--ct-surface-muted));max-width:100%;height:.75rem;animation:cedros-trade-admin-shimmer 1.4s var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1)) infinite;background-size:220% 100%;border-radius:999px;display:block}.cedros-trade.cedros-trade-admin .ct-admin-skeleton-line+.ct-admin-skeleton-line{margin-top:.75rem}.cedros-trade.cedros-trade-admin .ct-admin-skeleton-line--title{width:42%}.cedros-trade.cedros-trade-admin .ct-admin-skeleton-line--short{width:64%}@keyframes cedros-trade-admin-shimmer{0%{background-position:120% 0}to{background-position:-120% 0}}@media (prefers-reduced-motion:reduce){.cedros-trade.cedros-trade-admin .ct-admin-skeleton-line{animation:none}.cedros-trade.cedros-trade-admin .cedros-data-btn{transition-duration:var(--motion-duration-micro,1ms)}}.cedros-trade.cedros-trade-admin{font-size:.875rem;line-height:1.5;font-family:var(--cd-font-sans,system-ui, sans-serif)}.cedros-trade.cedros-trade-admin .ct\\:text-sm,.cedros-trade.cedros-trade-admin .cedros-data-input{font-size:.8125rem}.cedros-trade.cedros-trade-admin .cedros-data__title{font-size:1.15rem;line-height:1.25}.cedros-trade.cedros-trade-admin .cedros-data__subtitle{max-width:var(--cd-container-prose,60ch);line-height:1.5}.cedros-trade.cedros-trade-admin .ct\\:text-lg:where(:not(.cedros-data__title)){font-size:1rem}.cedros-trade.cedros-trade-admin .cedros-data-card__title{font-size:.875rem}.cedros-trade.cedros-trade-admin .cedros-data-pill{font-size:.6875rem;font-weight:600}.cedros-trade.cedros-trade-admin .ct\\:font-mono{font-family:var(--cd-font-mono,ui-monospace, monospace)}.cedros-trade.cedros-trade-admin .cedros-data-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.cedros-trade.cedros-trade-admin .cedros-data-btn--secondary{background:0 0}.cedros-trade.cedros-trade-admin .cedros-data-btn--secondary:hover:not(:disabled),.cedros-trade.cedros-trade-admin .cedros-data-btn--ghost:hover:not(:disabled){background:var(--ct-surface-interactive)}.cedros-trade.cedros-trade-admin .cedros-data-input{border-radius:var(--ct-radius-control);min-height:2.25rem;padding-block:0}.cedros-trade.cedros-trade-admin .cedros-data-input[aria-invalid=true]{border-color:var(--ct-destructive)}.cedros-trade.cedros-trade-admin .cedros-data-field{align-items:center}.cedros-trade.cedros-trade-admin .cedros-data-field.ct\\:space-y-1{display:block}.cedros-trade.cedros-trade-admin .cedros-data-tabs__list{background:color-mix(in srgb, var(--ct-background) 96%, var(--ct-surface-interactive) 4%);width:fit-content;max-width:100%;padding:3px}.cedros-trade.cedros-trade-admin .cedros-data-tabs__tab{color:var(--ct-muted-foreground);border-radius:max(0px, calc(var(--ct-radius) - 3px));font-size:.8125rem;font-weight:500}.cedros-trade.cedros-trade-admin .cedros-data-tabs__tab:hover{color:var(--ct-foreground)}.cedros-trade.cedros-trade-admin .cedros-data-tabs__tab[aria-selected=true]{color:var(--ct-foreground);background:var(--ct-background);box-shadow:inset 0 0 0 1px var(--ct-border), var(--ct-shadow-sm)}.cedros-trade.cedros-trade-admin .cedros-data-metric__label{letter-spacing:.04em;text-transform:uppercase;font-size:.6875rem;font-weight:600}.cedros-trade.cedros-trade-admin .cedros-data-metric__value{font-size:1.5rem;font-weight:700}.cedros-trade.cedros-trade-admin .cedros-data-metric__hint{color:var(--ct-muted-foreground);font-size:.75rem}.cedros-trade.cedros-trade-admin .cedros-data-table th{letter-spacing:.04em;font-size:.6875rem}.cedros-trade.cedros-trade-admin .cedros-data-table-wrap{border:1px solid var(--ct-border);border-radius:var(--ct-radius-control);background:var(--ct-surface)}.cedros-trade.cedros-trade-admin .cedros-data-table thead{background:color-mix(in srgb, var(--ct-background) 90%, var(--ct-surface-interactive) 10%)}.cedros-trade.cedros-trade-admin .cedros-data-table tr:hover .cedros-data-table-summary__preview{color:var(--ct-foreground)}.cedros-trade.cedros-trade-admin .cedros-data-empty-state--in-table,.cedros-trade.cedros-trade-admin .cedros-data-table .cedros-data-empty{max-width:calc(var(--ct-scroll-viewport-size,100%) - 1.5rem);margin:.75rem;position:sticky;left:.75rem}.cedros-trade.cedros-trade-admin .cedros-data-empty-state h3{font-size:.875rem}.cedros-trade.cedros-trade-admin .cedros-data-empty-state__copy{max-width:38ch}.cedros-trade.cedros-trade-admin .ct-enter,.cedros-trade.cedros-trade-admin .ct-enter-slow,.cedros-trade.cedros-trade-admin .ct-stagger>*,.cedros-trade.cedros-trade-admin .ct-stagger-dense>*{animation:none}.cedros-trade.cedros-trade-admin .ct-progressive-control{opacity:1;pointer-events:auto}.cedros-trade.cedros-trade-admin .ct-scroll-boundary{-webkit-mask-image:none;mask-image:none}.cedros-trade.cedros-trade-admin summary{min-height:2rem}.cedros-trade.cedros-trade-admin .cedros-data-status{background:var(--ct-panel-bg,var(--ct-surface));box-shadow:none}.cedros-trade.cedros-trade-admin .cedros-trade-admin__status-icon{width:1rem;height:1rem;color:var(--ct-info);flex:none;margin-top:.125rem}.cedros-trade.cedros-trade-admin .cedros-data-status--warning .cedros-trade-admin__status-icon{color:var(--ct-warning)}.cedros-trade.cedros-trade-admin .cedros-data-status--error .cedros-trade-admin__status-icon{color:var(--ct-destructive)}.cedros-trade.cedros-trade-admin .cedros-data-checkbox-row input{width:1rem;height:1rem;accent-color:var(--ct-primary)}@media (width<=767px){.cedros-trade.cedros-trade-admin .cedros-data-btn,.cedros-trade.cedros-trade-admin .cedros-data-input,.cedros-trade.cedros-trade-admin .cedros-data-tabs__tab,.cedros-trade.cedros-trade-admin summary{height:auto;min-height:2.75rem}}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-icon{inset-inline-start:.75rem;width:1rem;height:1rem;color:var(--ct-muted-foreground);pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-wrap .cedros-data-input{padding-inline-start:2.25rem}@media (width<=767px){.cedros-trade.cedros-trade-admin .cedros-data-tabs__tab{padding-inline:8px}.cedros-trade.cedros-trade-admin .cedros-dropdown-menu__item,.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-clear{min-height:2.75rem}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-clear{width:2.75rem}.cedros-trade.cedros-trade-admin .cedros-trade-admin__search-wrap .cedros-data-input{padding-inline-end:3rem}}.cedros-trade-admin .cedros-trade-admin__readiness{width:min(100%,45rem)}.cedros-trade-admin .cedros-trade-admin__readiness h3,.cedros-trade-admin .cedros-trade-admin__sample h4,.cedros-trade-admin .cedros-trade-admin__sample p{margin:0}.cedros-trade-admin .cedros-trade-admin__readiness>p{margin-bottom:0}.cedros-trade-admin .cedros-trade-admin__readiness>div:last-child p{margin:0}.cedros-trade-admin .cedros-trade-admin__check+.cedros-trade-admin__check{border-top:1px solid var(--ct-border)}.cedros-trade.cedros-trade-admin .cedros-data-card.cedros-trade-admin__providers{padding-block:0}.cedros-trade-admin .cedros-trade-admin__provider{padding-block:16px}.cedros-trade-admin .cedros-trade-admin__provider+.cedros-trade-admin__provider,.cedros-trade-admin .cedros-trade-admin__provider-policy{border-top:1px solid var(--ct-border)}.cedros-trade-admin .ct-identifier summary{min-height:32px}.cedros-trade-admin .ct-identifier-copy{min-height:32px;padding:4px 8px;font-size:12px}.cedros-trade-admin .cedros-trade-admin__token-table{table-layout:fixed;min-width:0}.cedros-trade-admin .cedros-trade-admin__token-table--empty{min-width:0}.cedros-trade-admin .cedros-trade-admin__token-table th:last-child{width:6rem}@container ct-token-registry (width<=640px){.cedros-trade-admin .cedros-trade-admin__token-table th:last-child{width:7.5rem}.cedros-trade-admin .cedros-data-row-actions__icon{min-width:44px}}.cedros-trade-admin .cedros-trade-admin__token-table td{vertical-align:top}.cedros-trade-admin .cedros-trade-admin__token-table .cedros-data-table-summary{align-items:start}.cedros-trade-admin .cedros-trade-admin__token-table .cedros-trade-admin__token-identity{flex:1}.cedros-trade-admin .cedros-trade-admin__token-symbol{overflow-wrap:anywhere;min-width:0;max-width:100%}.cedros-trade-admin .cedros-trade-admin__diagnostics{border-top:1px solid var(--ct-border);padding-top:8px}.cedros-trade-admin .cedros-trade-admin__diagnostics>summary{align-content:center;min-height:32px}.cedros-trade-admin .cedros-trade-admin__provider{grid-template-columns:minmax(0,1fr) auto;align-items:start;display:grid}.cedros-trade-admin .cedros-trade-admin__provider-control{max-width:12rem}.cedros-trade-admin .cedros-trade-admin__provider-control .cedros-trade-admin__wallet-switch{justify-content:end}.cedros-trade-admin .cedros-trade-admin__provider-control p{margin-bottom:0}@media (width<=639px){.cedros-trade-admin .ct-identifier summary,.cedros-trade-admin .ct-identifier-copy{min-height:44px}}.cedros-trade.cedros-trade-admin .cedros-trade-admin__wallet-switch{cursor:pointer;align-items:center;gap:1rem;min-height:2rem;padding-block:.55rem;display:flex;position:relative}.cedros-trade.cedros-trade-admin .cedros-trade-admin__switch-copy{flex:1;gap:.25rem;min-width:0;display:grid}.cedros-trade.cedros-trade-admin .cedros-trade-admin__switch-copy .cedros-data-label{font-size:.8125rem;font-weight:500}.cedros-trade.cedros-trade-admin .cedros-trade-admin__switch-copy .cedros-data-field__description{color:var(--ct-muted-foreground);font-size:.75rem}.cedros-trade.cedros-trade-admin .cedros-trade-admin__wallet-switch input{opacity:0;width:100%;height:100%;cursor:inherit;margin:0;position:absolute;inset:0}.cedros-trade.cedros-trade-admin .cedros-trade-admin__switch-track{border:1px solid var(--ct-muted-foreground);background:var(--ct-surface-muted);width:2.35rem;height:1.3rem;transition:background-color var(--motion-duration-fast,.16s) ease;border-radius:999px;flex:none;position:relative}.cedros-trade.cedros-trade-admin .cedros-trade-admin__switch-thumb{border:1px solid var(--ct-muted-foreground);background:var(--ct-surface);width:1.1rem;height:1.1rem;box-shadow:var(--ct-shadow-sm);transition:transform var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1));border-radius:999px;position:absolute;top:1px;left:1px}.cedros-trade.cedros-trade-admin .cedros-trade-admin__wallet-switch input:checked+.cedros-trade-admin__switch-track{background:var(--ct-primary);border-color:var(--ct-primary)}.cedros-trade.cedros-trade-admin .cedros-trade-admin__wallet-switch input:checked+.cedros-trade-admin__switch-track .cedros-trade-admin__switch-thumb{border-color:#0000;transform:translate(1.02rem)}.cedros-trade.cedros-trade-admin .cedros-trade-admin__wallet-switch input:focus-visible+.cedros-trade-admin__switch-track{outline:2px solid var(--ct-ring);outline-offset:2px;box-shadow:var(--ct-shadow-focus)}.cedros-trade.cedros-trade-admin .cedros-trade-admin__wallet-switch:has(input:disabled){opacity:.5;cursor:not-allowed}.cedros-trade.cedros-trade-admin .cedros-trade-admin__wallet-switch:has(input[aria-busy=true]){opacity:.55;cursor:wait}@media (width<=767px){.cedros-trade.cedros-trade-admin .cedros-trade-admin__wallet-switch{min-height:2.75rem}}@media (prefers-reduced-motion:reduce){.cedros-trade.cedros-trade-admin .cedros-trade-admin__switch-track,.cedros-trade.cedros-trade-admin .cedros-trade-admin__switch-thumb{transition:none}.cedros-trade.cedros-trade-admin .cedros-data-btn,.cedros-trade.cedros-trade-admin .cedros-data-btn:hover:not(:disabled),.cedros-trade.cedros-trade-admin .cedros-data-btn:active:not(:disabled),.cedros-trade.cedros-trade-admin .ct-pressable,.cedros-trade.cedros-trade-admin .ct-pressable:hover:not(:disabled),.cedros-trade.cedros-trade-admin .ct-pressable:active:not(:disabled),.cedros-trade.cedros-trade-admin .ct-card-interactive:hover{transition:none;transform:none}}.cedros-trade-admin .cedros-trade-admin__sample-exchange{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin:16px 0;display:grid;position:relative}.cedros-trade.cedros-trade-admin .cedros-trade-admin__sample-return dd>div{font-size:24px}.cedros-trade-admin .cedros-trade-admin__sample-direction{width:16px;height:16px;color:var(--ct-muted-foreground);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.cedros-trade-admin .cedros-trade-admin__exceptions:empty{display:none}.cedros-trade.cedros-trade-admin .cedros-trade-admin__token-registry{container:ct-settings ct-token-registry/inline-size}.cedros-trade-admin .cedros-trade-admin__token-identity{grid-template-columns:minmax(0,1fr);align-items:start;gap:0;display:grid}.cedros-trade-admin .cedros-trade-admin__token-identity>.ct-identifier{min-width:0;margin:0}.cedros-trade-admin .cedros-trade-admin__token-identity>.ct-identifier[open]{grid-column:1/-1}.cedros-trade-admin .cedros-trade-admin__provider-details>summary{align-content:center;min-height:32px}.cedros-trade-admin .cedros-trade-admin__provider-details>div{padding-block:4px}@media (width<=767px){.cedros-trade-admin .cedros-trade-admin__provider-details>summary{min-height:44px}}@media (width<=480px){.cedros-trade-admin .cedros-trade-admin__sample-exchange{grid-template-columns:minmax(0,1fr);gap:16px}.cedros-trade-admin .cedros-trade-admin__sample-direction{margin-bottom:8px;display:block;position:static;transform:rotate(90deg)}}.cedros-trade-admin .cedros-trade-admin__token-preview{border-bottom:1px solid var(--ct-border);padding-block:.75rem}.cedros-trade.cedros-trade-admin .cedros-data-card .cedros-form-switch{background:0 0;border:0;border-radius:0;padding-inline:0}.cedros-trade.cedros-trade-admin details:not(.ct-quote-amount)>summary{color:var(--ct-muted-foreground);cursor:pointer;transition:color var(--motion-duration-fast,.16s) ease;align-items:center;gap:.5rem;font-size:.8125rem;font-weight:600;list-style:none;display:flex}.cedros-trade.cedros-trade-admin details:not(.ct-quote-amount)>summary::-webkit-details-marker{display:none}.cedros-trade.cedros-trade-admin details:not(.ct-quote-amount)>summary:before{content:\"\";width:.375rem;height:.375rem;transition:transform var(--motion-duration-fast,.16s) var(--motion-ease-standard,cubic-bezier(.16, 1, .3, 1));border-bottom:1.5px solid;border-right:1.5px solid;flex:none;margin-inline:.125rem .0625rem;transform:rotate(-45deg)}.cedros-trade.cedros-trade-admin details[open]:not(.ct-quote-amount)>summary:before{transform:rotate(45deg)}.cedros-trade.cedros-trade-admin details:not(.ct-quote-amount)>summary:hover,.cedros-trade.cedros-trade-admin details[open]:not(.ct-quote-amount)>summary{color:var(--ct-foreground)}.cedros-trade.cedros-trade-admin details.ct-identifier>summary{color:var(--ct-foreground);font-size:.75rem;font-weight:400}.cedros-trade.cedros-trade-admin .cedros-data-tabs__panel:focus-visible{outline:2px solid var(--ct-ring);outline-offset:2px;border-radius:var(--ct-radius)}@media (prefers-reduced-motion:reduce){.cedros-trade.cedros-trade-admin details>summary:before{transition:none}}.cedros-trade.cedros-trade-admin.cedros-trade-admin__status-card{align-content:start;gap:.75rem;display:grid}.cedros-trade-admin .cedros-trade-admin__card-metrics{margin:0}.cedros-trade-admin .cedros-trade-admin__card-footer{border-top:1px solid var(--ct-border);color:var(--ct-muted-foreground);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding-top:.75rem;font-size:.75rem;display:flex}\n/*$vite$:1*/"},{"path":"workspace/react/dist/Tabs-BK1QJlcw.js","kind":"module","text":"import { nt as e } from \"./approvedPair-C2gVtD2Y.js\";\nimport { useEffect as t, useId as n, useRef as r, useState as i } from \"react\";\nimport { jsx as a, jsxs as o } from \"react/jsx-runtime\";\n// src/components/shared/useDialogFocus.ts\nfunction s(e, n) {\n\tlet i = r(null);\n\treturn t(() => {\n\t\tif (!e) return;\n\t\tlet t = document.activeElement instanceof HTMLElement ? document.activeElement : null, n = i.current, r = n ? u(n) : () => void 0, a = c(n);\n\t\treturn (a.find((e) => e.hasAttribute(\"data-autofocus\")) ?? a[0] ?? n)?.focus(), () => {\n\t\t\tr(), t?.isConnected && t.focus();\n\t\t};\n\t}, [e]), {\n\t\tdialogRef: i,\n\t\tonKeyDown: (e) => {\n\t\t\tif (e.key === \"Escape\") {\n\t\t\t\te.preventDefault(), e.stopPropagation(), n();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (e.key !== \"Tab\") return;\n\t\t\tlet t = c(i.current);\n\t\t\tif (t.length === 0) return e.preventDefault();\n\t\t\tlet r = t[0], a = t[t.length - 1], o = !t.includes(document.activeElement);\n\t\t\te.shiftKey && (document.activeElement === r || o) ? (e.preventDefault(), a.focus()) : !e.shiftKey && (document.activeElement === a || o) && (e.preventDefault(), r.focus());\n\t\t}\n\t};\n}\nfunction c(e) {\n\treturn e ? [...e.querySelectorAll(\"button, [href], input:not([type=\\\"hidden\\\"]), select, textarea, summary, [tabindex]\")].filter((t) => {\n\t\tif (t.hasAttribute(\"tabindex\") && t.tabIndex < 0 || t.matches(\":disabled\") || t.closest(\"[hidden], [inert], [aria-hidden=\\\"true\\\"]\")) return !1;\n\t\tlet n = t.parentElement;\n\t\tfor (; n && n !== e;) {\n\t\t\tif (n instanceof HTMLDetailsElement && !n.open && !n.querySelector(\":scope > summary\")?.contains(t)) return !1;\n\t\t\tn = n.parentElement;\n\t\t}\n\t\treturn !0;\n\t}) : [];\n}\nvar l = /* @__PURE__ */ new WeakMap();\nfunction u(e) {\n\tlet t = /* @__PURE__ */ new Set(), n = e;\n\tfor (; n.parentElement && n !== document.body;) {\n\t\tfor (let e of n.parentElement.children) if (e !== n && e instanceof HTMLElement && ![\"STYLE\", \"SCRIPT\"].includes(e.tagName)) {\n\t\t\tlet n = l.get(e) ?? {\n\t\t\t\tcount: 0,\n\t\t\t\twasInert: e.inert\n\t\t\t};\n\t\t\tt.has(e) || (n.count += 1, t.add(e)), l.set(e, n), e.inert = !0;\n\t\t}\n\t\tn = n.parentElement;\n\t}\n\treturn () => {\n\t\tfor (let e of t) {\n\t\t\tlet t = l.get(e);\n\t\t\tt && --t.count === 0 && (e.inert = t.wasInert, l.delete(e));\n\t\t}\n\t\tt.clear();\n\t};\n}\n// src/components/shared/CopyableIdentifier.tsx\nfunction d({ value: t, label: r, preview: s, children: c }) {\n\tlet { t: l } = e(), u = n(), d = s ?? (t.length > 20 ? `${t.slice(0, 6)}…${t.slice(-6)}` : t), [f, p] = i(null), m = f?.value === t ? f.status : \"idle\", [h, g] = i(!1), _ = async () => {\n\t\tg(!0);\n\t\ttry {\n\t\t\tawait navigator.clipboard.writeText(t), p({\n\t\t\t\tvalue: t,\n\t\t\t\tstatus: \"copied\"\n\t\t\t});\n\t\t} catch {\n\t\t\tp({\n\t\t\t\tvalue: t,\n\t\t\t\tstatus: \"failed\"\n\t\t\t});\n\t\t} finally {\n\t\t\tg(!1);\n\t\t}\n\t};\n\treturn /* @__PURE__ */ o(\"details\", {\n\t\tclassName: \"ct-identifier\",\n\t\tchildren: [\n\t\t\t/* @__PURE__ */ a(\"summary\", {\n\t\t\t\tclassName: \"ct-focusable\",\n\t\t\t\t\"aria-label\": `${r}: ${d}`,\n\t\t\t\t\"aria-describedby\": u,\n\t\t\t\tchildren: /* @__PURE__ */ a(\"span\", {\n\t\t\t\t\tclassName: \"ct:font-mono\",\n\t\t\t\t\tchildren: d\n\t\t\t\t})\n\t\t\t}),\n\t\t\t/* @__PURE__ */ a(\"code\", {\n\t\t\t\tid: u,\n\t\t\t\tclassName: \"ct-identifier-value\",\n\t\t\t\tchildren: t\n\t\t\t}),\n\t\t\t/* @__PURE__ */ a(\"button\", {\n\t\t\t\ttype: \"button\",\n\t\t\t\tclassName: \"ct-focusable ct-identifier-copy\",\n\t\t\t\tdisabled: h,\n\t\t\t\tonClick: () => {\n\t\t\t\t\t_();\n\t\t\t\t},\n\t\t\t\t\"aria-label\": l(\"common.copyIdentifier\", { label: r }),\n\t\t\t\tchildren: l(m === \"copied\" ? \"common.copied\" : \"common.copy\")\n\t\t\t}),\n\t\t\tc,\n\t\t\tm !== \"idle\" && /* @__PURE__ */ a(\"span\", {\n\t\t\t\trole: \"status\",\n\t\t\t\tclassName: \"ct:block ct:text-xs\",\n\t\t\t\tchildren: l(m === \"copied\" ? \"common.copied\" : \"common.copyFailed\")\n\t\t\t})\n\t\t]\n\t});\n}\n// src/components/shared/Tabs.tsx\nfunction f(e, t) {\n\treturn `${e}__tab-${t}`;\n}\nfunction p(e) {\n\treturn `${e}__panel`;\n}\nfunction m({ tabs: e, activeId: t, onChange: n, ariaLabel: i, idBase: o, className: s, tabClassName: c }) {\n\tlet l = r(/* @__PURE__ */ new Map()), u = Math.max(0, e.findIndex((e) => e.id === t)), d = (t) => {\n\t\tlet r = e[(t + e.length) % e.length];\n\t\tr && (n(r.id), queueMicrotask(() => l.current.get(r.id)?.focus()));\n\t};\n\treturn /* @__PURE__ */ a(\"div\", {\n\t\trole: \"tablist\",\n\t\t\"aria-label\": i,\n\t\t\"aria-orientation\": \"horizontal\",\n\t\tonKeyDown: (t) => {\n\t\t\tswitch (t.key) {\n\t\t\t\tcase \"ArrowRight\":\n\t\t\t\tcase \"ArrowDown\":\n\t\t\t\t\tt.preventDefault(), d(u + 1);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"ArrowLeft\":\n\t\t\t\tcase \"ArrowUp\":\n\t\t\t\t\tt.preventDefault(), d(u - 1);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"Home\":\n\t\t\t\t\tt.preventDefault(), d(0);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"End\": t.preventDefault(), d(e.length - 1);\n\t\t\t}\n\t\t},\n\t\tclassName: s,\n\t\tchildren: e.map((e) => {\n\t\t\tlet r = e.id === t;\n\t\t\treturn /* @__PURE__ */ a(\"button\", {\n\t\t\t\tref: (t) => {\n\t\t\t\t\tl.current.set(e.id, t);\n\t\t\t\t},\n\t\t\t\ttype: \"button\",\n\t\t\t\trole: \"tab\",\n\t\t\t\tid: f(o, e.id),\n\t\t\t\t\"aria-selected\": r,\n\t\t\t\t\"aria-controls\": p(o),\n\t\t\t\ttabIndex: r ? 0 : -1,\n\t\t\t\tonClick: () => n(e.id),\n\t\t\t\tclassName: c(r),\n\t\t\t\tchildren: e.label\n\t\t\t}, e.id);\n\t\t})\n\t});\n}\nfunction h({ idBase: e, activeId: t, children: n, className: r }) {\n\treturn /* @__PURE__ */ a(\"div\", {\n\t\trole: \"tabpanel\",\n\t\tid: p(e),\n\t\t\"aria-labelledby\": f(e, t),\n\t\ttabIndex: 0,\n\t\tclassName: r,\n\t\tchildren: n\n\t});\n}\nexport { s as a, u as i, m as n, d as r, h as t };\n","imports":[{"dynamic":false,"end":51,"specifier":"./approvedPair-C2gVtD2Y.js","start":25},{"dynamic":false,"end":131,"specifier":"react","start":126},{"dynamic":false,"end":188,"specifier":"react/jsx-runtime","start":171}],"hasUnsupportedDynamicImports":false},{"path":"workspace/react/dist/usePendingNavigationGuard-BdMNd90d.js","kind":"module","text":"import { useEffect as e } from \"react\";\n// src/autosave/usePendingNavigationGuard.ts\nfunction t(t) {\n\te(() => {\n\t\tif (!t || typeof window > \"u\") return;\n\t\tlet e = (e) => {\n\t\t\te.preventDefault(), e.returnValue = \"\";\n\t\t};\n\t\treturn window.addEventListener(\"beforeunload\", e), () => window.removeEventListener(\"beforeunload\", e);\n\t}, [t]);\n}\nexport { t };\n","imports":[{"dynamic":false,"end":37,"specifier":"react","start":32}],"hasUnsupportedDynamicImports":false},{"path":"workspace/react/dist/web/register.js","kind":"module","text":"import { n as e, t } from \"../runtimeStyles--FvTipgV.js\";\n// src/web/register.ts\nt();\nfunction n(n) {\n\treturn t(), e(n);\n}\nexport { n as registerCedrosWebSurface };\n","imports":[{"dynamic":false,"end":55,"specifier":"../runtimeStyles--FvTipgV.js","start":27}],"hasUnsupportedDynamicImports":false}]}