import{j as o,al as b,G as U,aY as z,f as W}from"./vendor-mui-core-CDEc-eG6.js";import{r as e,L as H}from"./vendor-react-DX7tU9aY.js";import{b as F,a as R,p as L,C as T}from"./vendor-hooks-Ca2cSNuD.js";import{l as k,aa as $,a2 as G,bQ as K,ab as j,bR as P,w as Y,D as q}from"./vendor-ux-PO0jFgJf.js";import{k as Q}from"./fallback-DAsXuNMP.js";import{z as Z}from"./vendor-arcblock-BVQTtbN-.js";import{f as J,W as X,G as ee}from"./nav-menu-CFJ8S6L5.js";import{u as D,b as te,s as oe,L as re,N as ie,v as le,z as ne,p as ae,A as se,W as ce}from"./wallet-hidden-topbar-CZaZNW94.js";import{M as de}from"./use-blocklet-logo-nVOJALp0.js";import{ag as M,E as pe}from"./vendor-utils-_C9URqjS.js";const me=k(b)`
  padding: 16px 24px;
  border-radius: 8px;
  background-color: ${({theme:t})=>t.palette.background.paper};
  cursor: auto;

  .group-label {
    margin-bottom: 8px;
    color: ${({theme:t})=>t.palette.grey[600]};
    font-size: 12px;
  }

  .nav {
    list-style: none;
    margin: 0;
    padding: 0;
  }
`;function he({label:t,children:l,className:s="",sx:c,...a}){return o.jsxs(me,{className:`nav-menu-sub-item-group ${s}`,sx:{...c},...a,children:[o.jsx(b,{className:"group-label",children:t}),o.jsx(b,{component:"ul",className:"nav",children:l})]})}const ue=t=>e.createElement("svg",{width:120,height:120,viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{opacity:.8,d:"M14.291 102.867c0 3.431 3.59 5.18 5.74 2.796l54.861-60.857-15.332-31.49H14.291v89.551z",fill:"url(#a)"}),e.createElement("path",{opacity:.8,d:"M105.709 17.849c0-3.429-3.585-5.178-5.736-2.8l-54.87 60.709 15.337 31.489h45.269V17.849z",fill:"url(#b)"}),e.createElement("path",{opacity:.8,d:"m105.709 107.247-45.867-93.93h-45.55l46.148 93.93h45.269z",fill:"url(#c)"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"a",x1:58.95,y1:13.563,x2:1.148,y2:99.881,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#FF44B4"}),e.createElement("stop",{offset:1,stopColor:"#FFAB48"})),e.createElement("linearGradient",{id:"b",x1:105.788,y1:13.563,x2:48.861,y2:100.72,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#44B3FF"}),e.createElement("stop",{offset:1,stopColor:"#A448FF"})),e.createElement("linearGradient",{id:"c",x1:38.636,y1:11.296,x2:95.518,y2:102.845,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#FF44A9"}),e.createElement("stop",{offset:1,stopColor:"#7452FA"})))),fe=t=>e.createElement("svg",{width:120,height:120,viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("g",{clipPath:"url(#a)"},e.createElement("rect",{width:98,height:98,rx:16,transform:"matrix(1 0 0 -1 11 109)",fill:"url(#b)"}),e.createElement("g",{filter:"url(#c)"},e.createElement("path",{d:"M60 80V40c-11.04 0-20 8.96-20 20s8.96 20 20 20z",fill:"#fff",fillOpacity:.36,shapeRendering:"crispEdges"})),e.createElement("path",{d:"M60 100c-22.08 0-40-17.92-40-40s17.92-40 40-40 40 17.92 40 40-17.92 40-40 40zm0-60c-11.04 0-20 8.96-20 20s8.96 20 20 20 20-8.96 20-20-8.96-20-20-20z",fill:"url(#d)",style:{mixBlendMode:"plus-lighter"}})),e.createElement("defs",null,e.createElement("linearGradient",{id:"b",x1:7.273,y1:7.273,x2:90.152,y2:90.152,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#2563EB"}),e.createElement("stop",{offset:.333,stopColor:"#2998FF"}),e.createElement("stop",{offset:.667,stopColor:"#48E0A1"}),e.createElement("stop",{offset:1,stopColor:"#9BEF2F"})),e.createElement("linearGradient",{id:"d",x1:60,y1:100,x2:60,y2:20,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#C4C4C4"}),e.createElement("stop",{offset:1,stopColor:"#7D7D7D"})),e.createElement("clipPath",{id:"a"},e.createElement("rect",{width:98,height:98,rx:16,transform:"matrix(1 0 0 -1 11 109)",fill:"#fff"})),e.createElement("filter",{id:"c",x:-20,y:-20,width:140,height:160,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:30}),e.createElement("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_3296_9356"}),e.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:20}),e.createElement("feGaussianBlur",{stdDeviation:20}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.404508 0 0 0 0 0.283156 0 0 0 0.2 0"}),e.createElement("feBlend",{in2:"effect1_backgroundBlur_3296_9356",result:"effect2_dropShadow_3296_9356"}),e.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dx:10}),e.createElement("feGaussianBlur",{stdDeviation:10}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0.404508 0 0 0 0 0.283156 0 0 0 0.05 0"}),e.createElement("feBlend",{in2:"effect2_dropShadow_3296_9356",result:"effect3_dropShadow_3296_9356"}),e.createElement("feBlend",{in:"SourceGraphic",in2:"effect3_dropShadow_3296_9356",result:"shape"})))),ge=t=>e.createElement("svg",{width:40,height:39,viewBox:"0 0 40 39",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"m10.247 20.67-3.824-1.655c-.548-.22-.87-.62-.966-1.2-.096-.58.061-1.076.472-1.49l5.182-5.214a3.29 3.29 0 0 1 1.357-.828 3.156 3.156 0 0 1 1.604-.083l2.138.455c-1.453 1.739-2.611 3.318-3.475 4.74-.863 1.42-1.693 3.179-2.488 5.276zm24.18-16.14c.219 0 .438.055.658.166a2.174 2.174 0 0 1 .987.993c.11.22.164.441.164.662.11 2.566-.432 5.229-1.624 7.988-1.193 2.759-2.872 5.228-5.038 7.408-1.48 1.49-2.905 2.683-4.276 3.58-1.37.897-2.988 1.745-4.853 2.545-.356.138-.72.207-1.09.207-.37 0-.692-.138-.966-.414l-5.14-5.173a1.336 1.336 0 0 1-.411-.973c0-.372.068-.738.206-1.096.795-1.849 1.637-3.47 2.528-4.863.892-1.394 2.077-2.835 3.558-4.325 2.165-2.18 4.619-3.87 7.36-5.07 2.742-1.2 5.387-1.745 7.937-1.635zM23.982 16.863c.63.635 1.405.952 2.323.952.919 0 1.693-.317 2.324-.952.63-.634.945-1.414.945-2.338 0-.924-.315-1.704-.945-2.338-.63-.635-1.405-.952-2.324-.952-.918 0-1.693.317-2.323.952-.63.634-.946 1.414-.946 2.338 0 .924.315 1.704.946 2.338zm-3.783 13.824c2.083-.8 3.838-1.635 5.263-2.504 1.426-.87 3.002-2.035 4.73-3.497l.41 2.152c.11.552.083 1.096-.082 1.634-.164.538-.438 1-.822 1.387l-5.182 5.215c-.41.413-.904.565-1.48.455-.576-.11-.973-.442-1.193-.993l-1.644-3.85zm-13.365-3.56c.955-.965 2.121-1.455 3.499-1.469 1.378-.014 2.544.462 3.499 1.428.955.966 1.432 2.138 1.432 3.518s-.48 2.552-1.44 3.518c-.685.69-1.83 1.283-3.433 1.78-1.604.496-3.817.938-6.641 1.324.384-2.842.822-5.065 1.316-6.667.493-1.603 1.083-2.747 1.768-3.432z",fill:"url(#a)"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"a",x1:34.187,y1:7.487,x2:7.292,y2:34.082,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#74D5D6"}),e.createElement("stop",{offset:1,stopColor:"#56AFBE"})))),Ee=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M9.171 36a3.067 3.067 0 0 1-2.24-.923C6.312 34.46 6 33.72 6 32.857V14c0-.864.31-1.604.932-2.22a3.067 3.067 0 0 1 2.24-.923h3.17c0-2.174.773-4.027 2.32-5.559C16.206 3.766 18.076 3 20.27 3c2.194 0 4.063.766 5.61 2.298 1.545 1.532 2.318 3.385 2.318 5.56h3.171a3.07 3.07 0 0 1 2.24.922c.621.616.931 1.356.931 2.22v18.857c0 .864-.31 1.604-.931 2.22a3.067 3.067 0 0 1-2.24.923H9.171zm6.343-25.143h9.513c0-1.31-.463-2.422-1.387-3.34-.925-.916-2.049-1.374-3.37-1.374-1.321 0-2.444.458-3.37 1.375-.924.917-1.386 2.03-1.386 3.34zM20.23 23.43c1.955 0 3.726-.642 5.311-1.925 1.586-1.284 2.366-2.724 2.34-4.322a1.62 1.62 0 0 0-.437-1.14 1.445 1.445 0 0 0-1.11-.47c-.37 0-.7.117-.99.353-.291.236-.503.59-.635 1.06a4.367 4.367 0 0 1-1.705 2.397c-.845.602-1.77.904-2.774.904-1.005 0-1.936-.302-2.795-.904-.859-.602-1.42-1.401-1.685-2.396-.132-.498-.33-.858-.594-1.08a1.428 1.428 0 0 0-.952-.335c-.449 0-.825.158-1.13.472a1.58 1.58 0 0 0-.455 1.14c0 1.597.78 3.037 2.339 4.32 1.559 1.284 3.316 1.926 5.272 1.926z",fill:"url(#a)"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"a",x1:12.342,y1:13.214,x2:36.685,y2:39.361,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#FF73B2"}),e.createElement("stop",{offset:.333,stopColor:"#E9ED7D"}),e.createElement("stop",{offset:.557,stopColor:"#74E583"}),e.createElement("stop",{offset:1,stopColor:"#01ACC8"})))),we=t=>e.createElement("svg",{width:120,height:120,viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("mask",{id:"a",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:120,height:120},e.createElement("path",{fill:"#fff",d:"M0 0h119.883v119.883H0z"})),e.createElement("g",{mask:"url(#a)"},e.createElement("path",{d:"M62.025 14.05A5.05 5.05 0 0 1 67.075 9h23.988a5.05 5.05 0 0 1 5.05 5.05v60.6a5.05 5.05 0 0 1-5.05 5.05H67.075a5.05 5.05 0 0 1-5.05-5.05v-60.6z",fill:"url(#b)"}),e.createElement("path",{d:"M24.15 32.987a5.05 5.05 0 0 1 5.05-5.05h40.4a5.05 5.05 0 0 1 5.05 5.05V74.65a5.05 5.05 0 0 1-5.05 5.05H29.2a5.05 5.05 0 0 1-5.05-5.05V32.987z",fill:"url(#c)"}),e.createElement("g",{filter:"url(#d)"},e.createElement("path",{d:"M16.575 64.55c0-5.578 4.522-10.1 10.1-10.1h64.388c5.578 0 10.1 4.522 10.1 10.1V99.9c0 5.578-4.522 10.1-10.1 10.1H26.675c-5.578 0-10.1-4.522-10.1-10.1V64.55z",fill:"url(#e)"})),e.createElement("g",{filter:"url(#f)"},e.createElement("path",{d:"M10.263 55.712a7.575 7.575 0 0 1 7.575-7.575H99.9a7.575 7.575 0 0 1 7.575 7.575v10.1a7.575 7.575 0 0 1-7.575 7.575H17.838a7.575 7.575 0 0 1-7.575-7.575v-10.1z",fill:"url(#g)"})),e.createElement("circle",{cx:58.869,cy:87.906,r:6.944,fill:"#6BADFF"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"b",x1:86.013,y1:9,x2:86.644,y2:46.875,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#FF7575"}),e.createElement("stop",{offset:1,stopColor:"#C91C1C"})),e.createElement("linearGradient",{id:"c",x1:49.4,y1:56.975,x2:49.4,y2:27.938,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#ED7F1A"}),e.createElement("stop",{offset:1,stopColor:"#FFE074"})),e.createElement("linearGradient",{id:"e",x1:16.575,y1:75.281,x2:101.163,y2:114.419,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#54A0FD"}),e.createElement("stop",{offset:1,stopColor:"#136EDE"})),e.createElement("linearGradient",{id:"g",x1:16.575,y1:55.712,x2:58.789,y2:111.945,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#83BAFF"}),e.createElement("stop",{offset:1,stopColor:"#2482F6"})),e.createElement("filter",{id:"d",x:16.575,y:54.45,width:86.587,height:57.55,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feMorphology",{radius:4,in:"SourceAlpha",result:"effect1_innerShadow_3296_9286"}),e.createElement("feOffset",{dx:2,dy:2}),e.createElement("feGaussianBlur",{stdDeviation:3}),e.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:-1,k3:1}),e.createElement("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0"}),e.createElement("feBlend",{in2:"shape",result:"effect1_innerShadow_3296_9286"})),e.createElement("filter",{id:"f",x:10.263,y:48.138,width:99.212,height:27.25,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feMorphology",{radius:4,in:"SourceAlpha",result:"effect1_innerShadow_3296_9286"}),e.createElement("feOffset",{dx:2,dy:2}),e.createElement("feGaussianBlur",{stdDeviation:3}),e.createElement("feComposite",{in2:"hardAlpha",operator:"arithmetic",k2:-1,k3:1}),e.createElement("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.25 0"}),e.createElement("feBlend",{in2:"shape",result:"effect1_innerShadow_3296_9286"})))),xe=t=>e.createElement("svg",{width:68,height:68,viewBox:"0 0 68 68",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("mask",{id:"c",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:4,y:3,width:59,height:62},e.createElement("path",{d:"M33.974 4.067 33.858 4l-.117.067-17.174 9.916-.117.068v13.187L5.117 33.78 5 33.848V53.95l.117.067 17.174 9.916.117.067.117-.067 11.303-6.527.03.017.03-.017 11.303 6.527.117.067.116-.067L62.6 54.017l.117-.068v-20.1l-.117-.067-11.333-6.543V14.05l-.117-.068-17.175-9.916zm15.037 11.286V25.97l-15.037-8.681-.116-.068-.117.067-15.036 8.682V15.353l15.153-8.749 15.153 8.749zm-3.703 46.043-9.166-5.292L51.15 47.44l.117-.067V29.842l9.195 5.309v17.496l-15.153 8.749zM16.566 47.44l15.007 8.664-9.165 5.292-15.153-8.749V35.151l9.195-5.309v17.531l.116.067zM32.73 35.37l-12.897-7.447 12.897-7.447V35.37zm-14.025 9.399V29.876l12.898 7.446-12.898 7.447zm16.28 9.4V39.274l12.898 7.447-12.898 7.446zm14.026-24.293v14.893l-12.898-7.447 12.898-7.446zm-16.28 9.4v14.892l-12.898-7.446 12.897-7.447zm2.254-3.907V20.476l12.898 7.447-12.898 7.446z",fill:"url(#a)",stroke:"url(#b)",strokeWidth:.5})),e.createElement("g",{mask:"url(#c)"},e.createElement("path",{d:"M68 0H0v68h68V0z",fill:"url(#d)"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"a",x1:36.103,y1:-30.336,x2:-29.543,y2:21.525,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#4EF1BA"}),e.createElement("stop",{offset:.502,stopColor:"#16CED1"}),e.createElement("stop",{offset:1,stopColor:"#3773F2"})),e.createElement("linearGradient",{id:"b",x1:37.6,y1:-67.429,x2:-62.714,y2:20.675,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#4EF1BA"}),e.createElement("stop",{offset:.502,stopColor:"#16CED1"}),e.createElement("stop",{offset:1,stopColor:"#3773F2"})),e.createElement("linearGradient",{id:"d",x1:38.445,y1:-81.994,x2:-76.754,y2:23.094,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#4EF1BA"}),e.createElement("stop",{offset:.502,stopColor:"#16CED1"}),e.createElement("stop",{offset:1,stopColor:"#3773F2"})))),be=t=>e.createElement("svg",{width:200,height:200,viewBox:"0 0 200 200",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("mask",{id:"a",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:8,y:8,width:184,height:184},e.createElement("path",{d:"M192 100c0-50.81-41.19-92-92-92S8 49.19 8 100s41.19 92 92 92 92-41.19 92-92z",fill:"#fff"})),e.createElement("g",{mask:"url(#a)"},e.createElement("path",{d:"M192 100c0-50.81-41.19-92-92-92S8 49.19 8 100s41.19 92 92 92 92-41.19 92-92z",fill:"#fff"}),e.createElement("path",{d:"M192 8H8v184h184V8z",fill:"url(#b)"}),e.createElement("path",{opacity:.6,fillRule:"evenodd",clipRule:"evenodd",d:"M98.06 97.074v2.23l-1.942 1.115L40.2 132.536l1.941 3.344L100 102.648l57.859 33.232 1.941-3.344-55.918-32.117-1.941-1.115V32.84h-3.882v64.234z",fill:"#fff"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m100.404 28.62 62.156 35.886v71.771l-62.156 35.886-62.155-35.886V64.506l62.155-35.886zM44.076 65.627l38.653 22.317 17.676-30.615 17.675 30.614 38.653-22.316-56.329-32.52-56.328 32.52zm114.599 3.364-38.653 22.317 17.676 30.615-35.351 20.41v24.223l56.328-32.522V68.991zm-60.213 97.565v-24.223l-35.35-20.41 17.675-30.615L42.133 68.99v65.043l56.329 32.522zM84.15 93.25l-15.733 27.251 30.045 17.346v-36.335l-1.942-1.121-12.37-7.14zm18.197 44.597 30.043-17.346-15.733-27.25-12.368 7.14-1.942 1.121v36.335zm12.368-47.96-14.311-24.789-14.311 24.788 14.311 8.263 14.311-8.263z",fill:"#fff"})),e.createElement("defs",null,e.createElement("linearGradient",{id:"b",x1:100,y1:-84,x2:-84,y2:100,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#4EF1BA"}),e.createElement("stop",{offset:.502,stopColor:"#16CED1"}),e.createElement("stop",{offset:1,stopColor:"#3773F2"})))),ve=t=>e.createElement("svg",{width:40,height:40,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("g",{clipPath:"url(#a)"},e.createElement("mask",{id:"b",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:40,height:40},e.createElement("path",{d:"M40 0H0v40h40V0z",fill:"#D9D9D9"})),e.createElement("g",{mask:"url(#b)"},e.createElement("path",{d:"M11.917 8.278c-.733 0-1.356.256-1.87.77a2.545 2.545 0 0 0-.77 1.869c0 .733.257 1.356.77 1.869.514.513 1.137.77 1.87.77.733 0 1.356-.257 1.869-.77.513-.513.77-1.136.77-1.87 0-.732-.257-1.355-.77-1.869a2.545 2.545 0 0 0-1.87-.77zm0 17.592c-.733 0-1.356.257-1.87.77a2.545 2.545 0 0 0-.77 1.87c0 .732.257 1.355.77 1.868.514.514 1.137.77 1.87.77.733 0 1.356-.256 1.869-.77.513-.513.77-1.136.77-1.869 0-.733-.257-1.356-.77-1.869a2.545 2.545 0 0 0-1.87-.77zM5.759 3h28.148c.499 0 .917.169 1.254.506.337.337.506.755.506 1.253v12.315c0 .498-.169.916-.506 1.254a1.703 1.703 0 0 1-1.254.505H5.76c-.498 0-.916-.168-1.253-.505A1.703 1.703 0 0 1 4 17.074V4.76c0-.498.169-.916.506-1.253A1.702 1.702 0 0 1 5.759 3zm0 17.593h28.148c.499 0 .917.168 1.254.505.337.338.506.756.506 1.254v12.315c0 .498-.169.916-.506 1.253a1.702 1.702 0 0 1-1.254.506H5.76c-.498 0-.916-.169-1.253-.506A1.702 1.702 0 0 1 4 34.667V22.352c0-.498.169-.916.506-1.254a1.702 1.702 0 0 1 1.253-.505z",fill:"url(#c)"}))),e.createElement("defs",null,e.createElement("linearGradient",{id:"c",x1:4,y1:19.713,x2:35.667,y2:19.713,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#2FD99C"}),e.createElement("stop",{offset:1,stopColor:"#8CE598"})),e.createElement("clipPath",{id:"a"},e.createElement("path",{fill:"#fff",d:"M0 0h40v40H0z"})))),ye=t=>e.createElement("svg",{width:420,height:420,viewBox:"0 0 420 420",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M210.205 17.143V210m0 0 166.667 96.19M210.205 210 44.967 305.238",stroke:"url(#a)",strokeOpacity:.6,strokeWidth:18}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m247.638 178.49-37.433 21.613-37.284-21.527 27.416-47.8 1.297-2.26 8.571-14.945 8.571 14.866 1.337 2.316 27.525 47.737zm14.846-8.571-37.428-64.911-14.89-25.824-14.832 25.858-37.26 64.963-95.36-55.056 147.491-85.154 147.49 85.154-95.211 54.97zm-6.283 23.423-37.425 21.607v86.295l66.189-38.2 8.573-4.949-8.552-14.832-28.785-49.921zm-37.425 127.694 83.332-48.093 14.841-8.566-8.56-14.845-37.342-64.762 95.22-54.975v170.308l-147.491 85.153v-64.22zm-17.142-19.885v-86.202l-37.242-21.501-28.33 49.392-8.476 14.779 8.497 4.995 65.551 38.537zm-52.088-116.275-36.831 64.214-8.438 14.712 14.621 8.595 82.619 48.572.117.068v64.219L54.143 300.103V129.795l95.403 55.081zM210.205 10 45.571 105.051 37 110v200l164.634 95.051 8.571 4.949 8.571-4.949L383.41 310V110l-8.572-4.949L210.205 10z",fill:"url(#b)"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"a",x1:632.433,y1:166.456,x2:334.741,y2:-292.388,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#4EF1BA"}),e.createElement("stop",{offset:.502,stopColor:"#16CED1"}),e.createElement("stop",{offset:1,stopColor:"#3773F2"})),e.createElement("linearGradient",{id:"b",x1:210.205,y1:-190,x2:-189.795,y2:210,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#4EF1BA"}),e.createElement("stop",{offset:.502,stopColor:"#16CED1"}),e.createElement("stop",{offset:1,stopColor:"#3773F2"})))),Ce=t=>e.createElement("svg",{viewBox:"0 0 90 65",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{d:"M79.425.7c5.688 0 10.3 4.612 10.3 10.3v43.234c0 5.689-4.612 10.3-10.3 10.3H11.156c-5.688 0-10.3-4.611-10.3-10.3v-.215h4.6v.215a5.7 5.7 0 0 0 5.7 5.7h68.269a5.7 5.7 0 0 0 5.7-5.7V11a5.7 5.7 0 0 0-5.7-5.7H11.156a5.7 5.7 0 0 0-5.7 5.7v.49h-4.6V11C.856 5.312 5.468.7 11.156.7h68.269zM11.293 17.691c2.945 0 5.495.62 7.65 1.86 2.182 1.211 3.879 2.929 5.088 5.154 1.21 2.225 1.814 4.845 1.814 7.86 0 2.985-.604 5.577-1.814 7.774a12.78 12.78 0 0 1-5.088 5.112c-2.155 1.211-4.706 1.818-7.65 1.818H1V17.69h10.293zM35.206 47.27h-5.324V17.69h5.324v29.58zm15.677-29.58c2.944 0 5.494.62 7.65 1.86 2.182 1.21 3.878 2.929 5.087 5.154 1.21 2.225 1.815 4.846 1.815 7.86 0 2.985-.606 5.577-1.815 7.774a12.78 12.78 0 0 1-5.087 5.112c-2.156 1.211-4.706 1.818-7.65 1.818H40.59V17.69h10.293zm22.595 19.066a2.98 2.98 0 1 1-.001 5.958 2.98 2.98 0 0 1 .001-5.958zM6.325 42.494h4.812c2.97 0 5.257-.874 6.861-2.62 1.604-1.775 2.405-4.211 2.405-7.31 0-3.126-.801-5.591-2.405-7.394-1.604-1.803-3.89-2.704-6.861-2.704H6.324v20.028zm39.59 0h4.81c2.971 0 5.26-.873 6.863-2.62 1.603-1.775 2.405-4.211 2.405-7.31 0-3.126-.801-5.591-2.405-7.394-1.604-1.803-3.892-2.704-6.862-2.704h-4.81v20.028zm27.564-19.637a2.978 2.978 0 1 1 0 5.957 2.978 2.978 0 0 1 0-5.957z",fill:"currentColor"})),ke=t=>e.createElement("svg",{width:120,height:120,viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("rect",{x:9,y:9,width:102,height:102,rx:12,fill:"url(#a)"}),e.createElement("mask",{id:"b",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:9,y:9,width:102,height:102},e.createElement("rect",{x:9,y:9,width:102,height:102,rx:12,fill:"#fff"})),e.createElement("g",{mask:"url(#b)"},e.createElement("rect",{x:9,y:9,width:102,height:102,rx:12,fill:"url(#c)"}),e.createElement("path",{d:"M20.22 32.269a7.969 7.969 0 0 1 7.969-7.969H91.81a7.969 7.969 0 0 1 7.969 7.969V71.41a7.969 7.969 0 0 1-7.969 7.97H28.19a7.969 7.969 0 0 1-7.969-7.97V32.27z",fill:"#9FCBFF"}),e.createElement("path",{d:"M17.16 38.389a7.969 7.969 0 0 1 7.969-7.969H94.87a7.969 7.969 0 0 1 7.969 7.969V82.12a7.969 7.969 0 0 1-7.969 7.969H25.13a7.969 7.969 0 0 1-7.969-7.969V38.39z",fill:"url(#d)"}),e.createElement("path",{d:"M9 80.145 111 60.51V99c0 6.627-5.373 12-12 12H21c-6.627 0-12-5.373-12-12V80.145z",fill:"url(#e)"})),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.84 54.153V39.44h7.781a3.791 3.791 0 0 1 3.528 3.782v7.138a3.791 3.791 0 0 1-3.791 3.792H21.84zM38.041 39.44h-2.02v14.734h2.02V39.441zm-14.18 12.691v-10.68h5.497c.978 0 1.77.793 1.77 1.771v7.138a1.77 1.77 0 0 1-1.77 1.771H23.86zm17.018-12.69v14.71h7.518a3.791 3.791 0 0 0 3.791-3.79v-7.139a3.791 3.791 0 0 0-3.528-3.782h-7.78zm13.88 3.413h2.259v2.259h-2.259v-2.259zm2.259 5.647h-2.259v2.259h2.259v-2.259zM42.9 41.452v10.68h5.497a1.77 1.77 0 0 0 1.77-1.77v-7.139a1.77 1.77 0 0 0-1.77-1.77H42.9z",fill:"#4598FA"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M92.652 87.208v9.266l-.82.474 1.448.837.821-.474v-10.94l-6.945-4.01h-6.461v18.96h6.46l1.778-1.026-1.45-.837-.715.414h-4.624V83.81h4.624l5.884 3.397zm.96-4.846-1.774 1.025 1.449.836.714-.412h4.624v16.06H94l-5.884-3.397v-9.266l.823-.475-1.45-.837-.823.476V97.31l6.707 3.872c.156.09.334.138.515.138h6.185V82.36h-6.461z",fill:"#fff"}),e.createElement("defs",null,e.createElement("linearGradient",{id:"a",x1:9,y1:9,x2:9,y2:111,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#4F9DF6"}),e.createElement("stop",{offset:1,stopColor:"#0A79F8"})),e.createElement("linearGradient",{id:"c",x1:9,y1:9,x2:9,y2:111,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#4F9DF6"}),e.createElement("stop",{offset:1,stopColor:"#0A79F8"})),e.createElement("linearGradient",{id:"d",x1:17.16,y1:30.42,x2:17.16,y2:90.09,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#fff"}),e.createElement("stop",{offset:1,stopColor:"#ECEFFF"})),e.createElement("linearGradient",{id:"e",x1:20.156,y1:77.531,x2:26.73,y2:110.104,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{offset:.007,stopColor:"#77B2F6"}),e.createElement("stop",{offset:.206,stopColor:"#4F9DF6"}),e.createElement("stop",{offset:1,stopColor:"#4598FA"})))),Se=t=>e.createElement("svg",{width:76,height:76,viewBox:"0 0 76 76",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 15a2 2 0 0 0-2 2v3.176H0V17a6 6 0 0 1 6-6h63.23a6 6 0 0 1 6 6v42.069a6 6 0 0 1-6 6H6a6 6 0 0 1-6-6v-2.945h4v2.945a2 2 0 0 0 2 2h63.23a2 2 0 0 0 2-2V17a2 2 0 0 0-2-2H6z",fill:"#4598FA"}),e.createElement("circle",{cx:32,cy:31,r:10,stroke:"#4598FA",strokeWidth:4}),e.createElement("path",{d:"m40.688 48.384 5.602 5.602 10.343-10.343m-6.966-5.073c3.253 0 5.891-3.166 5.891-7.07 0-3.905-2.638-7.07-5.891-7.07M32 41h-7.147a7 7 0 0 0-7 7v7.065",stroke:"#4598FA",strokeWidth:4})),Ae=""+window.__toCdnUrl("assets/payment-kit-DYSjmihw.png"),ze=t=>e.createElement("svg",{viewBox:"0 0 400 400",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("rect",{x:73.16,y:109.16,width:253.435,height:181.679,rx:36.641,fill:"none",stroke:"currentColor",strokeWidth:18.321}),e.createElement("ellipse",{cx:164,cy:199.618,rx:16.03,ry:28.626,fill:"currentColor"}),e.createElement("ellipse",{cx:234.991,cy:199.618,rx:16.03,ry:28.626,fill:"currentColor"})),Fe=t=>e.createElement("svg",{viewBox:"0 0 902 902",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("rect",{width:902,height:902,rx:212,fill:"url(#a)"}),e.createElement("rect",{x:166,y:247,width:569,height:409,rx:80,stroke:"#fff",style:{stroke:"#fff",strokeOpacity:1},strokeWidth:40}),e.createElement("ellipse",{cx:371,cy:452,rx:37,ry:65,fill:"#fff",style:{fill:"#fff",fillOpacity:1}}),e.createElement("ellipse",{cx:531,cy:452,rx:37,ry:65,fill:"#fff",style:{fill:"#fff",fillOpacity:1}}),e.createElement("defs",null,e.createElement("linearGradient",{id:"a",x1:84,y1:78.5,x2:811.5,y2:850.5,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#AAF4EF",style:{stopColor:"color(display-p3 .6667 .9569 .9373)",stopOpacity:1}}),e.createElement("stop",{offset:.181,stopColor:"#C7F37F",style:{stopColor:"color(display-p3 .7798 .9512 .4996)",stopOpacity:1}}),e.createElement("stop",{offset:.361,stopColor:"#FFD071",style:{stopColor:"color(display-p3 1 .8141 .4422)",stopOpacity:1}}),e.createElement("stop",{offset:.546,stopColor:"#FF9898",style:{stopColor:"color(display-p3 1 .596 .596)",stopOpacity:1}}),e.createElement("stop",{offset:.722,stopColor:"#FF89E0",style:{stopColor:"color(display-p3 1 .536 .8769)",stopOpacity:1}}),e.createElement("stop",{offset:.899,stopColor:"#B695FE",style:{stopColor:"color(display-p3 .7137 .5843 .9961)",stopOpacity:1}}),e.createElement("stop",{offset:1,stopColor:"#7C8EED",style:{stopColor:"color(display-p3 .4863 .5569 .9294)",stopOpacity:1}})))),B=t=>e.createElement("svg",{width:1024,height:1024,viewBox:"0 0 1024 1024",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t},e.createElement("rect",{width:1024,height:1024,rx:250,fill:"url(#a)"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M283.163 232.966c-9.334 5.389-9.334 18.86 0 24.249 4.331 2.5 9.668 2.5 14 0L402 196.687a14 14 0 0 0 7-12.125c0-10.777-11.666-17.513-21-12.124l-104.837 60.528zm-98.864 215.431a14 14 0 0 0-7-12.125c-9.333-5.388-21 1.347-21 12.125v123.207c0 10.777 11.667 17.513 21 12.124a14 14 0 0 0 7-12.124V448.397zm547.739 316.237a14 14 0 0 1 14 0c9.334 5.388 9.334 18.86 0 24.249L638 851.258c-9.333 5.389-21-1.347-21-12.124a14 14 0 0 1 7-12.124l108.038-62.376zm137.137-193.333c0 10.777-11.667 17.512-21 12.124a14.002 14.002 0 0 1-7-12.124V448.7a14 14 0 0 1 7-12.124c9.333-5.389 21 1.347 21 12.124v122.601zM409 839.438c0 10.777-11.666 17.513-21 12.124l-108.301-62.528c-9.334-5.388-9.334-18.86 0-24.248a14 14 0 0 1 14 0L402 827.313a14 14 0 0 1 7 12.125zm208-654.572c0-10.777 11.667-17.513 21-12.124l104.575 60.376c9.333 5.388 9.333 18.86 0 24.248a14 14 0 0 1-14 0L624 196.99a14 14 0 0 1-7-12.124z",fill:"#fff",fillOpacity:.12}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M513.689 175.068c-17.416 0-31.534-14.118-31.534-31.534 0-17.416 14.118-31.534 31.534-31.534 17.416 0 31.534 14.118 31.534 31.534 0 17.416-14.118 31.534-31.534 31.534zM560.723 321.5c0 26.858-21.773 48.631-48.631 48.631s-48.631-21.773-48.631-48.631c0-26.859 21.773-48.632 48.631-48.632s48.631 21.773 48.631 48.632zm130.926 355.386c-26.858 0-48.631-21.773-48.631-48.631 0-26.859 21.773-48.632 48.631-48.632 26.859 0 48.632 21.773 48.632 48.632 0 26.858-21.773 48.631-48.632 48.631zm-411.498-48.631c0 26.858 21.773 48.631 48.632 48.631 26.858 0 48.631-21.773 48.631-48.631 0-26.859-21.773-48.632-48.631-48.632-26.859 0-48.632 21.773-48.632 48.632zm231.935-44.897c-39.255 0-71.077-31.822-71.077-71.077 0-39.254 31.822-71.077 71.077-71.077 39.255 0 71.077 31.823 71.077 71.077 0 39.255-31.822 71.077-71.077 71.077zm310.488 136.265c0 17.416 14.118 31.534 31.534 31.534 17.415 0 31.534-14.118 31.534-31.534 0-17.415-14.119-31.534-31.534-31.534-17.416 0-31.534 14.119-31.534 31.534zm-684.565 0c0 17.416 14.119 31.534 31.534 31.534 17.416 0 31.534-14.118 31.534-31.534 0-17.415-14.118-31.534-31.534-31.534-17.415 0-31.534 14.119-31.534 31.534z",fill:"#fff"}),e.createElement("foreignObject",{x:118,y:252.842,width:787.643,height:679.157},e.createElement("div",{xmlns:"http://www.w3.org/1999/xhtml",style:{backdropFilter:"blur(10px)",clipPath:"url(#b)",height:"100%",width:"100%"}})),e.createElement("path",{"data-figma-bg-blur-radius":20,fillRule:"evenodd",clipRule:"evenodd",d:"M541.484 880.466c0-17.416-14.119-31.534-31.534-31.534-17.416 0-31.534 14.118-31.534 31.534 0 17.415 14.118 31.534 31.534 31.534 17.415 0 31.534-14.119 31.534-31.534zm-340.416-576.09c0-17.415-14.118-31.534-31.534-31.534-17.416 0-31.534 14.119-31.534 31.534 0 17.416 14.118 31.534 31.534 31.534 17.416 0 31.534-14.118 31.534-31.534zm653.041-31.534c17.416 0 31.534 14.119 31.534 31.534 0 17.416-14.118 31.534-31.534 31.534-17.416 0-31.534-14.118-31.534-31.534 0-17.415 14.118-31.534 31.534-31.534zm-473.483 122.92c0-26.858-21.773-48.631-48.631-48.631-26.859 0-48.632 21.773-48.632 48.631 0 26.859 21.773 48.632 48.632 48.632 26.858 0 48.631-21.773 48.631-48.632zm314.236-48.631c26.858 0 48.631 21.773 48.631 48.631 0 26.859-21.773 48.632-48.631 48.632-26.859 0-48.632-21.773-48.632-48.632 0-26.858 21.773-48.631 48.632-48.631zm-182.77 438.221c26.858 0 48.631-21.774 48.631-48.632 0-26.858-21.773-48.631-48.631-48.631-26.859 0-48.632 21.773-48.632 48.631s21.773 48.632 48.632 48.632z",fill:"#fff",fillOpacity:.56}),e.createElement("defs",null,e.createElement("linearGradient",{id:"a",x1:956,y1:962,x2:70,y2:65.5,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#060E13"}),e.createElement("stop",{offset:1,stopColor:"#313434"})),e.createElement("clipPath",{id:"b",transform:"translate(-118 -252.842)"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M541.484 880.466c0-17.416-14.119-31.534-31.534-31.534-17.416 0-31.534 14.118-31.534 31.534 0 17.415 14.118 31.534 31.534 31.534 17.415 0 31.534-14.119 31.534-31.534zm-340.416-576.09c0-17.415-14.118-31.534-31.534-31.534-17.416 0-31.534 14.119-31.534 31.534 0 17.416 14.118 31.534 31.534 31.534 17.416 0 31.534-14.118 31.534-31.534zm653.041-31.534c17.416 0 31.534 14.119 31.534 31.534 0 17.416-14.118 31.534-31.534 31.534-17.416 0-31.534-14.118-31.534-31.534 0-17.415 14.118-31.534 31.534-31.534zm-473.483 122.92c0-26.858-21.773-48.631-48.631-48.631-26.859 0-48.632 21.773-48.632 48.631 0 26.859 21.773 48.632 48.632 48.632 26.858 0 48.631-21.773 48.631-48.632zm314.236-48.631c26.858 0 48.631 21.773 48.631 48.631 0 26.859-21.773 48.632-48.631 48.632-26.859 0-48.632-21.773-48.632-48.632 0-26.858 21.773-48.631 48.632-48.631zm-182.77 438.221c26.858 0 48.631-21.774 48.631-48.632 0-26.858-21.773-48.631-48.631-48.631-26.859 0-48.632 21.773-48.632 48.631s21.773 48.632 48.632 48.632z"})))),Ie=""+window.__toCdnUrl("assets/aistro-NLUOUWwT.png"),O=260,je={en:{groups:{applications:"Applications",components:"Components",computeStorage:"Compute/Storage",identity:"Identity",frameworkTools:"Framework & tools",modelsAdapters:"Models adapters"},products:{nftStudio:{description:"Mint and manage NFTs"},creatorStudio:{description:"All-in-one creator tool"},aigne:{description:"The Agentic Ecosystem for AI Apps"},arcsphere:{description:"AI native browser"},aistro:{description:"AI-powered astrology"},blockletLauncher:{description:"One-click app launcher"},aiKit:{description:"Boost apps with AI"},paymentKit:{description:"Effortless Crypto & Card Payments"},blockletStore:{description:"Discover & deploy apps"},web3Kit:{description:"Web3 dev toolkit"},blockletFramework:{description:"Build and run blocklets"},didSpaces:{description:"Secure personal storage"},abtNetwork:{description:"Fast blockchain network"},blockletServer:{description:"Host your apps easily"},ocap:{description:"Multi-chain connector"},did:{description:"Self-sovereign ID"},didWallet:{description:"Smart digital wallet"},didNameService:{description:"Web3 domain names"},vc:{description:"Verifiable Credentials"},didConnect:{description:"Passwordless login"},aigneCodeSmith:{description:"Review and improve your code with AI"},aigneDocSmith:{description:"Generate and update docs with AI"},aigneWebSmith:{description:"Build and deploy AI-powered web apps"},aigneImageSmith:{description:"Generate and Refine Images with AI"},aigneCLI:{description:"Develop agents from the command line"},aigneObservability:{description:"Understand and inspect agent behavior"},aigneStudio:{description:"Create agents visually, no code needed"},aigneFramework:{description:"The functional core of agentic AI"},aigneHub:{description:"One API. Any Model"}}},zh:{groups:{applications:"应用",components:"组件",computeStorage:"计算/存储",identity:"身份",frameworkTools:"框架与工具",modelsAdapters:"模型适配器"},products:{nftStudio:{description:"铸造和管理 NFT"},creatorStudio:{description:"一体化创作工具"},aigne:{description:"AI 应用的代理生态系统"},arcsphere:{description:"AI 原生浏览器"},aistro:{description:"AI 占星术"},blockletLauncher:{description:"一键启动应用程序"},aiKit:{description:"AI 赋能应用"},paymentKit:{description:"便捷的加密货币和银行卡支付"},blockletStore:{description:"发现和部署应用程序"},web3Kit:{description:"Web3 开发工具包"},blockletFramework:{description:"构建并运行 Blocklet"},didSpaces:{description:"安全的个人存储"},abtNetwork:{description:"快速区块链网络"},blockletServer:{description:"轻松托管应用程序"},ocap:{description:"多链连接器"},did:{description:"自主身份"},didWallet:{description:"智能数字钱包"},didNameService:{description:"Web3 域名"},vc:{description:"可验证凭证"},didConnect:{description:"无密码登录"},aigneCodeSmith:{description:"使用 AI 审查并优化你的代码"},aigneDocSmith:{description:"用 AI 生成和更新项目文档"},aigneWebSmith:{description:"构建并部署 AI 驱动的 Web 应用"},aigneImageSmith:{description:"使用 AI 生成和优化图像"},aigneCLI:{description:"通过命令行开发 Agent"},aigneObservability:{description:"理解并分析 Agent 的行为"},aigneStudio:{description:"零代码构建 Agent"},aigneFramework:{description:"Agent AI 的功能核心框架"},aigneHub:{description:"一套 API，连接所有模型"}}},"zh-TW":{groups:{applications:"應用",components:"組件",computeStorage:"計算/儲存",identity:"身份",frameworkTools:"框架與工具",modelsAdapters:"模型適配器"},products:{nftStudio:{description:"鑄造和管理 NFT"},creatorStudio:{description:"一體化創作工具"},aigne:{description:"AI 應用的代理生態系統"},arcsphere:{description:"AI 原生瀏覽器"},aistro:{description:"AI 占星術"},blockletLauncher:{description:"一鍵啟動應用程式"},aiKit:{description:"AI 賦能應用"},paymentKit:{description:"便捷的加密貨幣和銀行卡支付"},blockletStore:{description:"發現和部署應用程式"},web3Kit:{description:"Web3 開發工具包"},blockletFramework:{description:"構建並運行 Blocklet"},didSpaces:{description:"安全的個人儲存"},abtNetwork:{description:"快速區塊鏈網路"},blockletServer:{description:"輕鬆託管應用程式"},ocap:{description:"多鏈連接器"},did:{description:"自主身份"},didWallet:{description:"智能數位錢包"},didNameService:{description:"Web3 域名"},vc:{description:"可驗證憑證"},didConnect:{description:"無密碼登入"},aigneCodeSmith:{description:"使用 AI 審查並優化你的程式碼"},aigneDocSmith:{description:"用 AI 生成和更新專案文件"},aigneWebSmith:{description:"構建並部署 AI 驅動的 Web 應用"},aigneImageSmith:{description:"使用 AI 生成和優化圖像"},aigneCLI:{description:"透過命令列開發 Agent"},aigneObservability:{description:"理解並分析 Agent 的行為"},aigneStudio:{description:"零程式碼構建 Agent"},aigneFramework:{description:"Agent AI 的功能核心框架"},aigneHub:{description:"一套 API，連接所有模型"}}},ja:{groups:{applications:"アプリケーション",components:"コンポーネント",computeStorage:"コンピューティング/ストレージ",identity:"アイデンティティ",frameworkTools:"フレームワークとツール",modelsAdapters:"モデルアダプター"},products:{nftStudio:{description:"NFTの作成と管理"},creatorStudio:{description:"オールインワンクリエイターツール"},aigne:{description:"AIアプリのためのエージェントエコシステム"},arcsphere:{description:"AIネイティブブラウザ"},aistro:{description:"AI駆動占星術"},blockletLauncher:{description:"ワンクリックアプリ起動"},aiKit:{description:"AIでアプリを強化"},paymentKit:{description:"簡単な暗号通貨とカード決済"},blockletStore:{description:"アプリの発見とデプロイ"},web3Kit:{description:"Web3開発ツールキット"},blockletFramework:{description:"Blockletの構築と実行"},didSpaces:{description:"安全な個人ストレージ"},abtNetwork:{description:"高速ブロックチェーンネットワーク"},blockletServer:{description:"アプリの簡単なホスティング"},ocap:{description:"マルチチェーンコネクター"},did:{description:"自己主権ID"},didWallet:{description:"スマートデジタルウォレット"},didNameService:{description:"Web3ドメイン名"},vc:{description:"検証可能な認証情報"},didConnect:{description:"パスワード不要ログイン"},aigneCodeSmith:{description:"AIでコードをレビューし改善"},aigneDocSmith:{description:"AIでドキュメントを生成・更新"},aigneWebSmith:{description:"AI駆動Webアプリの構築とデプロイ"},aigneImageSmith:{description:"AIで画像を生成・最適化"},aigneCLI:{description:"コマンドラインからエージェントを開発"},aigneObservability:{description:"エージェントの動作を理解・分析"},aigneStudio:{description:"コード不要でエージェントを視覚的に作成"},aigneFramework:{description:"エージェントAIの機能コアフレームワーク"},aigneHub:{description:"1つのAPIで全てのモデルに接続"}}}},Me=k(b)`
  padding: 8px;
  background: ${({theme:t})=>t.palette.grey[100]};
  border-radius: 8px;

  &.is-inline {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    .nav-menu-sub-item-group {
      padding: 8px 16px;
      border-radius: 0;
    }
  }

  .nav-menu-sub-item-group + .nav-menu-sub-item-group {
    margin-top: 8px;
  }
  .MuiGrid-container + .MuiGrid-container {
    margin-top: 0px;
  }
`,Be=k(b,{shouldForwardProp:t=>t!=="maxContent"})(({theme:t,maxContent:l})=>({display:"grid",gap:t.spacing(1),gridTemplateColumns:`repeat(1, ${l}px)`,[t.breakpoints.up("md")]:{gridTemplateColumns:`repeat(2, ${l}px)`},[t.breakpoints.up("lg")]:{gridTemplateColumns:`repeat(3, ${l}px)`}}));function N({color:t="black",backgroundColor:l="transparent",children:s}){return o.jsx(b,{component:"span",sx:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:t,backgroundColor:l,borderRadius:"4px"},children:s})}function C({color:t="black",backgroundColor:l="transparent"}){return o.jsx(N,{color:t,backgroundColor:l,children:o.jsx(Ce,{style:{width:"100%"}})})}function f({color:t="black",backgroundColor:l="transparent"}){return o.jsx(N,{color:t,backgroundColor:l,children:o.jsx(ze,{style:{width:"100%",height:"100%"}})})}const Oe=(t="")=>t.startsWith("http:")||t.startsWith("https:"),Ue=t=>{try{return new URL(t).origin===window.location.origin}catch{return!1}};function n({to:t,children:l,className:s="",...c}){if(Oe(t)){const a=Ue(t)?"_self":"_blank";return o.jsx("a",{href:D(t,"header"),target:a,rel:"noreferrer noopener",className:s,...c,children:l})}return o.jsx(H,{to:t,className:s,...c,children:l})}function $e({className:t="",type:l,...s}){const{mode:c}=J(),a=U(),{locale:i="en"}=$()||{},m=e.useRef(null),{palette:u}=a,r=F((d,h={})=>G(je,d,i,"en",h)),[E,S]=e.useState(O),x=F(()=>{if(!m.current)return;const d=m.current.querySelectorAll(".navmenu-item__content");let h=O;d.forEach(y=>{const v=y.getBoundingClientRect().width+64;v>h&&(h=v)}),S(h)});e.useEffect(()=>{x()},[a,i,l,x]),e.useEffect(()=>{if(!m.current)return;const d=m.current.querySelector(".navmenu-item__content");if(!d)return;const h=new ResizeObserver(()=>{x()});return h.observe(d),()=>{h.disconnect()}},[x]);const w=R(()=>l==="ARCBLOCK"?[{type:"Group",label:r("groups.applications"),children:[{label:o.jsx(n,{to:`https://www.nftstudio.rocks/${i}`,children:"NFT Studio"}),description:r("products.nftStudio.description"),icon:o.jsx(ue,{})},{label:o.jsx(n,{to:`https://www.arcblock.io/content/collections/${i}/creator-studio`,children:"Creator Studio"}),description:r("products.creatorStudio.description"),icon:o.jsx(fe,{})},{label:o.jsx(n,{to:"https://www.aigne.io/",children:"AIGNE"}),description:r("products.aigne.description"),icon:o.jsx(f,{color:u.mode==="dark"?"white":"black"})},{label:o.jsx(n,{to:`https://www.arcsphere.io/${i}`,children:"ArcSphere"}),description:r("products.arcsphere.description"),icon:o.jsx(B,{})}]},{type:"Group",label:r("groups.components"),children:[{label:o.jsx(n,{to:`https://launcher.arcblock.io/${i}`,children:"Blocklet Launcher"}),description:r("products.blockletLauncher.description"),icon:o.jsx(ge,{})},{label:o.jsx(n,{to:`https://www.blocklet.io/${i}/payment-kit`,children:"Payment Kit"}),description:r("products.paymentKit.description"),icon:o.jsx("img",{src:Ae,alt:"Payment Kit"})},{label:o.jsx(n,{to:`https://store.blocklet.dev/?locale=${i}`,children:"Blocklet Store"}),description:r("products.blockletStore.description"),icon:o.jsx(Ee,{})},{label:o.jsx(n,{to:`https://www.web3kit.rocks/${i}`,children:"Web3 Kit"}),description:r("products.web3Kit.description"),icon:o.jsx(we,{})}]},{type:"Group",label:r("groups.computeStorage"),children:[{label:o.jsx(n,{to:`https://www.arcblock.io/content/collections/${i}/blocklet`,children:"Blocklet Framework"}),description:r("products.blockletFramework.description"),icon:o.jsx(xe,{})},{label:o.jsx(n,{to:`https://www.didspaces.com/${i}`,children:"DID Spaces"}),description:r("products.didSpaces.description"),icon:o.jsx(C,{color:"#876bf4"})},{label:o.jsx(n,{to:"https://main.abtnetwork.io/",children:"ABT Network"}),description:r("products.abtNetwork.description"),icon:o.jsx(be,{})},{label:o.jsx(n,{to:`https://www.blocklet.io/${i}/blocklet-server`,children:"Blocklet Server"}),description:r("products.blockletServer.description"),icon:o.jsx(ve,{})},{label:o.jsx(n,{to:`https://www.arcblock.io/content/collections/${i}/ocap`,children:"ОСАР"}),description:r("products.ocap.description"),icon:o.jsx(ye,{})}]},{type:"Group",label:r("groups.identity"),children:[{label:o.jsx(n,{to:`https://www.arcblock.io/content/collections/${i}/did`,children:"DID"}),description:r("products.did.description"),icon:o.jsx(C,{color:"#5b96f3"})},{label:o.jsx(n,{to:`https://www.didwallet.io/${i}`,children:"DID Wallet"}),description:r("products.didWallet.description"),icon:o.jsx(ke,{})},{label:o.jsx(n,{to:`https://www.didnames.io/${i}`,children:"DID Names"}),description:r("products.didNameService.description"),icon:o.jsx(C,{color:"#678ab0"})},{label:o.jsx(n,{to:`https://www.arcblock.io/content/collections/${i}/verifiable-credential`,children:"VC"}),description:r("products.vc.description"),icon:o.jsx(Se,{})},{label:o.jsx(n,{to:`https://www.didconnect.io/${i}`,children:"DID Connect"}),description:r("products.didConnect.description"),icon:o.jsx(C,{color:"#5bbec5"})}]}]:l==="AIGNE"?[{type:"Group",label:r("groups.applications"),children:[{label:o.jsx(n,{to:`https://www.arcsphere.io/${i}`,children:"ArcSphere"}),description:r("products.arcsphere.description"),icon:o.jsx(B,{})},{label:o.jsx(n,{to:`https://www.aistro.io/${i}`,children:"Aistro"}),description:r("products.aistro.description"),icon:o.jsx("img",{src:Ie,alt:"Aistro"})},{label:o.jsx(n,{to:"https://www.aigne.io/code-smith",children:"AIGNE CodeSmith"}),description:r("products.aigneCodeSmith.description"),icon:o.jsx(f,{color:"#3E5DF7",backgroundColor:"#e9f0ff"})},{label:o.jsx(n,{to:"https://www.aigne.io/doc-smith",children:"AIGNE DocSmith"}),description:r("products.aigneDocSmith.description"),icon:o.jsx(f,{color:"#02A996",backgroundColor:"#e6f7f5"})},{label:o.jsx(n,{to:"https://www.aigne.io/web-smith",children:"AIGNE WebSmith"}),description:r("products.aigneWebSmith.description"),icon:o.jsx(f,{color:"#7c45eb",backgroundColor:"#f0e9ff"})},{label:o.jsx(n,{to:"https://imagesmith.aigne.io/",children:"AIGNE ImageSmith"}),description:r("products.aigneImageSmith.description"),icon:o.jsx(Fe,{})}]},{type:"Group",label:r("groups.frameworkTools"),children:[{label:o.jsx(n,{to:"https://www.aigne.io/cli",children:"AIGNE CLI"}),description:r("products.aigneCLI.description"),icon:o.jsx(f,{color:"#d05d4e",backgroundColor:"#faeaea"})},{label:o.jsx(n,{to:"https://www.aigne.io/observability",children:"AIGNE Observability"}),description:r("products.aigneObservability.description"),icon:o.jsx(f,{color:"#6ba456",backgroundColor:"#edfae8"})},{label:o.jsx(n,{to:"https://www.aigne.io/studio",children:"AIGNE Studio"}),description:r("products.aigneStudio.description"),icon:o.jsx(f,{color:"#676cbf",backgroundColor:"#edeeff"})},{label:o.jsx(n,{to:"https://www.aigne.io/framework",children:"AIGNE Framework"}),description:r("products.aigneFramework.description"),icon:o.jsx(f,{color:"#5086d0",backgroundColor:"#eef4ff"})}]},{type:"Group",label:r("groups.modelsAdapters"),children:[{label:o.jsx(n,{to:"https://www.aigne.io/hub",children:"AIGNE Hub"}),description:r("products.aigneHub.description"),icon:o.jsx(f,{color:"#e4930b",backgroundColor:"#fbf4d4"})}]}]:[],[r,i,u]);return o.jsx(Me,{ref:m,className:`nav-menu-products is-${c} ${t}`,...s,children:w.map(d=>o.jsx(he,{label:d.label,children:o.jsx(Be,{maxContent:E,children:d.children.map(h=>o.jsx(X,{variant:"panel",style:{padding:"8px"},...h}))})},d.label))})}function Ge({icon:t,size:l=void 0,sx:s={},...c}){const a=[...Array.isArray(s)?s:[s]];l&&a.push({width:l,height:l});const[i,m]=e.useState(!1),[u,r]=e.useState(!0);if(L(async()=>{r(!0);try{await K(t),m(!0)}catch{m(!1)}r(!1)},[t]),c.variant||a.push({"&.MuiAvatar-root":{color:"inherit",fontWeight:"bold",backgroundColor:"transparent",borderRadius:0},"&.MuiAvatar-root svg":{width:"100%",height:"100%"}}),te(t))return o.jsx(z,{component:"span",...c,src:t,sx:a});const E=l?.6*l+4:0;return u?o.jsx(j,{icon:"codicon:blank",height:E||void 0}):i?o.jsx(z,{component:"span",...c,sx:a,children:o.jsx(j,{icon:t,height:E||void 0})}):t&&typeof t=="string"?(a.push({"&.MuiAvatar-root":{display:"inline-flex",...l&&{fontSize:l-2}}}),o.jsx(z,{component:"span",...c,sx:a,children:Array.from(t)[0]})):null}const De="blocklet-ui-react-embed-mode";function Ne(t){const l=t.displayName||t.name||"Component";function s(c){const[a]=T(De,{defaultValue:0,listenStorageChange:!0});return a===1?null:o.jsx(t,{...c})}return s.displayName=`withHideWhenEmbed(${l})`,s}const Ve={en:{products:"Products"},zh:{products:"产品"},"zh-TW":{products:"產品"},ja:{products:"製品"}},_e=t=>{if(!t?.length)return{navItems:[],activeId:null};let l=1;const s=ae(t,i=>{const m=i.icon?o.jsx(Ge,{icon:i.icon}):null;if(i.items)return{id:`${l++}`,label:i.title,icon:m,children:i.items};let u={};return(i.link?.startsWith("http")||i.link?.startsWith("//"))&&(u={target:"_blank",rel:"noreferrer"}),{id:`${l++}`,label:o.jsx("a",{href:D(i.link,"header"),...u,children:i.title}),icon:m,description:i.description,link:i.link}},"items"),c=se(s),a=ce(c.map(i=>i.link));return{navItems:s,activeId:a>=0?c[a].id:null}};function We({meta:t={},addons:l=void 0,sessionManagerProps:s={showRole:!0},homeLink:c=le,theme:a={},hideNavMenu:i=!1,showDomainWarningDialog:m=!0,...u}){oe();const r=U(),{locale:E,defaultLocale:S}=$()||{},x=F((p,g={})=>G(Ve,p,E,"en",g)),w=e.useMemo(()=>{const p=Object.assign({},window.blocklet,t);try{return re(p)}catch(g){return console.error("Failed to format blocklet info",g,p),p}},[t]),d=e.useMemo(()=>Y(r,a),[r,a]),h=de({meta:t,theme:a}),{productsOrder:y,productsType:v}=e.useMemo(()=>{let{USE_ARCBLOCK_THEME:p,USE_AIGNE_THEME:g}=w;return p=parseInt(p,10),g=parseInt(g,10),M(g)?{productsOrder:g,productsType:"AIGNE"}:M(p)?{productsOrder:p,productsType:"ARCBLOCK"}:{productsOrder:null,productsType:null}},[w]);if(!w.appName)return null;const V=ie({navigation:w?.navigation?.header,locale:E,defaultLocale:S}),I=_e(V),{navItems:A,activeId:_}=I;return v&&Number.isInteger(y)&&A.splice(y,0,{label:x("products"),children:()=>o.jsx($e,{type:v})}),o.jsx(q,{theme:d,children:o.jsx(He,{homeLink:c,logo:o.jsx("img",{src:h,alt:"logo"}),addons:o.jsx(ne,{formattedBlocklet:w,addons:typeof l=="function"?p=>l(p,{navigation:I}):l,sessionManagerProps:s,showDomainWarningDialog:m}),...pe(u,["bordered"]),$bordered:u?.bordered,$bgcolor:d.palette.background.default,className:W("blocklet__header",u.className),children:i||!A?.length?null:({isMobile:p})=>o.jsx(ee,{mode:p?"inline":"horizontal",activeId:_,items:A,className:"header-nav",bgColor:"transparent",textColor:d.palette.grey[500],activeTextColor:d.palette.text.primary})})})}const He=k(Z)`
  ${({$bgcolor:t})=>`background-color: ${t||"#fff"};`}
  .header-logo {
    min-width: 44px;
  }
  ${({$bordered:t,theme:l})=>t?`border-bottom: 1px solid ${l.palette.divider};`:""}
  ${t=>t.theme.breakpoints.down("md")} {
    .header-logo {
      min-width: 32px;
    }
  }
`,Xe=P(Ne(We),{FallbackComponent:Q});export{Ge as M,Xe as N,Ne as p};
