-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathindex.html
More file actions
437 lines (424 loc) · 24.1 KB
/
index.html
File metadata and controls
437 lines (424 loc) · 24.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
<!DOCTYPE html>
<html data-theme="lightbot">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>LightBot v1.3.5</title>
<link rel="shortcut icon" href="img/favicon.ico" />
<script>
(function () {
try {
var theme = localStorage.getItem("theme");
if (theme) document.documentElement.setAttribute("data-theme", theme);
} catch (e) { }
})();
</script>
<!-- lightbot:entry:start -->
<script type="module" src="/src/main.js"></script>
<!-- lightbot:entry:end -->
</head>
<body class="min-h-screen bg-base-200 text-base-content flex items-center justify-center">
<div id="audioContainer">
<audio id="audioPlayer" preload="auto"></audio>
</div>
<div id="lightbot" class="relative w-[980px] h-[740px]">
<div id="credits" class="absolute top-0 inset-x-0 h-5 text-center text-xs opacity-70">
Developed by <a href="http://www.haan.lu" target="_blank">Laurent Haan</a>. Interface by <a
href="http://www.zententia.net">Zenobia Homan</a>. Robot by <a
href="http://www.pixeljoint.com/forum/member_profile.asp?PF=2146">surt</a>. Music by <a
href="http://hektikmusic.newgrounds.com/" target="_blank">hektikmusic</a>. Original concept: <a
href="http://lightbot.com/" target="_blank">lightbot.com</a>.
</div>
<div id="welcomeScreen"
class="lb-screen absolute top-5 inset-x-0 bottom-4 rounded-box bg-base-100 shadow overflow-hidden bg-no-repeat bg-left-top bg-cover"
style="background-image: url('img/welcome_screen_bg.png');">
<div class="absolute bottom-4 left-4 flex flex-wrap gap-2">
<button class="helpButton btn btn-sm gap-2">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="size-4">
<path fill-rule="evenodd"
d="M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0Zm-6 3.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM7.293 5.293a1 1 0 1 1 .99 1.667c-.459.134-1.033.566-1.033 1.29v.25a.75.75 0 1 0 1.5 0v-.115a2.5 2.5 0 1 0-2.518-4.153.75.75 0 1 0 1.061 1.06Z"
clip-rule="evenodd" />
</svg>
<span data-i18n="welcomeScreen.help"></span>
</button>
<button class="achievementsButton btn btn-sm gap-2">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="size-4">
<path fill-rule="evenodd"
d="M12 1.69a.494.494 0 0 0-.438-.494 32.352 32.352 0 0 0-7.124 0A.494.494 0 0 0 4 1.689v.567c-.811.104-1.612.24-2.403.406a.75.75 0 0 0-.595.714 4.5 4.5 0 0 0 4.35 4.622A3.99 3.99 0 0 0 7 8.874V10H6a1 1 0 0 0-1 1v2h-.667C3.597 13 3 13.597 3 14.333c0 .368.298.667.667.667h8.666a.667.667 0 0 0 .667-.667c0-.736-.597-1.333-1.333-1.333H11v-2a1 1 0 0 0-1-1H9V8.874a3.99 3.99 0 0 0 1.649-.876 4.5 4.5 0 0 0 4.35-4.622.75.75 0 0 0-.596-.714A30.897 30.897 0 0 0 12 2.256v-.567ZM4 3.768c-.49.066-.976.145-1.458.235a3.004 3.004 0 0 0 1.64 2.192A3.999 3.999 0 0 1 4 5V3.769Zm8 0c.49.066.976.145 1.458.235a3.004 3.004 0 0 1-1.64 2.192C11.936 5.818 12 5.416 12 5V3.769Z"
clip-rule="evenodd" />
</svg>
<span data-i18n="welcomeScreen.achievements"></span>
</button>
<button class="levelSelectButton btn btn-sm btn-primary gap-2">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="size-4 fill-current">
<path d="M8 5v14l11-7-11-7Z" />
</svg>
<span data-i18n="welcomeScreen.start"></span>
</button>
<button class="audioToggleButton btn btn-sm btn-square" data-i18n-title="welcomeScreen.toggleAudio"
title="Toggle audio">
<svg class="lb-audio-on hidden size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
<path
d="M10.5 3.75a.75.75 0 0 0-1.264-.546L5.203 7H2.667a.75.75 0 0 0-.7.48A6.985 6.985 0 0 0 1.5 10c0 .887.165 1.737.468 2.52.111.29.39.48.7.48h2.535l4.033 3.796a.75.75 0 0 0 1.264-.546V3.75ZM16.45 5.05a.75.75 0 0 0-1.06 1.061 5.5 5.5 0 0 1 0 7.778.75.75 0 0 0 1.06 1.06 7 7 0 0 0 0-9.899Z" />
<path
d="M14.329 7.172a.75.75 0 0 0-1.061 1.06 2.5 2.5 0 0 1 0 3.536.75.75 0 0 0 1.06 1.06 4 4 0 0 0 0-5.656Z" />
</svg>
<svg class="lb-audio-off size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"
fill="currentColor">
<path
d="M10.047 3.062a.75.75 0 0 1 .453.688v12.5a.75.75 0 0 1-1.264.546L5.203 13H2.667a.75.75 0 0 1-.7-.48A6.985 6.985 0 0 1 1.5 10c0-.887.165-1.737.468-2.52a.75.75 0 0 1 .7-.48h2.535l4.033-3.796a.75.75 0 0 1 .811-.142ZM13.78 7.22a.75.75 0 1 0-1.06 1.06L14.44 10l-1.72 1.72a.75.75 0 0 0 1.06 1.06l1.72-1.72 1.72 1.72a.75.75 0 1 0 1.06-1.06L16.56 10l1.72-1.72a.75.75 0 0 0-1.06-1.06L15.5 8.94l-1.72-1.72Z" />
</svg>
</button>
<select id="languageSelect" class="select select-sm w-36 bg-base-100/80 backdrop-blur shadow"
data-i18n-title="welcomeScreen.language" title="Language">
<option value="en">English</option>
<option value="de">Deutsch</option>
<option value="fr">Français</option>
</select>
<select data-choose-theme class="select select-sm w-36 bg-base-100/80 backdrop-blur shadow">
<option value="lightbot">lightbot</option>
<option value="light">light</option>
<option value="dark">dark</option>
<option value="cupcake">cupcake</option>
<option value="bumblebee">bumblebee</option>
<option value="emerald">emerald</option>
<option value="corporate">corporate</option>
<option value="synthwave">synthwave</option>
<option value="retro">retro</option>
<option value="cyberpunk">cyberpunk</option>
<option value="valentine">valentine</option>
<option value="halloween">halloween</option>
<option value="garden">garden</option>
<option value="forest">forest</option>
<option value="aqua">aqua</option>
<option value="lofi">lofi</option>
<option value="pastel">pastel</option>
<option value="wireframe">wireframe</option>
<option value="black">black</option>
<option value="luxury">luxury</option>
<option value="dracula">dracula</option>
<option value="cmyk">cmyk</option>
<option value="autumn">autumn</option>
<option value="business">business</option>
<option value="acid">acid</option>
<option value="lemonade">lemonade</option>
<option value="night">night</option>
<option value="coffee">coffee</option>
<option value="winter">winter</option>
</select>
</div>
</div>
<div id="achievementsScreen"
class="lb-screen hidden absolute top-5 inset-x-0 bottom-4 rounded-box bg-base-100 shadow p-6 flex flex-col gap-4">
<h1 class="text-3xl font-black uppercase" data-i18n="achievementsScreen.title"></h1>
<ul id="achievementsList" class="list bg-base-200 rounded-box shadow overflow-auto"></ul>
<div class="mt-auto">
<button class="mainMenuButton btn btn-sm gap-2">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="size-4 fill-current">
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5Z" />
</svg>
<span data-i18n="achievementsScreen.mainMenu"></span>
</button>
</div>
</div>
<div id="helpScreen" class="lb-screen hidden absolute top-5 inset-x-0 bottom-4 rounded-box bg-base-100 shadow p-6">
<div class="grid grid-cols-[1fr_12px_400px] gap-6 h-full">
<div id="helpScreenAccordion" class="space-y-2 overflow-auto pr-2 text-sm">
<div class="collapse collapse-arrow bg-base-200 rounded-box" data-video="0">
<input type="radio" name="help-accordion" checked="checked" />
<div class="collapse-title font-bold" data-i18n="helpScreen.goal.title"></div>
<div class="collapse-content">
<p data-i18n="helpScreen.goal.content"></p>
</div>
</div>
<div class="collapse collapse-arrow bg-base-200 rounded-box" data-video="1">
<input type="radio" name="help-accordion" />
<div class="collapse-title font-bold" data-i18n="helpScreen.howTo.title"></div>
<div class="collapse-content">
<p data-i18n="helpScreen.howTo.content"></p>
</div>
</div>
<div class="collapse collapse-arrow bg-base-200 rounded-box" data-video="2">
<input type="radio" name="help-accordion" />
<div class="collapse-title font-bold" data-i18n="helpScreen.objects.title"></div>
<div class="collapse-content">
<p data-i18n="helpScreen.objects.content"></p>
</div>
</div>
<div class="collapse collapse-arrow bg-base-200 rounded-box" data-video="3">
<input type="radio" name="help-accordion" />
<div class="collapse-title font-bold" data-i18n="helpScreen.walkForward.title"></div>
<div class="collapse-content">
<p data-i18n="helpScreen.walkForward.content"></p>
</div>
</div>
<div class="collapse collapse-arrow bg-base-200 rounded-box" data-video="4">
<input type="radio" name="help-accordion" />
<div class="collapse-title font-bold" data-i18n="helpScreen.turnRight.title"></div>
<div class="collapse-content">
<p data-i18n="helpScreen.turnRight.content"></p>
</div>
</div>
<div class="collapse collapse-arrow bg-base-200 rounded-box" data-video="5">
<input type="radio" name="help-accordion" />
<div class="collapse-title font-bold" data-i18n="helpScreen.turnLeft.title"></div>
<div class="collapse-content">
<p data-i18n="helpScreen.turnLeft.content"></p>
</div>
</div>
<div class="collapse collapse-arrow bg-base-200 rounded-box" data-video="6">
<input type="radio" name="help-accordion" />
<div class="collapse-title font-bold" data-i18n="helpScreen.jump.title"></div>
<div class="collapse-content">
<p data-i18n="helpScreen.jump.content"></p>
</div>
</div>
<div class="collapse collapse-arrow bg-base-200 rounded-box" data-video="7">
<input type="radio" name="help-accordion" />
<div class="collapse-title font-bold" data-i18n="helpScreen.light.title"></div>
<div class="collapse-content">
<p data-i18n="helpScreen.light.content"></p>
</div>
</div>
<div class="collapse collapse-arrow bg-base-200 rounded-box" data-video="8">
<input type="radio" name="help-accordion" />
<div class="collapse-title font-bold" data-i18n="helpScreen.repeat.title"></div>
<div class="collapse-content">
<p data-i18n="helpScreen.repeat.content"></p>
</div>
</div>
<div class="collapse collapse-arrow bg-base-200 rounded-box" data-video="9">
<input type="radio" name="help-accordion" />
<div class="collapse-title font-bold" data-i18n="helpScreen.medals.title"></div>
<div class="collapse-content">
<p data-i18n="helpScreen.medals.content"></p>
</div>
</div>
</div>
<div class="divider divider-horizontal m-0"></div>
<div class="flex flex-col h-full">
<div class="flex-1 flex items-center justify-center">
<div id="videoContainer" class="w-[402px]">
<video id="videoPlayer" class="w-[402px] h-[300px] bg-black rounded-box" width="400" height="300"
controls preload="metadata" playsinline></video>
</div>
</div>
<div class="pt-4">
<button class="mainMenuButton btn btn-sm gap-2">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="size-4 fill-current">
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5Z" />
</svg>
<span data-i18n="helpScreen.mainMenu"></span>
</button>
</div>
</div>
</div>
</div>
<div id="levelSelectScreen"
class="lb-screen hidden absolute top-5 inset-x-0 bottom-4 rounded-box bg-base-100 shadow p-6 flex flex-col gap-4">
<h1 class="text-3xl font-black uppercase" data-i18n="levelSelectScreen.title"></h1>
<div id="levelList" class="flex flex-wrap gap-3 justify-start overflow-auto p-2"></div>
<div class="mt-auto">
<button class="mainMenuButton btn btn-sm gap-2">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="size-4 fill-current">
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5Z" />
</svg>
<span data-i18n="levelSelectScreen.mainMenu"></span>
</button>
</div>
</div>
<div id="gameScreen" class="lb-screen hidden absolute top-5 inset-x-0 bottom-4 rounded-box bg-base-100 shadow p-2">
<div class="grid grid-cols-[690px_1fr] gap-2 h-full">
<div class="relative">
<div id="canvasContainer" class="bg-base-200 rounded-box overflow-hidden">
<canvas id="gameCanvas" width="690" height="690" class="block"></canvas>
</div>
<div id="buttonContainer"
class="absolute bottom-2 left-2 flex flex-wrap items-center gap-2 p-2 rounded-box bg-base-100/80 backdrop-blur shadow">
<button class="levelSelectButton btn btn-sm btn-square" data-i18n-title="gameScreen.back" title="Back">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="size-4 fill-current">
<path d="M19 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H19v-2Z" />
</svg>
</button>
<button class="audioToggleButton btn btn-sm btn-square" data-i18n-title="gameScreen.toggleAudio"
title="Toggle audio">
<svg class="lb-audio-on hidden size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"
fill="currentColor">
<path
d="M10.5 3.75a.75.75 0 0 0-1.264-.546L5.203 7H2.667a.75.75 0 0 0-.7.48A6.985 6.985 0 0 0 1.5 10c0 .887.165 1.737.468 2.52.111.29.39.48.7.48h2.535l4.033 3.796a.75.75 0 0 0 1.264-.546V3.75ZM16.45 5.05a.75.75 0 0 0-1.06 1.061 5.5 5.5 0 0 1 0 7.778.75.75 0 0 0 1.06 1.06 7 7 0 0 0 0-9.899Z" />
<path
d="M14.329 7.172a.75.75 0 0 0-1.061 1.06 2.5 2.5 0 0 1 0 3.536.75.75 0 0 0 1.06 1.06 4 4 0 0 0 0-5.656Z" />
</svg>
<svg class="lb-audio-off size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"
fill="currentColor">
<path
d="M10.047 3.062a.75.75 0 0 1 .453.688v12.5a.75.75 0 0 1-1.264.546L5.203 13H2.667a.75.75 0 0 1-.7-.48A6.985 6.985 0 0 1 1.5 10c0-.887.165-1.737.468-2.52a.75.75 0 0 1 .7-.48h2.535l4.033-3.796a.75.75 0 0 1 .811-.142ZM13.78 7.22a.75.75 0 1 0-1.06 1.06L14.44 10l-1.72 1.72a.75.75 0 0 0 1.06 1.06l1.72-1.72 1.72 1.72a.75.75 0 1 0 1.06-1.06L16.56 10l1.72-1.72a.75.75 0 0 0-1.06-1.06L15.5 8.94l-1.72-1.72Z" />
</svg>
</button>
<button id="clearButton" class="btn btn-sm btn-square" data-i18n-title="gameScreen.clear" title="Clear">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="size-4">
<path fill-rule="evenodd"
d="M5 3.25V4H2.75a.75.75 0 0 0 0 1.5h.3l.815 8.15A1.5 1.5 0 0 0 5.357 15h5.285a1.5 1.5 0 0 0 1.493-1.35l.815-8.15h.3a.75.75 0 0 0 0-1.5H11v-.75A2.25 2.25 0 0 0 8.75 1h-1.5A2.25 2.25 0 0 0 5 3.25Zm2.25-.75a.75.75 0 0 0-.75.75V4h3v-.75a.75.75 0 0 0-.75-.75h-1.5ZM6.05 6a.75.75 0 0 1 .787.713l.275 5.5a.75.75 0 0 1-1.498.075l-.275-5.5A.75.75 0 0 1 6.05 6Zm3.9 0a.75.75 0 0 1 .712.787l-.275 5.5a.75.75 0 0 1-1.498-.075l.275-5.5a.75.75 0 0 1 .786-.711Z"
clip-rule="evenodd" />
</svg>
</button>
<button id="runButton" class="btn btn-sm btn-primary btn-square" data-i18n-title="gameScreen.run"
title="Run">
<svg class="lb-run-icon size-4 fill-current" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M8 5v14l11-7-11-7Z" />
</svg>
<svg class="lb-stop-icon hidden size-4 fill-current" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24">
<path d="M6 6h12v12H6V6Z" />
</svg>
</button>
<div id="speedControl" class="flex items-center gap-2 pl-2">
<label for="speedSlider" class="text-sm font-semibold" data-i18n="gameScreen.speed"></label>
<input id="speedSlider" type="range" min="0.5" max="3.0" step="0.01" value="2"
class="range range-xs range-primary w-28" />
</div>
</div>
</div>
<div class="flex flex-col gap-2 min-h-0">
<div id="instructionsContainer" class="card bg-base-200 shadow">
<div class="card-body p-3">
<h2 class="card-title text-base"><span data-i18n="instructions.title"></span></h2>
<div class="overflow-auto max-h-[220px]">
<ul class="space-y-0">
<li class="lb-instruction">
<p class="walk lb-instruction-row">
<span class="lb-instruction-label" data-i18n="instructions.walk"></span>
<button type="button" class="lb-instruction-delete btn btn-ghost btn-xs btn-square"
title="Remove">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="size-4 fill-current">
<path
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z" />
</svg>
</button>
</p>
</li>
<li class="lb-instruction">
<p class="turnRight lb-instruction-row">
<span class="lb-instruction-label" data-i18n="instructions.turnRight"></span>
<button type="button" class="lb-instruction-delete btn btn-ghost btn-xs btn-square"
title="Remove">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="size-4 fill-current">
<path
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z" />
</svg>
</button>
</p>
</li>
<li class="lb-instruction">
<p class="turnLeft lb-instruction-row">
<span class="lb-instruction-label" data-i18n="instructions.turnLeft"></span>
<button type="button" class="lb-instruction-delete btn btn-ghost btn-xs btn-square"
title="Remove">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="size-4 fill-current">
<path
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z" />
</svg>
</button>
</p>
</li>
<li class="lb-instruction">
<p class="jump lb-instruction-row">
<span class="lb-instruction-label" data-i18n="instructions.jump"></span>
<button type="button" class="lb-instruction-delete btn btn-ghost btn-xs btn-square"
title="Remove">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="size-4 fill-current">
<path
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z" />
</svg>
</button>
</p>
</li>
<li class="lb-instruction">
<p class="light lb-instruction-row">
<span class="lb-instruction-label" data-i18n="instructions.light"></span>
<button type="button" class="lb-instruction-delete btn btn-ghost btn-xs btn-square"
title="Remove">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="size-4 fill-current">
<path
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z" />
</svg>
</button>
</p>
</li>
<li class="lb-instruction">
<p class="repeat lb-instruction-row">
<span class="lb-repeat-left flex items-center gap-2">
<span class="lb-instruction-label" data-i18n="instructions.repeat.label"></span>
<span class="lb-repeat-count flex items-center gap-2">
<input type="number" min="1" max="99" step="1" value="2"
class="input input-bordered input-xs w-16" />
<span class="text-xs opacity-70" data-i18n="instructions.repeat.times"></span>
</span>
</span>
<button type="button" class="lb-instruction-delete btn btn-ghost btn-xs btn-square"
title="Remove">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="size-4 fill-current">
<path
d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z" />
</svg>
</button>
</p>
<div class="lb-repeat-body droppable">
<div class="lb-repeat-body-inner">
<ul class="space-y-2"></ul>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
<div id="programContainer" class="card bg-base-200 shadow flex-1 min-h-0">
<div class="card-body p-3 min-h-0">
<h2 class="card-title text-base"><span data-i18n="program.title"></span></h2>
<div class="droppable flex-1 overflow-x-hidden overflow-y-auto min-h-0">
<ul class="space-y-0 min-h-[360px]"></ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="credits2" class="absolute bottom-0 inset-x-0 h-4 text-center text-xs opacity-70">
<div style="float:left;"></div>
<div style="float:right;"></div>
</div>
</div>
<dialog id="levelCompleteDialog" class="modal">
<div class="modal-box">
<h3 class="font-bold text-lg" data-i18n="dialogs.levelComplete.title"></h3>
<div class="py-4 flex gap-3 items-start">
<span class="medal shrink-0"></span>
<div class="flex-1">
<p class="message" data-i18n="dialogs.levelComplete.message"></p>
<p class="hint mt-2 text-sm opacity-80"></p>
</div>
</div>
<div class="modal-action">
<form method="dialog">
<button class="btn btn-sm">OK</button>
</form>
</div>
</div>
</dialog>
<dialog id="achievementDialog" class="modal">
<div class="modal-box">
<h3 class="font-bold text-lg" data-i18n="dialogs.achievement.title"></h3>
<div class="py-4 flex gap-3 items-start">
<span class="achievement shrink-0"></span>
<p class="message flex-1"></p>
</div>
<div class="modal-action">
<form method="dialog">
<button class="btn btn-sm">OK</button>
</form>
</div>
</div>
</dialog>
</body>
</html>