6
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
7
<title>Agent Zero</title>
8
<link rel="stylesheet" href="index.css">
9
- <link rel="stylesheet" href="toast.css">
10
- <link rel="stylesheet" href="settings.css">
11
- <link rel="stylesheet" href="file_browser.css">
12
- <link rel="stylesheet" href="speech.css">
13
- <link rel="stylesheet" href="history.css">
9
+ <link rel="stylesheet" href="css/toast.css">
10
+ <link rel="stylesheet" href="css/settings.css">
11
+ <link rel="stylesheet" href="css/file_browser.css">
12
+ <link rel="stylesheet" href="css/modals.css">
13
+ <link rel="stylesheet" href="css/speech.css">
14
+ <link rel="stylesheet" href="css/history.css">
15
16
<script>
17
window.safeCall = function (name, ...args) {
32
33
34
<script type="module" src="index.js"></script>
34
- <script type="text/javascript" src="settings.js"></script>
35
- <script type="text/javascript" src="file_browser.js"></script>
36
- <script type="text/javascript" src="modal.js"></script>
37
- <script type="module" src="speech.js"></script>
38
- <script type="module" src="history.js"></script>
35
+ <script type="text/javascript" src="js/settings.js"></script>
36
+ <script type="text/javascript" src="js/file_browser.js"></script>
37
+ <script type="text/javascript" src="js/modal.js"></script>
38
+ <script type="module" src="js/speech.js"></script>
39
+ <script type="module" src="js/history.js"></script>
40
41
</head>
42
58
59
<div id="logo-container">
60
<a href="https://github.com/frdel/agent-zero" target="_blank" rel="noopener noreferrer">
60
- <img src="splash.jpg" alt="a0" width="22" height="22">
61
+ <img src="./public/splash.jpg" alt="a0" width="22" height="22">
62
</a>
63
</div>
64
</div>
66
<div id="left-panel" class="panel">
67
<!--Sidebar upper elements-->
68
<div class="left-panel-top">
68
- <div class="config-section" id="status-section" x-data="{ connected: true }">
69
- <h3>Status</h3>
70
- <h4 class="connected" x-show="connected">✔ Connected</h4>
71
- <h4 class="disconnected" x-show="!connected">✘ Disconnected</h4>
72
- </div>
73
-
69
<div class="config-section" x-data="{ showQuickActions: true }">
70
<h3>Quick Actions</h3>
71
<button class="config-button" id="resetChat" @click="resetChat()">Reset Chat</button>
73
<button class="config-button" id="loadChats" @click="loadChats()">Load Chat</button>
74
<button class="config-button" id="loadChat" @click="saveChat()">Save Chat</button>
75
<button class="config-button" id="settings"
81
- @click="settingsModalProxy.openModal()">Settings</button>
76
+ @click="settingsModalProxy.openModal()"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="-5.0 -17.0 110.0 135.0" fill="currentColor" width="24" height="24">
77
+ <path d="m52.301 90.102h-4.1016c-3 0-5 0-6.8984-1.3984-1.8984-1.3984-2.5-3.3008-3.5-6.1016l-1.1016-3.6016c-0.19922-0.60156-0.69922-1.1992-1.3984-1.6016l-1.1016-0.60156c-0.60156-0.30078-1.5-0.39844-2.3008-0.19922l-4.3008 1.1992c-3.1016 0.89844-5.1016 1.5-7.3984 0.5-2.3008-0.89844-3.3984-2.8008-5-5.6016l-1.8008-3.1016c-1.5-2.5-2.5-4.3008-2.3008-6.6992 0.19922-2.3984 1.6016-3.8008 3.6016-6.1016l3.8008-4.1992c0.19922-0.19922 0.60156-1.3984 0.60156-2.6016 0-1.1016-0.5-2.3008-0.80078-2.6992l-3.6016-4c-2-2.1992-3.3008-3.6992-3.6016-6.1016-0.19922-2.3984 0.80078-4.1992 2.3008-6.6992l1.8008-3.1016c1.6016-2.8008 2.6992-4.6016 5-5.6016 2.3008-0.89844 4.3008-0.39844 7.3984 0.5l4.3984 1.1992c0.69922 0.10156 1.5 0 2.3008-0.30078l1.1016-0.60156c0.5-0.30078 1-0.89844 1.3008-1.6992l1.1992-3.5c0.89844-2.8008 1.6016-4.6992 3.5-6.1016 1.8984-1.3984 3.8984-1.3984 6.8984-1.3984h4.1016c3 0 5 0 6.8984 1.3984 1.8984 1.3984 2.5 3.1992 3.5 6.1016l1.1992 3.6016c0.19922 0.60156 0.69922 1.1992 1.3984 1.6016l1.1016 0.60156c0.60156 0.30078 1.5 0.39844 2.3008 0.19922l4.3008-1.1992c3.1016-0.89844 5.1016-1.5 7.3984-0.5 2.3008 0.89844 3.3984 2.8008 5 5.5l1.8008 3.1016c1.3984 2.5 2.5 4.3008 2.3008 6.6992-0.19922 2.3984-1.6016 3.8008-3.6016 6.1016l-3.9961 4.4062c-0.19922 0.19922-0.60156 1.3984-0.60156 2.6016 0 1.1016 0.5 2.3008 0.80078 2.6992l3.6016 4c2 2.1992 3.3008 3.6992 3.6016 6.1016 0.19922 2.3984-0.80078 4.1992-2.3008 6.6992l-1.8008 3.1016c-1.6016 2.8008-2.6992 4.6016-5 5.6016-2.3008 0.89844-4.3984 0.39844-7.3984-0.5l-4.3984-1.1992c-0.69922-0.10156-1.5 0-2.3008 0.30078l-1.1016 0.60156c-0.5 0.30078-1 0.89844-1.3008 1.6992l-1.1992 3.5c-0.89844 2.8008-1.6016 4.6992-3.5 6.1016-1.8008 1.293-3.8008 1.293-6.8008 1.293zm-6.6016-7.3008c0.5 0.10156 1.6016 0.10156 2.6016 0.10156h4.1016c1 0 2 0 2.6016-0.10156 0.19922-0.5 0.60156-1.5 0.89844-2.3984l1.1992-3.6016c0.89844-2.3008 2.3984-4.1992 4.3984-5.3984l1.3984-0.80078c2.3984-1.3008 5.1016-1.6016 7.6016-1l4.6016 1.3008c1 0.30078 2.1016 0.60156 2.6992 0.69922 0.30078-0.5 0.89844-1.5 1.3984-2.3984l1.8008-3.1016c0.5-0.80078 1-1.8008 1.1992-2.3008-0.30078-0.39844-1-1.1992-1.6992-2l-3.8008-4.1992c-1.6016-2-2.5-4.8008-2.5-7.3984 0-2.6016 0.89844-5.3984 2.3008-7.3008l3.8984-4.3984c0.69922-0.69922 1.3984-1.5 1.6992-2-0.19922-0.5-0.80078-1.3984-1.1992-2.3008l-1.8984-3.1016c-0.5-0.89844-1.1016-1.8984-1.3984-2.3984-0.60156 0.10156-1.6992 0.39844-2.6992 0.69922l-4.3984 1.3008c-2.6992 0.60156-5.3008 0.30078-7.6016-0.89844l-1.4023-0.80469c-2.1016-1.3984-3.6016-3.1992-4.3984-5.3984l-1.3008-3.8008c-0.30078-0.89844-0.60156-1.8984-0.89844-2.3984-0.5-0.10156-1.6016-0.10156-2.6016-0.10156h-4.1016c-1 0-2 0-2.6016 0.10156-0.19922 0.5-0.60156 1.5-0.89844 2.3984l-1.1992 3.6016c-0.89844 2.3008-2.3984 4.1992-4.3984 5.3984l-1.3984 0.80078c-2.3984 1.3008-5.1016 1.6016-7.6016 1l-4.6016-1.3008c-1-0.30078-2.1016-0.60156-2.6992-0.69922-0.30078 0.5-0.89844 1.5-1.3984 2.3984l-1.8008 3.1016c-0.5 0.80078-1 1.8008-1.1992 2.3008 0.30078 0.39844 1 1.1992 1.6992 2l3.8008 4.1992c1.6016 2 2.5 4.8008 2.5 7.3984 0 2.6016-0.89844 5.3984-2.3008 7.3008l-3.8984 4.3984c-0.69922 0.69922-1.3984 1.5-1.6992 2 0.19922 0.5 0.80078 1.3984 1.1992 2.3008l1.8008 3.1016c0.5 0.89844 1.1016 1.8984 1.3984 2.3984 0.60156-0.10156 1.6992-0.39844 2.6992-0.69922l4.3984-1.1992c2.6992-0.60156 5.3008-0.30078 7.6016 0.89844l1.3984 0.80078c2.1016 1.3008 3.6016 3.1992 4.3984 5.3984l1.3008 3.8008c0.5 0.80078 0.80078 1.8008 1 2.3008z"></path>
78
+ <path d="m50.301 66.5c-9 0-16.398-7.3008-16.398-16.398 0-9.1016 7.3008-16.398 16.398-16.398 9.1016 0 16.398 7.3008 16.398 16.398 0 9.0977-7.3984 16.398-16.398 16.398zm0-25.5c-5 0-9.1016 4.1016-9.1016 9.1016s4.1016 9.1016 9.1016 9.1016 9.1016-4.1016 9.1016-9.1016c-0.003906-5-4.1016-9.1016-9.1016-9.1016z"></path>
79
+ </svg>Settings</button>
80
</div>
81
<!-- Chats List -->
82
<div class="config-section" id="chats-section" x-data="{ contexts: [], selected: '' }"
110
<path d="M8 4l8 8-8 8" />
111
</svg>
112
</h3>
115
- <ul class="config-list" x-show="prefOpen" x-collapse x-transition>
113
+ <ul class="config-list" id="pref-list" x-show="prefOpen" x-collapse x-transition>
114
<!-- Preferences Items -->
115
<li x-data="{ autoScroll: true }">
116
<span>Autoscroll</span>
171
</div>
172
<div id="right-panel" class="panel">
173
<!--Chat-->
176
- <div id="time-date"></div>
174
+ <div id="time-date-container">
175
+ <div id="time-date"></div>
176
+ <div class="status-icon" x-data="{ connected: true }">
177
+ <svg viewBox="0 0 30 30">
178
+ <!-- Connected State (filled circle) -->
179
+ <circle class="connected-circle"
180
+ cx="15" cy="15" r="8"
181
+ x-bind:fill="connected ? '#00c340' : 'none'"
182
+ x-bind:opacity="connected ? 1 : 0"/>
183
+
184
+ <!-- Disconnected State (outline circle) -->
185
+ <circle class="disconnected-circle"
186
+ cx="15" cy="15" r="12"
187
+ fill="none"
188
+ stroke="#e40138"
189
+ stroke-width="3"
190
+ x-bind:opacity="connected ? 0 : 1"/>
191
+ </svg>
192
+ </div>
193
+ </div>
194
<div id="chat-history">
195
</div>
196
<div id="toast" class="toast">
313
<!-- Microphone button -->
314
<button class="chat-button mic-inactive" id="microphone-button"
315
aria-label="Start/Stop recording">
299
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 18" fill="currentColor" width="24"
300
- height="24">
316
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 18" fill="currentColor">
317
<path
318
d="m8,12c1.66,0,3-1.34,3-3V3c0-1.66-1.34-3-3-3s-3,1.34-3,3v6c0,1.66,1.34,3,3,3Zm-1,1.9c-2.7-.4-4.8-2.6-5-5.4H0c.2,3.8,3.1,6.9,7,7.5v2h2v-2c3.9-.6,6.8-3.7,7-7.5h-2c-.2,2.8-2.3,5-5,5.4h-2Z" />
319
</svg>
336
</template>
337
<template x-if="paused">
338
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24"
323
- stroke-width="1.5" stroke="currentColor" width="14" height="14">
339
+ stroke-width="1.8" stroke="currentColor" width="14" height="14">
340
<path d="M8 5v14l11-7z"></path>
341
</svg>
342
</template>
349
<path stroke-linecap="round" stroke-linejoin="round"
350
d="M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5">
351
</path>
336
- </svg>Import knowledge</button>
352
+ </svg><p>Import knowledge</p></button>
353
<button class="text-button" id="work_dir_browser" @click="fileBrowserModalProxy.openModal()">
338
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 123.37 92.59">
339
- <path
340
- d="m5.72,11.5l-3.93,8.73h119.77s-3.96-8.73-3.96-8.73h-60.03c-1.59,0-2.88-1.29-2.88-2.88V1.75H13.72v6.87c0,1.59-1.29,2.88-2.88,2.88h-5.12Z"
341
- fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="5"></path>
342
- <path
343
- d="m6.38,20.23H1.75l7.03,67.03c.11,1.07.55,2.02,1.2,2.69.55.55,1.28.89,2.11.89h97.1c.82,0,1.51-.33,2.05-.87.68-.68,1.13-1.67,1.28-2.79l9.1-66.94H6.38Z"
344
- fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="5"></path>
345
- </svg>work_dir Browser</button>
346
-
347
- <button class="text-button" id="history_inspect" @click="window.openHistoryModal()">
348
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 123.37 92.59">
349
- <path
350
- d="m5.72,11.5l-3.93,8.73h119.77s-3.96-8.73-3.96-8.73h-60.03c-1.59,0-2.88-1.29-2.88-2.88V1.75H13.72v6.87c0,1.59-1.29,2.88-2.88,2.88h-5.12Z"
351
- fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="5"></path>
352
- <path
353
- d="m6.38,20.23H1.75l7.03,67.03c.11,1.07.55,2.02,1.2,2.69.55.55,1.28.89,2.11.89h97.1c.82,0,1.51-.33,2.05-.87.68-.68,1.13-1.67,1.28-2.79l9.1-66.94H6.38Z"
354
- fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="5"></path>
355
- </svg>History</button>
354
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 123.37 92.59">
355
+ <path d="m5.72,11.5l-3.93,8.73h119.77s-3.96-8.73-3.96-8.73h-60.03c-1.59,0-2.88-1.29-2.88-2.88V1.75H13.72v6.87c0,1.59-1.29,2.88-2.88,2.88h-5.12Z" fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="7"></path>
356
+ <path d="m6.38,20.23H1.75l7.03,67.03c.11,1.07.55,2.02,1.2,2.69.55.55,1.28.89,2.11.89h97.1c.82,0,1.51-.33,2.05-.87.68-.68,1.13-1.67,1.28-2.79l9.1-66.94H6.38Z" fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="8"></path>
357
+ </svg><p>work_dir Browser</p></button>
358
+
359
+ <button class="text-button" id="history_inspect" @click="window.openHistoryModal()">
360
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="5 10 85 85">
361
+ <path fill="currentColor" d="m59.572,57.949c-.41,0-.826-.105-1.207-.325l-9.574-5.528c-.749-.432-1.21-1.231-1.21-2.095v-14.923c0-1.336,1.083-2.419,2.419-2.419s2.419,1.083,2.419,2.419v13.526l8.364,4.829c1.157.668,1.554,2.148.886,3.305-.448.776-1.261,1.21-2.097,1.21Zm30.427-7.947c0,10.684-4.161,20.728-11.716,28.283-6.593,6.59-15.325,10.69-24.59,11.544-1.223.113-2.448.169-3.669.169-7.492,0-14.878-2.102-21.22-6.068l-15.356,5.733c-.888.331-1.887.114-2.557-.556s-.887-1.669-.556-2.557l5.733-15.351c-4.613-7.377-6.704-16.165-5.899-24.891.854-9.266,4.954-17.998,11.544-24.588,7.555-7.555,17.6-11.716,28.285-11.716s20.73,4.161,28.285,11.716c7.555,7.555,11.716,17.599,11.716,28.283Zm-15.137-24.861c-13.71-13.71-36.018-13.71-49.728,0-11.846,11.846-13.682,30.526-4.365,44.417.434.647.53,1.464.257,2.194l-4.303,11.523,11.528-4.304c.274-.102.561-.153.846-.153.474,0,.944.139,1.348.41,13.888,9.315,32.568,7.479,44.417-4.365,13.707-13.708,13.706-36.014,0-49.723Zm-24.861-4.13c-15.989,0-28.996,13.006-28.996,28.992s13.008,28.992,28.996,28.992c1.336,0,2.419-1.083,2.419-2.419s-1.083-2.419-2.419-2.419c-13.32,0-24.157-10.835-24.157-24.153s10.837-24.153,24.157-24.153,24.153,10.835,24.153,24.153c0,1.336,1.083,2.419,2.419,2.419s2.419-1.083,2.419-2.419c0-15.986-13.006-28.992-28.992-28.992Zm25.041,33.531c-1.294.347-2.057,1.673-1.71,2.963.343,1.289,1.669,2.057,2.963,1.71,1.289-.343,2.053-1.669,1.71-2.963-.347-1.289-1.673-2.057-2.963-1.71Zm-2.03,6.328c-1.335,0-2.419,1.084-2.419,2.419s1.084,2.419,2.419,2.419,2.419-1.084,2.419-2.419-1.084-2.419-2.419-2.419Zm-3.598,5.587c-1.289-.347-2.615.416-2.963,1.71-.343,1.289.421,2.615,1.71,2.963,1.294.347,2.62-.421,2.963-1.71.347-1.294-.416-2.62-1.71-2.963Zm-4.919,4.462c-1.157-.667-2.638-.27-3.306.887-.667,1.157-.27,2.638.887,3.305,1.157.668,2.638.27,3.306-.887.667-1.157.27-2.638-.887-3.306Zm-9.327,3.04c-.946.946-.946,2.478,0,3.42.942.946,2.473.946,3.42,0,.946-.942.946-2.473,0-3.42-.946-.946-2.478-.946-3.42,0Z"></path>
362
+ </svg><p>History</p></button>
363
364
<button class="text-button" id="ctx_window" @click="window.openCtxWindowModal()">
358
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 123.37 92.59">
359
- <path
360
- d="m5.72,11.5l-3.93,8.73h119.77s-3.96-8.73-3.96-8.73h-60.03c-1.59,0-2.88-1.29-2.88-2.88V1.75H13.72v6.87c0,1.59-1.29,2.88-2.88,2.88h-5.12Z"
361
- fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="5"></path>
362
- <path
363
- d="m6.38,20.23H1.75l7.03,67.03c.11,1.07.55,2.02,1.2,2.69.55.55,1.28.89,2.11.89h97.1c.82,0,1.51-.33,2.05-.87.68-.68,1.13-1.67,1.28-2.79l9.1-66.94H6.38Z"
364
- fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="5"></path>
365
- </svg>Context</button>
365
+ <svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="17 15 70 70" fill="currentColor">
366
+ <path d="m63 25c1.1016 0 2-0.89844 2-2s-0.89844-2-2-2h-26c-1.1016 0-2 0.89844-2 2s0.89844 2 2 2z"></path>
367
+ <path d="m63 79c1.1016 0 2-0.89844 2-2s-0.89844-2-2-2h-26c-1.1016 0-2 0.89844-2 2s0.89844 2 2 2z"></path>
368
+ <path d="m68 39h-36c-6.0703 0-11 4.9297-11 11s4.9297 11 11 11h36c6.0703 0 11-4.9297 11-11s-4.9297-11-11-11zm0 18h-36c-3.8594 0-7-3.1406-7-7s3.1406-7 7-7h36c3.8594 0 7 3.1406 7 7s-3.1406 7-7 7z"></path>
369
+ </svg><p>Context</p></button>
370
371
</div>
372
</div>
376
<template x-teleport="body">
377
<div x-show="isOpen" class="modal-overlay" @click.self="handleCancel()" @keydown.escape.window="handleClose()" x-transition>
378
<div class="modal-container">
375
- <div class="modal-header" id="settings-title">
376
- <h2 x-text="settings.title"></h2>
379
+ <div class="modal-header">
380
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 960">
381
+ <path d="m717.77,788.27c-78.78-135.38-157.9-271.35-238.62-410.05-79.86,138.37-158.57,274.73-237.16,410.9h-121.99C239.91,581.87,479.49,170.89,479.49,170.89h0s240.63,410.03,360.51,617.38h-122.23Z" fill="currentColor" stroke-width="0"></path>
382
+ <path d="m633.08,788.85h-309.54c20.61-35.84,40.55-70.52,60.34-104.92h190.22c19.28,34.3,38.47,68.43,58.98,104.92Z" fill="currentColor" stroke-width="0"></path>
383
+ </svg>
384
+ <h2 x-text="settings.title"></h2>
385
<button class="modal-close" @click="handleCancel()">×</button>
386
</div>
379
- <div id="settings-sections">
380
- <!-- Dynamically generated navigation -->
381
- <nav>
382
- <ul>
383
- <!-- Loop over sections to generate links dynamically -->
384
- <template x-for="(section, index) in settings.sections" :key="index">
387
+
388
+ <div class="modal-content">
389
+ <div id="settings-sections">
390
+ <nav>
391
+ <ul>
392
+ <template x-for="(section, index) in settings.sections" :key="section.title">
393
<li>
386
- <a :href="'#section' + (index + 1)" x-text="section.title"></a>
394
+ <a :href="'#section' + (index + 1)">
395
+ <img :src="'/public/' + getIconName(section.title) + '.svg'" :alt="section.title">
396
+ <span x-text="section.title"></span>
397
+ </a>
398
</li>
399
</template>
389
- </ul>
390
- </nav>
391
- </div>
392
-
393
- <div class="modal-content">
400
+ </ul>
401
+ </nav>
402
+ </div>
403
<template x-for="(section, sectionIndex) in settings.sections" :key="sectionIndex">
404
<div :id="'section' + (sectionIndex + 1)" class="section">
405
<div class="section-title" x-text="section.title"></div>
500
<div x-show="isOpen" class="modal-overlay" @click.self="handleClose()" @keydown.escape.window="handleClose()" x-transition>
501
<div class="modal-container">
502
<div class="modal-header">
503
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 960">
504
+ <path d="m717.77,788.27c-78.78-135.38-157.9-271.35-238.62-410.05-79.86,138.37-158.57,274.73-237.16,410.9h-121.99C239.91,581.87,479.49,170.89,479.49,170.89h0s240.63,410.03,360.51,617.38h-122.23Z" fill="currentColor" stroke-width="0"/>
505
+ <path d="m633.08,788.85h-309.54c20.61-35.84,40.55-70.52,60.34-104.92h190.22c19.28,34.3,38.47,68.43,58.98,104.92Z" fill="currentColor" stroke-width="0"/>
506
+ </svg>
507
<h2 class="modal-title" x-text="browser.title"></h2>
508
<button class="modal-close" @click="handleClose()">×</button>
509
</div>
613
<div x-show="isOpen" class="modal-overlay" @click.self="handleClose()" @keydown.escape.window="handleClose()" x-transition>
614
<div class="modal-container">
615
<div class="modal-header">
616
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 960">
617
+ <path d="m717.77,788.27c-78.78-135.38-157.9-271.35-238.62-410.05-79.86,138.37-158.57,274.73-237.16,410.9h-121.99C239.91,581.87,479.49,170.89,479.49,170.89h0s240.63,410.03,360.51,617.38h-122.23Z" fill="currentColor" stroke-width="0"></path>
618
+ <path d="m633.08,788.85h-309.54c20.61-35.84,40.55-70.52,60.34-104.92h190.22c19.28,34.3,38.47,68.43,58.98,104.92Z" fill="currentColor" stroke-width="0"></path>
619
+ </svg>
620
<h2 class="modal-title" x-text="title"></h2>
621
<button class="modal-close" @click="handleClose()">×</button>
622
</div>
623
<div class="modal-description" x-text="description"></div>
607
- <div class="modal-content">
624
+ <div class="modal-content" id="viewer">
625
<div class="html-pre" x-html="html"></div>
626
</div>
627
<!-- <div class="modal-footer">