-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsnake_game台羅.html
636 lines (589 loc) · 35.7 KB
/
snake_game台羅.html
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
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
<html lang="zh-TW"><head></head><body style="background: linear-gradient(to right, rgb(255, 126, 95), rgb(254, 180, 123));"><div id="scroll_div" style="width: 100px; height: 100px; overflow: scroll; position: absolute; top: -9999px;"></div>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>成語貪吃蛇遊戲生成器</title>
<style>
body, html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
font-family: 'ㄅ注音芫荽 Regular', Tahoma, Geneva, Verdana, sans-serif;
user-select: none;
-webkit-touch-callout: none;
transition: background 1s ease;
background: linear-gradient(to right, #000000, #000428);
}
#start-screen, #game-screen, #game-over {
display: flex;
flex-direction: column;
align-items: center;
background-color: rgba(0, 0, 0, 0.8);
padding: 30px;
border-radius: 15px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}
h1 {
margin: 0;
font-size: 36px;
color: #FFD700;
text-shadow: 0 0 5px #FFD700, 0 0 10px #FFD700;
}
button {
padding: 12px 24px;
font-size: 18px;
cursor: pointer;
background-color: #1f4068;
color: #ffffff;
border: 1px solid #1b1b2f;
border-radius: 5px;
margin: 10px;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
button:hover {
background-color: #162447;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
#input-text {
width: 320px;
height: 120px;
margin: 20px;
border-radius: 10px;
border: 1px solid #1b1b2f;
padding: 15px;
font-size: 16px;
resize: none;
background-color: #1f4068;
color: #ffffff;
box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.5);
}
#game-screen {
display: none;
justify-content: center;
align-items: center;
flex-direction: column;
}
#game-canvas {
background-color: #000000;
border: 1px solid #FFD700;
width: 600px;
height: 600px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
.controls {
position: absolute;
bottom: 320px;
right: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
.control-row {
display: flex;
justify-content: center;
}
.control-button {
width: 90px;
height: 90px;
background-color: #1f4068;
border: 1px solid #1b1b2f;
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
font-size: 36px;
cursor: pointer;
margin: 5px;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.control-button:hover {
background-color: #162447;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
#game-over {
display: none;
justify-content: center;
align-items: center;
text-align: center;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.85);
backdrop-filter: blur(10px);
color: #FFD700;
padding: 20px;
border-radius: 15px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
line-height: 1.5;
}
#game-over .result-time {
font-size: 34px;
color: #FFD700;
text-shadow: 0 0 5px #FFD700, 0 0 10px #FFD700, 0 0 15px #FFD700;
}
#game-over a {
background-color: #1f4068;
color: #ffffff;
text-decoration: none;
padding: 5px 10px;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
transition: background-color 0.3s ease;
}
#game-over a:hover {
background-color: #162447;
}
#timer, #info-text, #eaten-words {
background-color: #1f4068;
border: 2px solid #1b1b2f;
border-radius: 10px;
padding: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
#timer {
position: absolute;
top: 10px;
right: 10px;
color: #ffffff;
font-size: 24px;
}
#info-text {
position: absolute;
top: 10px;
left: 10px;
color: #ffffff;
font-size: 24px;
width: 200px;
}
#eaten-words {
position: absolute;
top: 50%;
left: 10px;
transform: translateY(-50%);
color: #ffffff;
font-size: 24px;
width: 200px;
}
#eaten-words h2 {
margin: 0;
font-size: 18px;
color: #FFD700;
}
.button-row {
display: flex;
justify-content: center;
width: 100%;
}
#start-button {
background-color: #0000FF;
margin: 10px 5px;
}
#game-topics {
margin-top: 20px;
background-color: #2e2e2e;
padding: 10px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}
.designed-by {
position: absolute;
bottom: 10px;
right: 10px;
font-size: 14px;
color: #ffffff;
}
.designed-by a {
color: #FFD700;
text-decoration: none;
}
.glowing-text {
font-size: 40px;
font-weight: bold;
color: #ffffff;
text-shadow: 0 0 2px #ffffff, 0 0 4px #ffffff, 0 0 6px #ffffff, 0 0 8px #ffffff, 0 0 10px #ffffff;
}
.game-text {
font-size: 40px;
font-weight: bold;
color: #ffffff;
text-shadow: 0 0 15px #ffffff, 0 0 30px #ffffff, 0 0 45px #ffffff;
}
label[for="speed"], label[for="scale"] {
color: #ffffff;
}
#click-area {
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 50px;
background-color: transparent;
z-index: 1000;
}
</style>
<div id="start-screen" style="display: flex;">
<h1>成語貪吃蛇遊戲生成器</h1>
<textarea id="input-text" placeholder="請輸入文字,每行一組...">kînn 墘
píng 反
khàm 崁
báng 蠓
hiah 遐</textarea>
<button id="submit-button">送出</button>
<div>
<label for="speed">貪吃蛇速度:</label>
<input type="range" id="speed" name="speed" min="50" max="500" value="100">
</div>
<div>
<label for="scale">選擇比例:</label>
<select id="scale"><option value="0.5">二分之一大小</option><option value="1" selected>原尺寸</option><option value="1.5">1.5倍大小</option></select>
</div>
<div class="button-row">
<button id="start-button" style="display: block;">開始</button>
<button id="download-button">下載完整遊戲</button>
</div>
<div id="game-topics" style="display: block;">
<h2>遊戲題目</h2>
<ul id="topics-list"><li>kînn</li><li>píng</li><li>khàm</li><li>báng</li><li>hiah</li></ul>
</div>
</div>
<div id="game-screen" style="display: none;">
<div id="info-text">崁</div>
<div id="timer">遊戲時間: <span id="time-elapsed">97</span> 秒</div>
<div id="eaten-words">
<h2>已吃到的文字</h2>
<div id="eaten-content">píng<br>báng</div>
</div>
<canvas id="game-canvas" width="600" height="600"></canvas>
<div class="controls">
<div class="control-row">
<div class="control-button" id="up">↑</div>
</div>
<div class="control-row">
<div class="control-button" id="left">←</div>
<div class="control-button" id="down">↓</div>
<div class="control-button" id="right">→</div>
</div>
</div>
</div>
<div id="game-over" style="display: none;">
<div id="result-text">總遊戲時間:<br><span class="result-time">37 秒</span><br>內容:<br><a href="https://pedia.cloud.edu.tw/Entry/Detail?title=p%C3%ADng" target="_blank" class="glowing-text">píng</a><br><a href="https://pedia.cloud.edu.tw/Entry/Detail?title=k%C3%AEnn" target="_blank" class="glowing-text">kînn</a></div>
<button id="restart-button">重新開始</button>
</div>
<div class="designed-by">
Designed by <a href="https://kentxchang.blogspot.tw" target="_blank">阿剛老師</a>
</div>
<div id="click-area"></div>
<script>
const startButton = document.getElementById('start-button');
const submitButton = document.getElementById('submit-button');
const downloadButton = document.getElementById('download-button');
const gameScreen = document.getElementById('game-screen');
const startScreen = document.getElementById('start-screen');
const gameCanvas = document.getElementById('game-canvas');
const gameOverScreen = document.getElementById('game-over');
const resultText = document.getElementById('result-text');
const restartButton = document.getElementById('restart-button');
const inputText = document.getElementById('input-text');
const timerElement = document.getElementById('time-elapsed');
const eatenWordsElement = document.getElementById('eaten-content');
const infoTextElement = document.getElementById('info-text');
const gameTopics = document.getElementById('game-topics');
const topicsList = document.getElementById('topics-list');
const speedInput = document.getElementById('speed');
const scaleSelect = document.getElementById('scale');
const clickArea = document.getElementById('click-area');
const ctx = gameCanvas.getContext('2d');
const body = document.body;
let snake = [{x: 10, y: 10}];
let direction = {x: 0, y: 0};
let food = [];
let gameInterval;
let foodCount = 0;
let gameOver = false;
let textGroups = [];
let currentGroup = [];
let currentCharIndex = 0;
let timeElapsed = 0;
let eatenWords = [];
let infoText = "";
let remainingFood = [];
let startTime;
let scale = parseFloat(scaleSelect.value);
const colors = ['#FF0000', '#FF7F00', '#FFFF00', '#00FF00', '#0000FF', '#4B0082', '#9400D3'];
const backgrounds = [
'linear-gradient(to right, #ff7e5f, #feb47b)',
'linear-gradient(to right, #43cea2, #185a9d)',
'linear-gradient(to right, #ff512f, #dd2476)',
'linear-gradient(to right, #56ccf2, #2f80ed)',
'linear-gradient(to right, #e1eec3, #f05053)',
'linear-gradient(to right, #8e2de2, #4a00e0)',
'linear-gradient(to right, #f7971e, #ffd200)'
];
function changeBackground() {
const randomIndex = Math.floor(Math.random() * backgrounds.length);
body.style.background = backgrounds[randomIndex];
}
scaleSelect.addEventListener('change', () => {
scale = parseFloat(scaleSelect.value);
draw();
});
submitButton.addEventListener('click', () => {
const inputTextValue = inputText.value.trim();
if (inputTextValue.length === 0) {
alert("請輸入一些文本");
return;
}
textGroups = inputTextValue.split('\n').map(line => {
const parts = line.split(/,|\t/);
return { words: parts[0].trim().split(''), info: parts[1] ? parts[1].trim() : '' };
});
topicsList.innerHTML = '';
textGroups.forEach(group => {
const li = document.createElement('li');
li.textContent = group.words.join('');
topicsList.appendChild(li);
});
gameTopics.style.display = 'block';
localStorage.setItem('inputText', inputTextValue);
if (textGroups.length > 0) {
startButton.style.display = 'block';
}
});
startButton.addEventListener('click', () => {
startScreen.style.display = 'none';
gameScreen.style.display = 'flex';
startGame();
});
restartButton.addEventListener('click', () => {
gameOverScreen.style.display = 'none';
resetGame();
startGame();
});
document.getElementById('up').addEventListener('click', () => setDirection(0, -1));
document.getElementById('down').addEventListener('click', () => setDirection(0, 1));
document.getElementById('left').addEventListener('click', () => setDirection(-1, 0));
document.getElementById('right').addEventListener('click', () => setDirection(1, 0));
document.addEventListener('keydown', (event) => {
if (event.key === 'ArrowUp') setDirection(0, -1);
if (event.key === 'ArrowDown') setDirection(0, 1);
if (event.key === 'ArrowLeft') setDirection(-1, 0);
if (event.key === 'ArrowRight') setDirection(1, 0);
if (event.key === 'r' || event.key === 'R') {
if (gameScreen.style.display === 'flex') {
gameScreen.style.display = 'none';
startScreen.style.display = 'flex';
} else if (gameOverScreen.style.display === 'flex') {
gameOverScreen.style.display = 'none';
startScreen.style.display = 'flex';
}
}
});
clickArea.addEventListener('click', () => {
if (gameScreen.style.display === 'flex') {
gameScreen.style.display = 'none';
startScreen.style.display = 'flex';
} else if (gameOverScreen.style.display === 'flex') {
gameOverScreen.style.display = 'none';
startScreen.style.display = 'flex';
}
});
function setDirection(x, y) {
if (!gameOver) {
direction = {x, y};
}
}
function startGame() {
resetGame();
gameScreen.style.display = 'flex';
startTime = Date.now();
const speed = parseInt(speedInput.value);
gameInterval = setInterval(gameLoop, speed);
countdown();
chooseRandomGroup();
placeRemainingFood();
}
function resetGame() {
clearInterval(gameInterval);
snake = [{x: 10, y: 10}];
direction = {x: 0, y: 0};
currentGroup = [];
currentCharIndex = 0;
foodCount = 0;
timeElapsed = 0;
eatenWords = [];
infoText = "";
infoTextElement.innerHTML = "";
eatenWordsElement.innerHTML = '';
timerElement.textContent = timeElapsed;
gameOver = false;
remainingFood = [];
textGroups = inputText.value.split('\n').map(line => {
const parts = line.split(/,|\t/);
return { words: parts[0].trim().split(''), info: parts[1] ? parts[1].trim() : '' };
});
}
function chooseRandomGroup() {
if (textGroups.length > 0) {
const randomIndex = Math.floor(Math.random() * textGroups.length);
currentGroup = textGroups[randomIndex].words;
infoText = textGroups[randomIndex].info;
infoTextElement.innerHTML = infoText;
textGroups.splice(randomIndex, 1);
placeFood();
} else {
currentGroup = [];
endGame();
}
}
function placeFood() {
food = currentGroup.map(char => {
let position;
do {
position = {
x: Math.floor(Math.random() * (15 / scale)),
y: Math.floor(Math.random() * (15 / scale))
};
} while (isOverlapping(position));
return {...position, char};
});
}
function placeRemainingFood() {
remainingFood = textGroups.flatMap(group => group.words.map(char => {
let position;
do {
position = {
x: Math.floor(Math.random() * (15 / scale)),
y: Math.floor(Math.random() * (15 / scale))
};
} while (isOverlapping(position));
return {...position, char};
}));
}
function isOverlapping(position) {
return food.some(item => item.x === position.x && item.y === position.y) ||
remainingFood.some(item => item.x === position.x && item.y === position.y) ||
snake.some(segment => segment.x === position.x && segment.y === position.y);
}
function gameLoop() {
if (currentGroup.length === 0) return;
update();
draw();
}
function update() {
const head = {x: snake[0].x + direction.x, y: snake[0].y + direction.y};
if (head.x < 0) head.x = Math.floor(15 / scale) - 1;
if (head.x >= Math.floor(15 / scale)) head.x = 0;
if (head.y < 0) head.y = Math.floor(15 / scale) - 1;
if (head.y >= Math.floor(15 / scale)) head.y = 0;
snake.unshift(head);
const currentFood = food[currentCharIndex];
if (head.x === currentFood.x && head.y === currentFood.y) {
if (currentFood.char === currentGroup[currentCharIndex]) {
eatenWords.push(currentFood.char);
eatenWordsElement.innerHTML = eatenWords.join('');
currentCharIndex++;
if (currentCharIndex === currentGroup.length) {
currentCharIndex = 0;
chooseRandomGroup();
eatenWords.push('<br>');
placeRemainingFood();
changeBackground();
}
foodCount++;
placeFood();
} else {
resetCurrentGroup();
}
} else {
snake.pop();
}
}
function resetCurrentGroup() {
currentCharIndex = 0;
placeFood();
}
function draw() {
ctx.clearRect(0, 0, gameCanvas.width, gameCanvas.height);
snake.forEach((segment, index) => {
ctx.fillStyle = colors[index % colors.length];
ctx.fillRect(segment.x * 40 * scale, segment.y * 40 * scale, 40 * scale, 40 * scale);
ctx.shadowColor = '#ffffff';
ctx.shadowBlur = 20;
ctx.fill();
});
ctx.font = `${40 * scale}px 'ㄅ注音芫荽 Regular'`;
remainingFood.forEach(item => {
ctx.fillStyle = 'transparent';
ctx.fillRect(item.x * 40 * scale, item.y * 40 * scale, 40 * scale, 40 * scale);
ctx.fillStyle = '#ffffff';
ctx.shadowColor = '#ffffff';
ctx.shadowBlur = 60;
ctx.fillText(item.char, item.x * 40 * scale, item.y * 40 * scale + 40 * scale);
});
food.forEach(item => {
ctx.fillStyle = 'transparent';
ctx.fillRect(item.x * 40 * scale, item.y * 40 * scale, 40 * scale, 40 * scale);
ctx.fillStyle = '#ffffff';
ctx.shadowColor = '#ffffff';
ctx.shadowBlur = 60;
ctx.fillText(item.char, item.x * 40 * scale, item.y * 40 * scale + 40 * scale);
});
}
function countdown() {
const countdownInterval = setInterval(() => {
if (gameOver) {
clearInterval(countdownInterval);
} else {
timeElapsed = Math.floor((Date.now() - startTime) / 1000);
timerElement.textContent = timeElapsed;
}
}, 1000);
}
function endGame() {
clearInterval(gameInterval);
gameOver = true;
const totalTime = Math.floor((Date.now() - startTime) / 1000);
const formattedWords = eatenWords.join('').split('<br>').map(line => line.trim()).filter(line => line !== '');
const linkedWords = formattedWords.map(word => `<a href="https://pedia.cloud.edu.tw/Entry/Detail?title=${encodeURIComponent(word)}" target="_blank" class="glowing-text">${word}</a>`).join('<br>');
resultText.innerHTML = `總遊戲時間:<br><span class="result-time">${totalTime} 秒</span><br>內容:<br>${linkedWords}`;
gameOverScreen.style.display = 'flex';
}
window.onload = function() {
document.getElementById('submit-button').click();
document.getElementById('start-button').click();
}
downloadButton.addEventListener('click', () => {
const htmlContent = document.documentElement.outerHTML;
const inputTextValue = inputText.value.trim();
const speedValue = speedInput.value;
const scaleValue = scaleSelect.value;
const newHtmlContent = htmlContent
.replace(/<textarea id="input-text"[^>]*>([\s\S]*?)<\/textarea>/, `<textarea id="input-text" placeholder="請輸入文字,每行一組...">${inputTextValue}</textarea>`)
.replace(/<input type="range" id="speed"[^>]*value="[^"]*"/, `<input type="range" id="speed" name="speed" min="50" max="500" value="${speedValue}"`)
.replace(/<select id="scale"[^>]*>[\s\S]*?<\/select>/, `<select id="scale"><option value="0.5">二分之一大小</option><option value="1" selected>原尺寸</option><option value="1.5">1.5倍大小</option></select>`);
const blob = new Blob([newHtmlContent], { type: 'text/html' });
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
a.download = 'custom_snake_game.html';
a.click();
URL.revokeObjectURL(url);
});
</script>
<div id="yt_article_summary_widget_wrapper" class="yt_article_summary_widget_wrapper" style="display: none;">
<div id="yt_article_summary_widget" class="yt_article_summary_widget"><svg style="filter: brightness(0.8);" width="32" height="32" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<mask id="path-1-outside-1_3606_3145" maskUnits="userSpaceOnUse" x="1" y="1" width="22" height="22" fill="black">
<rect fill="white" x="1" y="1" width="22" height="22"></rect>
<path d="M20.6816 10.1843C20.9588 9.34066 21.0063 8.4399 20.8192 7.57245C20.6321 6.70499 20.217 5.90134 19.6157 5.24216C19.0143 4.58298 18.2478 4.09146 17.393 3.81692C16.5382 3.54238 15.6253 3.49449 14.7459 3.67805C14.1453 3.01747 13.379 2.52468 12.524 2.24931C11.669 1.97394 10.7555 1.92571 9.87559 2.10947C8.99568 2.29324 8.18039 2.70252 7.51181 3.29608C6.84323 3.88965 6.34499 4.64654 6.06725 5.49055C5.18642 5.67292 4.3699 6.08122 3.70003 6.67426C3.03017 7.26731 2.53064 8.02413 2.25182 8.86842C1.97299 9.71271 1.92474 10.6146 2.11192 11.4832C2.2991 12.3517 2.71509 13.1562 3.31795 13.8155C3.09309 14.4899 3.01633 15.2037 3.09278 15.9095C3.16924 16.6154 3.39716 17.2971 3.76139 17.9093C4.30169 18.8351 5.12567 19.568 6.11483 20.0027C7.104 20.4373 8.20738 20.5512 9.26631 20.328C9.74353 20.8568 10.3291 21.2796 10.9844 21.5684C11.6396 21.8571 12.3495 22.0053 13.0672 22.003C14.1516 22.003 15.2081 21.6635 16.0847 21.0334C16.9612 20.4034 17.6125 19.5152 17.9449 18.4968C18.649 18.3539 19.3141 18.0649 19.8962 17.6489C20.4784 17.233 20.9642 16.6997 21.3214 16.0843C21.8585 15.1598 22.0858 14.0915 21.9709 13.032C21.856 11.9724 21.4048 10.9758 20.6816 10.1843ZM13.0798 20.6968C12.191 20.6968 11.3302 20.3894 10.6473 19.828L10.7677 19.7593L14.8029 17.4593C14.9069 17.4047 14.9935 17.3225 15.0528 17.2221C15.1121 17.1216 15.1418 17.0068 15.1386 16.8905V11.2655L16.8427 12.2405C16.8517 12.2441 16.8594 12.2501 16.865 12.2579C16.8706 12.2656 16.8739 12.2748 16.8744 12.2843V16.9343C16.876 17.4289 16.7785 17.9189 16.5875 18.3761C16.3964 18.8333 16.1156 19.2488 15.7611 19.5985C15.4067 19.9482 14.9856 20.2253 14.5222 20.4138C14.0588 20.6023 13.5621 20.6984 13.0608 20.6968H13.0798ZM4.90165 17.2593C4.46164 16.5029 4.3026 15.6189 4.45188 14.7593L4.57224 14.828L8.60749 17.128C8.70379 17.1829 8.81303 17.2118 8.92423 17.2118C9.03543 17.2118 9.14467 17.1829 9.24097 17.128L14.1758 14.3218V16.253C14.1797 16.2608 14.1817 16.2694 14.1817 16.278C14.1817 16.2867 14.1797 16.2953 14.1758 16.303L10.0962 18.628C9.66403 18.8748 9.18685 19.0352 8.69188 19.0999C8.19692 19.1647 7.69387 19.1326 7.21148 19.0055C6.72909 18.8784 6.27681 18.6587 5.88048 18.3591C5.48415 18.0595 5.15154 17.6858 4.90165 17.2593ZM3.83741 8.5843C4.28764 7.82089 4.99655 7.23878 5.83919 6.94055V11.6718C5.83595 11.7857 5.86434 11.8983 5.92128 11.9975C5.97823 12.0966 6.06156 12.1785 6.16227 12.2343L11.0717 15.028L9.36766 16.003C9.34918 16.0092 9.32914 16.0092 9.31065 16.003L5.23106 13.678C4.36041 13.1812 3.72487 12.3642 3.46364 11.4059C3.20242 10.4476 3.33682 9.42624 3.83741 8.56555V8.5843ZM17.8563 11.7968L12.9278 8.9718L14.6319 8.00305C14.6403 7.99741 14.6502 7.99439 14.6604 7.99439C14.6705 7.99439 14.6805 7.99741 14.6889 8.00305L18.7685 10.328C19.3915 10.684 19.8992 11.2072 20.2325 11.8368C20.5659 12.4664 20.7111 13.1764 20.6514 13.8843C20.5916 14.5921 20.3294 15.2687 19.8951 15.8352C19.4608 16.4017 18.8724 16.8349 18.1983 17.0843V12.353C18.1946 12.2391 18.1612 12.1281 18.1013 12.0306C18.0414 11.9332 17.957 11.8527 17.8563 11.7968ZM19.554 9.2968L19.4336 9.2218L15.4047 6.9093C15.3047 6.84846 15.1896 6.81624 15.0721 6.81624C14.9547 6.81624 14.8395 6.84846 14.7396 6.9093L9.8111 9.71555V7.75305C9.8061 7.7445 9.80346 7.7348 9.80346 7.72492C9.80346 7.71505 9.8061 7.70535 9.8111 7.6968L13.897 5.37805C14.5222 5.02257 15.2371 4.85003 15.958 4.88059C16.6789 4.91115 17.3762 5.14356 17.9682 5.55064C18.5601 5.95772 19.0225 6.52265 19.301 7.17939C19.5796 7.83614 19.663 8.55755 19.5413 9.2593L19.554 9.2968ZM8.87989 12.7218L7.1695 11.753C7.15339 11.7405 7.1422 11.7228 7.13782 11.703V7.06555C7.13785 6.35289 7.34371 5.65499 7.73128 5.0536C8.11885 4.45222 8.67209 3.97224 9.32619 3.6699C9.98029 3.36756 10.7082 3.25537 11.4246 3.34647C12.141 3.43757 12.8162 3.7282 13.3712 4.1843L13.2636 4.25305L9.21563 6.55305C9.11158 6.60765 9.02504 6.68981 8.96573 6.79029C8.90642 6.89076 8.87669 7.00557 8.87989 7.1218V12.7218ZM9.80476 10.753L11.9966 9.50305L14.1948 10.753V13.253L11.9966 14.503L9.79843 13.253L9.80476 10.753Z"></path>
</mask>
<path d="M20.6816 10.1843C20.9588 9.34066 21.0063 8.4399 20.8192 7.57245C20.6321 6.70499 20.217 5.90134 19.6157 5.24216C19.0143 4.58298 18.2478 4.09146 17.393 3.81692C16.5382 3.54238 15.6253 3.49449 14.7459 3.67805C14.1453 3.01747 13.379 2.52468 12.524 2.24931C11.669 1.97394 10.7555 1.92571 9.87559 2.10947C8.99568 2.29324 8.18039 2.70252 7.51181 3.29608C6.84323 3.88965 6.34499 4.64654 6.06725 5.49055C5.18642 5.67292 4.3699 6.08122 3.70003 6.67426C3.03017 7.26731 2.53064 8.02413 2.25182 8.86842C1.97299 9.71271 1.92474 10.6146 2.11192 11.4832C2.2991 12.3517 2.71509 13.1562 3.31795 13.8155C3.09309 14.4899 3.01633 15.2037 3.09278 15.9095C3.16924 16.6154 3.39716 17.2971 3.76139 17.9093C4.30169 18.8351 5.12567 19.568 6.11483 20.0027C7.104 20.4373 8.20738 20.5512 9.26631 20.328C9.74353 20.8568 10.3291 21.2796 10.9844 21.5684C11.6396 21.8571 12.3495 22.0053 13.0672 22.003C14.1516 22.003 15.2081 21.6635 16.0847 21.0334C16.9612 20.4034 17.6125 19.5152 17.9449 18.4968C18.649 18.3539 19.3141 18.0649 19.8962 17.6489C20.4784 17.233 20.9642 16.6997 21.3214 16.0843C21.8585 15.1598 22.0858 14.0915 21.9709 13.032C21.856 11.9724 21.4048 10.9758 20.6816 10.1843ZM13.0798 20.6968C12.191 20.6968 11.3302 20.3894 10.6473 19.828L10.7677 19.7593L14.8029 17.4593C14.9069 17.4047 14.9935 17.3225 15.0528 17.2221C15.1121 17.1216 15.1418 17.0068 15.1386 16.8905V11.2655L16.8427 12.2405C16.8517 12.2441 16.8594 12.2501 16.865 12.2579C16.8706 12.2656 16.8739 12.2748 16.8744 12.2843V16.9343C16.876 17.4289 16.7785 17.9189 16.5875 18.3761C16.3964 18.8333 16.1156 19.2488 15.7611 19.5985C15.4067 19.9482 14.9856 20.2253 14.5222 20.4138C14.0588 20.6023 13.5621 20.6984 13.0608 20.6968H13.0798ZM4.90165 17.2593C4.46164 16.5029 4.3026 15.6189 4.45188 14.7593L4.57224 14.828L8.60749 17.128C8.70379 17.1829 8.81303 17.2118 8.92423 17.2118C9.03543 17.2118 9.14467 17.1829 9.24097 17.128L14.1758 14.3218V16.253C14.1797 16.2608 14.1817 16.2694 14.1817 16.278C14.1817 16.2867 14.1797 16.2953 14.1758 16.303L10.0962 18.628C9.66403 18.8748 9.18685 19.0352 8.69188 19.0999C8.19692 19.1647 7.69387 19.1326 7.21148 19.0055C6.72909 18.8784 6.27681 18.6587 5.88048 18.3591C5.48415 18.0595 5.15154 17.6858 4.90165 17.2593ZM3.83741 8.5843C4.28764 7.82089 4.99655 7.23878 5.83919 6.94055V11.6718C5.83595 11.7857 5.86434 11.8983 5.92128 11.9975C5.97823 12.0966 6.06156 12.1785 6.16227 12.2343L11.0717 15.028L9.36766 16.003C9.34918 16.0092 9.32914 16.0092 9.31065 16.003L5.23106 13.678C4.36041 13.1812 3.72487 12.3642 3.46364 11.4059C3.20242 10.4476 3.33682 9.42624 3.83741 8.56555V8.5843ZM17.8563 11.7968L12.9278 8.9718L14.6319 8.00305C14.6403 7.99741 14.6502 7.99439 14.6604 7.99439C14.6705 7.99439 14.6805 7.99741 14.6889 8.00305L18.7685 10.328C19.3915 10.684 19.8992 11.2072 20.2325 11.8368C20.5659 12.4664 20.7111 13.1764 20.6514 13.8843C20.5916 14.5921 20.3294 15.2687 19.8951 15.8352C19.4608 16.4017 18.8724 16.8349 18.1983 17.0843V12.353C18.1946 12.2391 18.1612 12.1281 18.1013 12.0306C18.0414 11.9332 17.957 11.8527 17.8563 11.7968ZM19.554 9.2968L19.4336 9.2218L15.4047 6.9093C15.3047 6.84846 15.1896 6.81624 15.0721 6.81624C14.9547 6.81624 14.8395 6.84846 14.7396 6.9093L9.8111 9.71555V7.75305C9.8061 7.7445 9.80346 7.7348 9.80346 7.72492C9.80346 7.71505 9.8061 7.70535 9.8111 7.6968L13.897 5.37805C14.5222 5.02257 15.2371 4.85003 15.958 4.88059C16.6789 4.91115 17.3762 5.14356 17.9682 5.55064C18.5601 5.95772 19.0225 6.52265 19.301 7.17939C19.5796 7.83614 19.663 8.55755 19.5413 9.2593L19.554 9.2968ZM8.87989 12.7218L7.1695 11.753C7.15339 11.7405 7.1422 11.7228 7.13782 11.703V7.06555C7.13785 6.35289 7.34371 5.65499 7.73128 5.0536C8.11885 4.45222 8.67209 3.97224 9.32619 3.6699C9.98029 3.36756 10.7082 3.25537 11.4246 3.34647C12.141 3.43757 12.8162 3.7282 13.3712 4.1843L13.2636 4.25305L9.21563 6.55305C9.11158 6.60765 9.02504 6.68981 8.96573 6.79029C8.90642 6.89076 8.87669 7.00557 8.87989 7.1218V12.7218ZM9.80476 10.753L11.9966 9.50305L14.1948 10.753V13.253L11.9966 14.503L9.79843 13.253L9.80476 10.753Z" fill="#828282"></path>
<path d="M20.6816 10.1843C20.9588 9.34066 21.0063 8.4399 20.8192 7.57245C20.6321 6.70499 20.217 5.90134 19.6157 5.24216C19.0143 4.58298 18.2478 4.09146 17.393 3.81692C16.5382 3.54238 15.6253 3.49449 14.7459 3.67805C14.1453 3.01747 13.379 2.52468 12.524 2.24931C11.669 1.97394 10.7555 1.92571 9.87559 2.10947C8.99568 2.29324 8.18039 2.70252 7.51181 3.29608C6.84323 3.88965 6.34499 4.64654 6.06725 5.49055C5.18642 5.67292 4.3699 6.08122 3.70003 6.67426C3.03017 7.26731 2.53064 8.02413 2.25182 8.86842C1.97299 9.71271 1.92474 10.6146 2.11192 11.4832C2.2991 12.3517 2.71509 13.1562 3.31795 13.8155C3.09309 14.4899 3.01633 15.2037 3.09278 15.9095C3.16924 16.6154 3.39716 17.2971 3.76139 17.9093C4.30169 18.8351 5.12567 19.568 6.11483 20.0027C7.104 20.4373 8.20738 20.5512 9.26631 20.328C9.74353 20.8568 10.3291 21.2796 10.9844 21.5684C11.6396 21.8571 12.3495 22.0053 13.0672 22.003C14.1516 22.003 15.2081 21.6635 16.0847 21.0334C16.9612 20.4034 17.6125 19.5152 17.9449 18.4968C18.649 18.3539 19.3141 18.0649 19.8962 17.6489C20.4784 17.233 20.9642 16.6997 21.3214 16.0843C21.8585 15.1598 22.0858 14.0915 21.9709 13.032C21.856 11.9724 21.4048 10.9758 20.6816 10.1843ZM13.0798 20.6968C12.191 20.6968 11.3302 20.3894 10.6473 19.828L10.7677 19.7593L14.8029 17.4593C14.9069 17.4047 14.9935 17.3225 15.0528 17.2221C15.1121 17.1216 15.1418 17.0068 15.1386 16.8905V11.2655L16.8427 12.2405C16.8517 12.2441 16.8594 12.2501 16.865 12.2579C16.8706 12.2656 16.8739 12.2748 16.8744 12.2843V16.9343C16.876 17.4289 16.7785 17.9189 16.5875 18.3761C16.3964 18.8333 16.1156 19.2488 15.7611 19.5985C15.4067 19.9482 14.9856 20.2253 14.5222 20.4138C14.0588 20.6023 13.5621 20.6984 13.0608 20.6968H13.0798ZM4.90165 17.2593C4.46164 16.5029 4.3026 15.6189 4.45188 14.7593L4.57224 14.828L8.60749 17.128C8.70379 17.1829 8.81303 17.2118 8.92423 17.2118C9.03543 17.2118 9.14467 17.1829 9.24097 17.128L14.1758 14.3218V16.253C14.1797 16.2608 14.1817 16.2694 14.1817 16.278C14.1817 16.2867 14.1797 16.2953 14.1758 16.303L10.0962 18.628C9.66403 18.8748 9.18685 19.0352 8.69188 19.0999C8.19692 19.1647 7.69387 19.1326 7.21148 19.0055C6.72909 18.8784 6.27681 18.6587 5.88048 18.3591C5.48415 18.0595 5.15154 17.6858 4.90165 17.2593ZM3.83741 8.5843C4.28764 7.82089 4.99655 7.23878 5.83919 6.94055V11.6718C5.83595 11.7857 5.86434 11.8983 5.92128 11.9975C5.97823 12.0966 6.06156 12.1785 6.16227 12.2343L11.0717 15.028L9.36766 16.003C9.34918 16.0092 9.32914 16.0092 9.31065 16.003L5.23106 13.678C4.36041 13.1812 3.72487 12.3642 3.46364 11.4059C3.20242 10.4476 3.33682 9.42624 3.83741 8.56555V8.5843ZM17.8563 11.7968L12.9278 8.9718L14.6319 8.00305C14.6403 7.99741 14.6502 7.99439 14.6604 7.99439C14.6705 7.99439 14.6805 7.99741 14.6889 8.00305L18.7685 10.328C19.3915 10.684 19.8992 11.2072 20.2325 11.8368C20.5659 12.4664 20.7111 13.1764 20.6514 13.8843C20.5916 14.5921 20.3294 15.2687 19.8951 15.8352C19.4608 16.4017 18.8724 16.8349 18.1983 17.0843V12.353C18.1946 12.2391 18.1612 12.1281 18.1013 12.0306C18.0414 11.9332 17.957 11.8527 17.8563 11.7968ZM19.554 9.2968L19.4336 9.2218L15.4047 6.9093C15.3047 6.84846 15.1896 6.81624 15.0721 6.81624C14.9547 6.81624 14.8395 6.84846 14.7396 6.9093L9.8111 9.71555V7.75305C9.8061 7.7445 9.80346 7.7348 9.80346 7.72492C9.80346 7.71505 9.8061 7.70535 9.8111 7.6968L13.897 5.37805C14.5222 5.02257 15.2371 4.85003 15.958 4.88059C16.6789 4.91115 17.3762 5.14356 17.9682 5.55064C18.5601 5.95772 19.0225 6.52265 19.301 7.17939C19.5796 7.83614 19.663 8.55755 19.5413 9.2593L19.554 9.2968ZM8.87989 12.7218L7.1695 11.753C7.15339 11.7405 7.1422 11.7228 7.13782 11.703V7.06555C7.13785 6.35289 7.34371 5.65499 7.73128 5.0536C8.11885 4.45222 8.67209 3.97224 9.32619 3.6699C9.98029 3.36756 10.7082 3.25537 11.4246 3.34647C12.141 3.43757 12.8162 3.7282 13.3712 4.1843L13.2636 4.25305L9.21563 6.55305C9.11158 6.60765 9.02504 6.68981 8.96573 6.79029C8.90642 6.89076 8.87669 7.00557 8.87989 7.1218V12.7218ZM9.80476 10.753L11.9966 9.50305L14.1948 10.753V13.253L11.9966 14.503L9.79843 13.253L9.80476 10.753Z" stroke="#828282" stroke-width="0.2" mask="url(#path-1-outside-1_3606_3145)"></path>
</svg></div>
<div id="yt_article_summary_close_button" class="yt_article_summary_close_button">×</div>
</div></body></html>