@hanzo/app 0.3.72 → 0.3.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,18 +1,18 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256" role="img" aria-label="art">
2
2
  <defs>
3
- <linearGradient id="g-art" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d8b4fe"/><stop offset="1" stop-color="#7e22ce"/></linearGradient>
3
+ <linearGradient id="g-art" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d9d9d9"/><stop offset="1" stop-color="#787878"/></linearGradient>
4
4
  <radialGradient id="f-art" cx=".36" cy=".3" r=".8"><stop offset="0" stop-color="#e0a27d"/><stop offset="1" stop-color="#b2744f"/></radialGradient>
5
5
  <clipPath id="c-art"><circle cx="128" cy="128" r="128"/></clipPath>
6
6
  </defs>
7
7
  <g clip-path="url(#c-art)">
8
8
  <rect width="256" height="256" fill="url(#g-art)"/>
9
9
  <circle cx="84" cy="64" r="70" fill="#fff" opacity=".13"/>
10
- <path d="M62 118 C54 190 62 214 84 222 L172 222 C194 214 202 190 194 118 Z" fill="#db2777"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#7e22ce"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#9034e0" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f3e8ff"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#6b21a8" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3a9 9 0 100 18c1.5 0 2-1 1.5-2-.6-1.2.2-2.5 1.6-2.5H17a4 4 0 004-4c0-5-4-9.5-9-9.5z"/><circle cx="8" cy="11" r="1"/><circle cx="11" cy="7.5" r="1"/><circle cx="16" cy="8.5" r="1"/></g>
10
+ <path d="M62 118 C54 190 62 214 84 222 L172 222 C194 214 202 190 194 118 Z" fill="#818181"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#787878"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#8a8a8a" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f3f3f3"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#646464" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3a9 9 0 100 18c1.5 0 2-1 1.5-2-.6-1.2.2-2.5 1.6-2.5H17a4 4 0 004-4c0-5-4-9.5-9-9.5z"/><circle cx="8" cy="11" r="1"/><circle cx="11" cy="7.5" r="1"/><circle cx="16" cy="8.5" r="1"/></g>
11
11
  <rect x="110" y="168" width="36" height="36" rx="14" fill="#ad6f4a"/>
12
12
  <ellipse cx="68" cy="128" rx="9" ry="13" fill="#bc7e59"/><ellipse cx="188" cy="128" rx="9" ry="13" fill="#bc7e59"/>
13
13
  <ellipse cx="128" cy="120" rx="58" ry="62" fill="url(#f-art)"/>
14
- <path d="M68 118 C64 66 96 46 128 46 C162 46 194 66 188 118 C182 96 164 80 140 76 C124 90 96 98 68 118 Z" fill="#db2777"/>
15
- <g stroke="#e32f7f" stroke-width="5" stroke-linecap="round" fill="none"><path d="M90 106 Q104 98 118 104"/><path d="M138 104 Q152 98 166 106"/></g>
14
+ <path d="M68 118 C64 66 96 46 128 46 C162 46 194 66 188 118 C182 96 164 80 140 76 C124 90 96 98 68 118 Z" fill="#818181"/>
15
+ <g stroke="#898989" stroke-width="5" stroke-linecap="round" fill="none"><path d="M90 106 Q104 98 118 104"/><path d="M138 104 Q152 98 166 106"/></g>
16
16
  <path d="M92 126 Q104 114 116 126" stroke="#1f2937" stroke-width="5" fill="none" stroke-linecap="round"/><path d="M140 126 Q152 114 164 126" stroke="#1f2937" stroke-width="5" fill="none" stroke-linecap="round"/>
17
17
  <ellipse cx="88" cy="146" rx="11" ry="7" fill="#f87171" opacity=".28"/><ellipse cx="168" cy="146" rx="11" ry="7" fill="#f87171" opacity=".28"/>
18
18
  <path d="M126 134 Q132 140 126 144" stroke="#935530" stroke-width="3.5" fill="none" stroke-linecap="round" opacity=".7"/>
@@ -11,8 +11,8 @@
11
11
  <rect x="110" y="168" width="36" height="36" rx="14" fill="#ad6f4a"/>
12
12
  <ellipse cx="68" cy="128" rx="9" ry="13" fill="#bc7e59"/><ellipse cx="188" cy="128" rx="9" ry="13" fill="#bc7e59"/>
13
13
  <ellipse cx="128" cy="120" rx="58" ry="62" fill="url(#f-cyber)"/>
14
- <path d="M68 118 C62 66 98 42 138 44 C176 46 196 72 186 118 C184 98 170 86 152 84 C126 70 92 84 68 118 Z" fill="#6d28d9"/><path d="M92 62 C120 44 160 48 180 74" stroke="#813ced" stroke-width="5" stroke-linecap="round" fill="none"/>
15
- <g stroke="#7530e1" stroke-width="5" stroke-linecap="round" fill="none"><path d="M90 106 Q104 98 118 104"/><path d="M138 104 Q152 98 166 106"/></g>
14
+ <path d="M68 118 C62 66 98 42 138 44 C176 46 196 72 186 118 C184 98 170 86 152 84 C126 70 92 84 68 118 Z" fill="#808080"/><path d="M92 62 C120 44 160 48 180 74" stroke="#949494" stroke-width="5" stroke-linecap="round" fill="none"/>
15
+ <g stroke="#888888" stroke-width="5" stroke-linecap="round" fill="none"><path d="M90 106 Q104 98 118 104"/><path d="M138 104 Q152 98 166 106"/></g>
16
16
  <g fill="#1f2937"><ellipse cx="104" cy="126" rx="7.5" ry="9"/><ellipse cx="152" cy="126" rx="7.5" ry="9"/></g><g fill="#fff"><circle cx="107" cy="122" r="2.8"/><circle cx="155" cy="122" r="2.8"/></g>
17
17
  <ellipse cx="88" cy="146" rx="11" ry="7" fill="#f87171" opacity=".28"/><ellipse cx="168" cy="146" rx="11" ry="7" fill="#f87171" opacity=".28"/>
18
18
  <path d="M126 134 Q132 140 126 144" stroke="#935530" stroke-width="3.5" fill="none" stroke-linecap="round" opacity=".7"/>
@@ -1,18 +1,18 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256" role="img" aria-label="des">
2
2
  <defs>
3
- <linearGradient id="g-des" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d8b4fe"/><stop offset="1" stop-color="#7e22ce"/></linearGradient>
3
+ <linearGradient id="g-des" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d9d9d9"/><stop offset="1" stop-color="#787878"/></linearGradient>
4
4
  <radialGradient id="f-des" cx=".36" cy=".3" r=".8"><stop offset="0" stop-color="#ffe3bf"/><stop offset="1" stop-color="#ddb591"/></radialGradient>
5
5
  <clipPath id="c-des"><circle cx="128" cy="128" r="128"/></clipPath>
6
6
  </defs>
7
7
  <g clip-path="url(#c-des)">
8
8
  <rect width="256" height="256" fill="url(#g-des)"/>
9
9
  <circle cx="84" cy="64" r="70" fill="#fff" opacity=".13"/>
10
- <circle cx="128" cy="38" r="22" fill="#3b2f4a"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#7e22ce"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#9034e0" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f3e8ff"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#6b21a8" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M4 20l1-5L16 4l4 4L9 19z"/><path d="M14 6l4 4"/></g>
10
+ <circle cx="128" cy="38" r="22" fill="#3d3d3d"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#787878"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#8a8a8a" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f3f3f3"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#646464" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M4 20l1-5L16 4l4 4L9 19z"/><path d="M14 6l4 4"/></g>
11
11
  <rect x="110" y="168" width="36" height="36" rx="14" fill="#d8b08c"/>
12
12
  <ellipse cx="68" cy="128" rx="9" ry="13" fill="#e7bf9b"/><ellipse cx="188" cy="128" rx="9" ry="13" fill="#e7bf9b"/>
13
13
  <ellipse cx="128" cy="120" rx="58" ry="62" fill="url(#f-des)"/>
14
- <path d="M70 114 C66 66 98 50 128 50 C158 50 190 66 186 114 C176 94 156 84 128 86 C100 84 80 94 70 114 Z" fill="#3b2f4a"/>
15
- <g stroke="#433752" stroke-width="5" stroke-linecap="round" fill="none"><path d="M90 106 Q104 98 118 104"/><path d="M138 104 Q152 98 166 106"/></g>
14
+ <path d="M70 114 C66 66 98 50 128 50 C158 50 190 66 186 114 C176 94 156 84 128 86 C100 84 80 94 70 114 Z" fill="#3d3d3d"/>
15
+ <g stroke="#454545" stroke-width="5" stroke-linecap="round" fill="none"><path d="M90 106 Q104 98 118 104"/><path d="M138 104 Q152 98 166 106"/></g>
16
16
  <g fill="#1f2937"><ellipse cx="104" cy="126" rx="7.5" ry="9"/><ellipse cx="152" cy="126" rx="7.5" ry="9"/></g><g fill="#fff"><circle cx="107" cy="122" r="2.8"/><circle cx="155" cy="122" r="2.8"/></g>
17
17
  <ellipse cx="88" cy="146" rx="11" ry="7" fill="#f87171" opacity=".28"/><ellipse cx="168" cy="146" rx="11" ry="7" fill="#f87171" opacity=".28"/>
18
18
  <path d="M126 134 Q132 140 126 144" stroke="#be9672" stroke-width="3.5" fill="none" stroke-linecap="round" opacity=".7"/>
@@ -1,13 +1,13 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256" role="img" aria-label="doc">
2
2
  <defs>
3
- <linearGradient id="g-doc" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d8b4fe"/><stop offset="1" stop-color="#7e22ce"/></linearGradient>
3
+ <linearGradient id="g-doc" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d9d9d9"/><stop offset="1" stop-color="#787878"/></linearGradient>
4
4
  <radialGradient id="f-doc" cx=".36" cy=".3" r=".8"><stop offset="0" stop-color="#fac6a0"/><stop offset="1" stop-color="#cc9872"/></radialGradient>
5
5
  <clipPath id="c-doc"><circle cx="128" cy="128" r="128"/></clipPath>
6
6
  </defs>
7
7
  <g clip-path="url(#c-doc)">
8
8
  <rect width="256" height="256" fill="url(#g-doc)"/>
9
9
  <circle cx="84" cy="64" r="70" fill="#fff" opacity=".13"/>
10
- <path d="M60 150 C52 70 96 40 128 40 C162 40 204 70 196 150 L188 164 L68 164 Z" fill="#5a3a22"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#7e22ce"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#9034e0" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f3e8ff"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#6b21a8" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M6 3h8l5 5v13H6z"/><path d="M14 3v5h5M9 13h7M9 17h7"/></g>
10
+ <path d="M60 150 C52 70 96 40 128 40 C162 40 204 70 196 150 L188 164 L68 164 Z" fill="#5a3a22"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#787878"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#8a8a8a" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f3f3f3"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#646464" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M6 3h8l5 5v13H6z"/><path d="M14 3v5h5M9 13h7M9 17h7"/></g>
11
11
  <rect x="110" y="168" width="36" height="36" rx="14" fill="#c7936d"/>
12
12
  <ellipse cx="68" cy="128" rx="9" ry="13" fill="#d6a27c"/><ellipse cx="188" cy="128" rx="9" ry="13" fill="#d6a27c"/>
13
13
  <ellipse cx="128" cy="120" rx="58" ry="62" fill="url(#f-doc)"/>
@@ -1,13 +1,13 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256" role="img" aria-label="edu">
2
2
  <defs>
3
- <linearGradient id="g-edu" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d8b4fe"/><stop offset="1" stop-color="#7e22ce"/></linearGradient>
3
+ <linearGradient id="g-edu" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d9d9d9"/><stop offset="1" stop-color="#787878"/></linearGradient>
4
4
  <radialGradient id="f-edu" cx=".36" cy=".3" r=".8"><stop offset="0" stop-color="#ffedcd"/><stop offset="1" stop-color="#e2bf9f"/></radialGradient>
5
5
  <clipPath id="c-edu"><circle cx="128" cy="128" r="128"/></clipPath>
6
6
  </defs>
7
7
  <g clip-path="url(#c-edu)">
8
8
  <rect width="256" height="256" fill="url(#g-edu)"/>
9
9
  <circle cx="84" cy="64" r="70" fill="#fff" opacity=".13"/>
10
- <path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#7e22ce"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#9034e0" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f3e8ff"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#6b21a8" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M2 9l10-5 10 5-10 5z"/><path d="M6 11.5V16c0 1.5 3 3 6 3s6-1.5 6-3v-4.5M22 9v6"/></g>
10
+ <path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#787878"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#8a8a8a" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f3f3f3"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#646464" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M2 9l10-5 10 5-10 5z"/><path d="M6 11.5V16c0 1.5 3 3 6 3s6-1.5 6-3v-4.5M22 9v6"/></g>
11
11
  <rect x="110" y="168" width="36" height="36" rx="14" fill="#ddba9a"/>
12
12
  <ellipse cx="68" cy="128" rx="9" ry="13" fill="#ecc9a9"/><ellipse cx="188" cy="128" rx="9" ry="13" fill="#ecc9a9"/>
13
13
  <ellipse cx="128" cy="120" rx="58" ry="62" fill="url(#f-edu)"/>
@@ -1,13 +1,13 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256" role="img" aria-label="huma">
2
2
  <defs>
3
- <linearGradient id="g-huma" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#a5b4fc"/><stop offset="1" stop-color="#4338ca"/></linearGradient>
3
+ <linearGradient id="g-huma" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d0d0d0"/><stop offset="1" stop-color="#818181"/></linearGradient>
4
4
  <radialGradient id="f-huma" cx=".36" cy=".3" r=".8"><stop offset="0" stop-color="#a77455"/><stop offset="1" stop-color="#794627"/></radialGradient>
5
5
  <clipPath id="c-huma"><circle cx="128" cy="128" r="128"/></clipPath>
6
6
  </defs>
7
7
  <g clip-path="url(#c-huma)">
8
8
  <rect width="256" height="256" fill="url(#g-huma)"/>
9
9
  <circle cx="84" cy="64" r="70" fill="#fff" opacity=".13"/>
10
- <circle cx="128" cy="38" r="22" fill="#2b2118"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#4338ca"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#554adc" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#e0e7ff"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#3730a3" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="8" r="3"/><path d="M3 20c0-4 3-6 6-6s6 2 6 6"/><circle cx="17" cy="9" r="2.5"/><path d="M16 14c3 0 5 2 5 5"/></g>
10
+ <circle cx="128" cy="38" r="22" fill="#2b2118"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#818181"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#939393" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f0f0f0"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#6a6a6a" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="8" r="3"/><path d="M3 20c0-4 3-6 6-6s6 2 6 6"/><circle cx="17" cy="9" r="2.5"/><path d="M16 14c3 0 5 2 5 5"/></g>
11
11
  <rect x="110" y="168" width="36" height="36" rx="14" fill="#744122"/>
12
12
  <ellipse cx="68" cy="128" rx="9" ry="13" fill="#835031"/><ellipse cx="188" cy="128" rx="9" ry="13" fill="#835031"/>
13
13
  <ellipse cx="128" cy="120" rx="58" ry="62" fill="url(#f-huma)"/>
@@ -1,13 +1,13 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256" role="img" aria-label="lang">
2
2
  <defs>
3
- <linearGradient id="g-lang" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d8b4fe"/><stop offset="1" stop-color="#7e22ce"/></linearGradient>
3
+ <linearGradient id="g-lang" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d9d9d9"/><stop offset="1" stop-color="#787878"/></linearGradient>
4
4
  <radialGradient id="f-lang" cx=".36" cy=".3" r=".8"><stop offset="0" stop-color="#fac6a0"/><stop offset="1" stop-color="#cc9872"/></radialGradient>
5
5
  <clipPath id="c-lang"><circle cx="128" cy="128" r="128"/></clipPath>
6
6
  </defs>
7
7
  <g clip-path="url(#c-lang)">
8
8
  <rect width="256" height="256" fill="url(#g-lang)"/>
9
9
  <circle cx="84" cy="64" r="70" fill="#fff" opacity=".13"/>
10
- <path d="M170 72 C220 62 232 132 192 176 C210 130 196 100 160 94 Z" fill="#9a3412"/><circle cx="172" cy="84" r="7" fill="#c86240"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#7e22ce"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#9034e0" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f3e8ff"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#6b21a8" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18"/></g>
10
+ <path d="M170 72 C220 62 232 132 192 176 C210 130 196 100 160 94 Z" fill="#9a3412"/><circle cx="172" cy="84" r="7" fill="#c86240"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#787878"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#8a8a8a" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f3f3f3"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#646464" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18"/></g>
11
11
  <rect x="110" y="168" width="36" height="36" rx="14" fill="#c7936d"/>
12
12
  <ellipse cx="68" cy="128" rx="9" ry="13" fill="#d6a27c"/><ellipse cx="188" cy="128" rx="9" ry="13" fill="#d6a27c"/>
13
13
  <ellipse cx="128" cy="120" rx="58" ry="62" fill="url(#f-lang)"/>
@@ -1,13 +1,13 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256" role="img" aria-label="mana">
2
2
  <defs>
3
- <linearGradient id="g-mana" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#a5b4fc"/><stop offset="1" stop-color="#4338ca"/></linearGradient>
3
+ <linearGradient id="g-mana" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d0d0d0"/><stop offset="1" stop-color="#818181"/></linearGradient>
4
4
  <radialGradient id="f-mana" cx=".36" cy=".3" r=".8"><stop offset="0" stop-color="#ffe3bf"/><stop offset="1" stop-color="#ddb591"/></radialGradient>
5
5
  <clipPath id="c-mana"><circle cx="128" cy="128" r="128"/></clipPath>
6
6
  </defs>
7
7
  <g clip-path="url(#c-mana)">
8
8
  <rect width="256" height="256" fill="url(#g-mana)"/>
9
9
  <circle cx="84" cy="64" r="70" fill="#fff" opacity=".13"/>
10
- <path d="M60 150 C52 70 96 40 128 40 C162 40 204 70 196 150 L188 164 L68 164 Z" fill="#9a3412"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#4338ca"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#554adc" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#e0e7ff"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#3730a3" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="5" height="16" rx="1"/><rect x="10" y="4" width="5" height="10" rx="1"/><rect x="17" y="4" width="4" height="13" rx="1"/></g>
10
+ <path d="M60 150 C52 70 96 40 128 40 C162 40 204 70 196 150 L188 164 L68 164 Z" fill="#9a3412"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#818181"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#939393" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f0f0f0"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#6a6a6a" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="5" height="16" rx="1"/><rect x="10" y="4" width="5" height="10" rx="1"/><rect x="17" y="4" width="4" height="13" rx="1"/></g>
11
11
  <rect x="110" y="168" width="36" height="36" rx="14" fill="#d8b08c"/>
12
12
  <ellipse cx="68" cy="128" rx="9" ry="13" fill="#e7bf9b"/><ellipse cx="188" cy="128" rx="9" ry="13" fill="#e7bf9b"/>
13
13
  <ellipse cx="128" cy="120" rx="58" ry="62" fill="url(#f-mana)"/>
@@ -1,13 +1,13 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256" role="img" aria-label="mu">
2
2
  <defs>
3
- <linearGradient id="g-mu" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d8b4fe"/><stop offset="1" stop-color="#7e22ce"/></linearGradient>
3
+ <linearGradient id="g-mu" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d9d9d9"/><stop offset="1" stop-color="#787878"/></linearGradient>
4
4
  <radialGradient id="f-mu" cx=".36" cy=".3" r=".8"><stop offset="0" stop-color="#a77455"/><stop offset="1" stop-color="#794627"/></radialGradient>
5
5
  <clipPath id="c-mu"><circle cx="128" cy="128" r="128"/></clipPath>
6
6
  </defs>
7
7
  <g clip-path="url(#c-mu)">
8
8
  <rect width="256" height="256" fill="url(#g-mu)"/>
9
9
  <circle cx="84" cy="64" r="70" fill="#fff" opacity=".13"/>
10
- <path d="M72 130 C62 170 70 196 82 214" stroke="#111827" stroke-width="16" stroke-linecap="round" fill="none"/><path d="M184 130 C194 170 186 196 174 214" stroke="#111827" stroke-width="16" stroke-linecap="round" fill="none"/><path d="M66 118 C62 56 194 56 190 118" stroke="#111827" stroke-width="9" fill="none" stroke-linecap="round"/><rect x="56" y="108" width="18" height="34" rx="9" fill="#111827"/><rect x="182" y="108" width="18" height="34" rx="9" fill="#111827"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#7e22ce"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#9034e0" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f3e8ff"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#6b21a8" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M9 18V5l11-2v13"/><circle cx="6.5" cy="18" r="2.5"/><circle cx="17.5" cy="16" r="2.5"/></g>
10
+ <path d="M72 130 C62 170 70 196 82 214" stroke="#111827" stroke-width="16" stroke-linecap="round" fill="none"/><path d="M184 130 C194 170 186 196 174 214" stroke="#111827" stroke-width="16" stroke-linecap="round" fill="none"/><path d="M66 118 C62 56 194 56 190 118" stroke="#111827" stroke-width="9" fill="none" stroke-linecap="round"/><rect x="56" y="108" width="18" height="34" rx="9" fill="#111827"/><rect x="182" y="108" width="18" height="34" rx="9" fill="#111827"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#787878"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#8a8a8a" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f3f3f3"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#646464" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M9 18V5l11-2v13"/><circle cx="6.5" cy="18" r="2.5"/><circle cx="17.5" cy="16" r="2.5"/></g>
11
11
  <rect x="110" y="168" width="36" height="36" rx="14" fill="#744122"/>
12
12
  <ellipse cx="68" cy="128" rx="9" ry="13" fill="#835031"/><ellipse cx="188" cy="128" rx="9" ry="13" fill="#835031"/>
13
13
  <ellipse cx="128" cy="120" rx="58" ry="62" fill="url(#f-mu)"/>
@@ -1,13 +1,13 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256" role="img" aria-label="opera">
2
2
  <defs>
3
- <linearGradient id="g-opera" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#a5b4fc"/><stop offset="1" stop-color="#4338ca"/></linearGradient>
3
+ <linearGradient id="g-opera" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d0d0d0"/><stop offset="1" stop-color="#818181"/></linearGradient>
4
4
  <radialGradient id="f-opera" cx=".36" cy=".3" r=".8"><stop offset="0" stop-color="#c38b65"/><stop offset="1" stop-color="#955d37"/></radialGradient>
5
5
  <clipPath id="c-opera"><circle cx="128" cy="128" r="128"/></clipPath>
6
6
  </defs>
7
7
  <g clip-path="url(#c-opera)">
8
8
  <rect width="256" height="256" fill="url(#g-opera)"/>
9
9
  <circle cx="84" cy="64" r="70" fill="#fff" opacity=".13"/>
10
- <path d="M72 130 C62 170 70 196 82 214" stroke="#111827" stroke-width="16" stroke-linecap="round" fill="none"/><path d="M184 130 C194 170 186 196 174 214" stroke="#111827" stroke-width="16" stroke-linecap="round" fill="none"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#4338ca"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#554adc" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#e0e7ff"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#3730a3" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3.2"/><path d="M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M18.4 5.6l-2.1 2.1M7.7 16.3l-2.1 2.1"/></g>
10
+ <path d="M72 130 C62 170 70 196 82 214" stroke="#111827" stroke-width="16" stroke-linecap="round" fill="none"/><path d="M184 130 C194 170 186 196 174 214" stroke="#111827" stroke-width="16" stroke-linecap="round" fill="none"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#818181"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#939393" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f0f0f0"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#6a6a6a" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3.2"/><path d="M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M18.4 5.6l-2.1 2.1M7.7 16.3l-2.1 2.1"/></g>
11
11
  <rect x="110" y="168" width="36" height="36" rx="14" fill="#905832"/>
12
12
  <ellipse cx="68" cy="128" rx="9" ry="13" fill="#9f6741"/><ellipse cx="188" cy="128" rx="9" ry="13" fill="#9f6741"/>
13
13
  <ellipse cx="128" cy="120" rx="58" ry="62" fill="url(#f-opera)"/>
@@ -1,13 +1,13 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256" role="img" aria-label="vi">
2
2
  <defs>
3
- <linearGradient id="g-vi" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#a5b4fc"/><stop offset="1" stop-color="#4338ca"/></linearGradient>
3
+ <linearGradient id="g-vi" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d0d0d0"/><stop offset="1" stop-color="#818181"/></linearGradient>
4
4
  <radialGradient id="f-vi" cx=".36" cy=".3" r=".8"><stop offset="0" stop-color="#e0a27d"/><stop offset="1" stop-color="#b2744f"/></radialGradient>
5
5
  <clipPath id="c-vi"><circle cx="128" cy="128" r="128"/></clipPath>
6
6
  </defs>
7
7
  <g clip-path="url(#c-vi)">
8
8
  <rect width="256" height="256" fill="url(#g-vi)"/>
9
9
  <circle cx="84" cy="64" r="70" fill="#fff" opacity=".13"/>
10
- <path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#4338ca"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#554adc" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#e0e7ff"/><path d="M120 214 L136 214 L142 252 L128 262 L114 252 Z" fill="#ef4444"/><path d="M120 206 L136 206 L132 216 L124 216 Z" fill="#dc2626"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#3730a3" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3l2 7 7 2-7 2-2 7-2-7-7-2 7-2z"/></g>
10
+ <path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#818181"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#939393" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f0f0f0"/><path d="M120 214 L136 214 L142 252 L128 262 L114 252 Z" fill="#ef4444"/><path d="M120 206 L136 206 L132 216 L124 216 Z" fill="#dc2626"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#6a6a6a" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3l2 7 7 2-7 2-2 7-2-7-7-2 7-2z"/></g>
11
11
  <rect x="110" y="168" width="36" height="36" rx="14" fill="#ad6f4a"/>
12
12
  <ellipse cx="68" cy="128" rx="9" ry="13" fill="#bc7e59"/><ellipse cx="188" cy="128" rx="9" ry="13" fill="#bc7e59"/>
13
13
  <ellipse cx="128" cy="120" rx="58" ry="62" fill="url(#f-vi)"/>
@@ -1,13 +1,13 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256" role="img" aria-label="vid">
2
2
  <defs>
3
- <linearGradient id="g-vid" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d8b4fe"/><stop offset="1" stop-color="#7e22ce"/></linearGradient>
3
+ <linearGradient id="g-vid" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#d9d9d9"/><stop offset="1" stop-color="#787878"/></linearGradient>
4
4
  <radialGradient id="f-vid" cx=".36" cy=".3" r=".8"><stop offset="0" stop-color="#c38b65"/><stop offset="1" stop-color="#955d37"/></radialGradient>
5
5
  <clipPath id="c-vid"><circle cx="128" cy="128" r="128"/></clipPath>
6
6
  </defs>
7
7
  <g clip-path="url(#c-vid)">
8
8
  <rect width="256" height="256" fill="url(#g-vid)"/>
9
9
  <circle cx="84" cy="64" r="70" fill="#fff" opacity=".13"/>
10
- <path d="M66 118 C62 56 194 56 190 118" stroke="#111827" stroke-width="9" fill="none" stroke-linecap="round"/><rect x="56" y="108" width="18" height="34" rx="9" fill="#111827"/><rect x="182" y="108" width="18" height="34" rx="9" fill="#111827"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#7e22ce"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#9034e0" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f3e8ff"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#6b21a8" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="6" width="13" height="12" rx="2"/><path d="M16 10l5-3v10l-5-3z"/></g>
10
+ <path d="M66 118 C62 56 194 56 190 118" stroke="#111827" stroke-width="9" fill="none" stroke-linecap="round"/><rect x="56" y="108" width="18" height="34" rx="9" fill="#111827"/><rect x="182" y="108" width="18" height="34" rx="9" fill="#111827"/><path d="M26 256 C30 214 66 196 128 196 C190 196 226 214 230 256 Z" fill="#787878"/><path d="M26 256 C30 214 66 196 128 196 C100 214 96 240 98 256 Z" fill="#8a8a8a" opacity=".5"/><path d="M104 196 L128 226 L152 196 Z" fill="#f3f3f3"/><circle cx="182" cy="226" r="16" fill="#f8fafc"/><g transform="translate(172 216) scale(.83)" fill="none" stroke="#646464" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="6" width="13" height="12" rx="2"/><path d="M16 10l5-3v10l-5-3z"/></g>
11
11
  <rect x="110" y="168" width="36" height="36" rx="14" fill="#905832"/>
12
12
  <ellipse cx="68" cy="128" rx="9" ry="13" fill="#9f6741"/><ellipse cx="188" cy="128" rx="9" ry="13" fill="#9f6741"/>
13
13
  <ellipse cx="128" cy="120" rx="58" ry="62" fill="url(#f-vid)"/>
package/dist/App.js CHANGED
@@ -77,13 +77,13 @@ import { isPlans, leave, useDevHost } from './dev.js';
77
77
  import { Gate } from './Gate.js';
78
78
  import { useHost } from './host.js';
79
79
  import { useKept } from './kept.js';
80
- import { Mark, MARK, raised, Rail, RAIL, Toggle } from './Rail.js';
80
+ import { Mark, raised, Rail, Toggle } from './Rail.js';
81
81
  import { Layer, Lift, useDrawer } from './Drawer.js';
82
82
  import { empty, openThread, showSettings, useOpen } from './open.js';
83
83
  import { Split } from './Shell.js';
84
84
  import { Search } from './Search.js';
85
85
  import { summons } from './seek.js';
86
- import { floor, pane, SIDE } from './ground.js';
86
+ import { BAR, floor, pane, RAIL, SIDE } from './ground.js';
87
87
  import { org as currentOrg, pick } from './lib/session.js';
88
88
  import { payUrl } from './lib/pay.js';
89
89
  import { useFree } from './Upgrade.js';
@@ -112,8 +112,6 @@ const Hosted = lazy(() => import('./Hosted.js').then((m) => ({ default: m.Hosted
112
112
  const Betas = lazy(() => import('./Betas.js').then((m) => ({ default: m.BetasPane })));
113
113
  /** `/` is Chat on a new conversation. */
114
114
  const HOME = { mode: 'chat', thread: null };
115
- /** The bar's height, px: a thin top bar on the ground. */
116
- const BAR = 38;
117
115
  /** Where each mode was last, so the rail goes back to it. */
118
116
  const last = { chat: '', dev: '', studio: '', design: '', flow: '', tabs: '' };
119
117
  /** Whether a key press is the reader typing, where the app's keys are the field's. */
@@ -332,9 +330,9 @@ function Window({ bar, betas }) {
332
330
  shut();
333
331
  setFinding(true);
334
332
  };
335
- return (_jsx(AiProvider, { client: client ?? undefined, children: _jsx(HostProvider, { host: host, children: _jsx(PrefsProvider, { children: _jsx(UsageProvider, { children: _jsxs(YStack, { ref: windowRef, "data-slot": "window", ...floor, flex: 1, minW: 0, height: bar ? '100%' : '100dvh', overflow: "hidden", rounded: bar ? '$3' : undefined, "$max-md": { position: 'fixed', t: TOP, l: 0, r: 0, height: HEIGHT, ...{ overflow: 'clip' } }, children: [_jsxs(XStack, { "data-slot": "title-bar", height: BAR, shrink: 0, items: "center", "$max-md": bar ? undefined : { display: 'none' }, onMouseDown: bar ? dragWindow : undefined, onDoubleClick: bar ? toggleWindowMaximize : undefined, ...(bar?.drag ?? null), children: [_jsxs(XStack, { "data-slot": "title-bar-start", height: "100%", items: "center", gap: 2, pl: bar?.inset ? bar.inset + 4 : (RAIL - (MARK ?? 34)) / 2, pr: 8, shrink: 0, minW: closed || alone ? undefined : `calc(${RAIL}px + var(--app-sidebar-span, ${SIDE}px))`, ...(bar?.drag ?? null), children: [bar ? (_jsx(XStack, { $md: { display: 'none' }, children: _jsx(Toggle, { open: drawer.state === 'open', onPress: drawer.open, label: t('Open sidebar') }) })) : null, _jsx(XStack, { "$max-md": { display: 'none' }, children: _jsx(Toggle, { open: !closed, onPress: flip }) }), _jsx(Mark, { label: t('Back'), "data-slot": "back", onPress: () => router.back(), children: _jsx(ArrowLeft, { size: 15, "aria-hidden": true, "data-i18n-mirror": true }) }), _jsx(Mark, { label: t('Forward'), "data-slot": "forward", onPress: () => router.forward(), children: _jsx(ArrowRight, { size: 15, "aria-hidden": true, "data-i18n-mirror": true }) })] }), _jsxs(XStack, { id: "hanzo-titlebar-slot", "data-slot": "title-bar-main", flex: 1, minW: 0, self: "stretch", items: "center", justify: "space-between", pl: 14, pr: 10, gap: 6, ...(bar?.drag ?? null), children: [mode === 'chat' ? null : (_jsx(XStack, { "data-slot": "titlebar-fallback", flex: 1, minW: 0, items: "center", justify: "space-between", gap: 8, children: _jsx(Text, { fontSize: 13, lineHeight: 18, fontWeight: "500", color: "$ink", numberOfLines: 1, children: mode === 'dev' && !inPlace ? 'Dev' : mode === 'studio' ? 'Studio' : mode === 'design' ? 'Design' : mode === 'flow' ? 'Flow' : mode === 'tabs' ? 'Tabs' : '' }) })), bar ? (bar.controls !== undefined ? (bar.controls) : !bar.inset ? (_jsx(WindowControls, {})) : null) : null] })] }), _jsxs(XStack, { ref: drawer.pane, "data-app": mode, "data-slot": "frame", bg: "transparent", ...drawer.slide, flex: 1, minW: 0, minH: 0, paddingInlineEnd: "var(--pane-gap)", pb: "var(--pane-gap)",
333
+ return (_jsx(AiProvider, { client: client ?? undefined, children: _jsx(HostProvider, { host: host, children: _jsx(PrefsProvider, { children: _jsx(UsageProvider, { children: _jsxs(YStack, { ref: windowRef, "data-slot": "window", ...floor, flex: 1, minW: 0, height: bar ? '100%' : '100dvh', overflow: "hidden", rounded: bar ? '$3' : undefined, "$max-md": { position: 'fixed', t: TOP, l: 0, r: 0, height: HEIGHT, ...{ overflow: 'clip' } }, children: [_jsxs(XStack, { "data-slot": "title-bar", height: BAR, shrink: 0, items: "center", "$max-md": bar ? undefined : { display: 'none' }, onMouseDown: bar ? dragWindow : undefined, onDoubleClick: bar ? toggleWindowMaximize : undefined, ...(bar?.drag ?? null), children: [_jsxs(XStack, { "data-slot": "title-bar-start", height: "100%", items: "center", gap: 2, pl: (bar?.inset ?? 0) + 8, pr: 8, shrink: 0, width: closed ? RAIL : `calc(${RAIL}px + var(--app-sidebar-span, ${SIDE}px))`, ...(bar?.drag ?? null), children: [_jsx(XStack, { $md: { display: 'none' }, children: _jsx(Toggle, { open: drawer.state === 'open', onPress: drawer.open, label: t('Open sidebar') }) }), _jsx(Mark, { label: t('Back'), "data-slot": "back", onPress: () => router.back(), children: _jsx(ArrowLeft, { size: 15, "aria-hidden": true, "data-i18n-mirror": true }) }), _jsx(Mark, { label: t('Forward'), "data-slot": "forward", onPress: () => router.forward(), children: _jsx(ArrowRight, { size: 15, "aria-hidden": true, "data-i18n-mirror": true }) }), _jsx(XStack, { "$max-md": { display: 'none' }, children: _jsx(Toggle, { open: !closed, onPress: flip }) })] }), _jsxs(XStack, { id: "hanzo-titlebar-slot", "data-slot": "title-bar-main", flex: 1, minW: 0, self: "stretch", items: "center", justify: "space-between", pl: 14, pr: 10, gap: 6, ...(bar?.drag ?? null), children: [_jsx(XStack, { "data-slot": "titlebar-fallback", flex: 1, minW: 0, items: "center", justify: "space-between", gap: 8, children: _jsx(Text, { fontSize: 13, lineHeight: 18, fontWeight: "500", color: "$ink", numberOfLines: 1, children: mode === 'chat' ? '' : mode === 'dev' ? 'Dev' : mode === 'studio' ? 'Studio' : mode === 'design' ? 'Design' : mode === 'flow' ? 'Flow' : mode === 'tabs' ? 'Tabs' : '' }) }), bar ? (bar.controls !== undefined ? (bar.controls) : !bar.inset ? (_jsx(WindowControls, {})) : null) : null] })] }), _jsxs(XStack, { ref: drawer.pane, "data-app": mode, "data-slot": "frame", bg: "transparent", ...drawer.slide, flex: 1, minW: 0, minH: 0, paddingInlineEnd: "var(--pane-gap)", pb: "var(--pane-gap)",
336
334
  // The gap above the pane is the gap at its end and foot; a window's own bar above it is that gap.
337
- pt: bar ? 0 : 'var(--pane-gap)', $md: { pt: 0 }, "$max-md": { p: 0 }, children: [drawer.slide ? _jsx(Lift, {}) : null, _jsxs(YStack, { height: "100%", position: "relative", "$max-md": { display: 'none' }, children: [_jsx(Rail, { host: host, mode: mode, at: where, inside: inside, open: !closed, onChat: toChat, onDev: toDev, onDesign: toDesign, onStudio: toStudio, onTabs: toTabs, go: move, onOrg: org }), closed ? (_jsx(YStack, { "data-slot": "sidebar-reopen-edge", position: "absolute", t: 0, b: 0, r: -4, width: 8, z: 20, cursor: "ew-resize", onDoubleClick: () => setClosed(false), onMouseDown: (down) => {
335
+ pt: bar ? 0 : 'var(--pane-gap)', "$max-md": { p: 0 }, children: [drawer.slide ? _jsx(Lift, {}) : null, _jsxs(YStack, { height: "100%", position: "relative", "$max-md": { display: 'none' }, children: [_jsx(Rail, { host: host, mode: mode, at: where, inside: inside, open: !closed, onChat: toChat, onDev: toDev, onDesign: toDesign, onStudio: toStudio, onTabs: toTabs, go: move, onOrg: org }), closed ? (_jsx(YStack, { "data-slot": "sidebar-reopen-edge", position: "absolute", t: 0, b: 0, r: -4, width: 8, z: 20, cursor: "ew-resize", onDoubleClick: () => setClosed(false), onMouseDown: (down) => {
338
336
  const e = down;
339
337
  const startX = e.clientX ?? 0;
340
338
  const onMove = (mv) => {
@@ -350,25 +348,19 @@ function Window({ bar, betas }) {
350
348
  };
351
349
  window.addEventListener('mousemove', onMove);
352
350
  window.addEventListener('mouseup', onUp);
353
- } })) : null] }), _jsxs(XStack, { "data-slot": "inner-surface", flex: 1, minW: 0, minH: 0, $md: {
354
- rounded: 'var(--pane-round)',
355
- overflow: 'hidden',
356
- borderWidth: 1,
357
- borderColor: 'var(--pane-edge, var(--edge, var(--white-06)))',
358
- bg: 'var(--pane-fill)',
359
- }, children: [closed || alone ? null : (_jsx(YStack, { height: "100%", "$max-md": { display: 'none' }, children: _jsx(Sidebar, { host: host, mode: mode, thread: thread, go: move, onShut: () => setClosed(true), onSeek: seek, onBack: back, places: sidebar }) })), _jsxs(YStack, { "data-slot": "stage",
360
- // A column: the phone's bar, then the panes taking the rest. Not a grid of `auto` and
361
- // `1fr` rows: from md the bar is display none, which leaves the grid, so the panes were
362
- // placed in the `auto` row and stood their content's height, and Dev's pane, which
363
- // scrolls inside, collapsed to its border (Projects drew blank). The rest of the row
364
- // beside the rail and the sidebar, never width 100%: a View does not shrink, so at the
365
- // row's full width again the pane stood past the window's edge.
366
- flex: 1, minW: 0, minH: 0, "$max-md": { pb: `max(var(--pane-gap), ${FOOT})` }, children: [bar ? null : _jsx(Bar, { host: host, mode: mode, places: sidebar, open: drawer.state !== 'shut', go: move, onMenu: drawer.open }), _jsx(XStack, { "data-slot": "panes", flex: 1, display: "grid", gridTemplateAreas: '"pane side"', gridTemplateColumns: "minmax(0, 1fr) auto", gridTemplateRows: "minmax(0, 1fr)", minW: 0, minH: 0, children: anonSettings && host.person === null ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, $md: { rounded: 0 }, children: _jsx(AnonSettingsPane, { host: host, onClose: () => {
367
- setAnonSettings(false);
368
- if (typeof window !== 'undefined') {
369
- window.dispatchEvent(new CustomEvent('hanzo:anon-settings', { detail: { open: false } }));
370
- }
371
- } }) })) : mode === 'chat' ? (_jsx(Split, { framed: true, children: _jsx(Chat, {}) })) : mode === 'tabs' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, $md: { rounded: 0 }, children: _jsx(Suspense, { fallback: null, children: _jsx(Terminals, {}) }) })) : mode === 'design' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, $md: { rounded: 0 }, children: _jsx(YStack, { flex: 1, minH: 0, height: "100%", children: _jsx(Suspense, { fallback: null, children: _jsx(Studio, { host: maker, rail: false }) }) }) })) : mode === 'flow' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, $md: { rounded: 0 }, children: blockedBeta ? (_jsx(YStack, { "data-slot": "hosted-request", flex: 1, minH: 0, items: "center", justify: "center", p: "$6", children: _jsxs(YStack, { width: "100%", maxW: 440, gap: "$4", children: [_jsxs(XStack, { items: "center", gap: "$3", children: [_jsx(XStack, { width: 44, height: 44, rounded: "$4", bg: "$hover", items: "center", justify: "center", shrink: 0, children: _jsx(Workflow, { size: 22, "aria-hidden": true }) }), _jsxs(YStack, { gap: 2, minW: 0, children: [_jsxs(XStack, { items: "center", gap: "$2", children: [_jsx(Text, { fontSize: "$6", fontWeight: "600", color: "$ink", children: "Flow" }), _jsx(Text, { fontSize: "$1", color: "$quiet", px: "$2", py: 2, rounded: "$2", bg: "$hover", children: t('Beta') })] }), _jsx(Text, { fontSize: "$3", color: "$quiet", children: BETAS.find((b) => b.id === 'flow')?.line ?? 'Visual workflows and multi-agent pipelines.' })] })] }), _jsxs(XStack, { items: "center", gap: "$2", pt: "$1", children: [_jsx(Ask, { beta: BETAS.find((b) => b.id === 'flow'), go: move }), _jsx(Button, { variant: "ghost", size: "sm", onPress: () => move('/beta'), children: t('All betas') })] })] }) })) : (_jsx(YStack, { flex: 1, minH: 0, height: "100%", children: _jsx(Suspense, { fallback: null, children: _jsx(FlowStudio, { host: maker }) }) })) })) : mode === 'studio' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, $md: { rounded: 0 }, children: blockedBeta ? (_jsx(YStack, { "data-slot": "hosted-request", flex: 1, minH: 0, items: "center", justify: "center", p: "$6", children: _jsxs(YStack, { width: "100%", maxW: 440, gap: "$4", children: [_jsxs(XStack, { items: "center", gap: "$3", children: [_jsx(XStack, { width: 44, height: 44, rounded: "$4", bg: "$hover", items: "center", justify: "center", shrink: 0, children: _jsx(Clapperboard, { size: 22, "aria-hidden": true }) }), _jsxs(YStack, { gap: 2, minW: 0, children: [_jsxs(XStack, { items: "center", gap: "$2", children: [_jsx(Text, { fontSize: "$6", fontWeight: "600", color: "$ink", children: "Studio" }), _jsx(Text, { fontSize: "$1", color: "$quiet", px: "$2", py: 2, rounded: "$2", bg: "$hover", children: t('Beta') })] }), _jsx(Text, { fontSize: "$3", color: "$quiet", children: BETAS.find((b) => b.id === 'studio')?.line ?? 'Director Studio for AI film, video, and creative production.' })] })] }), _jsxs(XStack, { items: "center", gap: "$2", pt: "$1", children: [_jsx(Ask, { beta: BETAS.find((b) => b.id === 'studio'), go: move }), _jsx(Button, { variant: "ghost", size: "sm", onPress: () => move('/beta'), children: t('All betas') })] })] }) })) : (_jsx(YStack, { flex: 1, minH: 0, height: "100%", children: _jsx(Suspense, { fallback: null, children: _jsx(DirectorStudio, { host: maker }) }) })) })) : at.mode === 'hosted' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, $md: { rounded: 0 }, children: _jsx(Suspense, { fallback: null, children: _jsx(Hosted, { id: at.id, go: move }) }) })) : mode === 'beta' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflowY: "auto", overflowX: "hidden", flex: 1, minW: 0, minH: 0, p: "$4", $md: { p: '$6', rounded: 0 }, children: betas ?? (_jsx(Suspense, { fallback: null, children: _jsx(Betas, { go: move }) })) })) : (_jsxs(YStack, { render: "main", "data-slot": "pane", ...(run ? null : { ...pane(), overflow: 'hidden', $md: { rounded: 0 } }), position: "relative", flex: 1, minW: 0, minH: 0, children: [!plans && !run && !inPlace && closed && free && host.person !== null ? (_jsx(XStack, { position: "absolute", t: 8, r: 12, z: 5, items: "center", "$max-md": { display: 'none' }, children: _jsxs(XStack, { render: "button", "data-slot": "header-upgrade", "aria-label": t('Upgrade plan'), items: "center", gap: "$1.5", px: "$2", py: "$1", rounded: "$3", bg: "transparent", cursor: "pointer", hoverStyle: { bg: '$hover' }, onPress: () => window.location.assign(payUrl('/cart', { org: currentOrg(), returnUrl: window.location.href })), children: [_jsx(Sparkles, { size: 14, color: "var(--muted-foreground)", "aria-hidden": true }), _jsx(Text, { fontSize: 15, lineHeight: 20, fontWeight: "500", color: "$soft", numberOfLines: 1, children: t('Upgrade plan') })] }) })) : null, plans ? null : _jsx(Builder, { host: host, rail: false })] })) })] })] })] }), drawer.state === 'shut' ? null : (_jsx(Layer, { drawer: drawer, top: bar ? BAR : 0, children: _jsxs(XStack, { flex: 1, minH: 0, children: [_jsx(YStack, { "data-slot": "drawer-rail", shrink: 0, pt: "calc(var(--pane-gap) + 4px)", $touchable: { pt: 'calc(var(--pane-gap) + 4px)' }, children: _jsx(Rail, { host: host, mode: mode, at: where, inside: inside, open: true, onChat: toChat, onDev: toDev, onDesign: toDesign, onStudio: toStudio, onTabs: toTabs, go: move, onOrg: org }) }), _jsx(YStack, { flex: 1, minW: 0, children: _jsx(Sidebar, { host: host, mode: mode, thread: thread, go: move, onShut: shut, onSeek: seek, onBack: back, drawer: true, places: sidebar }) })] }) })), finding ? _jsx(Search, { go: move, onClose: found, mode: mode, host: host }) : null, learning ? _jsx(Learning, { open: true, onClose: () => setLearning(false) }) : null, _jsx(AppContextMenu, { host: host, mode: mode, closed: closed, onToggleSidebar: flip, onSeek: seek, onNewChat: () => {
351
+ } })) : null] }), closed || alone ? null : (_jsx(YStack, { "$max-md": { display: 'none' }, children: _jsx(Sidebar, { host: host, mode: mode, thread: thread, go: move, onShut: () => setClosed(true), onSeek: seek, onBack: back, places: sidebar }) })), _jsxs(YStack, { "data-slot": "stage",
352
+ // A column: the phone's bar, then the panes taking the rest. Not a grid of `auto` and
353
+ // `1fr` rows: from md the bar is display none, which leaves the grid, so the panes were
354
+ // placed in the `auto` row and stood their content's height, and Dev's pane, which
355
+ // scrolls inside, collapsed to its border (Projects drew blank). The rest of the row
356
+ // beside the rail and the sidebar, never width 100%: a View does not shrink, so at the
357
+ // row's full width again the pane stood past the window's edge.
358
+ flex: 1, minW: 0, minH: 0, marginInlineStart: closed || alone ? 0 : 'var(--pane-gap)', "$max-md": { marginInlineStart: 0, pb: `max(var(--pane-gap), ${FOOT})` }, children: [bar ? null : _jsx(Bar, { host: host, mode: mode, places: sidebar, open: drawer.state !== 'shut', go: move, onMenu: drawer.open }), _jsx(XStack, { "data-slot": "panes", flex: 1, display: "grid", gridTemplateAreas: '"pane side"', gridTemplateColumns: "minmax(0, 1fr) auto", gridTemplateRows: "minmax(0, 1fr)", minW: 0, minH: 0, children: anonSettings && host.person === null ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, children: _jsx(AnonSettingsPane, { host: host, onClose: () => {
359
+ setAnonSettings(false);
360
+ if (typeof window !== 'undefined') {
361
+ window.dispatchEvent(new CustomEvent('hanzo:anon-settings', { detail: { open: false } }));
362
+ }
363
+ } }) })) : mode === 'chat' ? (_jsx(Split, { framed: true, children: _jsx(Chat, {}) })) : mode === 'tabs' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, children: _jsx(Suspense, { fallback: null, children: _jsx(Terminals, {}) }) })) : mode === 'design' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, children: _jsx(YStack, { flex: 1, minH: 0, height: "100%", children: _jsx(Suspense, { fallback: null, children: _jsx(Studio, { host: maker, rail: false }) }) }) })) : mode === 'flow' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, children: blockedBeta ? (_jsx(YStack, { "data-slot": "hosted-request", flex: 1, minH: 0, items: "center", justify: "center", p: "$6", children: _jsxs(YStack, { width: "100%", maxW: 440, gap: "$4", children: [_jsxs(XStack, { items: "center", gap: "$3", children: [_jsx(XStack, { width: 44, height: 44, rounded: "$4", bg: "$hover", items: "center", justify: "center", shrink: 0, children: _jsx(Workflow, { size: 22, "aria-hidden": true }) }), _jsxs(YStack, { gap: 2, minW: 0, children: [_jsxs(XStack, { items: "center", gap: "$2", children: [_jsx(Text, { fontSize: "$6", fontWeight: "600", color: "$ink", children: "Flow" }), _jsx(Text, { fontSize: "$1", color: "$quiet", px: "$2", py: 2, rounded: "$2", bg: "$hover", children: t('Beta') })] }), _jsx(Text, { fontSize: "$3", color: "$quiet", children: BETAS.find((b) => b.id === 'flow')?.line ?? 'Visual workflows and multi-agent pipelines.' })] })] }), _jsxs(XStack, { items: "center", gap: "$2", pt: "$1", children: [_jsx(Ask, { beta: BETAS.find((b) => b.id === 'flow'), go: move }), _jsx(Button, { variant: "ghost", size: "sm", onPress: () => move('/beta'), children: t('All betas') })] })] }) })) : (_jsx(YStack, { flex: 1, minH: 0, height: "100%", children: _jsx(Suspense, { fallback: null, children: _jsx(FlowStudio, { host: maker }) }) })) })) : mode === 'studio' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, children: blockedBeta ? (_jsx(YStack, { "data-slot": "hosted-request", flex: 1, minH: 0, items: "center", justify: "center", p: "$6", children: _jsxs(YStack, { width: "100%", maxW: 440, gap: "$4", children: [_jsxs(XStack, { items: "center", gap: "$3", children: [_jsx(XStack, { width: 44, height: 44, rounded: "$4", bg: "$hover", items: "center", justify: "center", shrink: 0, children: _jsx(Clapperboard, { size: 22, "aria-hidden": true }) }), _jsxs(YStack, { gap: 2, minW: 0, children: [_jsxs(XStack, { items: "center", gap: "$2", children: [_jsx(Text, { fontSize: "$6", fontWeight: "600", color: "$ink", children: "Studio" }), _jsx(Text, { fontSize: "$1", color: "$quiet", px: "$2", py: 2, rounded: "$2", bg: "$hover", children: t('Beta') })] }), _jsx(Text, { fontSize: "$3", color: "$quiet", children: BETAS.find((b) => b.id === 'studio')?.line ?? 'Director Studio for AI film, video, and creative production.' })] })] }), _jsxs(XStack, { items: "center", gap: "$2", pt: "$1", children: [_jsx(Ask, { beta: BETAS.find((b) => b.id === 'studio'), go: move }), _jsx(Button, { variant: "ghost", size: "sm", onPress: () => move('/beta'), children: t('All betas') })] })] }) })) : (_jsx(YStack, { flex: 1, minH: 0, height: "100%", children: _jsx(Suspense, { fallback: null, children: _jsx(DirectorStudio, { host: maker }) }) })) })) : at.mode === 'hosted' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflow: "hidden", flex: 1, minW: 0, minH: 0, children: _jsx(Suspense, { fallback: null, children: _jsx(Hosted, { id: at.id, go: move }) }) })) : mode === 'beta' ? (_jsx(YStack, { render: "main", "data-slot": "pane", ...pane(), overflowY: "auto", overflowX: "hidden", flex: 1, minW: 0, minH: 0, p: "$4", $md: { p: '$6' }, children: betas ?? (_jsx(Suspense, { fallback: null, children: _jsx(Betas, { go: move }) })) })) : (_jsxs(YStack, { render: "main", "data-slot": "pane", ...(run ? null : { ...pane(), overflow: 'hidden' }), position: "relative", flex: 1, minW: 0, minH: 0, children: [!plans && !run && !inPlace && closed && free && host.person !== null ? (_jsx(XStack, { position: "absolute", t: 8, r: 12, z: 5, items: "center", "$max-md": { display: 'none' }, children: _jsxs(XStack, { render: "button", "data-slot": "header-upgrade", "aria-label": t('Upgrade plan'), items: "center", gap: "$1.5", px: "$2", py: "$1", rounded: "$3", bg: "transparent", cursor: "pointer", hoverStyle: { bg: '$hover' }, onPress: () => window.location.assign(payUrl('/cart', { org: currentOrg(), returnUrl: window.location.href })), children: [_jsx(Sparkles, { size: 14, color: "var(--muted-foreground)", "aria-hidden": true }), _jsx(Text, { fontSize: 15, lineHeight: 20, fontWeight: "500", color: "$soft", numberOfLines: 1, children: t('Upgrade plan') })] }) })) : null, plans ? null : _jsx(Builder, { host: host, rail: false })] })) })] })] }), drawer.state === 'shut' ? null : (_jsx(Layer, { drawer: drawer, top: bar ? BAR : 0, children: _jsxs(XStack, { flex: 1, minH: 0, children: [_jsx(YStack, { "data-slot": "drawer-rail", shrink: 0, pt: "calc(var(--pane-gap) + 8px)", $touchable: { pt: 'calc(var(--pane-gap) + 4px)' }, children: _jsx(Rail, { host: host, mode: mode, at: where, inside: inside, open: true, onChat: toChat, onDev: toDev, onDesign: toDesign, onStudio: toStudio, onTabs: toTabs, go: move, onOrg: org }) }), _jsx(YStack, { flex: 1, minW: 0, children: _jsx(Sidebar, { host: host, mode: mode, thread: thread, go: move, onShut: shut, onSeek: seek, onBack: back, drawer: true, places: sidebar }) })] }) })), finding ? _jsx(Search, { go: move, onClose: found, mode: mode, host: host }) : null, learning ? _jsx(Learning, { open: true, onClose: () => setLearning(false) }) : null, _jsx(AppContextMenu, { host: host, mode: mode, closed: closed, onToggleSidebar: flip, onSeek: seek, onNewChat: () => {
372
364
  empty();
373
365
  move(talk());
374
366
  }, go: move })] }) }) }) }) }));