Spaces:
Running
Running
Onur Solmaz commited on
Commit ·
e247898
1
Parent(s): c39dc3a
deploy: rebuild space site
Browse files- assets/fits-PSRJ3nhH.json +0 -0
- assets/index-9CS2oD20.js +0 -0
- assets/index-CBjMWC4M.css +1 -745
- assets/index-UOx_NHZS.js +0 -0
- assets/sha256-wrapper-DYTB3MXW-BLGdnfhj.js +2 -223
- index.html +2 -2
assets/fits-PSRJ3nhH.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/index-9CS2oD20.js
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/index-CBjMWC4M.css
CHANGED
|
@@ -1,745 +1 @@
|
|
| 1 |
-
:root {
|
| 2 |
-
--ink: #e8e6df;
|
| 3 |
-
--muted: #98a0b3;
|
| 4 |
-
--yellow: #ffd84d;
|
| 5 |
-
--blue: #6ecbff;
|
| 6 |
-
--panel: rgba(10, 12, 22, 0.62);
|
| 7 |
-
--panel-strong: rgba(10, 12, 22, 0.82);
|
| 8 |
-
--line: rgba(255, 255, 255, 0.09);
|
| 9 |
-
}
|
| 10 |
-
* {
|
| 11 |
-
box-sizing: border-box;
|
| 12 |
-
}
|
| 13 |
-
html,
|
| 14 |
-
body,
|
| 15 |
-
#app {
|
| 16 |
-
height: 100%;
|
| 17 |
-
}
|
| 18 |
-
body {
|
| 19 |
-
margin: 0;
|
| 20 |
-
background: #05060c;
|
| 21 |
-
color: var(--ink);
|
| 22 |
-
font-family:
|
| 23 |
-
system-ui,
|
| 24 |
-
-apple-system,
|
| 25 |
-
Segoe UI,
|
| 26 |
-
sans-serif;
|
| 27 |
-
overflow: hidden;
|
| 28 |
-
}
|
| 29 |
-
#app {
|
| 30 |
-
position: relative;
|
| 31 |
-
}
|
| 32 |
-
#stage {
|
| 33 |
-
position: absolute;
|
| 34 |
-
inset: 0;
|
| 35 |
-
width: 100%;
|
| 36 |
-
height: 100%;
|
| 37 |
-
display: block;
|
| 38 |
-
}
|
| 39 |
-
.overlay {
|
| 40 |
-
position: absolute;
|
| 41 |
-
inset: 0;
|
| 42 |
-
display: flex;
|
| 43 |
-
flex-direction: column;
|
| 44 |
-
pointer-events: none;
|
| 45 |
-
}
|
| 46 |
-
.overlay header {
|
| 47 |
-
display: flex;
|
| 48 |
-
align-items: baseline;
|
| 49 |
-
justify-content: space-between;
|
| 50 |
-
padding: 16px 22px 0;
|
| 51 |
-
}
|
| 52 |
-
.brand {
|
| 53 |
-
display: flex;
|
| 54 |
-
flex-direction: column;
|
| 55 |
-
gap: 3px;
|
| 56 |
-
}
|
| 57 |
-
.byline {
|
| 58 |
-
margin: 0;
|
| 59 |
-
font-size: 0.72rem;
|
| 60 |
-
color: var(--muted);
|
| 61 |
-
letter-spacing: 0.03em;
|
| 62 |
-
text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
|
| 63 |
-
}
|
| 64 |
-
.byline a {
|
| 65 |
-
pointer-events: auto;
|
| 66 |
-
color: var(--ink);
|
| 67 |
-
text-decoration: none;
|
| 68 |
-
}
|
| 69 |
-
.byline a:hover {
|
| 70 |
-
color: var(--blue);
|
| 71 |
-
}
|
| 72 |
-
.credit {
|
| 73 |
-
position: absolute;
|
| 74 |
-
left: 18px;
|
| 75 |
-
bottom: 12px;
|
| 76 |
-
margin: 0;
|
| 77 |
-
font-size: 0.72rem;
|
| 78 |
-
color: #2e3644;
|
| 79 |
-
font-weight: 600;
|
| 80 |
-
text-shadow: 0 1px 6px rgba(255, 255, 255, 0.4);
|
| 81 |
-
}
|
| 82 |
-
.credit a {
|
| 83 |
-
pointer-events: auto;
|
| 84 |
-
color: #2e3644;
|
| 85 |
-
}
|
| 86 |
-
.overlay h1 {
|
| 87 |
-
margin: 0;
|
| 88 |
-
font-size: 1rem;
|
| 89 |
-
font-weight: 700;
|
| 90 |
-
letter-spacing: 0.24em;
|
| 91 |
-
text-transform: uppercase;
|
| 92 |
-
text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
|
| 93 |
-
}
|
| 94 |
-
.overlay a {
|
| 95 |
-
pointer-events: auto;
|
| 96 |
-
color: var(--muted);
|
| 97 |
-
}
|
| 98 |
-
.header-actions {
|
| 99 |
-
display: flex;
|
| 100 |
-
align-items: center;
|
| 101 |
-
flex-wrap: wrap;
|
| 102 |
-
justify-content: flex-end;
|
| 103 |
-
gap: 8px;
|
| 104 |
-
}
|
| 105 |
-
#share,
|
| 106 |
-
#customize {
|
| 107 |
-
pointer-events: auto;
|
| 108 |
-
display: inline-flex;
|
| 109 |
-
align-items: center;
|
| 110 |
-
gap: 7px;
|
| 111 |
-
font: inherit;
|
| 112 |
-
font-size: 0.8rem;
|
| 113 |
-
font-weight: 600;
|
| 114 |
-
line-height: 1;
|
| 115 |
-
white-space: nowrap;
|
| 116 |
-
color: var(--ink);
|
| 117 |
-
background: var(--panel-strong);
|
| 118 |
-
border: 1px solid var(--line);
|
| 119 |
-
border-radius: 999px;
|
| 120 |
-
padding: 9px 16px;
|
| 121 |
-
cursor: pointer;
|
| 122 |
-
}
|
| 123 |
-
#share:hover,
|
| 124 |
-
#customize:hover {
|
| 125 |
-
border-color: var(--yellow);
|
| 126 |
-
}
|
| 127 |
-
.gh {
|
| 128 |
-
pointer-events: auto;
|
| 129 |
-
display: inline-flex;
|
| 130 |
-
align-items: center;
|
| 131 |
-
gap: 7px;
|
| 132 |
-
color: var(--ink);
|
| 133 |
-
font-size: 0.76rem;
|
| 134 |
-
font-weight: 600;
|
| 135 |
-
line-height: 1;
|
| 136 |
-
white-space: nowrap;
|
| 137 |
-
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
| 138 |
-
text-decoration: none;
|
| 139 |
-
background: var(--panel-strong);
|
| 140 |
-
border: 1px solid var(--line);
|
| 141 |
-
border-radius: 999px;
|
| 142 |
-
padding: 9px 14px;
|
| 143 |
-
}
|
| 144 |
-
.gh:hover {
|
| 145 |
-
border-color: var(--yellow);
|
| 146 |
-
}
|
| 147 |
-
.creator[hidden] {
|
| 148 |
-
display: none;
|
| 149 |
-
}
|
| 150 |
-
.creator {
|
| 151 |
-
position: absolute;
|
| 152 |
-
inset: 0;
|
| 153 |
-
z-index: 6;
|
| 154 |
-
pointer-events: none;
|
| 155 |
-
}
|
| 156 |
-
.creator-top {
|
| 157 |
-
position: absolute;
|
| 158 |
-
top: 52px;
|
| 159 |
-
left: 50%;
|
| 160 |
-
transform: translate(-50%);
|
| 161 |
-
display: flex;
|
| 162 |
-
flex-direction: column;
|
| 163 |
-
align-items: center;
|
| 164 |
-
gap: 10px;
|
| 165 |
-
pointer-events: auto;
|
| 166 |
-
}
|
| 167 |
-
.creator-top h2 {
|
| 168 |
-
margin: 0;
|
| 169 |
-
font-size: 1rem;
|
| 170 |
-
letter-spacing: 0.18em;
|
| 171 |
-
text-transform: uppercase;
|
| 172 |
-
text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
|
| 173 |
-
}
|
| 174 |
-
.creator-top input {
|
| 175 |
-
font: inherit;
|
| 176 |
-
font-size: 1rem;
|
| 177 |
-
text-align: center;
|
| 178 |
-
color: var(--ink);
|
| 179 |
-
background: var(--panel-strong);
|
| 180 |
-
border: 1px solid var(--line);
|
| 181 |
-
border-radius: 999px;
|
| 182 |
-
padding: 9px 18px;
|
| 183 |
-
width: 240px;
|
| 184 |
-
}
|
| 185 |
-
.creator-side {
|
| 186 |
-
position: absolute;
|
| 187 |
-
top: 50%;
|
| 188 |
-
transform: translateY(-50%);
|
| 189 |
-
display: flex;
|
| 190 |
-
flex-direction: column;
|
| 191 |
-
gap: 18px;
|
| 192 |
-
pointer-events: auto;
|
| 193 |
-
}
|
| 194 |
-
.creator-side.left {
|
| 195 |
-
left: max(24px, 8vw);
|
| 196 |
-
}
|
| 197 |
-
.creator-side.right {
|
| 198 |
-
right: max(24px, 8vw);
|
| 199 |
-
align-items: flex-end;
|
| 200 |
-
}
|
| 201 |
-
.creator-side .fld {
|
| 202 |
-
background: var(--panel-strong);
|
| 203 |
-
border: 1px solid var(--line);
|
| 204 |
-
border-radius: 12px;
|
| 205 |
-
padding: 10px 14px;
|
| 206 |
-
gap: 14px;
|
| 207 |
-
font-size: 0.85rem;
|
| 208 |
-
color: var(--ink);
|
| 209 |
-
}
|
| 210 |
-
.creator-bottom {
|
| 211 |
-
position: absolute;
|
| 212 |
-
bottom: 26px;
|
| 213 |
-
left: 50%;
|
| 214 |
-
transform: translate(-50%);
|
| 215 |
-
display: flex;
|
| 216 |
-
gap: 12px;
|
| 217 |
-
pointer-events: auto;
|
| 218 |
-
}
|
| 219 |
-
.creator-bottom button {
|
| 220 |
-
font: inherit;
|
| 221 |
-
font-size: 0.9rem;
|
| 222 |
-
font-weight: 700;
|
| 223 |
-
border-radius: 999px;
|
| 224 |
-
border: 1px solid var(--line);
|
| 225 |
-
padding: 11px 22px;
|
| 226 |
-
cursor: pointer;
|
| 227 |
-
color: var(--ink);
|
| 228 |
-
background: var(--panel-strong);
|
| 229 |
-
}
|
| 230 |
-
#duck-share {
|
| 231 |
-
background: var(--yellow);
|
| 232 |
-
color: #171300;
|
| 233 |
-
border: none;
|
| 234 |
-
}
|
| 235 |
-
.customizing .chat,
|
| 236 |
-
.customizing .credit,
|
| 237 |
-
.customizing .tap-hint,
|
| 238 |
-
.customizing .radial,
|
| 239 |
-
.customizing #share {
|
| 240 |
-
display: none;
|
| 241 |
-
}
|
| 242 |
-
.chat {
|
| 243 |
-
pointer-events: auto;
|
| 244 |
-
position: relative;
|
| 245 |
-
margin: auto 18px 18px auto;
|
| 246 |
-
width: min(390px, calc(100vw - 36px));
|
| 247 |
-
display: flex;
|
| 248 |
-
flex-direction: column;
|
| 249 |
-
gap: 10px;
|
| 250 |
-
}
|
| 251 |
-
.feed {
|
| 252 |
-
display: flex;
|
| 253 |
-
flex-direction: column;
|
| 254 |
-
gap: 8px;
|
| 255 |
-
max-height: 46vh;
|
| 256 |
-
overflow-y: auto;
|
| 257 |
-
scrollbar-width: thin;
|
| 258 |
-
padding: 4px;
|
| 259 |
-
}
|
| 260 |
-
.bubble {
|
| 261 |
-
max-width: 88%;
|
| 262 |
-
padding: 9px 13px;
|
| 263 |
-
border-radius: 15px;
|
| 264 |
-
border: 1px solid var(--line);
|
| 265 |
-
backdrop-filter: blur(8px);
|
| 266 |
-
font-size: 0.9rem;
|
| 267 |
-
line-height: 1.35;
|
| 268 |
-
animation: rise 0.22s ease-out;
|
| 269 |
-
}
|
| 270 |
-
.bubble.user {
|
| 271 |
-
align-self: flex-end;
|
| 272 |
-
background: #ffd84d57;
|
| 273 |
-
border-bottom-right-radius: 4px;
|
| 274 |
-
}
|
| 275 |
-
.bubble.duck {
|
| 276 |
-
align-self: flex-start;
|
| 277 |
-
background: #0a0c1675;
|
| 278 |
-
border-bottom-left-radius: 4px;
|
| 279 |
-
display: flex;
|
| 280 |
-
flex-direction: column;
|
| 281 |
-
gap: 3px;
|
| 282 |
-
}
|
| 283 |
-
.bubble .droid {
|
| 284 |
-
color: var(--blue);
|
| 285 |
-
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
| 286 |
-
font-size: 0.86rem;
|
| 287 |
-
}
|
| 288 |
-
.bubble .gloss {
|
| 289 |
-
color: var(--ink);
|
| 290 |
-
}
|
| 291 |
-
.bubble .tag {
|
| 292 |
-
color: var(--muted);
|
| 293 |
-
font-size: 0.68rem;
|
| 294 |
-
text-transform: uppercase;
|
| 295 |
-
letter-spacing: 0.08em;
|
| 296 |
-
}
|
| 297 |
-
@keyframes rise {
|
| 298 |
-
0% {
|
| 299 |
-
opacity: 0;
|
| 300 |
-
transform: translateY(6px);
|
| 301 |
-
}
|
| 302 |
-
to {
|
| 303 |
-
opacity: 1;
|
| 304 |
-
transform: none;
|
| 305 |
-
}
|
| 306 |
-
}
|
| 307 |
-
@media (prefers-reduced-motion: reduce) {
|
| 308 |
-
.bubble {
|
| 309 |
-
animation: none;
|
| 310 |
-
}
|
| 311 |
-
}
|
| 312 |
-
.chips {
|
| 313 |
-
display: flex;
|
| 314 |
-
flex-wrap: wrap;
|
| 315 |
-
gap: 6px;
|
| 316 |
-
}
|
| 317 |
-
.chip {
|
| 318 |
-
font: inherit;
|
| 319 |
-
font-size: 0.78rem;
|
| 320 |
-
color: var(--ink);
|
| 321 |
-
background: var(--panel);
|
| 322 |
-
border: 1px solid var(--line);
|
| 323 |
-
border-radius: 999px;
|
| 324 |
-
padding: 5px 12px;
|
| 325 |
-
cursor: pointer;
|
| 326 |
-
backdrop-filter: blur(8px);
|
| 327 |
-
}
|
| 328 |
-
.chip:hover:not(:disabled) {
|
| 329 |
-
border-color: var(--blue);
|
| 330 |
-
}
|
| 331 |
-
.chip:disabled {
|
| 332 |
-
opacity: 0.4;
|
| 333 |
-
cursor: default;
|
| 334 |
-
}
|
| 335 |
-
#composer {
|
| 336 |
-
display: flex;
|
| 337 |
-
gap: 8px;
|
| 338 |
-
}
|
| 339 |
-
#input {
|
| 340 |
-
flex: 1;
|
| 341 |
-
font: inherit;
|
| 342 |
-
font-size: 0.9rem;
|
| 343 |
-
color: var(--ink);
|
| 344 |
-
background: var(--panel-strong);
|
| 345 |
-
border: 1px solid var(--line);
|
| 346 |
-
border-radius: 999px;
|
| 347 |
-
padding: 10px 16px;
|
| 348 |
-
backdrop-filter: blur(8px);
|
| 349 |
-
}
|
| 350 |
-
#input:disabled {
|
| 351 |
-
opacity: 0.5;
|
| 352 |
-
}
|
| 353 |
-
#input:focus-visible,
|
| 354 |
-
.chip:focus-visible,
|
| 355 |
-
#send:focus-visible {
|
| 356 |
-
outline: 2px solid var(--blue);
|
| 357 |
-
outline-offset: 2px;
|
| 358 |
-
}
|
| 359 |
-
#send {
|
| 360 |
-
font: inherit;
|
| 361 |
-
font-weight: 700;
|
| 362 |
-
border: none;
|
| 363 |
-
border-radius: 999px;
|
| 364 |
-
cursor: pointer;
|
| 365 |
-
color: #171300;
|
| 366 |
-
background: var(--yellow);
|
| 367 |
-
padding: 10px 20px;
|
| 368 |
-
}
|
| 369 |
-
#send:disabled {
|
| 370 |
-
opacity: 0.4;
|
| 371 |
-
cursor: default;
|
| 372 |
-
}
|
| 373 |
-
.sound-overlay {
|
| 374 |
-
position: absolute;
|
| 375 |
-
inset: 0;
|
| 376 |
-
z-index: 10;
|
| 377 |
-
display: flex;
|
| 378 |
-
flex-direction: column;
|
| 379 |
-
align-items: center;
|
| 380 |
-
justify-content: center;
|
| 381 |
-
gap: 14px;
|
| 382 |
-
background: #04060ca8;
|
| 383 |
-
backdrop-filter: blur(3px);
|
| 384 |
-
color: var(--ink);
|
| 385 |
-
cursor: pointer;
|
| 386 |
-
pointer-events: auto;
|
| 387 |
-
opacity: 1;
|
| 388 |
-
transition: opacity 0.45s ease;
|
| 389 |
-
text-align: center;
|
| 390 |
-
padding: 24px;
|
| 391 |
-
}
|
| 392 |
-
.sound-overlay[hidden] {
|
| 393 |
-
display: none;
|
| 394 |
-
}
|
| 395 |
-
.sound-overlay.gone {
|
| 396 |
-
opacity: 0;
|
| 397 |
-
pointer-events: none;
|
| 398 |
-
}
|
| 399 |
-
.sound-overlay svg {
|
| 400 |
-
color: var(--yellow);
|
| 401 |
-
filter: drop-shadow(0 0 24px rgba(255, 216, 77, 0.35));
|
| 402 |
-
animation: pulse 1.8s ease-in-out infinite;
|
| 403 |
-
}
|
| 404 |
-
.sound-overlay p {
|
| 405 |
-
margin: 0;
|
| 406 |
-
font-size: 1.4rem;
|
| 407 |
-
font-weight: 700;
|
| 408 |
-
letter-spacing: 0.04em;
|
| 409 |
-
text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
|
| 410 |
-
}
|
| 411 |
-
.sound-overlay span {
|
| 412 |
-
color: var(--muted);
|
| 413 |
-
font-size: 0.9rem;
|
| 414 |
-
}
|
| 415 |
-
@keyframes pulse {
|
| 416 |
-
0%,
|
| 417 |
-
to {
|
| 418 |
-
transform: scale(1);
|
| 419 |
-
opacity: 0.9;
|
| 420 |
-
}
|
| 421 |
-
50% {
|
| 422 |
-
transform: scale(1.08);
|
| 423 |
-
opacity: 1;
|
| 424 |
-
}
|
| 425 |
-
}
|
| 426 |
-
@media (prefers-reduced-motion: reduce) {
|
| 427 |
-
.sound-overlay svg {
|
| 428 |
-
animation: none;
|
| 429 |
-
}
|
| 430 |
-
.speech {
|
| 431 |
-
position: absolute;
|
| 432 |
-
top: 0;
|
| 433 |
-
left: 0;
|
| 434 |
-
z-index: 4;
|
| 435 |
-
max-width: 250px;
|
| 436 |
-
padding: 10px 14px 11px;
|
| 437 |
-
border-radius: 16px 16px 16px 4px;
|
| 438 |
-
background: #f8fafff0;
|
| 439 |
-
color: #14181f;
|
| 440 |
-
box-shadow: 0 6px 24px #00000059;
|
| 441 |
-
display: flex;
|
| 442 |
-
flex-direction: column;
|
| 443 |
-
gap: 2px;
|
| 444 |
-
pointer-events: auto;
|
| 445 |
-
transition: opacity 0.18s ease;
|
| 446 |
-
cursor: default;
|
| 447 |
-
}
|
| 448 |
-
.speech:after {
|
| 449 |
-
content: "";
|
| 450 |
-
position: absolute;
|
| 451 |
-
left: 22px;
|
| 452 |
-
bottom: -9px;
|
| 453 |
-
border: 10px solid transparent;
|
| 454 |
-
border-top-color: #f8fafff0;
|
| 455 |
-
border-bottom: none;
|
| 456 |
-
border-left-width: 4px;
|
| 457 |
-
}
|
| 458 |
-
.speech .droid {
|
| 459 |
-
color: #1d5fd0;
|
| 460 |
-
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
| 461 |
-
font-size: 0.8rem;
|
| 462 |
-
line-height: 1.3;
|
| 463 |
-
}
|
| 464 |
-
.speech .gloss {
|
| 465 |
-
font-size: 0.86rem;
|
| 466 |
-
font-weight: 600;
|
| 467 |
-
line-height: 1.3;
|
| 468 |
-
}
|
| 469 |
-
.speech[hidden] {
|
| 470 |
-
display: none;
|
| 471 |
-
}
|
| 472 |
-
.speech.muted {
|
| 473 |
-
cursor: pointer;
|
| 474 |
-
align-items: center;
|
| 475 |
-
border-radius: 999px;
|
| 476 |
-
padding: 10px 16px;
|
| 477 |
-
}
|
| 478 |
-
.speech.muted .droid {
|
| 479 |
-
font-size: 1.3rem;
|
| 480 |
-
line-height: 1;
|
| 481 |
-
}
|
| 482 |
-
.speech.muted .gloss {
|
| 483 |
-
font-size: 0.7rem;
|
| 484 |
-
color: #5a6374;
|
| 485 |
-
}
|
| 486 |
-
.sound-overlay {
|
| 487 |
-
transition: none;
|
| 488 |
-
}
|
| 489 |
-
}
|
| 490 |
-
@media (max-width: 640px) {
|
| 491 |
-
.chat {
|
| 492 |
-
margin: auto 10px 10px;
|
| 493 |
-
width: auto;
|
| 494 |
-
}
|
| 495 |
-
.credit,
|
| 496 |
-
.byline {
|
| 497 |
-
display: none;
|
| 498 |
-
}
|
| 499 |
-
.gh {
|
| 500 |
-
font-size: 0;
|
| 501 |
-
gap: 0;
|
| 502 |
-
padding: 8px 10px;
|
| 503 |
-
}
|
| 504 |
-
#customize,
|
| 505 |
-
#share {
|
| 506 |
-
font-size: 0.72rem;
|
| 507 |
-
padding: 8px 12px;
|
| 508 |
-
}
|
| 509 |
-
.creator-side {
|
| 510 |
-
gap: 10px;
|
| 511 |
-
}
|
| 512 |
-
.creator-side.left {
|
| 513 |
-
left: 10px;
|
| 514 |
-
}
|
| 515 |
-
.creator-side.right {
|
| 516 |
-
right: 10px;
|
| 517 |
-
}
|
| 518 |
-
.feed {
|
| 519 |
-
max-height: 34vh;
|
| 520 |
-
}
|
| 521 |
-
}
|
| 522 |
-
@media (pointer: coarse) {
|
| 523 |
-
.bubble,
|
| 524 |
-
.chip,
|
| 525 |
-
#input,
|
| 526 |
-
#pause,
|
| 527 |
-
.speech {
|
| 528 |
-
position: absolute;
|
| 529 |
-
top: 0;
|
| 530 |
-
left: 0;
|
| 531 |
-
z-index: 4;
|
| 532 |
-
max-width: 250px;
|
| 533 |
-
padding: 10px 14px 11px;
|
| 534 |
-
border-radius: 16px 16px 16px 4px;
|
| 535 |
-
background: #f8fafff0;
|
| 536 |
-
color: #14181f;
|
| 537 |
-
box-shadow: 0 6px 24px #00000059;
|
| 538 |
-
display: flex;
|
| 539 |
-
flex-direction: column;
|
| 540 |
-
gap: 2px;
|
| 541 |
-
pointer-events: auto;
|
| 542 |
-
transition: opacity 0.18s ease;
|
| 543 |
-
cursor: default;
|
| 544 |
-
}
|
| 545 |
-
.sound-overlay {
|
| 546 |
-
backdrop-filter: none;
|
| 547 |
-
}
|
| 548 |
-
.bubble.duck {
|
| 549 |
-
background: #0a0c16b8;
|
| 550 |
-
}
|
| 551 |
-
.chip,
|
| 552 |
-
#input {
|
| 553 |
-
background: #0a0c16e0;
|
| 554 |
-
}
|
| 555 |
-
.speech {
|
| 556 |
-
position: absolute;
|
| 557 |
-
top: 0;
|
| 558 |
-
left: 0;
|
| 559 |
-
z-index: 4;
|
| 560 |
-
max-width: 250px;
|
| 561 |
-
padding: 10px 14px 11px;
|
| 562 |
-
border-radius: 16px 16px 16px 4px;
|
| 563 |
-
background: #f8fafff0;
|
| 564 |
-
color: #14181f;
|
| 565 |
-
box-shadow: 0 6px 24px #00000059;
|
| 566 |
-
display: flex;
|
| 567 |
-
flex-direction: column;
|
| 568 |
-
gap: 2px;
|
| 569 |
-
pointer-events: auto;
|
| 570 |
-
transition: opacity 0.18s ease;
|
| 571 |
-
cursor: default;
|
| 572 |
-
}
|
| 573 |
-
.speech:after {
|
| 574 |
-
content: "";
|
| 575 |
-
position: absolute;
|
| 576 |
-
left: 22px;
|
| 577 |
-
bottom: -9px;
|
| 578 |
-
border: 10px solid transparent;
|
| 579 |
-
border-top-color: #f8fafff0;
|
| 580 |
-
border-bottom: none;
|
| 581 |
-
border-left-width: 4px;
|
| 582 |
-
}
|
| 583 |
-
.speech .droid {
|
| 584 |
-
color: #1d5fd0;
|
| 585 |
-
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
| 586 |
-
font-size: 0.8rem;
|
| 587 |
-
line-height: 1.3;
|
| 588 |
-
}
|
| 589 |
-
.speech .gloss {
|
| 590 |
-
font-size: 0.86rem;
|
| 591 |
-
font-weight: 600;
|
| 592 |
-
line-height: 1.3;
|
| 593 |
-
}
|
| 594 |
-
.speech[hidden] {
|
| 595 |
-
display: none;
|
| 596 |
-
}
|
| 597 |
-
.speech.muted {
|
| 598 |
-
cursor: pointer;
|
| 599 |
-
align-items: center;
|
| 600 |
-
border-radius: 999px;
|
| 601 |
-
padding: 10px 16px;
|
| 602 |
-
}
|
| 603 |
-
.speech.muted .droid {
|
| 604 |
-
font-size: 1.3rem;
|
| 605 |
-
line-height: 1;
|
| 606 |
-
}
|
| 607 |
-
.speech.muted .gloss {
|
| 608 |
-
font-size: 0.7rem;
|
| 609 |
-
color: #5a6374;
|
| 610 |
-
}
|
| 611 |
-
.sound-overlay {
|
| 612 |
-
background: #04060ccc;
|
| 613 |
-
}
|
| 614 |
-
}
|
| 615 |
-
#chat-toggle {
|
| 616 |
-
pointer-events: auto;
|
| 617 |
-
position: absolute;
|
| 618 |
-
left: -25px;
|
| 619 |
-
bottom: 8px;
|
| 620 |
-
width: 24px;
|
| 621 |
-
height: 76px;
|
| 622 |
-
display: flex;
|
| 623 |
-
align-items: center;
|
| 624 |
-
justify-content: center;
|
| 625 |
-
font-size: 0.72rem;
|
| 626 |
-
line-height: 1;
|
| 627 |
-
color: var(--muted);
|
| 628 |
-
background: var(--panel-strong);
|
| 629 |
-
border: 1px solid var(--line);
|
| 630 |
-
border-right: none;
|
| 631 |
-
border-radius: 9px 0 0 9px;
|
| 632 |
-
cursor: pointer;
|
| 633 |
-
padding: 0;
|
| 634 |
-
}
|
| 635 |
-
#chat-toggle:hover {
|
| 636 |
-
color: var(--ink);
|
| 637 |
-
border-color: var(--yellow);
|
| 638 |
-
}
|
| 639 |
-
.chat.collapsed .feed,
|
| 640 |
-
.chat.collapsed .chips,
|
| 641 |
-
.chat.collapsed #composer {
|
| 642 |
-
display: none;
|
| 643 |
-
}
|
| 644 |
-
.chat.collapsed {
|
| 645 |
-
min-height: 92px;
|
| 646 |
-
min-width: 2px;
|
| 647 |
-
}
|
| 648 |
-
.radial {
|
| 649 |
-
position: absolute;
|
| 650 |
-
top: 0;
|
| 651 |
-
left: 0;
|
| 652 |
-
z-index: 7;
|
| 653 |
-
pointer-events: none;
|
| 654 |
-
}
|
| 655 |
-
.radial[hidden] {
|
| 656 |
-
display: none;
|
| 657 |
-
}
|
| 658 |
-
.radial-btn {
|
| 659 |
-
pointer-events: auto;
|
| 660 |
-
position: absolute;
|
| 661 |
-
transform: translate(calc(var(--dx) - 50%), calc(var(--dy) - 50%));
|
| 662 |
-
width: 66px;
|
| 663 |
-
height: 66px;
|
| 664 |
-
border-radius: 50%;
|
| 665 |
-
border: 2px solid rgba(255, 255, 255, 0.55);
|
| 666 |
-
background: #0c101cd9;
|
| 667 |
-
color: var(--ink);
|
| 668 |
-
display: flex;
|
| 669 |
-
flex-direction: column;
|
| 670 |
-
align-items: center;
|
| 671 |
-
justify-content: center;
|
| 672 |
-
gap: 1px;
|
| 673 |
-
cursor: pointer;
|
| 674 |
-
box-shadow: 0 4px 18px #00000073;
|
| 675 |
-
animation: ring-pop 0.17s ease-out;
|
| 676 |
-
}
|
| 677 |
-
.radial-btn:hover {
|
| 678 |
-
border-color: var(--yellow);
|
| 679 |
-
background: #161c2ef2;
|
| 680 |
-
}
|
| 681 |
-
.radial-icon {
|
| 682 |
-
font-size: 1.3rem;
|
| 683 |
-
line-height: 1;
|
| 684 |
-
}
|
| 685 |
-
.radial-label {
|
| 686 |
-
font-size: 0.52rem;
|
| 687 |
-
font-weight: 700;
|
| 688 |
-
letter-spacing: 0.04em;
|
| 689 |
-
text-transform: uppercase;
|
| 690 |
-
color: var(--muted);
|
| 691 |
-
}
|
| 692 |
-
@keyframes ring-pop {
|
| 693 |
-
0% {
|
| 694 |
-
transform: translate(-50%, -50%) scale(0.4);
|
| 695 |
-
opacity: 0;
|
| 696 |
-
}
|
| 697 |
-
}
|
| 698 |
-
.tap-hint {
|
| 699 |
-
position: absolute;
|
| 700 |
-
top: 0;
|
| 701 |
-
left: 0;
|
| 702 |
-
z-index: 5;
|
| 703 |
-
font-size: 2rem;
|
| 704 |
-
pointer-events: none;
|
| 705 |
-
filter: drop-shadow(0 0 14px rgba(255, 216, 77, 0.9));
|
| 706 |
-
animation: tap-pulse 1.1s ease-in-out infinite;
|
| 707 |
-
}
|
| 708 |
-
.tap-hint[hidden] {
|
| 709 |
-
display: none;
|
| 710 |
-
}
|
| 711 |
-
@keyframes tap-pulse {
|
| 712 |
-
0%,
|
| 713 |
-
to {
|
| 714 |
-
scale: 1;
|
| 715 |
-
opacity: 0.85;
|
| 716 |
-
}
|
| 717 |
-
50% {
|
| 718 |
-
scale: 1.25;
|
| 719 |
-
opacity: 1;
|
| 720 |
-
}
|
| 721 |
-
}
|
| 722 |
-
@media (prefers-reduced-motion: reduce) {
|
| 723 |
-
.tap-hint,
|
| 724 |
-
.radial-btn {
|
| 725 |
-
animation: none;
|
| 726 |
-
}
|
| 727 |
-
}
|
| 728 |
-
@media (max-width: 640px) {
|
| 729 |
-
.chat {
|
| 730 |
-
margin: auto 10px 10px auto;
|
| 731 |
-
width: min(390px, calc(100vw - 20px));
|
| 732 |
-
}
|
| 733 |
-
#chat-toggle {
|
| 734 |
-
inset: -26px 0 auto auto;
|
| 735 |
-
width: 68px;
|
| 736 |
-
height: 24px;
|
| 737 |
-
border: 1px solid var(--line);
|
| 738 |
-
border-bottom: none;
|
| 739 |
-
border-radius: 9px 9px 0 0;
|
| 740 |
-
}
|
| 741 |
-
.radial-btn {
|
| 742 |
-
width: 56px;
|
| 743 |
-
height: 56px;
|
| 744 |
-
}
|
| 745 |
-
}
|
|
|
|
| 1 |
+
:root{--ink: #e8e6df;--muted: #98a0b3;--yellow: #ffd84d;--blue: #6ecbff;--panel: rgba(10, 12, 22, .62);--panel-strong: rgba(10, 12, 22, .82);--line: rgba(255, 255, 255, .09)}*{box-sizing:border-box}html,body,#app{height:100%}body{margin:0;background:#05060c;color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,sans-serif;overflow:hidden}#app{position:relative}#stage{position:absolute;inset:0;width:100%;height:100%;display:block}.overlay{position:absolute;inset:0;display:flex;flex-direction:column;pointer-events:none}.overlay header{display:flex;align-items:baseline;justify-content:space-between;padding:16px 22px 0}.brand{display:flex;flex-direction:column;gap:3px}.byline{margin:0;font-size:.72rem;color:var(--muted);letter-spacing:.03em;text-shadow:0 1px 8px rgba(0,0,0,.7)}.byline a{pointer-events:auto;color:var(--ink);text-decoration:none}.byline a:hover{color:var(--blue)}.credit{position:absolute;left:18px;bottom:12px;margin:0;font-size:.72rem;color:#2e3644;font-weight:600;text-shadow:0 1px 6px rgba(255,255,255,.4)}.credit a{pointer-events:auto;color:#2e3644}.overlay h1{margin:0;font-size:1rem;font-weight:700;letter-spacing:.24em;text-transform:uppercase;text-shadow:0 1px 10px rgba(0,0,0,.7)}.overlay a{pointer-events:auto;color:var(--muted)}.header-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px}#share,#customize{pointer-events:auto;display:inline-flex;align-items:center;gap:7px;font:inherit;font-size:.8rem;font-weight:600;line-height:1;white-space:nowrap;color:var(--ink);background:var(--panel-strong);border:1px solid var(--line);border-radius:999px;padding:9px 16px;cursor:pointer}#share:hover,#customize:hover{border-color:var(--yellow)}.gh{pointer-events:auto;display:inline-flex;align-items:center;gap:7px;color:var(--ink);font-size:.76rem;font-weight:600;line-height:1;white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;text-decoration:none;background:var(--panel-strong);border:1px solid var(--line);border-radius:999px;padding:9px 14px}.gh:hover{border-color:var(--yellow)}.creator[hidden]{display:none}.creator{position:absolute;inset:0;z-index:6;pointer-events:none}.creator-top{position:absolute;top:52px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:10px;pointer-events:auto}.creator-top h2{margin:0;font-size:1rem;letter-spacing:.18em;text-transform:uppercase;text-shadow:0 2px 12px rgba(0,0,0,.8)}.creator-top input{font:inherit;font-size:1rem;text-align:center;color:var(--ink);background:var(--panel-strong);border:1px solid var(--line);border-radius:999px;padding:9px 18px;width:240px}.creator-side{position:absolute;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:18px;pointer-events:auto}.creator-side.left{left:max(24px,8vw)}.creator-side.right{right:max(24px,8vw);align-items:flex-end}.creator-side .fld{background:var(--panel-strong);border:1px solid var(--line);border-radius:12px;padding:10px 14px;gap:14px;font-size:.85rem;color:var(--ink)}.creator-bottom{position:absolute;bottom:26px;left:50%;transform:translate(-50%);display:flex;gap:12px;pointer-events:auto}.creator-bottom button{font:inherit;font-size:.9rem;font-weight:700;border-radius:999px;border:1px solid var(--line);padding:11px 22px;cursor:pointer;color:var(--ink);background:var(--panel-strong)}#duck-share{background:var(--yellow);color:#171300;border:none}.customizing .chat,.customizing .credit,.customizing .tap-hint,.customizing .radial,.customizing #share{display:none}.chat{pointer-events:auto;position:relative;margin:auto 18px 18px auto;width:min(390px,calc(100vw - 36px));display:flex;flex-direction:column;gap:10px}.feed{display:flex;flex-direction:column;gap:8px;max-height:46vh;overflow-y:auto;scrollbar-width:thin;padding:4px}.bubble{max-width:88%;padding:9px 13px;border-radius:15px;border:1px solid var(--line);backdrop-filter:blur(8px);font-size:.9rem;line-height:1.35;animation:rise .22s ease-out}.bubble.user{align-self:flex-end;background:#ffd84d57;border-bottom-right-radius:4px}.bubble.duck{align-self:flex-start;background:#0a0c1675;border-bottom-left-radius:4px;display:flex;flex-direction:column;gap:3px}.bubble .droid{color:var(--blue);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.86rem}.bubble .gloss{color:var(--ink)}.bubble .tag{color:var(--muted);font-size:.68rem;text-transform:uppercase;letter-spacing:.08em}@keyframes rise{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.bubble{animation:none}}.chips{display:flex;flex-wrap:wrap;gap:6px}.chip{font:inherit;font-size:.78rem;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:999px;padding:5px 12px;cursor:pointer;backdrop-filter:blur(8px)}.chip:hover:not(:disabled){border-color:var(--blue)}.chip:disabled{opacity:.4;cursor:default}#composer{display:flex;gap:8px}#input{flex:1;font:inherit;font-size:.9rem;color:var(--ink);background:var(--panel-strong);border:1px solid var(--line);border-radius:999px;padding:10px 16px;backdrop-filter:blur(8px)}#input:disabled{opacity:.5}#input:focus-visible,.chip:focus-visible,#send:focus-visible{outline:2px solid var(--blue);outline-offset:2px}#send{font:inherit;font-weight:700;border:none;border-radius:999px;cursor:pointer;color:#171300;background:var(--yellow);padding:10px 20px}#send:disabled{opacity:.4;cursor:default}.sound-overlay{position:absolute;inset:0;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:#04060ca8;backdrop-filter:blur(3px);color:var(--ink);cursor:pointer;pointer-events:auto;opacity:1;transition:opacity .45s ease;text-align:center;padding:24px}.sound-overlay[hidden]{display:none}.sound-overlay.gone{opacity:0;pointer-events:none}.sound-overlay svg{color:var(--yellow);filter:drop-shadow(0 0 24px rgba(255,216,77,.35));animation:pulse 1.8s ease-in-out infinite}.sound-overlay p{margin:0;font-size:1.4rem;font-weight:700;letter-spacing:.04em;text-shadow:0 2px 14px rgba(0,0,0,.8)}.sound-overlay span{color:var(--muted);font-size:.9rem}@keyframes pulse{0%,to{transform:scale(1);opacity:.9}50%{transform:scale(1.08);opacity:1}}@media(prefers-reduced-motion:reduce){.sound-overlay svg{animation:none}.speech{position:absolute;top:0;left:0;z-index:4;max-width:250px;padding:10px 14px 11px;border-radius:16px 16px 16px 4px;background:#f8fafff0;color:#14181f;box-shadow:0 6px 24px #00000059;display:flex;flex-direction:column;gap:2px;pointer-events:auto;transition:opacity .18s ease;cursor:default}.speech:after{content:"";position:absolute;left:22px;bottom:-9px;border:10px solid transparent;border-top-color:#f8fafff0;border-bottom:none;border-left-width:4px}.speech .droid{color:#1d5fd0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;line-height:1.3}.speech .gloss{font-size:.86rem;font-weight:600;line-height:1.3}.speech[hidden]{display:none}.speech.muted{cursor:pointer;align-items:center;border-radius:999px;padding:10px 16px}.speech.muted .droid{font-size:1.3rem;line-height:1}.speech.muted .gloss{font-size:.7rem;color:#5a6374}.sound-overlay{transition:none}}@media(max-width:640px){.chat{margin:auto 10px 10px;width:auto}.credit,.byline{display:none}.gh{font-size:0;gap:0;padding:8px 10px}#customize,#share{font-size:.72rem;padding:8px 12px}.creator-side{gap:10px}.creator-side.left{left:10px}.creator-side.right{right:10px}.feed{max-height:34vh}}@media(pointer:coarse){.bubble,.chip,#input,#pause,.speech{position:absolute;top:0;left:0;z-index:4;max-width:250px;padding:10px 14px 11px;border-radius:16px 16px 16px 4px;background:#f8fafff0;color:#14181f;box-shadow:0 6px 24px #00000059;display:flex;flex-direction:column;gap:2px;pointer-events:auto;transition:opacity .18s ease;cursor:default}.sound-overlay{backdrop-filter:none}.bubble.duck{background:#0a0c16b8}.chip,#input{background:#0a0c16e0}.speech{position:absolute;top:0;left:0;z-index:4;max-width:250px;padding:10px 14px 11px;border-radius:16px 16px 16px 4px;background:#f8fafff0;color:#14181f;box-shadow:0 6px 24px #00000059;display:flex;flex-direction:column;gap:2px;pointer-events:auto;transition:opacity .18s ease;cursor:default}.speech:after{content:"";position:absolute;left:22px;bottom:-9px;border:10px solid transparent;border-top-color:#f8fafff0;border-bottom:none;border-left-width:4px}.speech .droid{color:#1d5fd0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;line-height:1.3}.speech .gloss{font-size:.86rem;font-weight:600;line-height:1.3}.speech[hidden]{display:none}.speech.muted{cursor:pointer;align-items:center;border-radius:999px;padding:10px 16px}.speech.muted .droid{font-size:1.3rem;line-height:1}.speech.muted .gloss{font-size:.7rem;color:#5a6374}.sound-overlay{background:#04060ccc}}#chat-toggle{pointer-events:auto;position:absolute;left:-25px;bottom:8px;width:24px;height:76px;display:flex;align-items:center;justify-content:center;font-size:.72rem;line-height:1;color:var(--muted);background:var(--panel-strong);border:1px solid var(--line);border-right:none;border-radius:9px 0 0 9px;cursor:pointer;padding:0}#chat-toggle:hover{color:var(--ink);border-color:var(--yellow)}.chat.collapsed .feed,.chat.collapsed .chips,.chat.collapsed #composer{display:none}.chat.collapsed{min-height:92px;min-width:2px}.radial{position:absolute;top:0;left:0;z-index:7;pointer-events:none}.radial[hidden]{display:none}.radial-btn{pointer-events:auto;position:absolute;transform:translate(calc(var(--dx) - 50%),calc(var(--dy) - 50%));width:66px;height:66px;border-radius:50%;border:2px solid rgba(255,255,255,.55);background:#0c101cd9;color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;cursor:pointer;box-shadow:0 4px 18px #00000073;animation:ring-pop .17s ease-out}.radial-btn:hover{border-color:var(--yellow);background:#161c2ef2}.radial-icon{font-size:1.3rem;line-height:1}.radial-label{font-size:.52rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}@keyframes ring-pop{0%{transform:translate(-50%,-50%) scale(.4);opacity:0}}.tap-hint{position:absolute;top:0;left:0;z-index:5;font-size:2rem;pointer-events:none;filter:drop-shadow(0 0 14px rgba(255,216,77,.9));animation:tap-pulse 1.1s ease-in-out infinite}.tap-hint[hidden]{display:none}@keyframes tap-pulse{0%,to{scale:1;opacity:.85}50%{scale:1.25;opacity:1}}@media(prefers-reduced-motion:reduce){.tap-hint,.radial-btn{animation:none}}@media(max-width:640px){.chat{margin:auto 10px 10px auto;width:min(390px,calc(100vw - 20px))}#chat-toggle{inset:-26px 0 auto auto;width:68px;height:24px;border:1px solid var(--line);border-bottom:none;border-radius:9px 9px 0 0}.radial-btn{width:56px;height:56px}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
assets/index-UOx_NHZS.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
assets/sha256-wrapper-DYTB3MXW-BLGdnfhj.js
CHANGED
|
@@ -1,223 +1,4 @@
|
|
| 1 |
-
var W = function (r = {}) {
|
| 2 |
-
var A = r,
|
| 3 |
-
E,
|
| 4 |
-
c;
|
| 5 |
-
A.ready = new Promise((I, g) => {
|
| 6 |
-
((E = I), (c = g));
|
| 7 |
-
});
|
| 8 |
-
var n = Object.assign({}, A),
|
| 9 |
-
e = typeof window == "object",
|
| 10 |
-
C = typeof importScripts == "function";
|
| 11 |
-
typeof process == "object" && typeof process.versions == "object" && process.versions.node;
|
| 12 |
-
var i = "";
|
| 13 |
-
function w(I) {
|
| 14 |
-
return A.locateFile ? A.locateFile(I, i) : i + I;
|
| 15 |
-
}
|
| 16 |
-
var h;
|
| 17 |
-
((e || C) &&
|
| 18 |
-
(C
|
| 19 |
-
? (i = self.location.href)
|
| 20 |
-
: typeof document < "u" && document.currentScript && (i = document.currentScript.src),
|
| 21 |
-
i.startsWith("blob:")
|
| 22 |
-
? (i = "")
|
| 23 |
-
: (i = i.substr(0, i.replace(/[?#].*/, "").lastIndexOf("/") + 1)),
|
| 24 |
-
C &&
|
| 25 |
-
(h = (I) => {
|
| 26 |
-
var g = new XMLHttpRequest();
|
| 27 |
-
return (
|
| 28 |
-
g.open("GET", I, !1),
|
| 29 |
-
(g.responseType = "arraybuffer"),
|
| 30 |
-
g.send(null),
|
| 31 |
-
new Uint8Array(g.response)
|
| 32 |
-
);
|
| 33 |
-
})),
|
| 34 |
-
A.print || console.log.bind(console));
|
| 35 |
-
var R = A.printErr || console.error.bind(console);
|
| 36 |
-
(Object.assign(A, n),
|
| 37 |
-
(n = null),
|
| 38 |
-
A.arguments && A.arguments,
|
| 39 |
-
A.thisProgram && A.thisProgram,
|
| 40 |
-
A.quit && A.quit);
|
| 41 |
-
var s;
|
| 42 |
-
(A.wasmBinary && (s = A.wasmBinary),
|
| 43 |
-
typeof WebAssembly != "object" && f("no native wasm support detected"));
|
| 44 |
-
function Y(I) {
|
| 45 |
-
for (var g = atob(I), t = new Uint8Array(g.length), B = 0; B < g.length; ++B)
|
| 46 |
-
t[B] = g.charCodeAt(B);
|
| 47 |
-
return t;
|
| 48 |
-
}
|
| 49 |
-
function z(I) {
|
| 50 |
-
if (S(I)) return Y(I.slice(q.length));
|
| 51 |
-
}
|
| 52 |
-
var u,
|
| 53 |
-
D = !1;
|
| 54 |
-
function J() {
|
| 55 |
-
var I = u.buffer;
|
| 56 |
-
((A.HEAP8 = new Int8Array(I)),
|
| 57 |
-
(A.HEAP16 = new Int16Array(I)),
|
| 58 |
-
(A.HEAPU8 = new Uint8Array(I)),
|
| 59 |
-
(A.HEAPU16 = new Uint16Array(I)),
|
| 60 |
-
(A.HEAP32 = new Int32Array(I)),
|
| 61 |
-
(A.HEAPU32 = new Uint32Array(I)),
|
| 62 |
-
(A.HEAPF32 = new Float32Array(I)),
|
| 63 |
-
(A.HEAPF64 = new Float64Array(I)));
|
| 64 |
-
}
|
| 65 |
-
var N = [],
|
| 66 |
-
l = [],
|
| 67 |
-
F = [];
|
| 68 |
-
function U() {
|
| 69 |
-
if (A.preRun)
|
| 70 |
-
for (typeof A.preRun == "function" && (A.preRun = [A.preRun]); A.preRun.length;)
|
| 71 |
-
V(A.preRun.shift());
|
| 72 |
-
H(N);
|
| 73 |
-
}
|
| 74 |
-
function k() {
|
| 75 |
-
H(l);
|
| 76 |
-
}
|
| 77 |
-
function x() {
|
| 78 |
-
if (A.postRun)
|
| 79 |
-
for (typeof A.postRun == "function" && (A.postRun = [A.postRun]); A.postRun.length;)
|
| 80 |
-
K(A.postRun.shift());
|
| 81 |
-
H(F);
|
| 82 |
-
}
|
| 83 |
-
function V(I) {
|
| 84 |
-
N.unshift(I);
|
| 85 |
-
}
|
| 86 |
-
function m(I) {
|
| 87 |
-
l.unshift(I);
|
| 88 |
-
}
|
| 89 |
-
function K(I) {
|
| 90 |
-
F.unshift(I);
|
| 91 |
-
}
|
| 92 |
-
var o = 0,
|
| 93 |
-
d = null;
|
| 94 |
-
function T(I) {
|
| 95 |
-
(o++, A.monitorRunDependencies?.(o));
|
| 96 |
-
}
|
| 97 |
-
function Z(I) {
|
| 98 |
-
if ((o--, A.monitorRunDependencies?.(o), o == 0 && d)) {
|
| 99 |
-
var g = d;
|
| 100 |
-
((d = null), g());
|
| 101 |
-
}
|
| 102 |
-
}
|
| 103 |
-
function f(I) {
|
| 104 |
-
(A.onAbort?.(I),
|
| 105 |
-
(I = "Aborted(" + I + ")"),
|
| 106 |
-
R(I),
|
| 107 |
-
(D = !0),
|
| 108 |
-
(I += ". Build with -sASSERTIONS for more info."));
|
| 109 |
-
var g = new WebAssembly.RuntimeError(I);
|
| 110 |
-
throw (c(g), g);
|
| 111 |
-
}
|
| 112 |
-
var q = "data:application/octet-stream;base64,",
|
| 113 |
-
S = (I) => I.startsWith(q),
|
| 114 |
-
Q;
|
| 115 |
-
((Q =
|
| 116 |
-
"data:application/octet-stream;base64,AGFzbQEAAAABHQZgAX8AYAABf2AAAGABfwF/YAJ/fwBgA39/fwF/Aw0MAgAEAgMBBQABAQADBAUBcAEBAQUGAQGAAoACBg4CfwFB8IuEBAt/AUEACweYAQoGbWVtb3J5AgARX193YXNtX2NhbGxfY3RvcnMAAAtIYXNoX1VwZGF0ZQABCkhhc2hfRmluYWwAAwlIYXNoX0luaXQABAxHZXRCdWZmZXJQdHIABRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQAJc3RhY2tTYXZlAAkMc3RhY2tSZXN0b3JlAAoKc3RhY2tBbGxvYwALCossDAIAC+4CAgV/AX5BACgCwAoiASABKQNAIgYgAK18NwNAAkACQAJAIAanQT9xIgINAEGAC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F2+cv6x3oCnBtybdPGbwcFpm+SGR77vxp3BD8yhDCRvLOktqoR0StypsFzaiPl2UlE+mG3GMajIJwOwx39Zv/ML4MZHkafVUWPKBmcpKRSFCrcnOCEbLvxtLE0TDThTVHMKZbsKanYuycKBhSxykqHov6JLZhqocItLwqNRbMcZ6JLRJAaZ1oU1DvRwoGoQFsGkGQhsNx5Md0gntbywNLMMHDlKqthOT8qcW/NvLmjugo90b2OleBR4yIQIAseM+v++kOtsUKT3o/m+8nhxxgBBwAoLBIAFgAA="),
|
| 117 |
-
S(Q) || (Q = w(Q)));
|
| 118 |
-
function P(I) {
|
| 119 |
-
if (I == Q && s) return new Uint8Array(s);
|
| 120 |
-
var g = z(I);
|
| 121 |
-
if (g) return g;
|
| 122 |
-
if (h) return h(I);
|
| 123 |
-
throw "both async and sync fetching of the wasm failed";
|
| 124 |
-
}
|
| 125 |
-
function v(I) {
|
| 126 |
-
return Promise.resolve().then(() => P(I));
|
| 127 |
-
}
|
| 128 |
-
function X(I, g, t) {
|
| 129 |
-
return v(I)
|
| 130 |
-
.then((B) => WebAssembly.instantiate(B, g))
|
| 131 |
-
.then(t, (B) => {
|
| 132 |
-
(R(`failed to asynchronously prepare wasm: ${B}`), f(B));
|
| 133 |
-
});
|
| 134 |
-
}
|
| 135 |
-
function b(I, g, t, B) {
|
| 136 |
-
return X(g, t, B);
|
| 137 |
-
}
|
| 138 |
-
function L() {
|
| 139 |
-
var I = { env: M, wasi_snapshot_preview1: M };
|
| 140 |
-
function g(B, O) {
|
| 141 |
-
return ((a = B.exports), (u = a.memory), J(), m(a.__wasm_call_ctors), Z(), a);
|
| 142 |
-
}
|
| 143 |
-
T();
|
| 144 |
-
function t(B) {
|
| 145 |
-
g(B.instance);
|
| 146 |
-
}
|
| 147 |
-
if (A.instantiateWasm)
|
| 148 |
-
try {
|
| 149 |
-
return A.instantiateWasm(I, g);
|
| 150 |
-
} catch (B) {
|
| 151 |
-
(R(`Module.instantiateWasm callback failed with error: ${B}`), c(B));
|
| 152 |
-
}
|
| 153 |
-
return (b(s, Q, I, t).catch(c), {});
|
| 154 |
-
}
|
| 155 |
-
var H = (I) => {
|
| 156 |
-
for (; I.length > 0;) I.shift()(A);
|
| 157 |
-
};
|
| 158 |
-
A.noExitRuntime;
|
| 159 |
-
var M = {},
|
| 160 |
-
a = L();
|
| 161 |
-
((A._Hash_Update = (I) => (A._Hash_Update = a.Hash_Update)(I)),
|
| 162 |
-
(A._Hash_Final = () => (A._Hash_Final = a.Hash_Final)()),
|
| 163 |
-
(A._Hash_Init = (I) => (A._Hash_Init = a.Hash_Init)(I)),
|
| 164 |
-
(A._GetBufferPtr = () => (A._GetBufferPtr = a.GetBufferPtr)()));
|
| 165 |
-
var y;
|
| 166 |
-
d = function I() {
|
| 167 |
-
(y || G(), y || (d = I));
|
| 168 |
-
};
|
| 169 |
-
function G() {
|
| 170 |
-
if (o > 0 || (U(), o > 0)) return;
|
| 171 |
-
function I() {
|
| 172 |
-
y ||
|
| 173 |
-
((y = !0),
|
| 174 |
-
(A.calledRun = !0),
|
| 175 |
-
!D && (k(), E(A), A.onRuntimeInitialized && A.onRuntimeInitialized(), x()));
|
| 176 |
-
}
|
| 177 |
-
A.setStatus
|
| 178 |
-
? (A.setStatus("Running..."),
|
| 179 |
-
setTimeout(function () {
|
| 180 |
-
(setTimeout(function () {
|
| 181 |
-
A.setStatus("");
|
| 182 |
-
}, 1),
|
| 183 |
-
I());
|
| 184 |
-
}, 1))
|
| 185 |
-
: I();
|
| 186 |
-
}
|
| 187 |
-
if (A.preInit)
|
| 188 |
-
for (typeof A.preInit == "function" && (A.preInit = [A.preInit]); A.preInit.length > 0;)
|
| 189 |
-
A.preInit.pop()();
|
| 190 |
-
return (G(), r.ready);
|
| 191 |
-
},
|
| 192 |
-
p = W;
|
| 193 |
-
async function _(r = !1) {
|
| 194 |
-
const E = r ? await self.SHA256WasmModule() : await p(),
|
| 195 |
-
c = E.HEAPU8.subarray(E._GetBufferPtr());
|
| 196 |
-
return {
|
| 197 |
-
init() {
|
| 198 |
-
E._Hash_Init(256);
|
| 199 |
-
},
|
| 200 |
-
update(n) {
|
| 201 |
-
let e = 0;
|
| 202 |
-
for (; e < n.byteLength;) {
|
| 203 |
-
const C = n.byteLength - e,
|
| 204 |
-
i = Math.min(C, 8388608);
|
| 205 |
-
(c.set(n.subarray(e, e + i)), E._Hash_Update(i), (e += i));
|
| 206 |
-
}
|
| 207 |
-
},
|
| 208 |
-
digest(n) {
|
| 209 |
-
if (n !== "hex") throw new Error("Only digest hex is supported");
|
| 210 |
-
return (
|
| 211 |
-
E._Hash_Final(),
|
| 212 |
-
Array.from(c.slice(0, 32))
|
| 213 |
-
.map((C) => C.toString(16).padStart(2, "0"))
|
| 214 |
-
.join("")
|
| 215 |
-
);
|
| 216 |
-
},
|
| 217 |
-
};
|
| 218 |
-
}
|
| 219 |
-
function j() {
|
| 220 |
-
return `
|
| 221 |
self.addEventListener('message', async (event) => {
|
| 222 |
const { file } = event.data;
|
| 223 |
const sha256 = await self.createSHA256(true);
|
|
@@ -238,6 +19,4 @@ function j() {
|
|
| 238 |
});
|
| 239 |
self.SHA256WasmModule = ${p.toString()};
|
| 240 |
self.createSHA256 = ${_.toString()};
|
| 241 |
-
`;
|
| 242 |
-
}
|
| 243 |
-
export { _ as createSHA256, j as createSHA256WorkerCode };
|
|
|
|
| 1 |
+
var W=function(r={}){var A=r,E,c;A.ready=new Promise((I,g)=>{E=I,c=g});var n=Object.assign({},A),e=typeof window=="object",C=typeof importScripts=="function";typeof process=="object"&&typeof process.versions=="object"&&process.versions.node;var i="";function w(I){return A.locateFile?A.locateFile(I,i):i+I}var h;(e||C)&&(C?i=self.location.href:typeof document<"u"&&document.currentScript&&(i=document.currentScript.src),i.startsWith("blob:")?i="":i=i.substr(0,i.replace(/[?#].*/,"").lastIndexOf("/")+1),C&&(h=I=>{var g=new XMLHttpRequest;return g.open("GET",I,!1),g.responseType="arraybuffer",g.send(null),new Uint8Array(g.response)})),A.print||console.log.bind(console);var R=A.printErr||console.error.bind(console);Object.assign(A,n),n=null,A.arguments&&A.arguments,A.thisProgram&&A.thisProgram,A.quit&&A.quit;var s;A.wasmBinary&&(s=A.wasmBinary),typeof WebAssembly!="object"&&f("no native wasm support detected");function Y(I){for(var g=atob(I),t=new Uint8Array(g.length),B=0;B<g.length;++B)t[B]=g.charCodeAt(B);return t}function z(I){if(S(I))return Y(I.slice(q.length))}var u,D=!1;function J(){var I=u.buffer;A.HEAP8=new Int8Array(I),A.HEAP16=new Int16Array(I),A.HEAPU8=new Uint8Array(I),A.HEAPU16=new Uint16Array(I),A.HEAP32=new Int32Array(I),A.HEAPU32=new Uint32Array(I),A.HEAPF32=new Float32Array(I),A.HEAPF64=new Float64Array(I)}var N=[],l=[],F=[];function U(){if(A.preRun)for(typeof A.preRun=="function"&&(A.preRun=[A.preRun]);A.preRun.length;)V(A.preRun.shift());H(N)}function k(){H(l)}function x(){if(A.postRun)for(typeof A.postRun=="function"&&(A.postRun=[A.postRun]);A.postRun.length;)K(A.postRun.shift());H(F)}function V(I){N.unshift(I)}function m(I){l.unshift(I)}function K(I){F.unshift(I)}var o=0,d=null;function T(I){o++,A.monitorRunDependencies?.(o)}function Z(I){if(o--,A.monitorRunDependencies?.(o),o==0&&d){var g=d;d=null,g()}}function f(I){A.onAbort?.(I),I="Aborted("+I+")",R(I),D=!0,I+=". Build with -sASSERTIONS for more info.";var g=new WebAssembly.RuntimeError(I);throw c(g),g}var q="data:application/octet-stream;base64,",S=I=>I.startsWith(q),Q;Q="data:application/octet-stream;base64,AGFzbQEAAAABHQZgAX8AYAABf2AAAGABfwF/YAJ/fwBgA39/fwF/Aw0MAgAEAgMBBQABAQADBAUBcAEBAQUGAQGAAoACBg4CfwFB8IuEBAt/AUEACweYAQoGbWVtb3J5AgARX193YXNtX2NhbGxfY3RvcnMAAAtIYXNoX1VwZGF0ZQABCkhhc2hfRmluYWwAAwlIYXNoX0luaXQABAxHZXRCdWZmZXJQdHIABRlfX2luZGlyZ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qha5nu3Lzbjw69U+lf1IOUYxoBZur2YMfGc3gW9ieBcEH1Xw2F91wMDlZDvcxC8D/ERVYaKeP+WSkT/q+mC+KQpFEN3HP+8C1pdu16VvCVjnxEfFZpII/ktVeHKuYqgfYAVuDEr6FMSTDfQxVdF2+cv6x3oCnBtybdPGbwcFpm+SGR77vxp3BD8yhDCRvLOktqoR0StypsFzaiPl2UlE+mG3GMajIJwOwx39Zv/ML4MZHkafVUWPKBmcpKRSFCrcnOCEbLvxtLE0TDThTVHMKZbsKanYuycKBhSxykqHov6JLZhqocItLwqNRbMcZ6JLRJAaZ1oU1DvRwoGoQFsGkGQhsNx5Md0gntbywNLMMHDlKqthOT8qcW/NvLmjugo90b2OleBR4yIQIAseM+v++kOtsUKT3o/m+8nhxxgBBwAoLBIAFgAA=",S(Q)||(Q=w(Q));function P(I){if(I==Q&&s)return new Uint8Array(s);var g=z(I);if(g)return g;if(h)return h(I);throw"both async and sync fetching of the wasm failed"}function v(I){return Promise.resolve().then(()=>P(I))}function X(I,g,t){return v(I).then(B=>WebAssembly.instantiate(B,g)).then(t,B=>{R(`failed to asynchronously prepare wasm: ${B}`),f(B)})}function b(I,g,t,B){return X(g,t,B)}function L(){var I={env:M,wasi_snapshot_preview1:M};function g(B,O){return a=B.exports,u=a.memory,J(),m(a.__wasm_call_ctors),Z(),a}T();function t(B){g(B.instance)}if(A.instantiateWasm)try{return A.instantiateWasm(I,g)}catch(B){R(`Module.instantiateWasm callback failed with error: ${B}`),c(B)}return b(s,Q,I,t).catch(c),{}}var H=I=>{for(;I.length>0;)I.shift()(A)};A.noExitRuntime;var M={},a=L();A._Hash_Update=I=>(A._Hash_Update=a.Hash_Update)(I),A._Hash_Final=()=>(A._Hash_Final=a.Hash_Final)(),A._Hash_Init=I=>(A._Hash_Init=a.Hash_Init)(I),A._GetBufferPtr=()=>(A._GetBufferPtr=a.GetBufferPtr)();var y;d=function I(){y||G(),y||(d=I)};function G(){if(o>0||(U(),o>0))return;function I(){y||(y=!0,A.calledRun=!0,!D&&(k(),E(A),A.onRuntimeInitialized&&A.onRuntimeInitialized(),x()))}A.setStatus?(A.setStatus("Running..."),setTimeout(function(){setTimeout(function(){A.setStatus("")},1),I()},1)):I()}if(A.preInit)for(typeof A.preInit=="function"&&(A.preInit=[A.preInit]);A.preInit.length>0;)A.preInit.pop()();return G(),r.ready},p=W;async function _(r=!1){const E=r?await self.SHA256WasmModule():await p(),c=E.HEAPU8.subarray(E._GetBufferPtr());return{init(){E._Hash_Init(256)},update(n){let e=0;for(;e<n.byteLength;){const C=n.byteLength-e,i=Math.min(C,8388608);c.set(n.subarray(e,e+i)),E._Hash_Update(i),e+=i}},digest(n){if(n!=="hex")throw new Error("Only digest hex is supported");return E._Hash_Final(),Array.from(c.slice(0,32)).map(C=>C.toString(16).padStart(2,"0")).join("")}}}function j(){return`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
self.addEventListener('message', async (event) => {
|
| 3 |
const { file } = event.data;
|
| 4 |
const sha256 = await self.createSHA256(true);
|
|
|
|
| 19 |
});
|
| 20 |
self.SHA256WasmModule = ${p.toString()};
|
| 21 |
self.createSHA256 = ${_.toString()};
|
| 22 |
+
`}export{_ as createSHA256,j as createSHA256WorkerCode};
|
|
|
|
|
|
index.html
CHANGED
|
@@ -9,8 +9,8 @@
|
|
| 9 |
rel="icon"
|
| 10 |
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🦆</text></svg>"
|
| 11 |
/>
|
| 12 |
-
<script type="module" crossorigin src="/assets/index-
|
| 13 |
-
<link rel="stylesheet" crossorigin href="/assets/index-CBjMWC4M.css"
|
| 14 |
</head>
|
| 15 |
<body>
|
| 16 |
<div id="app"></div>
|
|
|
|
| 9 |
rel="icon"
|
| 10 |
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🦆</text></svg>"
|
| 11 |
/>
|
| 12 |
+
<script type="module" crossorigin src="/assets/index-UOx_NHZS.js"></script>
|
| 13 |
+
<link rel="stylesheet" crossorigin href="/assets/index-CBjMWC4M.css">
|
| 14 |
</head>
|
| 15 |
<body>
|
| 16 |
<div id="app"></div>
|