{"version":3,"file":"StackIso.CJSuleqB.mjs","names":[],"sources":["https:/framerusercontent.com/modules/oveexHE8IG1mn5SupB0f/hgg7kqFEtOmyHsg9RHsT/StackIso.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * StackIso — the \"included in one API integration\" isometric stack, native\n * (no iframe). The six-module SVG is generated from one slot template, so\n * any module can be the highlighted (orange, lifted) cube.\n *\n * Two sets share the same six slot positions:\n *   core       — Product UI, Smart Deposit Address, Liquidity, Compliance,\n *                Bridge and Convert, Operations (the product pages)\n *   extensions — Stablecoin Settlement, Automated Onchain Actions, Enhanced KYC,\n *                Fee & Limits, Custom Chains, Tron Access (the extension pages)\n *\n * Hover lift and risers are preserved on the non-highlighted tiles; links\n * are intentionally inert.\n */const CUBE=\"M121.532 2.39137C124.023 1.14749 126.77 0.5 129.555 0.5C132.34 0.5 135.087 1.14749 137.578 2.39137L253.811 60.509C255.253 61.2297 256.465 62.3376 257.313 63.7085C258.16 65.0794 258.61 66.6591 258.61 68.2708V91.1301C258.61 94.4172 256.751 97.422 253.811 98.8942L137.578 157.01C135.087 158.255 132.34 158.904 129.555 158.904C126.77 158.904 124.023 158.255 121.532 157.01L5.30107 98.8942C3.85872 98.1736 2.64556 97.0656 1.79757 95.6942C0.949576 94.3229 0.50027 92.7424 0.5 91.1301V68.2708C0.500485 66.6591 0.949653 65.0794 1.7972 63.7085C2.64474 62.3376 3.85719 61.2297 5.29876 60.509L121.532 2.39137Z\";const SEAM=\"M0.50011 0.50011L107.962 54.231C110.534 55.517 113.369 56.1864 116.245 56.1864C119.12 56.1864 121.956 55.517 124.527 54.231L231.989 0.50011\";const RISER=\"M0.960377 4.64821V43.336M126.96 66.4584V105.148M254.96 0.960377V39.6482\";// [key, translate, label (svg-escaped), label matrix tail, plain name for aria]\nconst CORE=[[\"product\",\"394.594 37.836\",\"Product UI\",\"70.32 50.59\",\"Product UI\"],[\"deposit\",\"534.701 113.079\",\"Smart Deposit|Address\",\"87.96 41.77\",\"Smart Deposit Address\"],[\"liquidity\",\"682.592 184.429\",\"Liquidity\",\"66.80 52.36\",\"Liquidity\"],[\"compliance\",\"249.298 110.484\",\"Compliance\",\"70.32 50.59\",\"Compliance\"],[\"bridge\",\"389.405 185.727\",\"Bridge and Convert\",\"80.91 45.30\",\"Bridge and Convert\"],[\"operations\",\"537.296 257.077\",\"Operations\",\"70.32 50.59\",\"Operations\"]];const EXTENSIONS=[[\"swaps\",\"394.594 37.836\",\"Stablecoin|Settlement\",\"91.49 40.01\",\"Stablecoin Settlement\"],[\"onchain\",\"534.701 113.079\",\"Automated Onchain|Actions\",\"87.96 41.77\",\"Automated Onchain Actions\"],[\"kyc\",\"682.592 184.429\",\"Enhanced KYC\",\"77.38 47.06\",\"Enhanced KYC\"],[\"fees\",\"249.298 110.484\",\"Fee &amp; Limits\",\"77.38 47.06\",\"Fee and Limits\"],[\"chains\",\"389.405 185.727\",\"Custom Chains\",\"80.91 45.30\",\"Custom Chains\"],[\"tron\",\"537.296 257.077\",\"Tron Access\",\"73.85 48.83\",\"Tron Access\"]];const NORMAL_TPL='<g class=\"isoq-slot\" transform=\"translate(__T__)\"><path class=\"isoq-riser\" transform=\"translate(0.635 50.149)\" d=\"__RISER__\"/><g class=\"isoq-tgt isoq-inert\"><g class=\"isoq-lift\"><path class=\"isoq-cube\" transform=\"translate(-0.5 -0.5)\" d=\"__CUBE__\"/><path class=\"isoq-seam\" transform=\"translate(12.811 71.811)\" d=\"__SEAM__\"/><text class=\"isoq-lab\" transform=\"matrix(.8944 -.4472 .8944 .4472 __M__)\" text-anchor=\"__A__\" dominant-baseline=\"central\">__L__</text></g><path class=\"isoq-hit\" transform=\"translate(-0.5 -0.5)\" d=\"__CUBE__\"/><path class=\"isoq-hit isoq-hit-up\" transform=\"translate(-0.5 -54.391)\" d=\"__CUBE__\"/></g></g>';const CUR_TPL='<g class=\"isoq-slot is-cur\" transform=\"translate(__T__)\"><path class=\"isoq-riser\" transform=\"translate(0.635 50.149)\" d=\"__RISER__\"/><g class=\"isoq-lift\"><path class=\"isoq-cube\" transform=\"translate(-0.5 -0.5)\" d=\"__CUBE__\"/><path class=\"isoq-seam\" transform=\"translate(12.811 71.811)\" d=\"__SEAM__\"/><text class=\"isoq-lab\" transform=\"matrix(.8944 -.4472 .8944 .4472 __M__)\" text-anchor=\"__A__\" dominant-baseline=\"central\">__L__</text></g><path class=\"isoq-hit\" transform=\"translate(-0.5 -54.391)\" d=\"__CUBE__\"/></g>';function labelParts(label){if(!label.includes(\"|\"))return{anchor:\"middle\",svg:label};const[a,b]=label.split(\"|\");const off=-Math.round(Math.max(a.length,b.length)*3.6);return{anchor:\"start\",svg:'<tspan x=\"'+off+'\" dy=\"-7.2\">'+a+'</tspan><tspan x=\"'+off+'\" dy=\"14.4\">'+b+\"</tspan>\"};}function buildSvg(set,highlight){const slots=set===\"extensions\"?EXTENSIONS:CORE;const cur=slots.find(([k])=>k===highlight)||slots[0];const aria=\"The Rhino.fi stack with six modules: \"+slots.map(s=>s[4]).join(\", \")+\". \"+cur[4]+\" is highlighted.\";const header='<svg class=\"isoq-svg\" viewBox=\"0 -95 1190 578\" role=\"img\" aria-label=\"'+aria+'\" xmlns=\"http://www.w3.org/2000/svg\"><defs><filter id=\"isoqSh\" x=\"-14%\" y=\"-14%\" width=\"128%\" height=\"132%\"><feDropShadow dx=\"0\" dy=\"5\" stdDeviation=\"7\" flood-color=\"#1a1714\" flood-opacity=\".10\"/><feDropShadow dx=\"0\" dy=\"2\" stdDeviation=\"1.5\" flood-color=\"#1a1714\" flood-opacity=\".06\"/></filter><filter id=\"isoqShUp\" x=\"-20%\" y=\"-20%\" width=\"140%\" height=\"146%\"><feDropShadow dx=\"0\" dy=\"13\" stdDeviation=\"12\" flood-color=\"#1a1714\" flood-opacity=\".13\"/><feDropShadow dx=\"0\" dy=\"3\" stdDeviation=\"2\" flood-color=\"#1a1714\" flood-opacity=\".06\"/></filter></defs>';const body=slots.map(([key,t,label,m])=>{const tpl=key===cur[0]?CUR_TPL:NORMAL_TPL;const lp=labelParts(label);return tpl.replace(/__T__/g,t).replace(/__A__/g,lp.anchor).replace(/__L__/g,lp.svg).replace(/__M__/g,m).replace(/__RISER__/g,RISER).replace(/__SEAM__/g,SEAM).replace(/__CUBE__/g,CUBE);}).join(\"\");return header+body+\"</svg>\";}const CSS=`\n.iso-root{ width:100%; height:100%; font-family:\"Geist\",\"Geist Fallback\",system-ui,-apple-system,\"Segoe UI\",Roboto,sans-serif;\n  --orange:#ec6530; --card-line:rgba(26,23,20,.08); }\n.iso-root .isoq{\n  display:flex; justify-content:center; align-items:center;\n  width:100%; height:100%;\n  border:1px solid var(--card-line); border-radius:24px; overflow:hidden;\n  background-image:radial-gradient(rgba(26,23,20,.06) 1px, transparent 1px), linear-gradient(170deg, #fff 8.5%, #f4f1ec 91.5%);\n  background-size:16px 16px, cover;\n  box-shadow:0 4px 24px -8px rgba(26,23,20,.10), 0 2px 6px -2px rgba(26,23,20,.05);\n}\n.iso-root .isoq-svg{ display:block; width:100%; height:auto; max-height:100%; }\n.iso-root .isoq-cube{ fill:#f8f7f4; stroke:#000; stroke-opacity:.5; stroke-width:1; filter:url(#isoqSh); }\n.iso-root .isoq-seam{ fill:none; stroke:#000; stroke-opacity:.5; stroke-width:1; stroke-linecap:round; }\n.iso-root .isoq-lab{ font-size:13.145px; fill:#26221e; }\n.iso-root .isoq-riser{ fill:none; stroke:#777; stroke-width:1.92; stroke-linecap:round; stroke-dasharray:1.92 5.76; opacity:0; transition:opacity .28s ease; }\n.iso-root .isoq-lift{ pointer-events:none; transition:transform .62s cubic-bezier(.16,1,.3,1); }\n.iso-root .isoq-hit{ fill:none; stroke:none; pointer-events:all; }\n.iso-root .isoq-hit-up{ pointer-events:none; }\n.iso-root .isoq-slot:has(.isoq-tgt:hover) .isoq-hit-up{ pointer-events:all; }\n.iso-root .isoq.in .is-cur .isoq-lift,\n.iso-root .isoq-slot:has(.isoq-tgt:hover) .isoq-lift{ transform:translateY(-53.891px); }\n.iso-root .isoq.in .is-cur .isoq-riser{ opacity:1; transition-delay:.26s; }\n.iso-root .is-cur .isoq-cube{ fill:var(--orange); stroke-opacity:1; stroke-width:2.5; filter:url(#isoqShUp); }\n.iso-root .is-cur .isoq-seam{ stroke-opacity:1; stroke-width:1.3; }\n.iso-root .is-cur .isoq-lab{ fill:#fff; font-weight:600; }\n.iso-root .isoq-inert{ cursor:default; }\n.iso-root .isoq-slot:has(.isoq-tgt:hover) .isoq-cube{ fill:#ece9e4; stroke-opacity:1; stroke-width:2; filter:url(#isoqShUp); }\n.iso-root .isoq-slot:has(.isoq-tgt:hover) .isoq-seam{ stroke-opacity:1; stroke-width:1.3; }\n.iso-root .isoq-slot:has(.isoq-tgt:hover) .isoq-riser{ opacity:1; transition-delay:0s; }\n.iso-root .isoq-svg:has(.isoq-tgt:hover) .is-cur .isoq-riser{ opacity:0; transition-delay:0s; }\n@media (prefers-reduced-motion: reduce){ .iso-root .isoq-lift, .iso-root .isoq-riser{ transition:none; } }\n`;/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function StackIso(props){const{set=\"core\",highlight=\"bridge\",style}=props;return /*#__PURE__*/_jsxs(\"div\",{className:\"iso-root\",style:style,children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:CSS}}),/*#__PURE__*/_jsx(\"div\",{className:\"isoq in\",dangerouslySetInnerHTML:{__html:buildSvg(set,highlight)}})]});}addPropertyControls(StackIso,{set:{type:ControlType.Enum,title:\"Set\",defaultValue:\"core\",options:[\"core\",\"extensions\"],optionTitles:[\"Core stack\",\"Extensions\"]},highlight:{type:ControlType.Enum,title:\"Highlight\",defaultValue:\"bridge\",options:[\"product\",\"deposit\",\"liquidity\",\"compliance\",\"bridge\",\"operations\",\"swaps\",\"onchain\",\"kyc\",\"fees\",\"chains\",\"tron\"],optionTitles:[\"Core \\xb7 Product UI\",\"Core \\xb7 Smart Deposit Address\",\"Core \\xb7 Liquidity\",\"Core \\xb7 Compliance\",\"Core \\xb7 Bridge & Convert\",\"Core \\xb7 Operations\",\"Ext \\xb7 Stablecoin Settlement\",\"Ext \\xb7 Automated Onchain Actions\",\"Ext \\xb7 Enhanced KYC\",\"Ext \\xb7 Fee & Limits\",\"Ext \\xb7 Custom Chains\",\"Ext \\xb7 Tron Access\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StackIso\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StackIso.map"],"mappings":"mKAcumE,SAAS,EAAW,EAAM,CAAC,GAAG,CAAC,EAAM,SAAS,GAAG,EAAE,MAAM,CAAC,OAAO,SAAS,IAAI,CAAK,EAAE,GAAK,CAAC,EAAE,GAAG,EAAM,MAAM,GAAG,EAAQ,EAAI,CAAC,KAAK,MAAM,KAAK,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,CAAC,OAAO,QAAQ,IAAI,aAAa,EAAI,eAAe,EAAE,qBAAqB,EAAI,eAAe,EAAE,UAAU,CAAE,CAAC,SAAS,EAAS,EAAI,EAAU,CAAC,IAAM,EAAM,IAAM,aAAa,EAAW,EAAW,EAAI,EAAM,MAAM,CAAC,KAAK,IAAI,CAAS,GAAG,EAAM,GAA+iC,MAA/6B,0EAAlH,wCAAwC,EAAM,IAAI,GAAG,EAAE,EAAE,CAAC,CAAC,KAAK,IAAI,EAAE,KAAK,EAAI,GAAG,oBAA8G,+iBAA0jB,EAAM,KAAK,CAAC,EAAI,EAAE,EAAM,KAAK,CAAC,IAAM,EAAI,IAAM,EAAI,GAAG,EAAQ,EAAiB,EAAG,EAAW,CAAK,EAAE,OAAO,EAAI,QAAQ,SAAS,CAAC,CAAC,CAAC,QAAQ,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